:root {
    /* Base Colors from chat.html */
    --grey-metallic-start: #d4d4d4;
    --grey-metallic-end: #f4f4f4;
    --border: #1a1a1a;

    /* The Chosen One: Black Metallic */
    --black-start: #232526;
    --black-end: #414345;
}

.chat-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 50px;
    margin: 40px auto;
    padding-left: 15px;
    padding-right: 15px;
}

.msg-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    position: relative;
    opacity: 0;
    /* Managed by JS for fade-in */
}

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

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

.bubble {
    position: relative;
    padding: 24px 34px;
    border: 2px solid var(--border);
    z-index: 2;
    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;
    font-family: 'Fredoka', sans-serif;
}

/* --- Left Bubbles (Black Metallic) --- */
.left .bubble {
    background: linear-gradient(135deg, var(--black-start), var(--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(--grey-metallic-start), var(--grey-metallic-end));
    color: #111;
}

/* VARIATION ENGINE: Extended Asymmetric hand-drawn shapes */
/* --- LEFT BUBBLES --- */
.left.msg-wrapper:nth-of-type(8n+1) .bubble {
    border-radius: 255px 25px 225px 4px / 25px 225px 25px 15px;
    transform: rotate(-1deg);
}

.left.msg-wrapper:nth-of-type(8n+2) .bubble {
    border-radius: 25px 250px 30px 10px / 250px 30px 200px 15px;
    transform: rotate(1.2deg);
}

.left.msg-wrapper:nth-of-type(8n+3) .bubble {
    border-radius: 220px 40px 200px 5px / 30px 140px 40px 15px;
    transform: rotate(-0.5deg);
}

.left.msg-wrapper:nth-of-type(8n+4) .bubble {
    border-radius: 40px 200px 30px 8px / 150px 40px 170px 15px;
    transform: rotate(0.8deg);
}

.left.msg-wrapper:nth-of-type(8n+5) .bubble {
    border-radius: 240px 30px 210px 5px / 40px 230px 30px 20px;
    transform: rotate(-1.5deg);
}

.left.msg-wrapper:nth-of-type(8n+6) .bubble {
    border-radius: 35px 240px 40px 10px / 240px 35px 190px 15px;
    transform: rotate(1deg);
}

.left.msg-wrapper:nth-of-type(8n+7) .bubble {
    border-radius: 230px 25px 215px 5px / 25px 210px 25px 15px;
    transform: rotate(-0.8deg);
}

.left.msg-wrapper:nth-of-type(8n+8) .bubble {
    border-radius: 30px 230px 35px 8px / 220px 40px 180px 15px;
    transform: rotate(1.5deg);
}

/* --- RIGHT BUBBLES --- */
.right.msg-wrapper:nth-of-type(8n+1) .bubble {
    border-radius: 25px 255px 15px 225px / 225px 25px 15px 25px;
    transform: rotate(1deg);
}

.right.msg-wrapper:nth-of-type(8n+2) .bubble {
    border-radius: 250px 30px 10px 40px / 35px 250px 15px 200px;
    transform: rotate(-1.2deg);
}

.right.msg-wrapper:nth-of-type(8n+3) .bubble {
    border-radius: 40px 120px 5px 150px / 140px 30px 15px 40px;
    transform: rotate(0.5deg);
}

.right.msg-wrapper:nth-of-type(8n+4) .bubble {
    border-radius: 180px 40px 8px 30px / 40px 150px 15px 170px;
    transform: rotate(-0.8deg);
}

.right.msg-wrapper:nth-of-type(8n+5) .bubble {
    border-radius: 30px 240px 5px 210px / 230px 40px 20px 30px;
    transform: rotate(1.5deg);
}

.right.msg-wrapper:nth-of-type(8n+6) .bubble {
    border-radius: 240px 35px 10px 40px / 35px 240px 15px 190px;
    transform: rotate(-1deg);
}

.right.msg-wrapper:nth-of-type(8n+7) .bubble {
    border-radius: 25px 230px 5px 215px / 210px 25px 15px 25px;
    transform: rotate(0.8deg);
}

.right.msg-wrapper:nth-of-type(8n+8) .bubble {
    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 inside 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);
}

.bubble-img-container::after {
    content: "🔍";
    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;
}

.bubble p {
    margin: 8px 0 0 0;
    line-height: 1.4;
}

/* New Messages 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;
}

.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;
}

.new-messages-divider.today .divider-text {
    color: #000;
}

/* Typing Animation */
.bubble.typing {
    min-width: 60px;
    padding: 15px 25px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.typing-dots {
    display: flex;
    gap: 5px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    animation: typing 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 typing {

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

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

/* Modal Styling */
.chat-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);
}

.chat-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);
}

.chat-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;
}

/* --- Open Question Step (Slogan) --- */
.v-variant-open-question-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    /* Managed by JS for fade-in */
}

