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

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

#gig-chat-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 50px;
    margin: 0 auto;
    opacity: 1;
}

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

.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;
    font-size: 1.1rem;
}

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

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

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

/* Color state for Today/New Messages */
.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;
}

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

/* Scroll adjustments for gig page */
#app {
    scroll-behavior: smooth;
}

/* Open Question Component Styles */
.variant-open-question-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
}

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

.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-open-question-wrapper {
        padding-bottom: 20px !important;
    }
}

/* Copy Prompt Component Styles */
.variant-copy-prompt-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
}

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

.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-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 Component Styles */
.variant-gemini-only-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    margin: 0 !important;
    padding-bottom: 20px !important;
}

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

/* Text Paste Component Styles */
.variant-text-paste-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
    padding-bottom: 20px !important;
    opacity: 0;
}

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

.v-variant-text-paste-feedback-box.success {
    display: block;
    background-color: #B5FF99;
    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;
    }
}

/* Ranking Selection Top 3 Component Styles */
.variant-ranking-selection-top-3-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-variant-ranking-selection-top-3-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: 40px;
}

.v-variant-ranking-selection-top-3-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-top-3-card-header.ranking-active {
    background-color: #00F5FF;
}

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

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

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

.v-variant-ranking-selection-top-3-card-body {
    padding: 30px;
    padding-bottom: 80px;
    color: #000;
}

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

.v-variant-ranking-selection-top-3-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: all 0.15s;
}

.ranking-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.ranking-number {
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    color: #888;
}

.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;
    margin-left: 10px;
}

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

/* Active Styling (Top 3) */
.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-number {
    color: #fff;
}

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

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

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

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

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

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

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

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

.v-variant-ranking-selection-top-3-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-top-3-ranking-overlay.visible {
    display: block;
}

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

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

    .ranking-number {
        font-size: 1.1rem !important;
        margin-right: 8px !important;
    }

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

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

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

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

/* Performance Feedback Step - Scoped */
.variant-performance-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.variant-performance-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.variant-performance-timer {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 5rem;
    padding: 10px 30px;
    text-align: center;
}

.variant-performance-image-wrapper {
    display: flex;
    justify-content: center;
}

.variant-performance-image {
    max-width: 60%;
    margin: 0 auto;
    display: block;
    height: auto;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .variant-performance-timer {
        font-size: 4rem;
    }

    .variant-performance-image {
        max-width: 80%;
    }
}

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

    .variant-performance-image {
        max-width: 100%;
    }
}

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

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

.v-variant-content-results-card-header {
    background-color: #FF69B4;
    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: 120px;
    color: #000;
    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;
    text-decoration: 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;
    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;
    }

    #content-result-body p {
        font-size: 1.4rem !important;
    }

    #content-result-body h3 {
        font-size: 0.9rem !important;
    }

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

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

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

/* Beer and Restart Buttons */
.method-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    flex-wrap: nowrap;
    opacity: 0;
    transition: opacity 1s ease;
}

.method-btn {
    display: block;
    width: 100%;
    flex: 1;
    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;
    padding: 0;
}

.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: 0 10px 40px 10px;
    }
}

/* Gig Recommendations Section */
.gig-links-section {
    width: 100%;
    margin-top: 0 !important;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gig-links-divider {
    width: 100%;
    border-top: 4px dashed #000;
    padding-top: 2rem;
    margin-bottom: 2rem;
}

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

.gig-links-section-block .wrong-section-header {
    font-size: 3rem;
    font-family: 'Comic Neue', 'Bangers', cursive;
    margin-bottom: 2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .gig-links-section {
        padding: 0 20px;
    }

    .gig-links-section-block .wrong-section-header {
        font-size: 2rem;
    }
}