﻿@charset "UTF-8";

/**
 * Gig-Specific Styles: create-a-method-title-and-image-for-trolliverr-like-you-were-me-you-arent
 * 
 * This file contains all styles needed for this specific gig.
 * It's self-contained and does NOT rely on template stylesheets.
 * 
 * Note: These styles are inspired by chat.css but customized for this gig.
 */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Fredoka:wght@300;400;500;600;700&family=Gloria+Hallelujah&family=Inter:wght@400&display=swap');

:root {
    /* Chat Specific Colors */
    --chat-grey-metallic-start: #d4d4d4;
    --chat-grey-metallic-end: #f4f4f4;
    --chat-border: #1a1a1a;
    --chat-black-start: #232526;
    --chat-black-end: #414345;
}

/* ================================ */
/* CHAT CONTAINER & MESSAGE STYLES  */
/* ================================ */

.chat-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 50px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 auto;
}

.msg-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    position: relative;
}

.msg-wrapper.left {
    align-self: flex-start;
    align-items: flex-start;
}

.msg-wrapper.right {
    align-self: flex-end;
    align-items: flex-end;
}

/* ================================ */
/* CHAT BUBBLES                     */
/* ================================ */

.bubble {
    position: relative;
    padding: 24px 34px;
    border: 2px solid var(--chat-border);
    z-index: 2;
    /* Slight 3D Metallic Look */
    box-shadow:
        inset 2px 2px 5px rgba(255, 255, 255, 0.4),
        inset -2px -2px 5px rgba(0, 0, 0, 0.1),
        3px 3px 0px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

/* Left Bubbles (Black Metallic) */
.left .bubble {
    background: linear-gradient(135deg, var(--chat-black-start), var(--chat-black-end));
    color: #eee;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    border-color: #000;
}

/* Right Bubbles (Grey Metallic) */
.right .bubble {
    background: linear-gradient(135deg, var(--chat-grey-metallic-start), var(--chat-grey-metallic-end));
    color: #111;
}

/* ================================ */
/* BUBBLE SHAPE VARIATIONS          */
/* ================================ */

/* LEFT BUBBLES */
.left .bubble.bubble-variant-1 {
    border-radius: 255px 25px 225px 4px / 25px 225px 25px 15px;
    transform: rotate(-1deg);
}

.left .bubble.bubble-variant-2 {
    border-radius: 25px 250px 30px 10px / 250px 30px 200px 15px;
    transform: rotate(1.2deg);
}

.left .bubble.bubble-variant-3 {
    border-radius: 220px 40px 200px 5px / 30px 140px 40px 15px;
    transform: rotate(-0.5deg);
}

.left .bubble.bubble-variant-4 {
    border-radius: 40px 200px 30px 8px / 150px 40px 170px 15px;
    transform: rotate(0.8deg);
}

.left .bubble.bubble-variant-5 {
    border-radius: 240px 30px 210px 5px / 40px 230px 30px 20px;
    transform: rotate(-1.5deg);
}

.left .bubble.bubble-variant-6 {
    border-radius: 35px 240px 40px 10px / 240px 35px 190px 15px;
    transform: rotate(1deg);
}

.left .bubble.bubble-variant-7 {
    border-radius: 230px 25px 215px 5px / 25px 210px 25px 15px;
    transform: rotate(-0.8deg);
}

.left .bubble.bubble-variant-8 {
    border-radius: 30px 230px 35px 8px / 220px 40px 180px 15px;
    transform: rotate(1.5deg);
}

/* RIGHT BUBBLES */
.right .bubble.bubble-variant-1 {
    border-radius: 25px 255px 15px 225px / 225px 25px 15px 25px;
    transform: rotate(1deg);
}

.right .bubble.bubble-variant-2 {
    border-radius: 250px 30px 10px 40px / 35px 250px 15px 200px;
    transform: rotate(-1.2deg);
}

.right .bubble.bubble-variant-3 {
    border-radius: 40px 120px 5px 150px / 140px 30px 15px 40px;
    transform: rotate(0.5deg);
}

.right .bubble.bubble-variant-4 {
    border-radius: 180px 40px 8px 30px / 40px 150px 15px 170px;
    transform: rotate(-0.8deg);
}

.right .bubble.bubble-variant-5 {
    border-radius: 30px 240px 5px 210px / 230px 40px 20px 30px;
    transform: rotate(1.5deg);
}

.right .bubble.bubble-variant-6 {
    border-radius: 240px 35px 10px 40px / 35px 240px 15px 190px;
    transform: rotate(-1deg);
}

.right .bubble.bubble-variant-7 {
    border-radius: 25px 230px 5px 215px / 210px 25px 15px 25px;
    transform: rotate(0.8deg);
}

.right .bubble.bubble-variant-8 {
    border-radius: 230px 30px 8px 35px / 40px 220px 15px 180px;
    transform: rotate(-1.5deg);
}

/* ================================ */
/* TIMESTAMP                        */
/* ================================ */

.timestamp {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    margin-top: 8px;
    color: #999;
    letter-spacing: 0.05em;
}

/* ================================ */
/* IMAGES IN BUBBLES                */
/* ================================ */

.bubble-img-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 4px;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
}

