/* ============================================
   GOLEADA MUNDIALISTA 2026 — Theme CSS
   ============================================ */

/* --- Design Tokens --- */
:root {
    --gl-magenta: #E91E8C;
    --gl-magenta-deep: #B3146A;
    --gl-magenta-glow: #FF3DA5;
    --gl-cyan: #1FC6F5;
    --gl-cyan-deep: #0A8FB8;
    --gl-yellow: #FFE500;
    --gl-yellow-nav: #FFD60A;
    --gl-yellow-deep: #F5C400;
    --gl-purple-bg: #1A0B3D;
    --gl-purple-mid: #2D1466;
    --gl-purple-light: #4A2199;
    --gl-ink: #0D0520;
    --gl-green: #00D97A;
    --gl-red: #FF3B4E;

    --gl-font-display: 'Archivo Black', 'Anton', 'Impact', sans-serif;
    --gl-font-body: 'Inter', system-ui, sans-serif;
    --gl-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

iframe {
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .container--logo-title {
        padding: auto !important;
        flex-direction: column;
    }
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.gl-body {
    margin: 0;
    padding: 0;
    background: #0a041a;
    font-family: var(--gl-font-body);
    color: #fff;
}

.gl-body ::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.gl-body ::-webkit-scrollbar-track {
    background: transparent;
}

.gl-body ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

/* --- Animations --- */
@keyframes gl-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.2;
    }
}

@keyframes gl-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* ============================================
     PAGE SHELL
     ============================================ */

.gl-page {
    min-height: 80vh;
    position: relative;
    overflow-x: hidden;
    /* background: url('/public/assets/Bg.png') center/cover no-repeat; */
}

/* Stadium photo */
.gl-page__stadium {
    position: fixed;
    inset: 0;
    /* background: url('/public/assets/Bg.png') center/cover no-repeat; */
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Gradient overlay over stadium */
.gl-page__overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 11, 61, 0.5) 0%, rgba(13, 5, 32, 0.15) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Confetti layer */
.gl-page__confetti {
    position: fixed;
    inset: 0;
    /* background: url('../img/confetti.svg') repeat 0 0 / 400px 400px; */
    opacity: 0.45;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
}

/* All real content sits above fixed layers */
.gl-above {
    position: relative;
    z-index: 1;
}

/* ============================================
     NAVIGATION
     ============================================ */

.gl-nav {
    position: sticky;
    z-index: 100;
    /* border-bottom: 3px solid var(--gl-yellow-nav); */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.gl-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gl-nav__logo img {
    height: 60px;
    display: block;
}

.gl-nav__links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.gl-nav__link {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: background 0.15s, color 0.15s;
    font-family: var(--gl-font-body);
}

.gl-nav__link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gl-nav__link--active {
    background: var(--gl-yellow-nav);
    color: var(--gl-ink);
    border-color: var(--gl-yellow-nav);
}

.gl-nav__link--active:hover {
    background: #FFE94D;
}

/* ============================================
     CONTAINER & LAYOUT
     ============================================ */

.gl-wrap {
    margin: 0 auto;
    padding: 0 64px;
}

.gl-section {
    margin-bottom: 0;
}

/* ============================================
     UI PRIMITIVES
     ============================================ */

/* --- Sticker Title (Archivo Black italic skewed) --- */
.gl-title {
    font-family: var(--gl-font-display);
    font-style: italic;
    text-transform: uppercase;
    display: inline-block;
    transform: skewX(-4deg);
    -webkit-text-stroke: 2px var(--gl-ink);
    line-height: 0.9;
    letter-spacing: -0.5px;
}

.gl-title--white {
    color: #fff;
    text-shadow: 4px 4px 0 var(--gl-ink), 8px 8px 0 var(--gl-magenta);
}

.gl-title--yellow {
    color: var(--gl-yellow);
    text-shadow: 4px 4px 0 var(--gl-ink), 8px 8px 0 var(--gl-magenta);
}

.gl-title--cyan {
    color: var(--gl-cyan);
    text-shadow: 4px 4px 0 var(--gl-ink), 8px 8px 0 var(--gl-magenta);
}

.gl-title--xs {
    font-size: 22px;
}

.gl-title--sm {
    font-size: 50px;
}

.gl-title--md {
    font-size: 44px;
}

.gl-title--lg {
    font-size: 54px;
}

.gl-title--xl {
    font-size: 100px;
}

/* --- Sticker Tag --- */
.gl-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 2px solid var(--gl-ink);
    border-radius: 8px;
    font-family: var(--gl-font-display);
    font-size: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--gl-ink);
    font-style: italic;
}

.gl-tag--yellow {
    background: var(--gl-yellow);
    color: var(--gl-ink);
}

.gl-tag--magenta {
    background: var(--gl-magenta);
    color: #fff;
}

.gl-tag--magenta-glow {
    background: var(--gl-magenta-glow);
    color: #fff;
}

.gl-tag--cyan {
    background: var(--gl-cyan);
    color: var(--gl-ink);
}

.gl-tag--white {
    background: #fff;
    color: var(--gl-ink);
}

.gl-tag--dark {
    background: var(--gl-ink);
    color: #fff;
}

.gl-tag--green {
    background: var(--gl-green);
    color: var(--gl-ink);
}

.gl-tag--r-neg4 {
    transform: rotate(-4deg);
}

.gl-tag--r-neg3 {
    transform: rotate(-3deg);
}

.gl-tag--r-neg2 {
    transform: rotate(-2deg);
}

.gl-tag--r-2 {
    transform: rotate(2deg);
}

.gl-tag--r-6 {
    transform: rotate(6deg);
}

/* --- CTA Buttons --- */
.gl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-family: var(--gl-font-display);
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid var(--gl-ink);
    text-decoration: none;
    transition: all 0.15s ease;
}

.gl-btn:hover:not(:disabled) {
    transform: translateY(-3px);
}

.gl-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.gl-btn--sm {
    padding: 10px 18px;
    font-size: 13px;
    box-shadow: 0 5px 0 var(--gl-ink);
}

