/* GAIL's Got Talent 2.0 — shared voting-flow theme */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,600&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
    --ink-bg-1: #0a0912;
    --ink-bg-2: #1c1330;
    --cream: #f6efdd;
    --cream-dim: #efe6cd;
    --ink: #241c13;
    --ink-soft: #5b5142;
    --gold: #c6a15b;
    --gold-bright: #f0b429;
    --curtain: #a32638;
    --curtain-bright: #c93750;
    --line: rgba(198, 161, 91, 0.35);
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}

.ggt-stage {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    font-family: "Work Sans", sans-serif;
    color: var(--cream);
    background:
        radial-gradient(
            ellipse 900px 500px at 50% -10%,
            rgba(240, 180, 41, 0.1),
            transparent 60%
        ),
        radial-gradient(
            ellipse 700px 500px at 85% 10%,
            rgba(163, 38, 56, 0.12),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            var(--ink-bg-1),
            var(--ink-bg-2) 60%,
            var(--ink-bg-1)
        );
}
.ggt-display {
    font-family: "Fraunces", serif;
}
.ggt-mono {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.02em;
}

/* Ticket card (mobile pages) */
.ggt-ticket {
    width: 100%;
    max-width: 380px;
    background: var(--cream);
    color: var(--ink);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.ggt-stub {
    position: relative;
    padding: 26px 26px 18px;
    text-align: center;
    border-bottom: 1.5px dashed var(--line);
}
.ggt-stub::before,
.ggt-stub::after {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ink-bg-1);
}
.ggt-stub::before {
    left: -10px;
}
.ggt-stub::after {
    right: -10px;
}
.ggt-stub img.gail-logo {
    height: 30px;
    margin: 0 auto;
    display: block;
}
.ggt-stub .ggt-brand-caption {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    text-transform: uppercase;
    margin-top: 6px;
}
.ggt-stub .ggt-event-name {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 16px;
    margin-top: 8px;
}

.ggt-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 26px 26px;
}

.ggt-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: 0.2s;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.ggt-btn-primary {
    background: linear-gradient(160deg, #2b2118, #1a130d);
    color: var(--cream-dim);
}
.ggt-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}
.ggt-btn-gold {
    background: linear-gradient(160deg, var(--gold-bright), var(--gold));
    color: #241c13;
}
.ggt-btn-gold:disabled {
    background: #e3dcc7;
    color: #a89f8a;
    cursor: not-allowed;
}
.ggt-btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(36, 28, 19, 0.16);
    color: var(--ink);
}
.ggt-btn-ghost:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Welcome hero */
.ggt-hero-logo {
    width: 190px;
    max-width: 70%;
    margin: 8px auto 16px;
    display: block;
}
.ggt-h {
    font-family: "Fraunces", serif;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px;
}
.ggt-p {
    text-align: center;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 22px;
}
.ggt-p b {
    color: var(--curtain);
    font-weight: 600;
}

/* Waiting */
.ggt-chase {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 6px 0 22px;
}
.ggt-chase i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line);
    display: block;
    animation: ggtChase 1.2s infinite;
}
.ggt-chase i:nth-child(1) {
    animation-delay: 0s;
}
.ggt-chase i:nth-child(2) {
    animation-delay: 0.15s;
}
.ggt-chase i:nth-child(3) {
    animation-delay: 0.3s;
}
.ggt-chase i:nth-child(4) {
    animation-delay: 0.45s;
}
.ggt-chase i:nth-child(5) {
    animation-delay: 0.6s;
}
@keyframes ggtChase {
    0%,
    100% {
        background: var(--line);
    }
    40% {
        background: var(--gold-bright);
        box-shadow: 0 0 8px var(--gold-bright);
    }
}

/* Voting */
.ggt-vote-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.ggt-vote-count {
    font-size: 11px;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
}
.ggt-led {
    background: #1a130d;
    color: var(--gold-bright);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.25);
}
.ggt-film {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}
.ggt-film i {
    height: 3px;
    flex: 1;
    border-radius: 2px;
    background: rgba(36, 28, 19, 0.12);
}
.ggt-film i.done {
    background: var(--gold);
}
.ggt-film i.now {
    background: var(--curtain);
}