.bubble-img-container img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.bubble-img-container:hover img {
    transform: scale(1.02);
}

/* Magnifying glass overlay */
.bubble-img-container::after {
    content: "\1F50D";
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #000;
}

/* Text below images in the same bubble */
.bubble p {
    margin: 8px 0 0 0;
    line-height: 1.4;
}

/* ================================ */
/* DIVIDERS                         */
/* ================================ */

.date-divider,
.new-messages-divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    opacity: 0.9;
}

.divider-line {
    flex: 1;
    height: 0;
    width: 100%;
    border-top: 2px dotted #aaa;
}

/* Subtle Date Divider Styling */
.date-divider .divider-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 500;
}

/* Bold New Messages Styling */
.new-messages-divider .divider-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d32f2f;
    font-weight: 800;
}

/* ================================ */
/* IMAGE MODAL                      */
/* ================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-img-wrapper {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-img-wrapper {
    transform: scale(1);
}

.modal-img-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-weight: bold;
}

/* ================================ */
/* TYPING INDICATOR                 */
/* ================================ */

.typing-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 10px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: #aaa;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Ensure typing bubble matches the sender's style */
.bubble.typing {
    padding: 15px 25px;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================================ */
/* METHOD GRID (From 2x2 Template)  */
/* ================================ */

.variant-words-grid-2x2-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-words-grid-2x2-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
}

.v-variant-words-grid-2x2-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-words-grid-2x2-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-words-grid-2x2-card-body-frame {
    padding: 8px;
}

.v-variant-words-grid-2x2-frame-purple {
    background-color: #9933FF;
}

.v-variant-words-grid-2x2-card-body {
    padding: 30px;
    color: #000;
}

.v-variant-words-grid-2x2-bg-light-purple {
    background-color: #F0E6FF;
}

.v-variant-words-grid-2x2-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.v-variant-words-grid-2x2-grid-option {
    padding: 25px 15px;
    background-color: #fff;
    border: 3px solid #000;
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-transform: lowercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
}

.v-variant-words-grid-2x2-grid-option:hover {
    transform: scale(1.02);
    box-shadow: 3px 3px 0px #000;
}

