/* ==========================================================================
   NBG Arena — Landing Page (STEM Contest)
   ========================================================================== */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .landing-page *, .landing-page *::before, .landing-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .stem-marquee-track { animation: none !important; }
}

.landing-page { overflow-x: hidden; }

/* ---- Hero enhancements ---- */
.hero-stem-orbit {
    position: absolute;
    width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
    opacity: 0.55;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: orbit-spin 40s linear infinite;
}

.orbit-ring:nth-child(2) {
    inset: 15%;
    animation-duration: 28s;
    animation-direction: reverse;
    border-color: rgba(16, 185, 129, 0.2);
}

.orbit-ring:nth-child(3) {
    inset: 30%;
    animation-duration: 20s;
    border-color: rgba(99, 102, 241, 0.25);
}

.orbit-node {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.orbit-node.n1 { top: -18px; left: 50%; margin-left: -18px; background: linear-gradient(135deg, #6366f1, #4338ca); animation: orbit-pulse 3s ease-in-out infinite; }
.orbit-node.n2 { bottom: 20%; right: -10px; background: linear-gradient(135deg, #10b981, #059669); animation: orbit-pulse 3s ease-in-out infinite 0.5s; }
.orbit-node.n3 { bottom: 10%; left: -10px; background: linear-gradient(135deg, #f59e0b, #d97706); animation: orbit-pulse 3s ease-in-out infinite 1s; }
.orbit-node.n4 { top: 35%; right: -5px; background: linear-gradient(135deg, #ec4899, #be185d); animation: orbit-pulse 3s ease-in-out infinite 1.5s; }

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.08); box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.15); }
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-slide-up 0.8s ease forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.25s; }

@keyframes hero-slide-up {
    to { opacity: 1; transform: translateY(0); }
}

.hero-lead-animate {
    opacity: 0;
    animation: hero-slide-up 0.8s ease 0.4s forwards;
}

.hero-actions-animate {
    opacity: 0;
    animation: hero-slide-up 0.8s ease 0.55s forwards;
}

.hero-badge-animate {
    opacity: 0;
    animation: hero-slide-up 0.6s ease forwards;
}

/* Live match preview in hero */
.match-preview {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 2;
    animation: preview-glow 4s ease-in-out infinite;
}

@keyframes preview-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(79, 70, 229, 0.15); }
    50% { box-shadow: 0 0 50px rgba(16, 185, 129, 0.2); }
}

.match-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.match-preview-live {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--nbg-emerald-light);
    font-weight: 700;
}

.match-preview-live::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--nbg-emerald-light);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

.match-preview-q {
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    min-height: 2.8em;
}

.match-preview-timer {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.match-preview-timer-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--nbg-emerald-light), var(--nbg-gold-light));
    border-radius: 100px;
    transform-origin: left;
    animation: timer-drain 5s linear infinite;
}

@keyframes timer-drain {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.match-preview-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.match-preview-opt {
    padding: 0.5rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.match-preview-opt.active {
    border-color: var(--nbg-indigo);
    background: rgba(79, 70, 229, 0.25);
    color: #fff;
    animation: opt-flash 5s ease infinite;
}

@keyframes opt-flash {
    0%, 70%, 100% { border-color: rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); }
    75%, 95% { border-color: var(--nbg-indigo); background: rgba(79, 70, 229, 0.25); }
}

.match-preview-countdown {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--nbg-gold-light);
    text-align: right;
}

/* ---- STEM marquee ---- */
.stem-marquee {
    background: linear-gradient(90deg, var(--nbg-indigo), #3730a3, var(--nbg-emerald));
    color: #fff;
    padding: 0.85rem 0;
    overflow: hidden;
    position: relative;
}

.stem-marquee::before,
.stem-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.stem-marquee::before { left: 0; background: linear-gradient(90deg, var(--nbg-indigo), transparent); }
.stem-marquee::after { right: 0; background: linear-gradient(-90deg, var(--nbg-emerald), transparent); }

.stem-marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee-scroll 30s linear infinite;
    white-space: nowrap;
}

.stem-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- Season contest banner ---- */
.season-contest {
    background: var(--nbg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--nbg-border);
}