.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-top: 0 !important;
    margin-bottom: 0 !important;
}

.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;
    color: #000;
}

.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;
    color: #000;
}

.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;
    }
}

/* --- Copy Prompt Step --- */
.variant-copy-prompt-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    /* Managed by JS for fade-in */
}

.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-top: 0 !important;
    margin-bottom: 0 !important;
}

.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;
    white-space: pre-wrap;
    word-break: break-word;
}

.v-variant-copy-prompt-short-view {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.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-full-view {
    display: block;
}

.v-variant-copy-prompt-blurry-preview {
    position: relative;
    height: 40px;
    overflow: hidden;
    margin-top: -5px;
}

.v-variant-copy-prompt-blurry-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(204, 255, 204, 0) 0%, rgba(204, 255, 204, 0.5) 70%, rgba(204, 255, 204, 0.9) 100%);
    z-index: 1;
}

.v-variant-copy-prompt-blurry-preview .blur-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    filter: blur(1.5px);
    opacity: 0.8;
    user-select: none;
}

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

.v-variant-copy-prompt-expand-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    cursor: pointer;
    padding: 8px 0;
    transition: transform 0.2s;
}

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

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

.v-variant-copy-prompt-expand-dots:hover .dot {
    background-color: #333;
}

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

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

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

    .v-variant-copy-prompt-text {
        font-size: 0.95rem;
    }

    .v-variant-copy-prompt-blurry-preview .blur-text {
        font-size: 0.95rem;
    }

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

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

/* --- Gemini Only Step --- */
.variant-gemini-only-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    /* Managed by JS for fade-in */
}

.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-top: 0 !important;
    margin-bottom: 0 !important;
}

.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.8rem;
    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;
}

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

.v-variant-gemini-only-execute-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.v-variant-gemini-only-ai-logo {
    border: none;
    box-shadow: none;
}

.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.3rem !important;
    }

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

/* --- Checkbox Sequential Step --- */
.variant-checkbox-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    /* Managed by JS for fade-in */
}

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

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

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

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

.v-variant-checkbox-card-body-frame {
    padding: 8px;
    position: relative;
    background-color: #1565C0;
}

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

.v-variant-checkbox-task-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s ease;
}

.v-variant-checkbox-task-row.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.v-variant-checkbox-task-row.checked .v-variant-checkbox-task-label {
    text-decoration: line-through;
    color: #78909C;
}

.v-variant-checkbox-task-checkbox {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 3px solid #1565C0;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-top: 2px;
    position: relative;
}

.v-variant-checkbox-task-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1565C0;
    display: block;
}

.v-variant-checkbox-task-row.checked .v-variant-checkbox-task-checkbox {
    background-color: #1E88E5;
    border-color: #0D47A1;
}

.v-variant-checkbox-task-row.checked .v-variant-checkbox-task-number {
    display: none;
}

.v-variant-checkbox-task-checkbox svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: none;
}

.v-variant-checkbox-task-row.checked .v-variant-checkbox-task-checkbox svg {
    display: block;
}

.v-variant-checkbox-task-label {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    transition: color 0.3s ease;
}

.v-variant-checkbox-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-checkbox-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

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

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

.v-variant-checkbox-finished-display {
    display: none;
    width: 100%;
    max-width: 500px;
    text-align: center;
    color: #000;
}

.v-variant-checkbox-finished-display p {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

@keyframes v-checkbox-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

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

.v-variant-checkbox-pop-anim {
    animation: v-checkbox-pop 0.35s ease;
}

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

    .v-variant-checkbox-task-label {
        font-size: 1.1rem !important;
    }

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

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

/* --- Paste JSON Step --- */
.variant-text-paste-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.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-top: 0 !important;
    margin-bottom: 0 !important;
}

.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;
    }
}

/* --- Image Paste Step --- */
.variant-image-paste-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.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-top: 0 !important;
    margin-bottom: 0 !important;
}

.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-card-body {
        padding: 20px 20px 60px 20px !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;
    }
}

/* --- Performance Results Step --- */
.v-result-feedback-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 50px;
    opacity: 0;
    transition: opacity 1s ease;
}

.v-result-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5rem;
    font-weight: 700;
    color: #000;
    background: #fff;
    padding: 1rem 2rem;
    border: 5px solid #000;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.v-result-timer.green {
    color: #00cc00;
}

.v-result-timer.red {
    color: #d32f2f;
}

.v-result-image-container {
    width: 100%;
    max-width: 600px;
}

.v-result-image {
    width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 600px) {
    .v-result-timer {
        font-size: 2rem;
        padding: 0.5rem 1rem;
        border-width: 3px;
        box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5);
    }

    .v-result-feedback-wrapper {
        gap: 20px;
    }
}

/* --- Image Result Single Step --- */
.v-ad-image-result-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    transition: opacity 1s ease;
}

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