.v-variant-words-grid-2x2-grid-option.selected {
    background: linear-gradient(135deg, #ff4d4d 0%, #b30000 100%);
    color: #fff;
    border-color: #000;
}

@media (max-width: 600px) {
    .v-variant-words-grid-2x2-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-words-grid-2x2-grid-option {
        font-size: 1rem !important;
        padding: 20px 10px;
    }

    .v-variant-words-grid-2x2-grid-container {
        grid-template-columns: 1fr;
    }
}

/* ================================ */
/* VARIANT: OPEN QUESTION STYLES    */
/* ================================ */

.variant-open-question-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-open-question-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.v-variant-open-question-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-open-question-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-open-question-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-open-question-frame-red {
    background-color: #FF0055;
}

.v-variant-open-question-card-body {
    padding: 30px;
    padding-bottom: 60px;
    color: #000;
    font-size: 1.5rem;
    line-height: 1.8;
    min-height: 200px;
}

.v-variant-open-question-bg-light-red {
    background-color: #FFB6C1;
}

.v-variant-open-question-open-input {
    width: 100%;
    background: #fff;
    border: 2px solid #000;
    padding: 6px 12px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    resize: none;
    overflow: hidden;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.v-variant-open-question-open-input:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-open-question-warning-box {
    background-color: #FFE600;
    border: 3px solid #000;
    padding: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    flex: 1;
    margin-right: 15px;
    display: none;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.v-variant-open-question-warning-box.visible {
    display: block;
}

.v-variant-open-question-char-counter {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.v-variant-open-question-paste-feedback-box.v-variant-open-question-error {
    background: #FFE4EC;
    border: 2px solid #FF0055;
    padding: 10px;
    font-size: 1rem;
    color: #FF0055;
}

/* Banner Buttons */
.v-variant-open-question-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-open-question-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-open-question-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-open-question-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-open-question-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-open-question-view-mode {
    display: none;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.banner-red {
    background-color: #FF0055 !important;
    color: #fff !important;
}

.banner-blue {
    background-color: #0066FF !important;
    color: #fff !important;
}

.banner-green {
    background-color: #00cc00 !important;
    color: #fff !important;
}

.edit-btn-active {
    background-color: #00F5FF !important;
    color: #000 !important;
}

@media (max-width: 600px) {
    .v-variant-open-question-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-open-question-card-body {
        padding: 20px !important;
        padding-bottom: 60px !important;
    }

    .v-variant-open-question-open-input {
        font-size: 1rem !important;
    }

    .v-variant-open-question-banner-btn {
        font-size: 1rem;
    }

    .v-variant-open-question-pos-left {
        left: 10px;
    }

    .v-variant-open-question-pos-right {
        right: 10px;
    }
}

/* ================================ */
/* VARIANT: COPY PROMPT STYLES      */
/* ================================ */

.variant-copy-prompt-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-copy-prompt-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
}

.v-variant-copy-prompt-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-copy-prompt-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-copy-prompt-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-copy-prompt-frame-green {
    background-color: #00cc00;
}

.v-variant-copy-prompt-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 200px;
}

.v-variant-copy-prompt-bg-light-green {
    background-color: #CCFFCC;
}

.v-variant-copy-prompt-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
}

.v-variant-copy-prompt-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-copy-prompt-banner-btn:active {
    background-color: #00F5FF !important;
    transform: scale(0.95);
}

.v-variant-copy-prompt-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

/* --- COPY PROMPT SPECIFIC STYLES --- */
.v-variant-copy-prompt-text-container {
    position: relative;
}

.v-variant-copy-prompt-text {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-all;
    white-space: pre-wrap;
}

/* Short view: truncated with blur */
.v-variant-copy-prompt-short-view {
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.v-variant-copy-prompt-blurry-preview {
    margin-top: -30px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(204, 255, 204, 0) 0%, rgba(204, 255, 204, 1) 100%);
    display: flex;
    align-items: flex-end;
    position: relative;
}

.blur-text {
    filter: blur(4px);
    opacity: 0.6;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 10px;
}

.v-variant-copy-prompt-full-view {
    display: none;
}

/* Expand dots */
.v-variant-copy-prompt-expand-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    cursor: pointer;
    padding: 10px;
}

.v-variant-copy-prompt-expand-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.v-variant-copy-prompt-expand-dots:hover .dot {
    transform: scale(1.3);
}

/* State: Expanded */
.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-short-view {
    display: none;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-blurry-preview {
    display: none;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-expand-dots {
    display: none;
}

.v-variant-copy-prompt-text-container.expanded .v-variant-copy-prompt-full-view {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .v-variant-copy-prompt-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-copy-prompt-card-body {
        padding: 20px !important;
        padding-bottom: 60px !important;
    }

    .v-variant-copy-prompt-banner-btn {
        font-size: 1rem;
    }
}

/* ================================ */
/* VARIANT: GEMINI LINK STYLES      */
/* ================================ */

.variant-gemini-only-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-gemini-only-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.v-variant-gemini-only-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-gemini-only-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-gemini-only-card-body-frame {
    padding: 8px;
}

.v-variant-gemini-only-frame-pink {
    background-color: #FF69B4;
}

.v-variant-gemini-only-card-body {
    padding: 30px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.v-variant-gemini-only-execute-body {
    padding: 30px 20px;
}

.v-variant-gemini-only-bg-light-pink {
    background-color: #FFE6F2;
}

.v-variant-gemini-only-ai-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.v-variant-gemini-only-ai-link {
    display: block;
    transition: transform 0.2s;
}

.v-variant-gemini-only-ai-link:hover {
    transform: scale(1.1) rotate(5deg);
}

.v-variant-gemini-only-ai-logo {
    display: block;
    object-fit: contain;
}

.v-variant-gemini-only-ai-logo.v-variant-gemini-only-large {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

@media (max-width: 600px) {
    .v-variant-gemini-only-header-text {
        font-size: 1.2rem !important;
    }

    .v-variant-gemini-only-ai-logo.v-variant-gemini-only-large {
        width: 80px;
        height: 80px;
    }
}

/* ================================ */
/* VARIANT: TEXT PASTE STYLES       */
/* ================================ */

.variant-text-paste-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-text-paste-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    /* margin-top will be handled by inline style for transition */
}

.v-variant-text-paste-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-text-paste-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-text-paste-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-text-paste-frame-turquoise {
    background-color: #00F5FF;
}

.v-variant-text-paste-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 200px;
}

.v-variant-text-paste-bg-light-turquoise {
    background-color: #E0FFFE;
}

.v-variant-text-paste-open-input {
    width: 100%;
    background: #fff;
    border: 2px solid #000;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 1rem;
    font-weight: 400;
    resize: vertical;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.v-variant-text-paste-open-input:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-text-paste-feedback-box {
    margin-top: 20px;
    width: 100%;
    display: none;
    border: 4px solid #000;
    padding: 20px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.v-variant-text-paste-feedback-box.error {
    display: block;
    background-color: #FF85A1;
    /* Vibrant Pink */
    color: #000;
}

.v-variant-text-paste-feedback-box.success {
    display: block;
    background-color: #B5FF99;
    /* Light Green */
    color: #000;
}

.v-variant-text-paste-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-text-paste-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-text-paste-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .v-variant-text-paste-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-text-paste-open-input {
        font-size: 0.9rem !important;
    }

    .v-variant-text-paste-banner-btn {
        font-size: 1rem;
        right: 10px;
    }

    .v-variant-text-paste-feedback-box {
        font-size: 1.1rem;
        padding: 15px;
    }
}

/* ================================ */
/* VARIANT: FILL IN THE GAP STYLES  */
/* ================================ */

.variant-fill-in-the-gap-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-fill-in-the-gap-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.v-variant-fill-in-the-gap-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-fill-in-the-gap-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-fill-in-the-gap-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-fill-in-the-gap-frame-blue {
    background-color: #0066FF;
}

.v-variant-fill-in-the-gap-frame-purple {
    background-color: #9933FF;
}

.v-variant-fill-in-the-gap-frame-red {
    background-color: #FF0055;
}

.v-variant-fill-in-the-gap-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    font-size: 1.5rem;
    line-height: 1.8;
    min-height: 200px;
}

.v-variant-fill-in-the-gap-bg-light-blue {
    background-color: #CCE0FF;
}

.v-variant-fill-in-the-gap-bg-light-purple {
    background-color: #F0E6FF;
}

.v-variant-fill-in-the-gap-bg-light-red {
    background-color: #FFB6C1;
}

.v-variant-fill-in-the-gap-text-content {
    display: block;
}

.v-variant-fill-in-the-gap-gap-input {
    background: #fff;
    border: 2px solid #000;
    padding: 6px 12px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    vertical-align: middle;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    margin: 0 4px;
}

.v-variant-fill-in-the-gap-gap-input:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-fill-in-the-gap-gap-line {
    border-bottom-width: 4px;
}

/* Custom widths for inputs */
.v-variant-fill-in-the-gap-char-20 {
    width: 250px;
}

.v-variant-fill-in-the-gap-char-15 {
    width: 200px;
}

.v-variant-fill-in-the-gap-char-60 {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.v-variant-fill-in-the-gap-char-100 {
    width: 100%;
    margin-top: 10px;
}

.v-variant-fill-in-the-gap-auto-grow {
    min-height: 44px;
    width: 100%;
    max-width: 100%;
    resize: none;
    overflow: hidden;
}

.v-variant-fill-in-the-gap-char-limit-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #FF0055;
    font-style: italic;
    display: none;
}

.v-variant-fill-in-the-gap-char-limit-info.visible {
    display: block;
}

.v-variant-fill-in-the-gap-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-fill-in-the-gap-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-fill-in-the-gap-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-fill-in-the-gap-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-fill-in-the-gap-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-fill-in-the-gap-edit-mode {
    display: block;
}

.v-variant-fill-in-the-gap-view-mode {
    display: none;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.v-variant-fill-in-the-gap-paste-feedback-box.v-variant-fill-in-the-gap-error {
    background: #FFB6C1;
    border: 2px solid #FF0055;
    padding: 10px;
    font-size: 1rem;
    color: #000;
    font-weight: 700;
}

@media (max-width: 600px) {
    .v-variant-fill-in-the-gap-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-fill-in-the-gap-card-body {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        padding: 20px !important;
        padding-bottom: 80px !important;
    }

    .v-variant-fill-in-the-gap-gap-input {
        font-size: 1rem !important;
    }

    .v-variant-fill-in-the-gap-char-20,
    .v-variant-fill-in-the-gap-char-15 {
        width: 140px;
    }

    .v-variant-fill-in-the-gap-banner-btn {
        font-size: 1rem;
    }

    .v-variant-fill-in-the-gap-pos-left {
        left: 10px;
    }

    .v-variant-fill-in-the-gap-pos-right {
        right: 10px;
    }
}

/* ================================ */
/* VARIANT: RANKING SELECTION       */
/* ================================ */

.variant-ranking-selection-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-ranking-selection-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.v-variant-ranking-selection-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
    transition: background-color 0.3s;
}

.v-variant-ranking-selection-card-header.ranking-active {
    background-color: #00F5FF;
}

.v-variant-ranking-selection-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-ranking-selection-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-ranking-selection-frame-grey {
    background-color: #888;
}

.v-variant-ranking-selection-card-body {
    padding: 15px;
    padding-bottom: 45px;
    color: #000;
}

.v-variant-ranking-selection-bg-light-grey {
    background-color: #EAEAEA;
}

.v-variant-ranking-selection-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 40px;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #fff;
    border: 3px solid #000;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ranking-item.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}

.ranking-item:hover {
    transform: translateX(5px);
}

.ranking-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    margin-right: 15px;
}

.ranking-radio::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    display: none;
}

.ranking-text {
    flex-grow: 1;
    font-weight: 700;
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    text-transform: none;
    color: #000;
}

.ranking-close {
    font-weight: 700;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: #000;
    padding: 0 10px;
    transition: color 0.1s;
}

.ranking-close:hover {
    color: #ff0000;
}

/* Active Styling */
.ranking-item.active {
    background: linear-gradient(135deg, #ff4d4d 0%, #b30000 100%);
    border-color: #000;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.ranking-item.active .ranking-text {
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.ranking-item.active .ranking-radio {
    border-color: #fff;
}

.ranking-item.active .ranking-radio::after {
    display: block;
}

.ranking-item.active .ranking-close {
    color: #fff;
}

.v-variant-ranking-selection-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-ranking-selection-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-ranking-selection-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-ranking-selection-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-ranking-selection-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-ranking-selection-ok-default {
    background-color: #00cc00;
    color: #fff;
}

.v-variant-ranking-selection-reload-hidden {
    display: none !important;
}

.v-variant-ranking-selection-ranking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(128, 128, 128, 0.5);
    z-index: 15;
    pointer-events: none;
    display: none;
}

.v-variant-ranking-selection-ranking-overlay.visible {
    display: block;
}

@media (max-width: 600px) {
    .v-variant-ranking-selection-header-text {
        font-size: 1.3rem !important;
    }

    .ranking-text {
        font-size: 0.95rem !important;
    }

    .ranking-radio {
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px !important;
    }

    .ranking-close {
        font-size: 1.5rem !important;
    }

    .v-variant-ranking-selection-banner-btn {
        font-size: 1rem;
    }

    .v-variant-ranking-selection-pos-left {
        left: 10px;
    }

    .v-variant-ranking-selection-pos-right {
        right: 10px;
    }
}

.ranking-error-msg {
    display: none;
    color: #ff0000;
    background-color: #fff;
    border: 2px solid #ff0000;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ================================ */
/* VARIANT: EDIT SENTENCE           */
/* ================================ */

.variant-edit-sentence-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-edit-sentence-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.v-variant-edit-sentence-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-edit-sentence-card-header.done {
    background-color: #00F5FF;
}

.v-variant-edit-sentence-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-edit-sentence-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-edit-sentence-frame-grey {
    background-color: #A0A0A0;
}

.v-variant-edit-sentence-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 150px;
}

.v-variant-edit-sentence-bg-light-grey {
    background-color: #e0e0e0;
}

.v-variant-edit-sentence-gap-input {
    background: #fff;
    border: 2px solid #000;
    padding: 10px 12px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    outline: none;
    border-radius: 0;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.v-variant-edit-sentence-gap-input:focus {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.v-variant-edit-sentence-char-limit-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
    display: none;
}

.v-variant-edit-sentence-char-limit-info.visible {
    display: block;
}

.v-variant-edit-sentence-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-edit-sentence-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-edit-sentence-banner-effect-turquoise:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-edit-sentence-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-edit-sentence-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.reload-btn-active {
    background-color: #00F5FF !important;
    color: #000 !important;
}

@media (max-width: 600px) {
    .v-variant-edit-sentence-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-edit-sentence-gap-input {
        font-size: 1.1rem !important;
    }

    #sentence-display {
        font-size: 1.1rem !important;
    }

    .v-variant-edit-sentence-banner-btn {
        font-size: 1rem;
    }

    .v-variant-edit-sentence-pos-left {
        left: 10px;
    }

    .v-variant-edit-sentence-pos-right {
        right: 10px;
    }
}

/* ================================ */
/* VARIANT: IMAGE PASTE STYLES      */
/* ================================ */

.variant-image-paste-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-image-paste-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
}

.v-variant-image-paste-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-image-paste-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-image-paste-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-image-paste-frame-turquoise {
    background-color: #00F5FF;
}

.v-variant-image-paste-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 250px;
}