.gl-btn--md {
    padding: 14px 26px;
    font-size: 15px;
    box-shadow: 0 5px 0 var(--gl-ink);
}

.gl-btn--lg {
    padding: 18px 34px;
    font-size: 17px;
    box-shadow: 0 5px 0 var(--gl-ink);
}

.gl-btn--sm:hover:not(:disabled),
.gl-btn--md:hover:not(:disabled),
.gl-btn--lg:hover:not(:disabled) {
    box-shadow: 0 8px 0 var(--gl-ink), 0 14px 24px rgba(0, 0, 0, 0.4);
}

.gl-btn--yellow {
    background: var(--gl-yellow);
    color: var(--gl-ink);
}

.gl-btn--yellow:hover:not(:disabled) {
    background: #FFF04D;
}

.gl-btn--magenta {
    background: var(--gl-magenta);
    color: #fff;
}

.gl-btn--magenta:hover:not(:disabled) {
    background: var(--gl-magenta-glow);
}

.gl-btn--cyan {
    background: var(--gl-cyan);
    color: var(--gl-ink) !important;
}

.gl-btn--cyan:hover:not(:disabled) {
    background: #4FD8FF;
}

.gl-btn--dark {
    background: var(--gl-ink);
    color: #fff;
}

.gl-btn--dark:hover:not(:disabled) {
    background: var(--gl-purple-bg);
}

.gl-btn--full {
    width: 100%;
}

/* --- Score Digit (LED style) --- */
.gl-digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gl-ink);
    color: var(--gl-yellow);
    font-family: var(--gl-font-mono);
    font-weight: 900;
    border-radius: 6px;
    border: 2px solid rgba(255, 229, 0, 0.25);
    text-shadow: 0 0 16px var(--gl-yellow);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.gl-digit--sm {
    width: 42px;
    height: 60px;
    font-size: 40px;
}

.gl-digit--md {
    width: 56px;
    height: 80px;
    font-size: 54px;
}

.gl-digit--lg {
    width: 70px;
    height: 100px;
    font-size: 68px;
}

/* --- Brand Chip --- */
.gl-brand-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--gl-ink);
    box-shadow: 3px 3px 0 var(--gl-ink);
    font-family: var(--gl-font-mono);
    font-size: 11px;
    color: var(--gl-ink);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.gl-brand-chip__dot {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ============================================
     HOME PAGE
     ============================================ */

/* Hero section */
.gl-home-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 20px 64px;
    align-items: center;
}

.gl-home-hero__logo-img {
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.gl-home-hero__desc {
    font-family: var(--gl-font-body);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    line-height: 1.55;
    margin: 20px 0 22px;
}

.gl-home-hero__desc b {
    color: var(--gl-yellow);
}

.gl-home-hero__tags {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* Login card */
.gl-login-card {
    position: relative;
    padding: 32px;
    background: linear-gradient(180deg, rgba(233, 30, 140, 0.97), rgba(179, 20, 106, 0.98));
    border-radius: 28px;
    border: 4px solid var(--gl-ink);
    box-shadow: 0 14px 0 var(--gl-ink), 0 24px 50px rgba(0, 0, 0, 0.5);
}

.gl-login-card--mobile {
    margin-inline: 20px;
    padding: 22px;
    border-radius: 22px;
    border: 3px solid var(--gl-ink);
    box-shadow: 0 10px 0 var(--gl-ink), 0 18px 30px rgba(0, 0, 0, 0.5);
}

.gl-login-card__title {
    font-family: var(--gl-font-display);
    color: #fff;
    font-size: 28px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.gl-login-card__subtitle {
    font-family: var(--gl-font-body);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-top: 4px;
    margin-bottom: 22px;
}

/* Cedula input */
.gl-cedula-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gl-cedula-label {
    font-family: var(--gl-font-display);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--gl-yellow);
    text-transform: uppercase;
    font-style: italic;
}

.gl-cedula-field {
    position: relative;
}

.gl-cedula-input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    background: #fff;
    border: 3px solid var(--gl-ink);
    border-radius: 14px;
    font-family: var(--gl-font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--gl-ink);
    letter-spacing: 3px;
    outline: none;
    box-shadow: 0 5px 0 var(--gl-ink);
}

.gl-cedula-input::placeholder {
    color: #ccc;
    letter-spacing: 2px;
}

.gl-cedula-counter {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--gl-font-mono);
    font-size: 11px;
    color: #666;
}

.gl-cedula-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 4px;
}

.gl-cedula-terms input {
    accent-color: var(--gl-magenta);
}

/* Mechanic steps */
.gl-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gl-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.gl-step__num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gl-yellow);
    border: 3px solid var(--gl-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gl-font-display);
    font-size: 22px;
    color: var(--gl-ink);
    box-shadow: 3px 3px 0 var(--gl-ink);
    font-style: italic;
}

.gl-step__title {
    font-family: var(--gl-font-display);
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-style: italic;
}