.ggt-performer {
    text-align: center;
    margin-bottom: 18px;
}
.ggt-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    object-fit: cover;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--cream-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 19px;
    color: #fff;
}
.ggt-performer h3 {
    font-family: "Fraunces", serif;
    font-size: 18px;
    margin: 0 0 4px;
}
.ggt-performer .ggt-cat {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--curtain);
    background: rgba(163, 38, 56, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
}
.ggt-scale-hint {
    text-align: center;
    font-size: 12px;
    color: var(--ink-soft);
    margin: 16px 0 12px;
    line-height: 1.55;
}
.ggt-bulbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
.ggt-bulb {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1.5px solid rgba(36, 28, 19, 0.14);
    background: #fffdf7;
    color: var(--ink);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s;
}
.ggt-bulb:hover {
    border-color: var(--gold);
}
.ggt-bulb.selected {
    background: radial-gradient(
        circle at 35% 30%,
        var(--gold-bright),
        var(--curtain) 120%
    );
    color: #fff;
    border-color: transparent;
    box-shadow:
        0 0 0 3px rgba(240, 180, 41, 0.22),
        0 4px 10px -3px rgba(163, 38, 56, 0.5);
    transform: scale(1.06);
}
.ggt-vote-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}
.ggt-vote-actions .ggt-btn {
    flex: 1;
    padding: 13px;
    font-size: 14px;
}
.ggt-error {
    text-align: center;
    font-size: 11.5px;
    color: var(--curtain-bright);
    margin-top: 10px;
}

/* Thank you */
.ggt-star {
    width: 80px;
    height: 80px;
    margin: 6px auto 18px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 30%,
        var(--gold-bright),
        var(--curtain) 130%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -10px rgba(163, 38, 56, 0.55);
}
.ggt-thanks-h {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 23px;
    text-align: center;
    margin: 0 0 10px;
}
.ggt-thanks-p {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 250px;
    margin: 0 auto 22px;
}

/* Big-screen pages (QR + Leaderboard) */
.ggt-tv-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 920px;
    margin-bottom: 0;
}
.ggt-tv-bar img.ggt-marque {
    height: 52px;
}
.ggt-tv-bar img.gail-logo-tv {
    height: 52px;
}
.ggt-tv-hindi {
    text-align: right;
    font-size: 12px;
    color: rgba(246, 239, 221, 0.5);
    margin-top: 6px;
}
.ggt-tv-title {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: clamp(24px, 3.4vw, 34px);
    text-align: center;
    margin: 28px 0 26px;
}
.ggt-qr-box {
    background: var(--cream);
    padding: 20px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
}
.ggt-qr-box img {
    width: 288px;
    height: 288px;
    display: block;
    border-radius: 4px;
}
.ggt-url-pill {
    margin-top: 26px;
    background: linear-gradient(160deg, var(--gold-bright), var(--gold));
    color: #241c13;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.03em;
    padding: 14px 34px;
    border-radius: 12px;
}

.ggt-lb-title {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: clamp(24px, 3.2vw, 32px);
    text-align: center;
    margin: 26px 0 30px;
}
.ggt-lb-list {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ggt-lb-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    padding: 14px 20px;
}
.ggt-lb-rank {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-size: 14px;
    color: #241c13;
    background: rgba(255, 255, 255, 0.15);
}
.ggt-lb-rank.gold {
    background: var(--gold-bright);
}
.ggt-lb-rank.silver {
    background: #cfd3da;
}
.ggt-lb-rank.bronze {
    background: #cd8c52;
}
.ggt-lb-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}
.ggt-lb-mid {
    flex: 1;
    min-width: 0;
}
.ggt-lb-mid .ggt-lb-name {
    font-size: 17px;
    font-weight: 600;
}
.ggt-lb-mid .ggt-lb-cat {
    font-size: 12px;
    color: rgba(246, 239, 221, 0.5);
    margin-top: 2px;
}
.ggt-lb-score {
    text-align: right;
}
.ggt-lb-score .ggt-lb-num {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-size: 22px;
    color: var(--gold-bright);
}
.ggt-lb-score .ggt-lb-votes {
    font-size: 11px;
    color: rgba(246, 239, 221, 0.45);
}

.ggt-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--curtain-bright);
    text-transform: uppercase;
}
.ggt-live .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--curtain-bright);
    animation: ggtPulse 1.4s infinite;
}
@keyframes ggtPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ggt-chase i,
    .ggt-live .dot {
        animation: none !important;
    }
}

/* Added — referenced by the leaderboard markup but missing from the supplied theme */
.ggt-section-title {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-align: center;
    margin: 0 0 18px;
}
.ggt-score-chip {
    display: inline-block;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 4px 10px;
    margin: 2px 4px 2px 0;
    color: var(--cream-dim);
}