.v-variant-image-paste-bg-light-turquoise {
    background-color: #E0FFFE;
}

.v-variant-image-paste-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-variant-image-paste-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-image-paste-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-image-paste-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-image-paste-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

@media (max-width: 600px) {
    .v-variant-image-paste-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-image-paste-banner-btn {
        font-size: 1rem;
    }

    .v-variant-image-paste-pos-left {
        left: 10px;
    }

    .v-variant-image-paste-pos-right {
        right: 10px;
    }
}

/* ================================ */
/* VARIANT: COPY IMAGE STYLES       */
/* ================================ */

.variant-copy-image-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-copy-image-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0px;
    /* Overwrite template default to 0 as per user request to have no margin top initially, though user said "has no margin top" */
}

/* User asked for no margin top. The template has 40px. I will start with 0 as per instruction. */

.v-variant-copy-image-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-copy-image-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-copy-image-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-copy-image-frame-green {
    background-color: #00cc00;
}

.v-variant-copy-image-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    min-height: 200px;
}

.v-variant-copy-image-bg-light-green {
    background-color: #E8F5E9;
}

.v-variant-copy-image-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
}

.v-variant-copy-image-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-copy-image-banner-btn:active {
    background-color: #00F5FF !important;
    transform: scale(0.95);
}

.v-variant-copy-image-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-copy-image-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