.season-contest-visual {
    position: relative;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(155deg, #070b14 0%, #0c1222 28%, #1e3a5f 62%, #0f172a 100%);
    padding: clamp(2rem, 4vw, 2.75rem);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.season-visual-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(99, 102, 241, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 75%, rgba(16, 185, 129, 0.22), transparent 52%),
        radial-gradient(ellipse 50% 40% at 60% 40%, rgba(217, 119, 6, 0.12), transparent 50%);
    pointer-events: none;
}

.season-visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 100%);
    pointer-events: none;
}

.season-visual-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92%, 320px);
    aspect-ratio: 1;
    transform: translate(-50%, -52%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.season-visual-orbit::before {
    content: '';
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.season-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nbg-gold-light);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.8);
}

.season-orbit-dot.d1 { top: 8%; left: 50%; transform: translateX(-50%); }
.season-orbit-dot.d2 { bottom: 14%; left: 12%; background: #10b981; box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); }
.season-orbit-dot.d3 { top: 42%; right: 6%; background: #818cf8; box-shadow: 0 0 12px rgba(129, 140, 248, 0.8); }

.season-visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 100%;
    gap: 1.5rem;
}

.season-visual-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nbg-gold-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.season-visual-headline {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 11rem;
}

.stem-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: auto;
}