.v-ad-image-result-card-header {
    background-color: #FF0055;
    /* Pink background for the title */
    padding: 12px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
    color: #fff;
}

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

.v-ad-image-result-card-body-frame {
    padding: 8px;
    position: relative;
    background-color: #FFE600;
    /* Frame yellow context from body */
}

.v-ad-image-result-card-body {
    padding: 20px;
    padding-bottom: 80px;
    color: #000;
    text-align: center;
    background-color: #FFF9C4;
}

.v-ad-image-result-image-container {
    position: relative;
    display: inline-block;
    border: 4px solid #000;
    cursor: zoom-in;
    transition: transform 0.2s;
}

.v-ad-image-result-image-container:hover {
    transform: scale(1.02);
}

.v-ad-image-result-image {
    display: block;
    max-width: 100%;
    max-height: 400px;
    cursor: pointer;
}

.v-ad-image-result-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-ad-image-result-banner-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

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

/* Modal */
.v-ad-image-result-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.v-ad-image-result-modal.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.v-ad-image-result-modal-image {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

    .v-ad-image-result-banner-btn {
        padding: 6px 15px;
        font-size: 1rem;
        right: 10px;
    }
}

/* --- Gemini Watermark Remover Step --- */
.v-gemini-watermark-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

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

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

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

.v-gemini-watermark-frame-orange {
    background-color: #FF8C00;
}

.v-gemini-watermark-card-body {
    padding: 30px;
    color: #000;
}

.v-gemini-watermark-bg-light-orange {
    background-color: #FFE4C4;
}

.v-gemini-watermark-compact {
    padding: 20px;
}

.v-gemini-watermark-choice-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-gemini-watermark-link-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    background-color: #fff;
    border: 3px solid #000;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s;
}

.v-gemini-watermark-link-option:hover {
    background-color: #00F5FF;
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 4px 4px 0px #000;
}

.v-gemini-watermark-link-option:active {
    transform: scale(0.98);
    box-shadow: 1px 1px 0px #000;
}

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

    .v-gemini-watermark-link-option {
        font-size: 1.1rem !important;
        padding: 14px 20px;
    }
}

/* --- Content Results Step --- */
.variant-content-results-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
    transition: opacity 1s ease;
}

.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-top: 0 !important;
    margin-bottom: 0 !important;
}

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

.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-pink {
    background-color: #FFE600;
}

.v-variant-content-results-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
    line-height: 1.8;
    background-color: #FFF9C4;
    min-height: 200px;
}

.v-variant-content-results-bg-light-pink {
    background-color: #FFE4E9;
}

.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);
}

.v-variant-content-results-field-header {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.v-variant-content-results-field-title {
    font-family: 'Fredoka', sans-serif;
    margin: 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #444;
}

.v-variant-content-results-field-value {
    margin-top: 0;
    margin-bottom: 25px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* --- Beer & Restart Buttons --- */
.method-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 20px;
    flex-wrap: nowrap;
    /* Keep on same row (Lesson 168) */
    margin-top: 0 !important;
    /* No margin top (User request) */
    opacity: 0;
    transition: opacity 1s ease;
}

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

.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;
}

/* Absolute positioning for the hover image */
.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);
    }
}

@media (max-width: 600px) {
    .method-buttons-container {
        gap: 10px;
        padding: 10px;
    }
}

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

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

    .v-variant-content-results-field-title {
        font-size: 0.9rem !important;
    }

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

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

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

/* --- Gig Links Section (Static Version) --- */
.gig-links-dotted-divider {
    width: 100%;
    border-top: 4px dashed #000;
    margin: 40px 0 0 0;
}

#static-gig-links-section {
    width: 100%;
    margin-top: 0 !important;
    padding-top: 2rem;
}

.wrong-section-block {
    margin-bottom: 4rem;
    transition: opacity 1s ease;
}

.wrong-section-header {
    font-family: 'Comic Neue', 'Bangers', cursive;
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    color: #000;
    text-shadow: 2px 2px 0px #fff;
}

.header-icon {
    font-size: 3rem;
    line-height: 1;
}

.wrong-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 1200px) {
    .wrong-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .wrong-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wrong-grid {
        grid-template-columns: 1fr;
    }

    .wrong-section-header {
        font-size: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hide-tablet {
    display: none !important;
}

.hide-mobile {
    display: none !important;
}

@media (min-width: 1025px) {

    .hide-tablet,
    .hide-mobile {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .hide-tablet {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

.wrong-grid .gig-image-wrapper {
    position: relative;
    border: 4px solid #000;
    overflow: hidden;
}

.wrong-grid .basic-img {
    position: relative;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.wrong-grid .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.wrong-grid .deranged-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wrong-grid .troll-gig-card:hover .deranged-img {
    opacity: 1;
}

.wrong-grid .troll-gig-card:hover .basic-img {
    opacity: 0;
}

.troll-gig-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 4px solid #000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.troll-gig-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px #000;
}