.v-variant-copy-image-image-preview-container {
    cursor: zoom-in;
    transition: transform 0.2s;
}

.v-variant-copy-image-image-preview-container:hover {
    transform: scale(1.02);
}

@media (max-width: 600px) {
    .v-variant-copy-image-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-copy-image-banner-btn {
        font-size: 1rem;
    }

    .v-variant-copy-image-pos-left {
        left: 10px;
    }

    .v-variant-copy-image-pos-right {
        right: 10px;
    }
}

/* ================================ */
/* VARIANT: IMAGE RESULT GRID       */
/* ================================ */

.variant-image-result-grid-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-image-result-grid-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
}

.v-variant-image-result-grid-card-header {
    background-color: #FF0055;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #fff;
}

.v-variant-image-result-grid-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-image-result-grid-card-body-frame {
    padding: 8px;
}

.v-variant-image-result-grid-frame-yellow {
    background-color: #FFE600;
}

.v-variant-image-result-grid-card-body {
    padding: 15px;
    color: #000;
}

.v-variant-image-result-grid-bg-light-yellow {
    background-color: #FFF9C4;
}

.v-variant-image-result-grid-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.v-variant-image-result-grid-image-container {
    border: 3px solid #000;
    cursor: zoom-in;
    transition: transform 0.2s;
    overflow: hidden;
    position: relative;
}