.stem-showcase-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.stem-showcase-cell:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.stem-showcase-letter {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.stem-showcase-word {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.stem-showcase-s .stem-showcase-letter { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.stem-showcase-t .stem-showcase-letter { background: linear-gradient(135deg, #10b981, #059669); }
.stem-showcase-e .stem-showcase-letter { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stem-showcase-m .stem-showcase-letter { background: linear-gradient(135deg, #ec4899, #db2777); }

.season-visual-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.season-visual-chips span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.season-contest-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.season-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(5, 150, 105, 0.1));
    color: var(--nbg-indigo);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.contest-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.contest-stat-box {
    text-align: center;
    padding: 1rem;
    background: var(--nbg-bg);
    border-radius: var(--radius-md);
}

.contest-stat-box .num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--nbg-indigo);
}

.contest-stat-box .lbl {
    font-size: 0.75rem;
    color: var(--nbg-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- STEM pillars ---- */
.stem-pillar {
    background: var(--nbg-surface);
    border: 1px solid var(--nbg-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stem-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.stem-pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stem-pillar:hover::before { transform: scaleX(1); }

.stem-pillar.science::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.stem-pillar.tech::before { background: linear-gradient(90deg, #10b981, #34d399); }
.stem-pillar.engineering::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stem-pillar.math::before { background: linear-gradient(90deg, #ec4899, #f472b6); }

.stem-pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    transition: transform 0.35s ease;
}

.stem-pillar:hover .stem-pillar-icon { transform: scale(1.1) rotate(-5deg); }

.stem-pillar.science .stem-pillar-icon { background: rgba(99, 102, 241, 0.12); }
.stem-pillar.tech .stem-pillar-icon { background: rgba(16, 185, 129, 0.12); }
.stem-pillar.engineering .stem-pillar-icon { background: rgba(245, 158, 11, 0.12); }
.stem-pillar.math .stem-pillar-icon { background: rgba(236, 72, 153, 0.12); }

.stem-pillar h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.stem-pillar p {
    color: var(--nbg-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.stem-pillar-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 1rem;
}

.topic-chip {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    background: var(--nbg-bg);
    border-radius: 100px;
    color: var(--nbg-slate);
}

/* ---- Match format visual ---- */
.match-format-section {
    background: linear-gradient(180deg, #fff 0%, var(--nbg-bg) 100%);
}

.format-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.format-block {
    text-align: center;
    padding: 1.5rem;
    background: var(--nbg-surface);
    border: 2px solid var(--nbg-border);
    border-radius: var(--radius-lg);
    min-width: 120px;
    transition: all 0.3s ease;
}

.format-block:hover {
    border-color: var(--nbg-indigo);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.format-block .big {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--nbg-indigo), var(--nbg-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.format-block .lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nbg-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.format-operator {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--nbg-text-muted);
}

.question-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 320px;
    margin: 0 auto;
}

.question-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--nbg-bg);
    border: 2px solid var(--nbg-border);
    transition: all 0.3s ease;
    animation: dot-cycle 10s ease infinite;
}

.question-dot:nth-child(1) { animation-delay: 0s; }
.question-dot:nth-child(2) { animation-delay: 0.5s; }
.question-dot:nth-child(3) { animation-delay: 1s; }
.question-dot:nth-child(4) { animation-delay: 1.5s; }
.question-dot:nth-child(5) { animation-delay: 2s; }
.question-dot:nth-child(6) { animation-delay: 2.5s; }
.question-dot:nth-child(7) { animation-delay: 3s; }
.question-dot:nth-child(8) { animation-delay: 3.5s; }
.question-dot:nth-child(9) { animation-delay: 4s; }
.question-dot:nth-child(10) { animation-delay: 4.5s; }

@keyframes dot-cycle {
    0%, 10%, 100% { background: var(--nbg-bg); border-color: var(--nbg-border); transform: scale(1); }
    5% { background: var(--nbg-indigo); border-color: var(--nbg-indigo); transform: scale(1.15); box-shadow: 0 0 12px rgba(79, 70, 229, 0.5); }
}

/* ---- Road to finals ---- */
.finals-road {
    position: relative;
    padding: 2rem 0;
}

.finals-road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--nbg-indigo), var(--nbg-emerald), var(--nbg-gold));
    transform: translateY(-50%);
    border-radius: 100px;
}

.finals-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.finals-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--nbg-surface);
    border: 3px solid var(--nbg-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
    box-shadow: var(--shadow-md);
    transition: all 0.35s ease;
}

.finals-step.revealed .finals-step-icon {
    background: linear-gradient(135deg, var(--nbg-indigo), var(--nbg-violet));
    border-color: transparent;
    color: #fff;
    transform: scale(1.1);
}

.finals-step h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
}

.finals-step p {
    font-size: 0.8rem;
    color: var(--nbg-text-muted);
    margin: 0;
}

/* ---- Stats strip ---- */
.stats-strip {
    background: var(--nbg-ink);
    color: #fff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M30 0v60M0 30h60'/%3E%3C/g%3E%3C/svg%3E");
}

.stat-counter {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-counter .counter-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--nbg-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-counter .counter-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

/* ---- Reveal animations ---- */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.4s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Prize teaser ---- */
.prize-teaser {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prize-teaser::before {
    content: '';
    position: absolute;
    width: 8rem;
    height: 8rem;
    opacity: 0.06;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='1.5'%3E%3Cpath d='M8 19h8M9 19V9l3-4 3 4v10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 9h12' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.prize-shimmer {
    display: inline-block;
    background: linear-gradient(90deg, var(--nbg-gold), #fbbf24, var(--nbg-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* ---- Enhanced CTA ---- */
.cta-band-enhanced {
    position: relative;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
}

.cta-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.cta-particle:nth-child(2) { top: 60%; left: 25%; animation-delay: 1s; }
.cta-particle:nth-child(3) { top: 30%; right: 15%; animation-delay: 2s; }
.cta-particle:nth-child(4) { bottom: 25%; right: 30%; animation-delay: 3s; }
.cta-particle:nth-child(5) { top: 70%; left: 60%; animation-delay: 1.5s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(10px, -20px); opacity: 0.8; }
}

/* ---- Landing refinements v2 ---- */
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.hero-trust-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.stat-card-glass {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-stats-row { margin-top: 0.25rem; }

/* ---- Hero actions (mobile-first) ---- */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.35rem;
    max-width: 26rem;
}

.hero-actions-buttons {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: stretch;
}

.hero-action {
    font-size: 0.9375rem;
    padding: 0.72rem 1rem;
    border-radius: 12px;
    text-align: center;
    white-space: nowrap;
}

.hero-action--join {
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.28);
}

.hero-action--login {
    padding-inline: 1.15rem;
    border-width: 1.5px;
    font-weight: 600;
}

/* Logged-in member CTA */
.hero-actions--member {
    align-items: center;
    max-width: none;
    width: 100%;
    gap: 0.65rem;
}

.hero-enter-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 20rem);
    padding: 0;
    border: none;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-enter-cta-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.55), rgba(217, 119, 6, 0.15) 45%, rgba(79, 70, 229, 0.2));
    opacity: 0.85;
    z-index: 0;
}

.hero-enter-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.95rem 1.35rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 52%, #b45309 100%);
    color: #0c1222;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow:
        0 10px 32px rgba(217, 119, 6, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.25s ease, color 0.25s ease;
}

.hero-enter-cta-icon,
.hero-enter-cta-arrow {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: #0c1222;
}

.hero-enter-cta-label {
    flex: 0 1 auto;
    text-align: center;
}

.hero-enter-cta-arrow {
    width: 1rem;
    height: 1rem;
    opacity: 0.75;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-enter-cta:hover {
    transform: translateY(-2px);
    color: inherit;
}

.hero-enter-cta:hover .hero-enter-cta-inner {
    background: linear-gradient(135deg, #fcd34d 0%, #ea580c 52%, #c2410c 100%);
    color: #0c1222;
}

.hero-enter-cta:hover .hero-enter-cta-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.hero-enter-cta:active {
    transform: translateY(0);
}

.hero-enter-hint {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    letter-spacing: 0.01em;
}

.hero-actions-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.15rem 0.25rem;
}

.hero-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.hero-more-link:hover {
    color: #fff;
}

.hero-more-sep {
    width: 1px;
    height: 0.85rem;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.landing-wave {
    height: 48px;
    background: linear-gradient(180deg, transparent, var(--nbg-bg-warm));
    margin-top: -1px;
}

.feature-card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.match-preview {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.landing-page .leaderboard-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ---- Knowledge breadth (General + Law) ---- */
.knowledge-breadth-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.knowledge-breadth-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.knowledge-breadth-card strong {
    font-size: 1rem;
}

.knowledge-breadth-card span:last-child {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
}

.knowledge-breadth-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--nbg-indigo);
    margin-bottom: 0.25rem;
}

@media (min-width: 992px) {
    .hero-actions--member {
        align-items: center;
    }

    .hero-enter-cta {
        width: auto;
        min-width: 19rem;
        padding: 0;
    }

    .hero-enter-cta-inner {
        padding: 1rem 1.65rem;
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
        max-width: none;
    }

    .hero-actions-buttons,
    .hero-actions-more {
        display: contents;
    }

    .hero-action {
        font-size: 1rem;
        padding: 0.75rem 1.65rem;
        border-radius: var(--radius-md, 10px);
    }

    .hero-more-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.7rem 1.35rem;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--nbg-text-inverse, #fff) !important;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.35);
        border-radius: var(--radius-md, 10px);
        transition: all 0.2s ease;
    }

    .hero-more-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.6);
        color: #fff !important;
    }

    .hero-more-sep {
        display: none;
    }
}

/* ---- Landing responsive ---- */
@media (max-width: 991.98px) {
    .hero-stem-orbit { width: 300px; height: 300px; opacity: 0.35; }
    .season-contest-visual { min-height: 22rem; }
    .season-visual-headline { max-width: none; font-size: clamp(1.65rem, 6vw, 2.15rem); }
    .contest-stats-row { grid-template-columns: repeat(3, 1fr); }
    .finals-road::before { display: none; }
}

@media (max-width: 575.98px) {
    .stem-showcase { gap: 0.55rem; }
    .stem-showcase-cell { padding: 0.7rem 0.75rem; }
    .stem-showcase-letter { width: 2.15rem; height: 2.15rem; font-size: 1.1rem; border-radius: 10px; }
    .hero-actions {
        max-width: none;
        gap: 0.75rem;
    }
    .hero-actions-buttons {
        grid-template-columns: 1fr;
    }
    .hero-action--login {
        padding-block: 0.65rem;
    }
    .hero-trust-row {
        margin-top: 1rem;
        gap: 0.4rem;
    }
    .hero-trust-chip {
        font-size: 0.68rem;
        padding: 0.3rem 0.6rem;
    }
    .season-contest-body { padding: 1.5rem; }
    .season-contest-visual { padding: 1.5rem; min-height: 20rem; }
    .contest-stats-row { grid-template-columns: 1fr; }
    .format-visual { gap: 0.75rem; }
    .format-block { min-width: 90px; padding: 1rem; }
    .format-block .big { font-size: 1.75rem; }
    .format-operator { font-size: 1.25rem; }
    .match-preview-options { grid-template-columns: 1fr; }
    .prize-teaser { padding: 1.75rem 1.25rem; }
    .knowledge-breadth-grid { grid-template-columns: 1fr 1fr; }
}