.gl-step__desc {
    font-family: var(--gl-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* Prizes grid */
.gl-prizes-header {
    text-align: center;
    margin-bottom: 24px;
}

.gl-prizes-header p {
    font-family: var(--gl-font-body);
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    margin-top: 12px;
}

.gl-prizes-header p b {
    color: var(--gl-yellow);
}

.gl-prizes-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Hero prize (TV) */
.gl-prize-tv {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
    background: linear-gradient(135deg, var(--gl-yellow) 0%, #FFB800 100%);
    border: 4px solid var(--gl-ink);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 10px 10px 0 var(--gl-ink), 0 24px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gl-prize-tv__confetti {
    position: absolute;
    inset: 0;
    /* background: url('../img/confetti.svg') 0 0 / 250px 250px; */
    opacity: 0.35;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.gl-prize-tv__eyebrow {
    font-family: var(--gl-font-mono);
    font-size: 11px;
    color: var(--gl-magenta);
    letter-spacing: 3px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.gl-prize-tv__name {
    font-family: var(--gl-font-display);
    font-size: 48px;
    color: var(--gl-ink);
    font-style: italic;
    line-height: 0.9;
    position: relative;
    z-index: 1;
}

.gl-prize-tv__size {
    font-family: var(--gl-font-display);
    font-size: 72px;
    color: var(--gl-magenta);
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -1px;
    text-shadow: 3px 3px 0 var(--gl-ink);
    position: relative;
    z-index: 1;
}

.gl-prize-tv__cash {
    font-family: var(--gl-font-display);
    font-size: 32px;
    color: var(--gl-ink);
    font-style: italic;
    margin-top: 6px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.gl-prize-tv__images {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.gl-prize-tv__img-tv {
    width: 90%;
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.35));
}

.gl-prize-tv__img-cash {
    position: absolute;
    bottom: -6px;
    right: -4px;
    width: 38%;
    transform: rotate(-8deg);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
}

/* Standard prize card */
.gl-prize-card {
    position: relative;
    border: 4px solid var(--gl-ink);
    border-radius: 24px;
    padding: 18px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gl-prize-card--magenta {
    background: var(--gl-magenta);
    color: #fff;
    transform: rotate(-2deg);
    box-shadow: 5px 5px 0 var(--gl-ink), 0 16px 30px rgba(0, 0, 0, 0.4);
}

.gl-prize-card--cyan {
    background: var(--gl-cyan);
    color: var(--gl-ink);
    transform: rotate(2deg);
    box-shadow: 5px 5px 0 var(--gl-ink), 0 16px 30px rgba(0, 0, 0, 0.4);
}

.gl-prize-card--white {
    background: #fff;
    color: var(--gl-ink);
    transform: rotate(-1deg);
    box-shadow: 5px 5px 0 var(--gl-ink), 0 16px 30px rgba(0, 0, 0, 0.4);
}

.gl-prize-card__confetti {
    position: absolute;
    inset: 0;
    /* background: url('../img/confetti.svg') 0 0 / 200px 200px; */
    opacity: 0.3;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.gl-prize-card__badge {
    position: absolute;
    top: -14px;
    left: 14px;
    z-index: 3;
    padding: 6px 14px;
    background: var(--gl-magenta);
    color: #fff;
    font-family: var(--gl-font-display);
    font-size: 11px;
    letter-spacing: 2px;
    font-style: italic;
    border-radius: 999px;
    border: 3px solid var(--gl-ink);
    box-shadow: 3px 3px 0 var(--gl-ink);
}

.gl-prize-card__sticker {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.gl-prize-card__img {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 4px 0;
    height: 100%;
}

.gl-prize-card__img img {
    width: 70%;
    max-width: 220px;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.3));
}

.gl-prize-card__footer {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gl-prize-card__title {
    font-family: var(--gl-font-display);
    font-size: 18px;
    font-style: italic;
    line-height: 1;
}

.gl-prize-card__sub {
    font-family: var(--gl-font-display);
    font-size: 12px;
    font-style: italic;
    margin-top: 4px;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

/* Green cash row (spans 2 cols) */
.gl-prize-cash {
    grid-column: 2 / 4;
    position: relative;
    background: linear-gradient(90deg, #00D97A, #00A15C);
    border: 4px solid var(--gl-ink);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 6px 6px 0 var(--gl-ink);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gl-prize-cash__text {
    flex: 1;
}

.gl-prize-cash__eyebrow {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: var(--gl-ink);
    opacity: 0.7;
    letter-spacing: 3px;
}

.gl-prize-cash__amounts {
    font-family: var(--gl-font-display);
    font-size: 34px;
    color: var(--gl-ink);
    font-style: italic;
    line-height: 1;
    margin-top: 2px;
}

.gl-prize-cash__label {
    font-family: var(--gl-font-display);
    font-size: 18px;
    color: #fff;
    font-style: italic;
    margin-top: 4px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 var(--gl-ink);
}

.gl-prize-cash__img {
    width: 130px;
    transform: rotate(8deg);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
    flex-shrink: 0;
}

/* Brands carousel */
.gl-brands-bar {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    padding: 22px;
    backdrop-filter: blur(10px);
}

.gl-brands-bar__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.gl-brands-bar__title {
    font-family: var(--gl-font-display);
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 1px;
}

.gl-brands-bar__hint {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.gl-brands-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.gl-brands-scroll::-webkit-scrollbar {
    display: none;
}


/* ============================================
     DASHBOARD PAGE
     ============================================ */

.gl-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gl-dash-header__left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gl-dash-header__nav {
    display: flex;
    gap: 22px;
    font-family: var(--gl-font-display);
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
}

.gl-dash-header__nav-item {
    opacity: 0.65;
    cursor: pointer;
}

.gl-dash-header__nav-item--active {
    opacity: 1;
    border-bottom: 3px solid var(--gl-yellow);
    padding-bottom: 4px;
}

.gl-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gl-user-chip__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gl-magenta), var(--gl-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--gl-font-display);
    font-size: 12px;
}

.gl-user-chip__name {
    font-family: var(--gl-font-body);
    font-size: 13px;
    color: #fff;
}

.gl-user-chip__name span {
    opacity: 0.6;
}

/* Scoreboard */
.gl-scoreboard {
    position: relative;
    background: linear-gradient(180deg, var(--gl-ink), var(--gl-purple-bg));
    border: 3px solid var(--gl-ink);
    border-radius: 24px;
    padding: 26px;
    overflow: hidden;
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.5), 0 18px 30px rgba(0, 0, 0, 0.4);
}

.gl-scoreboard__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 229, 0, 0.04) 0 2px, transparent 2px 4px);
    pointer-events: none;
}

.gl-scoreboard__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
}

.gl-scoreboard__meta-eyebrow {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 229, 0, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gl-scoreboard__meta-eyebrow--cyan {
    color: rgba(31, 198, 245, 0.7);
}

.gl-scoreboard__meta-name {
    font-family: var(--gl-font-display);
    color: #fff;
    font-size: 18px;
    font-style: italic;
    margin-top: 2px;
}

.gl-scoreboard__digits {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 8px 0;
}

.gl-scoreboard__label {
    text-align: center;
    font-family: var(--gl-font-display);
    color: var(--gl-yellow);
    font-size: 18px;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 1px;
}

.gl-progress {
    margin-top: 20px;
}

.gl-progress__head {
    display: flex;
    justify-content: space-between;
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.gl-progress__track {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gl-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gl-yellow), var(--gl-magenta));
    box-shadow: 0 0 12px var(--gl-yellow);
    border-radius: 999px;
    transition: width 0.4s;
}

/* Stats summary */
.gl-stats-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gl-stats-box__eyebrow {
    font-family: var(--gl-font-mono);
    font-size: 11px;
    color: var(--gl-cyan);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.gl-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gl-stat-item {
    padding: 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gl-stat-item__label {
    font-family: var(--gl-font-mono);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gl-stat-item__value {
    font-family: var(--gl-font-display);
    font-size: 30px;
    color: var(--gl-yellow);
    font-style: italic;
    margin-top: 4px;
}

.gl-stat-item__sub {
    font-family: var(--gl-font-body);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.gl-stats-box__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

/* Sorteos scroll */
.gl-sorteos-scroll {
    display: flex;
    gap: 18px;
    padding-bottom: 16px;
    scrollbar-width: none;
}

.gl-sorteos-scroll::-webkit-scrollbar {
    display: none;
}

.gl-sorteo-card {
    width: 100%;
    border-radius: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

@media (max-width: 800px) {

    .gl-sorteos-scroll {
        flex-direction: column;
    }

    .gl-sorteo-card {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        border-radius: 18px;
        padding: 20px;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(8px);
    }
}

.gl-sorteo-card--upcoming {
    background: rgb(26, 13, 53, 0.60);
    border: 2px solid var(--gl-cyan-deep);
}

.gl-sorteo-card--live {
    background: linear-gradient(180deg, rgba(233, 30, 140, 0.25), rgba(233, 30, 140, 0.1));
    border: 2px solid var(--gl-magenta-glow);
}

.gl-sorteo-card--done {
    background: rgb(26, 13, 53, 0.60);
    border: 2px solid var(--gl-cyan-deep);
}

.gl-sorteo-card--live .gl-sorteo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 61, 165, 0.60), transparent 60%);
    pointer-events: none;
    animation: gl-pulse 2s ease-in-out infinite;
}

.gl-sorteo-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.gl-sorteo-card__num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--gl-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gl-font-display);
    font-size: 16px;
    font-style: italic;
}

.gl-sorteo-card--live .gl-sorteo-card__num {
    background: var(--gl-yellow) !important;
    color: var(--gl-ink) !important;
}

.gl-sorteo-card--upcoming .gl-sorteo-card__num {
    background: rgba(75, 75, 75);
    color: #fff;
}

.gl-sorteo-card--done .gl-sorteo-card__num {
    background: rgba(75, 75, 75);
    color: #fff;
}

.gl-sorteo-chip {
    padding: 4px 10px;
    font-family: var(--gl-font-display);
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 999px;
    border: 2px solid var(--gl-ink);
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gl-sorteo-card--live .gl-sorteo-chip {
    background: var(--gl-magenta);
    color: #fff;
}

.gl-sorteo-card--upcoming .gl-sorteo-chip {
    background: var(--gl-cyan);
    color: var(--gl-ink);
}

.gl-sorteo-card--done .gl-sorteo-chip {
    background: var(--gl-yellow) !important;
    color: var(--gl-ink) !important;
}

.gl-sorteo-chip__dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: gl-blink 1s infinite;
}

.gl-sorteo-card__eyebrow {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.gl-sorteo-card--live .gl-sorteo-card__eyebrow {
    color: var(--gl-magenta-glow);
}

.gl-sorteo-card--upcoming .gl-sorteo-card__eyebrow {
    color: var(--gl-cyan);
}

.gl-sorteo-card--done .gl-sorteo-card__eyebrow {
    color: rgba(255, 255, 255, 0.4);
}

.gl-sorteo-card__date {
    font-family: var(--gl-font-display);
    font-size: 22px;
    color: #fff;
    font-style: italic;
    line-height: 1;
}

.gl-sorteo-card__time {
    font-family: var(--gl-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.gl-sorteo-prize-box {
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.gl-sorteo-prize-box__label {
    font-family: var(--gl-font-mono);
    font-size: 9px;
    color: rgba(255, 229, 0, 0.8);
    letter-spacing: 2px;
    margin-bottom: 3px;
}

.gl-sorteo-prize-box__text {
    font-family: var(--gl-font-display);
    font-size: 13px;
    color: var(--gl-yellow);
    font-style: italic;
    letter-spacing: 0.5px;
}

.gl-sorteo-card__action {
    margin-top: 14px;
}

/* Goals history */
.gl-history-wrap {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.gl-history-row {
    display: grid;
    grid-template-columns: 60px 1fr 80px 70px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gl-history-row:last-child {
    border-bottom: none;
}

.gl-history-row__date {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: var(--gl-cyan);
    letter-spacing: 1px;
}

.gl-history-row__desc {
    font-family: var(--gl-font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.gl-history-row__amount {
    font-family: var(--gl-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.gl-history-row__goals {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-self: end;
    padding: 3px 10px;
    background: var(--gl-yellow);
    color: var(--gl-ink);
    border-radius: 999px;
    border: 2px solid var(--gl-ink);
    font-family: var(--gl-font-display);
    font-size: 11px;
    font-style: italic;
}

/* ============================================
     LIVE PAGE
     ============================================ */

.gl-player {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid var(--gl-ink);
    box-shadow: 0 10px 0 var(--gl-ink), 0 18px 30px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(ellipse 70% 50% at 50% 35%, rgba(31, 198, 245, 0.35), transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 90%, rgba(233, 30, 140, 0.4), transparent 60%),
        linear-gradient(180deg, #1A0B3D, #0D0520);
}

.gl-player__field {
    position: absolute;
    inset: 0;
    background: url('../img/field-lines.svg') 0 0 / 400px 400px;
    opacity: 0.5;
}

.gl-player__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
}

.gl-player__play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gl-yellow);
    border: 3px solid var(--gl-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 0 var(--gl-ink);
    font-size: 30px;
    color: var(--gl-ink);
    margin-bottom: 12px;
    cursor: pointer;
}

.gl-player__title {
    font-family: var(--gl-font-display);
    font-size: 20px;
    color: #fff;
    font-style: italic;
    letter-spacing: 1px;
    text-align: center;
}

.gl-player__subtitle {
    font-family: var(--gl-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    letter-spacing: 2px;
    text-align: center;
}

.gl-player__live-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--gl-magenta);
    color: #fff;
    font-family: var(--gl-font-display);
    font-size: 11px;
    letter-spacing: 2px;
    font-style: italic;
    border-radius: 999px;
    border: 2px solid var(--gl-ink);
}

.gl-player__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: gl-blink 1s infinite;
}

.gl-player__viewers {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-family: var(--gl-font-mono);
    font-size: 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.gl-player__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--gl-font-mono);
    font-size: 11px;
    color: #fff;
}

.gl-player__chat {
    position: absolute;
    bottom: 48px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gl-player__bubble {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-family: var(--gl-font-body);
    font-size: 11px;
    color: #fff;
    backdrop-filter: blur(8px);
    max-width: 260px;
}

.gl-player__bubble-user {
    color: var(--gl-yellow);
    font-weight: 700;
}

/* Agenda strip */
.gl-agenda-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gl-agenda-item {
    padding: 10px 14px;
    border-radius: 12px;
    font-family: var(--gl-font-body);
    font-size: 12px;
}

.gl-agenda-item--active {
    background: var(--gl-yellow);
    color: var(--gl-ink);
    border: 2px solid var(--gl-ink);
}

.gl-agenda-item--inactive {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.gl-agenda-item__block {
    font-family: var(--gl-font-mono);
    font-size: 9px;
    opacity: 0.6;
    letter-spacing: 1px;
}

.gl-agenda-item__label {
    font-family: var(--gl-font-display);
    font-size: 15px;
    font-style: italic;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Trivia panel */
.gl-trivia {
    background: linear-gradient(180deg, rgba(26, 11, 61, 0.95), rgba(13, 5, 32, 0.98));
    border: 3px solid var(--gl-ink);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 0 var(--gl-ink);
}

.gl-trivia__header {
    padding: 16px 20px;
    background: linear-gradient(90deg, var(--gl-magenta), var(--gl-magenta-glow));
    border-bottom: 3px solid var(--gl-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gl-trivia__header-label {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.gl-trivia__header-title {
    font-family: var(--gl-font-display);
    font-size: 20px;
    color: #fff;
    font-style: italic;
    margin-top: 2px;
}

.gl-trivia__timer {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gl-yellow);
    border: 3px solid var(--gl-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gl-font-display);
    font-size: 24px;
    color: var(--gl-ink);
    font-style: italic;
    box-shadow: 3px 3px 0 var(--gl-ink);
}

.gl-trivia__bar-track {
    height: 5px;
    background: rgba(0, 0, 0, 0.4);
}

.gl-trivia__bar-fill {
    height: 100%;
    background: var(--gl-yellow);
    transition: width 1s linear;
}

.gl-trivia__bar-fill--urgent {
    background: var(--gl-magenta-glow);
}

.gl-trivia__body {
    padding: 20px;
}

.gl-trivia__question {
    font-family: var(--gl-font-display);
    font-size: 19px;
    color: #fff;
    font-style: italic;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.gl-trivia__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gl-trivia__opt {
    text-align: left;
    cursor: pointer;
    padding: 14px;
    border: 3px solid var(--gl-ink);
    border-radius: 12px;
    font-family: var(--gl-font-display);
    font-size: 15px;
    font-style: italic;
    box-shadow: 4px 4px 0 var(--gl-ink);
    transition: all 0.12s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-trivia__opt:not(:disabled):hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--gl-ink);
}

.gl-trivia__opt:disabled {
    cursor: default;
}

.gl-trivia__opt--A {
    background: var(--gl-magenta);
    color: #fff;
}

.gl-trivia__opt--B {
    background: var(--gl-cyan);
    color: var(--gl-ink);
}

.gl-trivia__opt--C {
    background: var(--gl-yellow);
    color: var(--gl-ink);
}

.gl-trivia__opt--D {
    background: var(--gl-magenta-glow);
    color: #fff;
}

.gl-trivia__opt--correct {
    background: var(--gl-green) !important;
    color: #fff !important;
    box-shadow: 2px 2px 0 var(--gl-ink);
}

.gl-trivia__opt--wrong {
    background: var(--gl-red) !important;
    color: #fff !important;
    box-shadow: 2px 2px 0 var(--gl-ink);
    transform: translate(2px, 2px);
}

.gl-trivia__opt--selected {
    box-shadow: 2px 2px 0 var(--gl-ink);
    transform: translate(2px, 2px);
}

.gl-trivia__opt-letter {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--gl-ink);
    color: var(--gl-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gl-font-display);
    font-size: 12px;
    flex-shrink: 0;
}

.gl-trivia__feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    display: none;
}

.gl-trivia__feedback--correct {
    background: rgba(0, 217, 122, 0.15);
    border: 2px solid var(--gl-green);
}

.gl-trivia__feedback--wrong {
    background: rgba(255, 59, 78, 0.15);
    border: 2px solid var(--gl-red);
}

.gl-trivia__feedback-title {
    font-family: var(--gl-font-display);
    font-size: 13px;
    font-style: italic;
    letter-spacing: 1px;
}

.gl-trivia__feedback--correct .gl-trivia__feedback-title {
    color: var(--gl-green);
}

.gl-trivia__feedback--wrong .gl-trivia__feedback-title {
    color: var(--gl-red);
}

.gl-trivia__feedback-prize {
    font-family: var(--gl-font-body);
    font-size: 12px;
    color: #fff;
    margin-top: 4px;
}

.gl-trivia__feedback-prize b {
    color: var(--gl-yellow);
}

.gl-trivia__ranking {
    padding: 0 14px 14px;
}

.gl-trivia__rank-label {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.gl-rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 4px;
    font-family: var(--gl-font-body);
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gl-rank-row--you {
    background: rgba(255, 229, 0, 0.15);
    border-color: var(--gl-yellow);
}

.gl-rank-row__pos {
    font-family: var(--gl-font-display);
    color: var(--gl-yellow);
    font-style: italic;
    font-size: 14px;
    width: 22px;
}

.gl-rank-row__name {
    flex: 1;
}

.gl-rank-row__score {
    font-family: var(--gl-font-mono);
    color: var(--gl-yellow);
}

/* Score mini box (live page) */
.gl-score-mini {
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
}

.gl-score-mini__label {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.gl-score-mini__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.gl-score-mini__goals {
    font-family: var(--gl-font-display);
    font-size: 22px;
    color: var(--gl-yellow);
    font-style: italic;
}

.gl-score-mini__pts {
    font-family: var(--gl-font-mono);
    font-size: 12px;
    color: #fff;
}

/* Stats bar in live desktop */
.gl-live-stat {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gl-live-stat__label {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.gl-live-stat__value {
    font-family: var(--gl-font-display);
    font-size: 20px;
    font-style: italic;
}

.gl-live-stat__value--yellow {
    color: var(--gl-yellow);
}

.gl-live-stat__value--cyan {
    color: var(--gl-cyan);
}

/* ============================================
     GANADORES PAGE
     ============================================ */

.gl-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
}

.gl-tab {
    padding: 10px 22px;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-family: var(--gl-font-display);
    font-size: 12px;
    font-style: italic;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.gl-tab--active {
    background: var(--gl-magenta);
    color: #fff;
    border: 2px solid var(--gl-ink);
}

.gl-tab--disabled {
    opacity: 0.4;
    cursor: default;
}

.gl-winner-hero {
    position: relative;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gl-yellow) 0%, #FFB800 100%);
    border: 3px solid var(--gl-ink);
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--gl-ink);
    overflow: hidden;
    display: flex;
    /* align-items: center; */
    gap: .5rem;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
}

.gl-winner-hero__trophy {
    position: absolute;
    top: -8px;
    right: -8px;
    transform: rotate(10deg);
}

.gl-winner-hero__sorteo {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: var(--gl-magenta);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gl-winner-hero__name {
    font-family: var(--gl-font-display);
    font-size: 30px;
    color: var(--gl-ink);
    font-style: italic;
    letter-spacing: 0.3px;
    /* border-left: 2px solid black;
    padding-left: .5rem; */
}

.gl-winner-hero__ci {
    font-family: var(--gl-font-mono);
    font-size: 15px;
    color: var(--gl-ink);
    opacity: 0.75;
    margin-top: 2px;
}

.gl-winner-hero__prize {
    padding: 10px 14px;
    background: var(--gl-ink);
    color: #fff;
    border: 2px solid var(--gl-ink);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.gl-winner-hero__prize-text {
    font-family: var(--gl-font-display);
    color: var(--gl-yellow);
    font-size: 16px;
    font-style: italic;
}

.gl-winner-hero__prize-goals {
    opacity: 0.6;
    font-family: var(--gl-font-mono);
    font-size: 11px;
}

.gl-winner-card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    font-family: var(--gl-font-body);
    flex: 1;
}

.gl-winner-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gl-magenta), var(--gl-cyan));
    border: 2px solid var(--gl-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--gl-font-display);
    font-size: 16px;
    font-style: italic;
    flex-shrink: 0;
}

.gl-winner-card__info {
    flex: 1;
    min-width: 0;
}

.gl-winner-card__name {
    font-family: var(--gl-font-display);
    font-size: 18px;
    color: #fff;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gl-winner-card__ci {
    font-family: var(--gl-font-mono);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.gl-winner-card__right {
    text-align: right;
    flex-shrink: 0;
}

.gl-winner-card__prize {
    font-family: var(--gl-font-display);
    font-size: 13px;
    color: var(--gl-yellow);
    font-style: italic;
    letter-spacing: 0.5px;
}

.gl-winner-card__goals {
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.gl-winner-trivia-label {
    font-family: var(--gl-font-mono);
    font-size: 18px;
    color: var(--gl-yellow);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.gl-next-sorteos {
    padding: 28px;
    background: rgba(31, 198, 245, 0.08);
    border: 2px dashed var(--gl-cyan);
    border-radius: 20px;
    text-align: center;
}

.gl-next-sorteos p {
    font-family: var(--gl-font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 10px 0 0;
}

.gl-next-sorteos p b {
    color: #fff;
}

/* Trophy SVG */
.gl-trophy-svg {
    display: block;
}

/* ============================================
     UTILITIES
     ============================================ */

.gl-text-mono {
    font-family: var(--gl-font-mono);
}

.gl-text-display {
    font-family: var(--gl-font-display);
    font-style: italic;
}

.gl-text-muted {
    color: rgba(255, 255, 255, 0.5);
}

.gl-text-yellow {
    color: var(--gl-yellow);
}

.gl-text-cyan {
    color: var(--gl-cyan);
}

.gl-text-magenta {
    color: var(--gl-magenta);
}

.gl-glass-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 22px;
    backdrop-filter: blur(8px);
}

.gl-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.gl-footnote {
    padding: 14px 0 24px;
    text-align: center;
    font-family: var(--gl-font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
     RESPONSIVE — MOBILE (< 900px)
     ============================================ */

@media (max-width: 899px) {

    iframe {
        /* height: auto !important; */
    }

    .gl-wrap {
        padding: 0 20px;
    }

    /* Dashboard header */
    .gl-dash-header {
        padding: 14px 20px;
    }

    .gl-dash-header__nav {
        display: none;
    }

    /* Home hero — stacked */
    .gl-home-hero {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
        gap: 20px;
    }

    .gl-home-hero__desc {
        font-size: 14px;
    }

    .gl-home-hero__tags {
        gap: 10px;
    }

    /* Prizes — stacked */
    .gl-prizes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
    }

    .gl-prize-tv {
        grid-column: 1;
        grid-row: auto;
        padding: 20px;
    }

    .gl-prize-tv__name {
        font-size: 30px;
    }

    .gl-prize-tv__size {
        font-size: 44px;
    }

    .gl-prize-tv__cash {
        font-size: 22px;
    }

    .gl-prize-tv__img-cash {
        width: 44%;
    }

    .gl-prize-card--magenta,
    .gl-prize-card--cyan,
    .gl-prize-card--white {
        transform: none;
    }

    .gl-prize-cash {
        grid-column: 1;
        padding: 18px;
    }

    .gl-prize-cash__amounts {
        font-size: 22px;
    }

    .gl-prize-cash__label {
        font-size: 14px;
    }

    .gl-prize-cash__img {
        width: 90px;
    }

    /* Steps — stacked */
    .gl-steps-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Scoreboard */
    .gl-scoreboard {
        border-radius: 18px;
        padding: 18px;
    }

    .gl-scoreboard__meta-name {
        font-size: 14px;
    }

    .gl-scoreboard__label {
        font-size: 14px;
    }

    .gl-progress {
        margin-top: 14px;
    }

    /* Stats grid */
    .gl-stats-grid {
        grid-template-columns: 1fr;
    }

    /* History rows */
    .gl-history-row {
        grid-template-columns: 54px 1fr auto;
    }

    .gl-history-row__amount {
        display: none;
    }

    /* Player */
    .gl-player {
        border-radius: 14px;
    }

    .gl-player__play-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .gl-player__title {
        font-size: 14px;
    }

    .gl-player__subtitle {
        font-size: 10px;
    }

    .gl-player__live-chip {
        top: 10px;
        left: 10px;
    }

    .gl-player__viewers {
        top: 10px;
        right: 10px;
    }

    .gl-player__chat {
        display: none;
    }

    /* Trivia */
    .gl-trivia {
        border-radius: 16px;
    }

    .gl-trivia__header {
        padding: 12px 14px;
    }

    .gl-trivia__header-title {
        font-size: 16px;
    }

    .gl-trivia__timer {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .gl-trivia__body {
        padding: 16px 14px;
    }

    .gl-trivia__question {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .gl-trivia__opt {
        padding: 12px;
        font-size: 13px;
    }

    /* Winners */
    .gl-winner-hero {
        padding: 18px;
        border-radius: 16px;
        width: 100%;
    }

    .gl-winner-hero__name {
        font-size: 22px;
        /* border-left: 2px solid black;
        padding-left: .5rem; */
    }

    .gl-winner-hero__prize-text {
        font-size: 14px;
    }

    .gl-winner-card {
        padding: 12px 14px;
        gap: 12px;
        width: 100%;
        flex: 1;
    }

    .gl-winner-card__avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .gl-winner-card__name {
        font-size: 14px;
    }

    /* Agenda */
    .gl-agenda-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Titles */
    .gl-title--xl {
        font-size: 32px;
    }

    .gl-title--lg {
        font-size: 28px;
    }

    .gl-title--md {
        font-size: 24px;
    }

    /* Tabs */
    .gl-tab {
        padding: 8px 10px;
        font-size: 11px;
    }

    .gl-tabs {
        flex-wrap: wrap;
        width: 100%;
        border-radius: 16px;
    }

    /* Next sorteos */
    .gl-next-sorteos {
        padding: 16px;
    }
}

/* Desktop-only show/hide */
@media (min-width: 900px) {
    .gl-mobile-only {
        display: none !important;
    }
}

@media (max-width: 899px) {
    .gl-desktop-only {
        display: none !important;
    }
}

@media (max-width: 899px) {
    .gl-prizes-grid {
        display: flex;
        width: max-content;
        gap: 16px;
        animation: gl-prizes-carousel 22s linear infinite;
    }

    .gl-prizes-grid:hover {
        animation-play-state: paused;
    }

    .gl-prize-tv,
    .gl-prize-card,
    .gl-prize-cash {
        width: 82vw;
        max-width: 340px;
        min-width: 82vw;
        flex: 0 0 82vw;
    }

    .gl-prize-tv {
        min-height: 440px;
    }

    .gl-prize-card {
        min-height: 320px;
    }

    .gl-prize-cash {
        min-height: 180px;
    }

    .gl-prizes-carousel-wrap {
        overflow: hidden;
        width: 100%;
        padding: 10px 0 24px;
    }

    @keyframes gl-prizes-carousel {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-82vw * 5 - 16px * 5));
        }
    }
}

@media (max-width: 899px) {
    .gl-prizes-mobile-carousel {
        width: 100%;
        overflow: hidden;
        padding: 20px 0 36px;
    }

    .gl-prizes-mobile-track {
        display: flex !important;
        gap: 18px;
        width: max-content;
        animation: gl-prizes-auto-scroll 28s linear infinite;
    }

    .gl-prizes-mobile-track:hover {
        animation-play-state: paused;
    }

    .gl-prizes-mobile-track .gl-prize-tv,
    .gl-prizes-mobile-track .gl-prize-card,
    .gl-prizes-mobile-track .gl-prize-cash {
        flex: 0 0 82vw;
        width: 82vw;
        max-width: 340px;
        min-width: 82vw;
        border: 4px solid var(--gl-ink);
        border-radius: 26px;
        box-shadow: 8px 8px 0 var(--gl-ink);
    }

    .gl-prizes-mobile-track .gl-prize-tv {
        min-height: 440px;
        background: linear-gradient(135deg, var(--gl-yellow) 0%, #ffb800 100%) !important;
    }

    .gl-prizes-mobile-track .gl-prize-card {
        min-height: 330px;
    }

    .gl-prizes-mobile-track .gl-prize-cash {
        min-height: 210px;
    }

    .gl-prizes-mobile-track .gl-prize-tv__img-tv {
        width: 92%;
    }

    .gl-prizes-mobile-track .gl-prize-tv__img-cash {
        width: 46%;
    }

    @keyframes gl-prizes-auto-scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-1 * ((82vw + 18px) * 5)));
        }
    }
}

.gl-winners-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.gl-winners-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* DESKTOP */
@media (min-width: 900px) {
    .gl-winners-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.brands {
    overflow: hidden;
    /* padding: 24px 0; */
}

.brand-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brand-row {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    gap: 14px;
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    min-width: max-content;
    animation: brands-marquee var(--brands-speed, 35s) linear infinite;
}

.brand-row:hover .brand-track {
    animation-play-state: paused;
}

.brand-item {
    flex: 0 0 auto;
    width: 140px;
    height: 72px;
    border-radius: 16px;
    background: #fff;
    border: 3px solid #0D0520;
    box-shadow: 4px 4px 0 #0D0520;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.row-bottom .brand-track {
    animation-direction: reverse;
}

@keyframes brands-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 640px) {
    .brand-track {
        gap: 14px;
    }

    .brand-item {
        width: 110px;
        height: 58px;
        border-radius: 12px;
        padding: 8px;
    }
}

.logoCA-nav {
    display: block;
    position: relative;
    top: -1rem;
}

.logoCA-body {
    top: 0;
}

@media (max-width: 768px) {
    /* .logoCA-nav {
        display: none;
    } */

    .logoCA-body {
        /* display: block; */
        position: relative !important;
        /* margin-top: 1rem; */
    }
}

/* MARCAS PARTICIPANTES */

.brands-static {
    padding: 2rem 1rem;
    position: relative;
}

.brands-static__box {
    /* max-width: 1180px; */
    margin: auto;
    padding: 2rem;
    background: rgba(255, 255, 255, .16);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.brands-static__title {
    text-align: center;
    color: #fff;
    margin: 0 0 2rem;
    font-size: 22px;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 1px;
    font-weight: 900;
}

.brands-static__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 18px;
    align-items: center;
}

.brands-static__item {
    min-height: 82px;
    background: #fff;
    border: 3px solid #0D0520;
    border-radius: 16px;
    box-shadow: 5px 5px 0 #0D0520;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.brands-static__item img {
    /* max-width: 100%;
    max-height: 58px;
    object-fit: contain;
    display: block; */
    width: 4rem;
}

.brands-static__legal {
    max-width: 1180px;
    margin: 1.5rem auto 0;
}

.brands-static__legal p {
    padding-inline: 1rem;
    text-align: center;
    font-size: 11px;
    line-height: 1.45;
    color: #fff !important;
    margin: 0;
}

.gl-sorteo-card--live {
    background: linear-gradient(180deg, rgba(233, 30, 140, 0.6), rgba(233, 30, 140, 0.1)) !important;
    border: 2px solid var(--gl-magenta-glow) !important;
}

.gl-sorteo-card--done {
    background: rgb(26, 13, 53, 0.60);
    border: 2px solid var(--gl-cyan-deep);
}

.gl-sorteo-card--live .gl-sorteo-chip {
    background: var(--gl-magenta);
    color: #fff;
}

.gl-sorteo-chip__dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: gl-blink 1s infinite;
}

@keyframes gl-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.2;
    }
}

.modal-juego {
    border: none;
    border-radius: 16px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    background: transparent;
}

/* Fondo oscuro */
.modal-juego::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

/* Contenedor interno */
.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    font-family: sans-serif;
    color: #451391;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.25s ease;
}

/* Botón cerrar */
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #451391;
    color: #fef301;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.close-btn:hover {
    opacity: 0.8;
}

/* Título */
.modal-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 800;
    margin-block: 1rem;
}

/* Texto */
.modal-content p {
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1rem;
}

/* Animación */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container--transmisiones {
    display: flex;
    gap: .5rem;
    justify-content: space-evenly;
}

@media (max-width: 640px) {
    .brands-static {
        padding: 1.25rem .75rem;
    }

    .brands-static__box {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .brands-static__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brands-static__item {
        min-height: 68px;
        padding: 10px;
        border-radius: 12px;
    }

    .brands-static__item img {
        max-height: 46px;
    }

    .brands-static__title {
        font-size: 18px;
        margin-bottom: 1.25rem;
    }

    .container--transmisiones {
        flex-direction: column;
    }
}

.flash {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #14532d;
    padding: .8rem 1rem;
    border-radius: .8rem;
    margin: 1rem;
    width: fit-content;
}

.error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: .8rem 1rem;
    border-radius: .8rem;
    margin: 1rem;
    width: fit-content;
}

.video-frame-responsive {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-frame-responsive iframe {
    border: 0;
    display: block;
}

.video-frame-responsive--horizontal {
    aspect-ratio: 16 / 9;
}

.video-frame-responsive--horizontal iframe {
    width: 100%;
    height: 100%;
}

.video-frame-responsive--vertical {
    min-height: 720px;
}

.video-frame-responsive--vertical iframe {
    width: min(420px, 100%);
    height: min(740px, 100vh);
}

@media (max-width: 640px) {
    .video-frame-responsive--vertical {
        min-height: auto;
        aspect-ratio: 9 / 16;
    }

    .video-frame-responsive--vertical iframe {
        width: 100%;
        height: 100%;
    }
}

.gl-card-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 12px 0;
}

.gl-card-countdown div {
    background: #FFE500;
    color: #0D0520;
    border: 2px solid #0D0520;
    border-radius: 10px;
    padding: 7px 4px;
    text-align: center;
    box-shadow: 3px 3px 0 #0D0520;
}

.gl-card-countdown strong {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.gl-card-countdown span {
    display: block;
    font-size: 12px;
    font-weight: 900;
}

.real-confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.real-confetti span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 2px;
    opacity: .9;
    will-change: transform;
}

.tramsision_prueba {
    display:none;
}