.v-variant-image-result-grid-image-container:hover {
    transform: scale(1.03);
}

.v-variant-image-result-grid-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.v-variant-image-result-grid-copy-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 8px 25px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 10;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease;
    user-select: none;
    transform: rotate(-3deg);
}

.v-variant-image-result-grid-copy-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-image-result-grid-copy-btn:active {
    background-color: #00F5FF !important;
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .v-variant-image-result-grid-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-image-result-grid-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .v-variant-image-result-grid-copy-btn {
        padding: 8px 20px;
        font-size: 1.1rem;
        bottom: 8px;
        right: 8px;
    }
}

/* ================================ */
/* VARIANT: SIMPLE BUTTON LINKS     */
/* ================================ */

.variant-simple-button-links-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-simple-button-links-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
}

.v-variant-simple-button-links-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-simple-button-links-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-simple-button-links-card-body-frame {
    padding: 8px;
}

.v-variant-simple-button-links-frame-orange {
    background-color: #FF9800;
}

.v-variant-simple-button-links-card-body {
    padding: 30px;
    color: #000;
}

.v-variant-simple-button-links-bg-light-orange {
    background-color: #ffe6cc;
}

.v-variant-simple-button-links-choice-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-variant-simple-button-links-link-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #fff;
    border: 2px solid #000;
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v-variant-simple-button-links-link-option:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 5px 5px 0px #000;
    border-color: #00F5FF;
    z-index: 10;
}

.v-variant-simple-button-links-link-option:active {
    transform: scale(0.98);
    box-shadow: 2px 2px 0px #000;
}

.v-variant-simple-button-links-link-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v-variant-simple-button-links-link-arrow {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .v-variant-simple-button-links-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-simple-button-links-link-option {
        font-size: 1rem !important;
        padding: 12px 15px;
    }
}

/* ================================ */
/* VARIANT: CONTENT RESULTS         */
/* ================================ */

.variant-content-results-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-content-results-gap-card {
    width: 100%;
    max-width: 650px;
    border: 4px solid #000;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
}

.v-variant-content-results-card-header {
    background-color: #FFE600;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #000;
}

.v-variant-content-results-header-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
}

.v-variant-content-results-card-body-frame {
    padding: 8px;
    position: relative;
}

.v-variant-content-results-frame-yellow {
    background-color: #FFE600;
}

.v-variant-content-results-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    min-height: 200px;
}

.v-variant-content-results-bg-light-yellow {
    background-color: #FFF9C4;
}

.v-variant-content-results-banner-btn {
    position: absolute;
    bottom: 25px;
    padding: 8px 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid #000;
    background-color: #FFE600;
    color: #000;
    z-index: 20;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    user-select: none;
}

.v-variant-content-results-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.v-variant-content-results-banner-btn:active {
    background-color: #00F5FF !important;
    color: #000 !important;
    transform: scale(0.95);
}

.v-variant-content-results-pos-left {
    left: -10px;
    transform: rotate(3deg);
}

.v-variant-content-results-pos-right {
    right: -10px;
    transform: rotate(-3deg);
}

@media (max-width: 600px) {
    .v-variant-content-results-header-text {
        font-size: 1.3rem !important;
    }

    .v-variant-content-results-card-body {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .v-variant-content-results-banner-btn {
        font-size: 0.8rem;
    }

    .v-variant-content-results-pos-left {
        left: 10px;
    }

    .v-variant-content-results-pos-right {
        right: 10px;
    }
}

/* ================================ */
/* RESTART BUTTONS                  */
/* ================================ */

.method-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 20px;
    flex-wrap: wrap;
    margin-top: 0;
}

.method-btn {
    display: block;
    width: 100%;
    max-width: 340px;
    position: relative;
    text-decoration: none;
    border: none;
    background: none;
    transition: transform 0.2s ease;
    animation: alivePulse 3s ease-in-out infinite;
    cursor: pointer;
}

.method-btn:hover {
    transform: scale(1.05);
    animation: none;
}

.btn-img-wrapper {
    position: relative;
    width: 100%;
}

.btn-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    width: 100%;
    height: 100%;
}

.method-btn:hover .btn-hover-img {
    opacity: 1;
}

@keyframes alivePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

/* ================================ */
/* WRONG SECTION (SUGGESTIONS)      */
/* ================================ */
.gig-wrong-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px;
    background: #fff;
}

.gig-wrong-section.hidden {
    display: none;
}

.wrong-section-block {
    margin-bottom: 40px;
}

.wrong-section-header {
    font-family: 'Comic Neue', cursive;
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon {
    font-size: 2.2rem;
}

/* ================================ */
/* RESULT TIMER RESPONSIVENESS      */
/* ================================ */

.gig-result-timer {
    font-size: 5rem;
}

@media (max-width: 992px) {
    .gig-result-timer {
        font-size: 4rem;
    }
}

@media (max-width: 600px) {
    .gig-result-timer {
        font-size: 2rem;
    }

    /* Force restart buttons to be side-by-side on mobile */
    .method-buttons-container {
        padding: 10px;
        gap: 10px;
    }

    .method-btn {
        width: 48%;
        /* Adjust to fit two in a row */
        max-width: none;
    }
}

/* ================================ */
/* BEER MODAL OVERRIDES             */
/* ================================ */

#beer-modal .beer-modal-content {
    max-width: 90vw;
    /* Fix horizontal overflow on mobile */
    width: 500px;
    margin: 0 auto;
}