/* =====================================================
   BRAWLSTARS CHALLENGERS 2026 — MAIN STYLESHEET
   ===================================================== */

/* ----- LOCAL FONTS ----- */
@font-face {
    font-family: 'Nougat';
    src: url('../assets/fonts/Nougat-ExtraBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('../assets/CoFoSans-Medium-Trial.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ----- CSS VARIABLES ----- */
:root {
    /* ── Brand palette (Brawl Stars Challengers 2026 style guide) ── */
    --yellow:        #F8C93F;
    --yellow-dark:   #ED7526;
    --yellow-glow:   rgba(248, 201, 63, 0.35);

    --orange:        #ED7526;
    --orange-glow:   rgba(237, 117, 38, 0.3);

    --green:         #95D141;
    --green-glow:    rgba(149, 209, 65, 0.3);

    --coral:         #FF5543;
    --coral-glow:    rgba(255, 85, 67, 0.35);

    --pink:          #FE01B6;
    --pink-glow:     rgba(254, 1, 182, 0.3);

    --blue:          #13A1ED;
    --blue-glow:     rgba(19, 161, 237, 0.3);

    --discord:       #5865F2;
    --discord-light: #7289DA;
    --discord-glow:  rgba(88, 101, 242, 0.4);

    --bg:            #000000;
    --bg-2:          #0D0D0D;
    --bg-card:       #141414;
    --bg-card-hover: #1E1E1E;
    --bg-alt:        #0A0A0A;

    --text:          #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted:    #888888;

    --border:        rgba(237, 117, 38, 0.22);
    --border-hover:  rgba(248, 201, 63, 0.55);

    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     20px;
    --radius-xl:     28px;

    --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow-y: 0 0 40px rgba(248, 201, 63, 0.2);
    --shadow-glow-o: 0 0 40px rgba(237, 117, 38, 0.3);

    --nav-height:    92px;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- RESET & BASE ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    /* Prevent iOS font inflation & pull-to-refresh overscroll */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overscroll-behavior-y: none;
}

body {
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Remove 300ms tap delay on all interactive elements */
a, button, [role="button"],
.faq-question, .faq-tab, .round-tab, .page-btn,
.quick-item, .talent-card, .hamburger, .resource-card { touch-action: manipulation; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* =====================================================
   SKIP LINK (accessibility)
   ===================================================== */
.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #000000;
    padding: 10px 24px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 10000;
    transition: top 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 60px);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.97);
    border-color: rgba(237, 117, 38, 0.45);
    box-shadow: 0 4px 30px rgba(0,0,0,0.7);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-logo-icon-star {
    height: 88px;
    width: auto;
    flex-shrink: 0;
}

.nav-logo-icon-star img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(248,201,63,0.5));
}

.nav-logo-text {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 19px;
    color: var(--text);
    line-height: 1.1;
}

.nav-logo-text span {
    display: block;
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--yellow);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.nav-link.active {
    color: var(--yellow);
    background: rgba(248, 201, 63, 0.07);
}

.nav-discord {
    margin-left: 8px;
    padding: 9px 18px !important;
    font-size: 13.5px !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    /* Touch target WCAG 2.5.5 � min 44x44px */
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.nav-overlay.active { display: block; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    color: var(--text);
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

.btn-lg {
    padding: 14px 30px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
    color: #000000;
    box-shadow: 0 4px 20px var(--yellow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(248, 201, 63, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(237, 117, 38, 0.5);
}

.btn-ghost:hover {
    border-color: var(--yellow);
    background: rgba(237, 117, 38, 0.1);
    transform: translateY(-2px);
}

.btn-discord {
    background: linear-gradient(135deg, #4752C4, var(--discord-light));
    color: white;
    box-shadow: 0 4px 20px var(--discord-glow);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.55);
}

.btn-orange-alt {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: #000000;
    box-shadow: 0 4px 20px rgba(237,117,38,0.4);
}

.btn-orange-alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(237,117,38,0.55);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* accounts for mobile browser chrome */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 16px) clamp(20px, 5vw, 80px) 24px;
}

/* Background gradient + real image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/bg-pattern.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-brandbook-pattern {
    display: none;
}

@keyframes patternDrift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 200px 200px, -200px 200px; }
}

/* Canvas particles */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Glow blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
    animation: blobPulse ease-in-out infinite alternate;
}

.blob-1, .blob-2, .blob-3 { display: none; }

@keyframes blobPulse {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.15) translate(20px, -20px); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* Hero main logo (replaces text title) */
.hero-logo-wrap {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    width: 100%;
    animation: logoFloat 6s ease-in-out infinite;
}

.hero-main-logo {
    width: 100%;
    max-width: 1280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 60px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 140px rgba(248, 201, 63, 0.5));
    transform: scale(1.75);
    transform-origin: center center;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 50px;
    background: rgba(237, 117, 38, 0.12);
    border: 1px solid rgba(237, 117, 38, 0.4);
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge i {
    color: var(--yellow);
    font-size: 10px;
}

.hero-title {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.title-white {
    display: block;
    font-size: clamp(46px, 8.5vw, 92px);
    color: var(--text);
}

.title-gradient {
    display: block;
    font-size: clamp(46px, 8.5vw, 92px);
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 60%, var(--yellow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.title-outline {
    display: block;
    font-size: clamp(28px, 5vw, 58px);
    color: transparent;
    -webkit-text-stroke: 2px rgba(248, 201, 63, 0.6);
    letter-spacing: 4px;
}

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

.hero-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    color: #ffffff;
    max-width: 500px;
    margin: 0 auto 16px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.9);
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 16px 32px;
    backdrop-filter: blur(10px);
}

.hero-stat {
    text-align: center;
    padding: 0 32px;
}

.stat-value {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(24px, 3.5vw, 36px);
    letter-spacing: -0.5px;
    color: var(--yellow);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: scrollHintBounce 2s ease-in-out infinite;
    z-index: 10;
    cursor: pointer;
    transition: color 0.3s;
}

.hero-scroll-hint:hover {
    color: var(--orange);
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-arrow::before,
.scroll-arrow::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: chevronFade 2s ease-in-out infinite;
}

.scroll-arrow::after {
    animation-delay: 0.3s;
    opacity: 0.5;
}

@keyframes chevronFade {
    0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(-4px); }
    50%       { opacity: 1;   transform: rotate(45deg) translateY(4px); }
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%       { transform: translateY(5px); opacity: 1; }
}

/* =====================================================
   QUICK ACCESS BAR
   ===================================================== */
.quick-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quick-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.quick-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 16px;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.quick-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-item:hover {
    background: rgba(255,255,255,0.03);
}

.quick-item:hover::after { transform: scaleX(1); }

.quick-sep {
    width: 1px;
    background: var(--border);
    margin: 14px 0;
}

.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-yellow   { background: rgba(248, 201, 63, 0.12); color: var(--yellow); }
.icon-orange   { background: rgba(237, 117, 38, 0.12); color: var(--orange); }
.icon-blue     { background: rgba(19, 161, 237, 0.12); color: var(--blue); }
.icon-discord  { background: rgba(88, 101, 242, 0.15); color: var(--discord-light); }

.quick-text strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================================================
   GENERIC SECTION
   ===================================================== */
.section {
    padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 60px);
    /* Paint isolation for high-traffic rendering � skips off-screen sections */
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.section-alt {
    /* #talentos overrides this to #FFFFFF � kept neutral to avoid conflicts */
    background: #FFFFFF;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    background: rgba(248, 201, 63, 0.08);
    border: 1px solid rgba(248, 201, 63, 0.2);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(38px, 5.5vw, 64px);
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title span {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =====================================================
   PER-SECTION ACCENT COLOUR OVERRIDES
   ===================================================== */

/* Talentos � WHITE section: all text black */
#talentos .section-label {
    color: #000000;
    background: rgba(237, 117, 38, 0.1);
    border-color: rgba(237, 117, 38, 0.4);
}
#talentos .section-title {
    color: #000000;
}
#talentos .section-title span {
    background: linear-gradient(135deg, #ED7526 0%, #F8C93F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#talentos .section-desc {
    color: rgba(0, 0, 0, 0.65);
}
#talentos .talent-name { color: #000000; }
#talentos .talent-role { color: #ED7526; opacity: 1; }
#talentos .talent-photo {
    border-color: rgba(237, 117, 38, 0.4);
    box-shadow: 0 0 24px rgba(237, 117, 38, 0.15), 0 8px 32px rgba(0,0,0,0.12);
    background: #f5f5f5;
}
#talentos .talent-card:hover .talent-photo {
    border-color: #ED7526;
    box-shadow: 0 0 40px rgba(237, 117, 38, 0.3), 0 8px 32px rgba(0,0,0,0.15);
}
#talentos .section-watermark { color: rgba(0,0,0,0.04); }

/* Recursos � DARK section: remove all orange-bg-specific overrides */
#recursos .section-label {
    color: var(--yellow);
    background: rgba(248, 201, 63, 0.08);
    border-color: rgba(248, 201, 63, 0.25);
}
#recursos .section-title {
    color: #FFFFFF;
}
#recursos .section-title span {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#recursos .section-desc {
    color: rgba(255, 255, 255, 0.65);
}
#recursos .section-watermark { color: rgba(237, 117, 38, 0.04); }
#recursos .resource-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: #FFFFFF;
}
#recursos .resource-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(248, 201, 63, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
#recursos .resource-title { color: #FFFFFF; }
#recursos .resource-desc { color: rgba(255,255,255,0.65); }
#recursos .resource-rulebook::before   { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
#recursos .resource-discord::before    { background: linear-gradient(90deg, #4752C4, var(--discord-light)); }
#recursos .resource-matcherino::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
#recursos .resource-rulebook   .resource-icon { background: rgba(248,201,63,0.12); color: var(--yellow); }
#recursos .resource-discord    .resource-icon { background: rgba(88,101,242,0.15); color: var(--discord-light); }
#recursos .resource-matcherino .resource-icon { background: rgba(237,117,38,0.12); color: var(--orange); }
#recursos .resource-badge                { background: rgba(248,201,63,0.12); color: var(--yellow); border-color: rgba(248,201,63,0.3); }
#recursos .resource-badge-discord        { background: rgba(88,101,242,0.15); color: var(--discord-light); border-color: rgba(88,101,242,0.3); }
#recursos .resource-badge-orange         { background: rgba(237,117,38,0.12); color: var(--orange); border-color: rgba(237,117,38,0.3); }
#recursos .resource-cta                  { background: rgba(248,201,63,0.08); color: var(--yellow); border-color: rgba(248,201,63,0.15); }
#recursos .resource-cta-discord          { background: rgba(88,101,242,0.1); color: var(--discord-light); border-color: rgba(88,101,242,0.2); }
#recursos .resource-cta-orange           { background: rgba(237,117,38,0.1); color: var(--orange); border-color: rgba(237,117,38,0.2); }
#recursos .resource-card:hover .resource-cta        { background: rgba(248,201,63,0.14); }
#recursos .resource-card:hover .resource-cta-discord { background: rgba(88,101,242,0.18); }
#recursos .resource-card:hover .resource-cta-orange  { background: rgba(237,117,38,0.18); }

/* FAQ � BLACK section: white text, yellow/orange accents */
#faq .section-label {
    color: var(--yellow);
    background: rgba(248, 201, 63, 0.1);
    border-color: rgba(248, 201, 63, 0.35);
}
#faq .section-title {
    color: #ffffff;
}
#faq .section-title span {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#faq .section-desc {
    color: rgba(255, 255, 255, 0.65);
}
#faq .faq-tab {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
#faq .faq-tab:hover {
    color: #ffffff;
    background: rgba(248, 201, 63, 0.12);
    border-color: rgba(248, 201, 63, 0.3);
}
#faq .faq-tab.active {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-color: transparent;
    color: #000000;
}
#faq .faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
#faq .faq-item.active {
    border-color: rgba(248, 201, 63, 0.45);
    background: rgba(248, 201, 63, 0.04);
}
#faq .faq-question {
    color: #ffffff;
}
#faq .faq-answer {
    color: rgba(255, 255, 255, 0.72);
}
#faq .faq-answer strong { color: var(--yellow); }
#faq .faq-answer a { color: var(--yellow); text-decoration: underline; }
#faq .faq-arrow { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
#faq .faq-item.active .faq-arrow { background: linear-gradient(135deg, var(--orange), var(--yellow)); color: #000000; }
#faq .faq-footer {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
#faq .faq-footer strong { color: var(--yellow); }
#faq .faq-footer p { color: rgba(255,255,255,0.65); }
#faq .section-watermark { color: rgba(255,255,255,0.03); }

/* =====================================================
   TEAMS SECTION
   ===================================================== */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(237,117,38,0.05), rgba(248,201,63,0.04));
    opacity: 0;
    transition: opacity var(--transition);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 20px rgba(237,117,38,0.15);
}

.team-card:hover::before { opacity: 1; }

.team-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.team-name {
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}

.team-region {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 3px;
}

.team-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.status-confirmed {
    background: rgba(149, 209, 65, 0.12);
    color: var(--green);
    border: 1px solid rgba(149, 209, 65, 0.2);
}

.status-pending {
    background: rgba(248, 201, 63, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(248, 201, 63, 0.2);
}

/* Team initial letter (when no avatar) */
.team-initial {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 22px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    user-select: none;
}

/* Loading state */
.teams-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 15px;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(248, 201, 63, 0.2);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Teams count note */
.teams-total-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 15px;
}
.teams-total-note i { color: var(--yellow); }
.teams-total-note strong { color: var(--text); }

/* ─── PAGINATION ─── */
.teams-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 16px;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
}

.page-btn:hover:not([disabled]):not(.active) {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(248, 201, 63, 0.08);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    border-color: transparent;
    color: #000000;
    box-shadow: 0 4px 14px rgba(248, 201, 63, 0.4);
}

.page-btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-btn.page-nav { padding: 8px 18px; }

.page-ellipsis {
    padding: 0 4px;
    color: var(--text-muted);
    font-size: 15px;
    user-select: none;
}

@media (max-width: 480px) {
    .page-btn.page-nav span { display: none; }
    .page-btn.page-nav { padding: 8px 12px; }
}

/* Teams footer */
.teams-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.teams-footer p {
    color: var(--text-muted);
    font-size: 15px;
}

/* =====================================================
   BRACKET SECTION
   ===================================================== */
.bracket-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 480px;
}

.bracket-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 480px;
    padding: 60px 40px;
    gap: 18px;
}

.bp-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: rgba(237, 117, 38, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--orange);
    margin-bottom: 8px;
    box-shadow: 0 0 40px rgba(237,117,38,0.2);
}

.bracket-placeholder h3 {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 23px;
    letter-spacing: -0.3px;
    color: var(--text);
}

.bracket-placeholder p {
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.7;
    font-size: 16px;
}

.bp-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* =====================================================
   RESOURCES SECTION
   ===================================================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--text);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.resource-rulebook::before   { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.resource-discord::before    { background: linear-gradient(90deg, #4752C4, var(--discord-light)); }
.resource-matcherino::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-hover);
}

.resource-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.resource-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.resource-rulebook   .resource-icon { background: rgba(248,201,63,0.12); color: var(--yellow); }
.resource-discord    .resource-icon { background: rgba(88,101,242,0.15); color: var(--discord-light); }
.resource-matcherino .resource-icon { background: rgba(237,117,38,0.12); color: var(--orange); }

.resource-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(248,201,63,0.12);
    color: var(--yellow);
    border: 1px solid rgba(248,201,63,0.25);
}

.resource-badge-discord {
    background: rgba(88,101,242,0.15);
    color: var(--discord-light);
    border-color: rgba(88,101,242,0.3);
}

.resource-badge-orange {
    background: rgba(237,117,38,0.12);
    color: var(--orange);
    border-color: rgba(237,117,38,0.3);
}

.resource-title {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 19px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.resource-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
    flex: 1;
}

.resource-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(248,201,63,0.08);
    color: var(--yellow);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: var(--transition);
    border: 1px solid rgba(248,201,63,0.15);
}

.resource-card:hover .resource-cta { background: rgba(248,201,63,0.14); }

.resource-cta-discord {
    background: rgba(88,101,242,0.1);
    color: var(--discord-light);
    border-color: rgba(88,101,242,0.2);
}

.resource-card:hover .resource-cta-discord { background: rgba(88,101,242,0.18); }

.resource-cta-orange {
    background: rgba(237,117,38,0.1);
    color: var(--orange);
    border-color: rgba(237,117,38,0.2);
}

.resource-card:hover .resource-cta-orange { background: rgba(237,117,38,0.18); }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

/* Tabs */
.faq-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 9px 20px;
    border-radius: 50px;
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-tab:hover {
    color: var(--text);
    background: rgba(237,117,38,0.12);
    border-color: rgba(237,117,38,0.35);
}

.faq-tab.active {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-color: transparent;
    color: #000000;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: rgba(237,117,38,0.5);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: var(--text);
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(237,117,38,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: #000000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-answer-content {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.75;
}

/* FAQ Footer */
.faq-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.faq-footer i {
    font-size: 28px;
    color: var(--orange);
    flex-shrink: 0;
}

.faq-footer div { flex: 1; min-width: 160px; }

.faq-footer strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.faq-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 60px) 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Brand */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000000;
    flex-shrink: 0;
}

.footer-logo-name {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 26px;
    letter-spacing: -0.3px;
}

.footer-logo-sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(237, 117, 38, 0.18);
    border-color: var(--border-hover);
    color: var(--text);
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-col-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--yellow); }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.supercell-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(248,201,63,0.1);
    border: 1px solid rgba(248,201,63,0.28);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    flex-shrink: 0;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.5;
}

/* =====================================================
   REAL ASSETS — Drive images
   ===================================================== */

/* Nav & footer star logo */
.nav-logo-icon,
.footer-logo-icon {
    overflow: hidden;
    padding: 0;
    background: transparent;
    box-shadow: none;
    width: 52px;
    height: 52px;
}

.footer-logo-icon {
    width: 200px;
    height: 200px;
}

.nav-logo-star,
.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(248, 201, 63, 0.6));
}

/* Hero badge star */
.badge-star {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(248, 201, 63, 0.7));
}

/* Hero floating character decorations */
.hero-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.hero-deco-left {
    left: clamp(-30px, 2vw, 60px);
    bottom: 80px;
    width: clamp(130px, 15vw, 240px);
    animation: floatLeft 6s ease-in-out infinite;
    transform-origin: bottom center;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.hero-deco-right {
    right: clamp(-30px, 2vw, 60px);
    bottom: 80px;
    width: clamp(120px, 14vw, 220px);
    animation: floatRight 7s ease-in-out infinite;
    transform-origin: bottom center;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.hero-deco-kit {
    left: clamp(20px, 5vw, 100px);
    top: calc(var(--nav-height) + 20px);
    width: clamp(90px, 11vw, 160px);
    opacity: 0.95;
    animation: floatKit 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
    z-index: 3;
}

.hero-deco-trophy {
    right: clamp(20px, 5vw, 100px);
    top: calc(var(--nav-height) + 20px);
    width: clamp(100px, 12vw, 175px);
    opacity: 0.97;
    animation: floatTrophy 9s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.55));
    z-index: 3;
}

@keyframes floatLeft {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%       { transform: translateY(-18px) rotate(2deg); }
}

@keyframes floatRight {
    0%, 100% { transform: translateY(0) rotate(3deg) scaleX(-1); }
    50%       { transform: translateY(-14px) rotate(-2deg) scaleX(-1); }
}

@keyframes floatKit {
    0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.7; }
    50%       { transform: translateY(-12px) rotate(3deg); opacity: 0.9; }
}

@keyframes floatTrophy {
    0%, 100% { transform: translateY(0) rotate(4deg); }
    50%       { transform: translateY(-16px) rotate(-3deg); }
}

/* Bracket placeholder with real trophy */
.bp-icon-img {
    background: transparent !important;
    box-shadow: none !important;
}

.bp-trophy-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(248, 201, 63, 0.5));
    animation: floatTrophy 4s ease-in-out infinite;
}

/* Resource matcherino card trophy deco */
.resource-matcherino::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 16px;
    width: 80px;
    height: 80px;
    background-image: var(--deco-url);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 0.18;
    pointer-events: none;
    transition: opacity var(--transition);
}

.resource-matcherino:hover::after {
    opacity: 0.32;
}

/* Hide decorations on small screens */
@media (max-width: 640px) {
    .hero-deco-kit,
    .hero-deco-trophy { display: none; }
    .hero-char { display: none; }
    .hero-deco-left,
    .hero-deco-right { display: none; }
}

/* =====================================================
   HERO SIDE CHARACTER ART
   ===================================================== */
.hero-char {
    position: absolute;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 8px 40px rgba(0,0,0,0.7)) drop-shadow(0 0 80px rgba(248,201,63,0.12));
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.6) 25%, black 55%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.6) 25%, black 55%);
}

.hero-char-left {
    left: 0;
    width: clamp(160px, 18vw, 310px);
    animation: heroCharFloat 7s ease-in-out infinite;
    transform-origin: bottom center;
}

.hero-char-right {
    right: 0;
    width: clamp(150px, 16vw, 280px);
    animation: heroCharFloatR 8.5s ease-in-out infinite;
    animation-delay: -2s;
    transform-origin: bottom center;
}

@keyframes heroCharFloat {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50%       { transform: translateY(-18px) rotate(0.5deg); }
}

@keyframes heroCharFloatR {
    0%, 100% { transform: translateY(0px) scaleX(-1) rotate(1deg); }
    50%       { transform: translateY(-14px) scaleX(-1) rotate(-0.5deg); }
}

@media (max-width: 1100px) {
    .hero-char-left  { width: clamp(150px, 18vw, 280px); }
    .hero-char-right { width: clamp(130px, 15vw, 240px); }
}

@media (max-width: 768px) {
    .hero-char { display: none; }
}

/* =====================================================
   HERO SPARKLES
   ===================================================== */
.hero-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.sparkle {
    position: absolute;
    border-radius: 50%;
    animation: sparklePop ease-in-out infinite;
}

.sp1 { width: 7px;  height: 7px;  background: var(--yellow); top: 22%; left: 18%;  animation-duration: 3.2s; animation-delay: 0s; }
.sp2 { width: 5px;  height: 5px;  background: var(--orange); top: 38%; right: 22%; animation-duration: 2.8s; animation-delay: 0.7s; }
.sp3 { width: 9px;  height: 9px;  background: var(--yellow); top: 65%; left: 28%;  animation-duration: 4s;   animation-delay: 1.4s; }
.sp4 { width: 5px;  height: 5px;  background: var(--orange); top: 28%; right: 32%; animation-duration: 3.5s; animation-delay: 0.3s; }
.sp5 { width: 8px;  height: 8px;  background: var(--yellow); top: 72%; right: 18%; animation-duration: 2.6s; animation-delay: 1.8s; }
.sp6 { width: 4px;  height: 4px;  background: #FFF;           top: 48%; left: 12%;  animation-duration: 3.8s; animation-delay: 1.1s; opacity: 0.6; }

@keyframes sparklePop {
    0%, 100% { opacity: 0;   transform: scale(0) rotate(0deg); }
    40%, 60% { opacity: 0.9; transform: scale(1) rotate(20deg); }
}

/* =====================================================
   HERO TALENTS (Donato & Hectorino)
   ===================================================== */
.hero-talent {
    position: absolute;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.hero-talent-left {
    left: 0;
    width: clamp(150px, 15vw, 240px);
    z-index: 2;
    opacity: 0.82;
}

.hero-talent-left2 {
    left: clamp(110px, 11vw, 185px);
    width: clamp(230px, 24vw, 390px);
    z-index: 3;
}

.hero-talent-right2 {
    right: clamp(110px, 11vw, 185px);
    width: clamp(230px, 24vw, 390px);
    z-index: 3;
}

.hero-talent-right {
    right: 0;
    width: clamp(150px, 15vw, 240px);
    z-index: 2;
    opacity: 0.82;
}

.hero-talent img {
    width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 8px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(248,201,63,0.12));
    animation: heroTalentFloat 7s ease-in-out infinite;
}

.hero-talent-right img {
    animation-delay: 1s;
}

@keyframes heroTalentFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

.hero-talent-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10,7,26,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(248,201,63,0.3);
    border-radius: 50px;
    padding: 5px 16px 5px 12px;
    margin-top: -8px;
    position: relative;
    z-index: 3;
    white-space: nowrap;
}

.hero-talent-tag-name {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(13px, 1.4vw, 18px);
    letter-spacing: -0.3px;
    color: var(--text);
}

.hero-talent-tag-role {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--yellow);
    opacity: 0.85;
}

@media (max-width: 1100px) {
    .hero-talent-left  { left: 0; width: clamp(110px, 12vw, 195px); }
    .hero-talent-left2 { left: clamp(85px, 9vw, 155px); width: clamp(175px, 19vw, 305px); }
    .hero-talent-right2 { right: clamp(85px, 9vw, 155px); width: clamp(175px, 19vw, 305px); }
    .hero-talent-right { right: 0; width: clamp(110px, 12vw, 195px); }
}

@media (max-width: 768px) {
    .hero-talent { display: none; }
}

/* Per-person size corrections (source images have different compositions) */
.ht-donato    { width: clamp(250px, 26vw, 420px); }
.ht-hectorino { width: clamp(230px, 24vw, 390px); }
.ht-antrax    { width: clamp(150px, 15vw, 240px); }
.ht-antronixx { width: clamp(165px, 17vw, 270px); }

/* =====================================================
   HERO PRIZE PILL
   ===================================================== */
.hero-prize-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(248, 201, 63, 0.55);
    border-radius: var(--radius-lg);
    padding: 14px 30px;
    margin-bottom: 12px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.hero-prize-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.hero-prize-pill:hover {
    border-color: var(--yellow);
    background: rgba(248, 201, 63, 0.08);
    transform: translateY(-2px);
}

.hero-prize-pill:hover::after { opacity: 1; }

.hero-prize-pill i {
    color: var(--yellow);
    font-size: 15px;
}

.hero-prize-pill-amount {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(28px, 4.5vw, 54px);
    letter-spacing: -1px;
    line-height: 1;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    background: none;
    text-shadow: 0 0 16px rgba(248, 201, 63, 0.7), 0 2px 6px rgba(0,0,0,0.5);
}

.hero-prize-pill-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-down {
    opacity: 0;
    animation: fadeInDown 0.65s ease forwards;
    animation-delay: var(--delay, 0s);
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.65s ease forwards;
    animation-delay: var(--delay, 0s);
}

/* Scroll-triggered AOS */
.aos-item {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.aos-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animated accent underline on section titles */
.section-header .section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.section-header.visible .section-title::after {
    transform: scaleX(1);
}

/* Stagger for grids */
.teams-grid   .aos-item:nth-child(1)  { transition-delay: 0.0s; }
.teams-grid   .aos-item:nth-child(2)  { transition-delay: 0.07s; }
.teams-grid   .aos-item:nth-child(3)  { transition-delay: 0.14s; }
.teams-grid   .aos-item:nth-child(4)  { transition-delay: 0.21s; }
.teams-grid   .aos-item:nth-child(5)  { transition-delay: 0.28s; }
.teams-grid   .aos-item:nth-child(6)  { transition-delay: 0.35s; }
.teams-grid   .aos-item:nth-child(7)  { transition-delay: 0.42s; }
.teams-grid   .aos-item:nth-child(8)  { transition-delay: 0.49s; }
.teams-grid   .aos-item:nth-child(n+9){ transition-delay: 0.56s; }

.resources-grid .aos-item:nth-child(1) { transition-delay: 0.0s; }
.resources-grid .aos-item:nth-child(2) { transition-delay: 0.12s; }
.resources-grid .aos-item:nth-child(3) { transition-delay: 0.24s; }

.quick-bar-inner .aos-item:nth-child(1) { transition-delay: 0.0s; }
.quick-bar-inner .aos-item:nth-child(2) { transition-delay: 0.08s; }
.quick-bar-inner .aos-item:nth-child(3) { transition-delay: 0.16s; }
.quick-bar-inner .aos-item:nth-child(4) { transition-delay: 0.24s; }
.quick-bar-inner .aos-item:nth-child(5) { transition-delay: 0.32s; }

/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */
@media (max-width: 768px) {
    :root { --nav-height: 72px; }

    /* Mobile nav */
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: min(320px, 85vw);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(24px);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--nav-height) + 20px) 28px 40px;
        gap: 4px;
        transition: right var(--transition);
        z-index: 1000;
    }

    .nav-links.open { right: 0; }

    .nav-link {
        font-size: 15px;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-discord {
        margin-top: 12px;
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
    }

    /* Hero */
    .hero-stats {
        padding: 18px 20px;
        gap: 0;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .stat-value { font-size: 26px; }

    .title-white,
    .title-gradient { font-size: clamp(44px, 14vw, 72px); }

    .title-outline { font-size: clamp(28px, 9vw, 48px); }

    .hero-cta { gap: 10px; }

    .hero-scroll-hint { display: none; }

    /* Quick bar */
    .quick-bar-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .quick-item {
        flex: 1 1 calc(50% - 1px);
        min-width: 0;
        padding: 20px 12px;
        justify-content: center;
    }

    .quick-text { display: none; }
    .quick-sep { display: none; }

    /* Teams grid */
    .teams-grid {
        grid-template-columns: 1fr;
    }

    /* Resources */
    .resources-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: auto;
        text-align: center;
    }

    .footer-logo {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-logo-icon {
        width: 140px;
        height: 140px;
    }

    .footer-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .faq-footer {
        flex-direction: column;
        text-align: center;
    }

    .faq-footer i { display: none; }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .stat-divider { display: none; }

    .hero-stat { padding: 0 12px; }

    .hero-badge { font-size: 10px; }
}

/* =====================================================
   BRACKET VIEWER
   ===================================================== */

.bracket-wrapper {
    width: 100%;
}

/* Header + status */
.bracket-header {
    margin-bottom: 20px;
}

.bracket-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bracket-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.bracket-status.preparing {
    background: rgba(248, 201, 63, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(248, 201, 63, 0.3);
}

.bracket-status.ready {
    background: rgba(149, 209, 65, 0.15);
    color: var(--green);
    border: 1px solid rgba(149, 209, 65, 0.3);
}

.bracket-status.active {
    background: rgba(255, 85, 67, 0.15);
    color: var(--coral);
    border: 1px solid rgba(255, 85, 67, 0.4);
    animation: pulse-border 2s ease-in-out infinite;
}

.bracket-status.complete {
    background: rgba(237, 117, 38, 0.12);
    color: var(--orange);
    border: 1px solid rgba(237, 117, 38, 0.35);
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 85, 67, 0.3); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 85, 67, 0); }
}

.bracket-meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* Round tabs */
.bracket-round-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 4px;
}

.round-tab {
    padding: 7px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.round-tab:hover {
    background: rgba(248, 201, 63, 0.15);
    border-color: rgba(248, 201, 63, 0.35);
    color: var(--yellow);
}

.round-tab.active {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    border-color: var(--yellow);
    color: #000000;
    box-shadow: 0 2px 12px rgba(248, 201, 63, 0.45);
}

/* Match grid */
.bracket-matches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 201, 63, 0.4) transparent;
}

.bracket-matches::-webkit-scrollbar { width: 5px; }
.bracket-matches::-webkit-scrollbar-track { background: transparent; }
.bracket-matches::-webkit-scrollbar-thumb {
    background: rgba(248, 201, 63, 0.4);
    border-radius: 3px;
}

/* Match card */
.match-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: border-color 0.2s, background 0.2s;
}

.match-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(248, 201, 63, 0.25);
}

.match-card.match-active {
    border-color: rgba(255, 85, 67, 0.5);
    background: rgba(255, 85, 67, 0.05);
}

.match-card.match-complete {
    border-color: rgba(149, 209, 65, 0.25);
}

@keyframes matchIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.match-card-animate {
    animation: matchIn 0.3s ease both;
}

.match-num {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-family: monospace;
}

/* Team row inside a match */
.match-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    min-height: 36px;
}

.match-team.winner {
    background: rgba(248, 201, 63, 0.12);
    border: 1px solid rgba(248, 201, 63, 0.3);
}

.match-team.match-bye {
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.1);
    opacity: 0.5;
}

.match-team-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    min-width: 0;
}

.match-team-av {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
}

.match-team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-team-initial {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 11px;
    color: var(--yellow);
}

.match-team-name {
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.match-team.match-bye .match-team-name {
    color: var(--text-muted);
    font-style: italic;
}

.match-team.winner .match-team-name {
    color: var(--yellow);
}

.match-team-score {
    font-size: 14px;
    font-weight: 800;
    font-family: 'Nougat', 'CoFo Sans', cursive;
    color: var(--text-muted);
    min-width: 20px;
    text-align: right;
}

.match-team-score.score-win {
    color: var(--yellow);
}

/* VS divider */
.match-divider {
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.2);
    padding: 1px 0;
    text-transform: uppercase;
}

/* Bracket footer */
.bracket-footer {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
    .bracket-round-tabs { gap: 4px; }
    .round-tab { padding: 6px 10px; font-size: 11px; }
    .bracket-matches { max-height: 480px; grid-template-columns: 1fr; }
    .match-team-name { max-width: 120px; }
}

/* =====================================================
   TALENTOS SECTION
   ===================================================== */
#talentos {
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#talentos::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/BS CHALLENGERS_fondo 2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 640px;
    margin: 0 auto;
}

.talent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hero-talent-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.talent-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(248, 201, 63, 0.35);
    box-shadow: 0 0 24px rgba(248, 201, 63, 0.15), 0 8px 32px rgba(0,0,0,0.5);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    flex-shrink: 0;
    background: #1A1038;
}

.talent-card:hover .talent-photo {
    border-color: rgba(248, 201, 63, 0.8);
    box-shadow: 0 0 40px rgba(248, 201, 63, 0.3), 0 8px 32px rgba(0,0,0,0.5);
    transform: translateY(-4px);
}

.talent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Per-person photo framing */
/* Donato & Jeanki: standard cover crop */
.tp-donato img    { object-position: center 18%; }
.tp-jeanki img    { object-position: center 18%; }
/* Antrax, Hectorino, Antronixx: zoom-out via absolute sizing */
.tp-antrax img,
.tp-hectorino img,
.tp-antronixx img {
    position: absolute;
    width: 75%;
    height: auto;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    object-fit: initial;
}

.talent-photo-placeholder {
    background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.talent-photo-placeholder::after {
    content: attr(data-initials);
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 32px;
    letter-spacing: -1px;
    color: rgba(248, 201, 63, 0.6);
}

.talent-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.talent-name {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 17px;
    letter-spacing: 0.5px;
    color: var(--text);
    line-height: 1;
}

.talent-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    opacity: 0.8;
}

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

@media (max-width: 500px) {
    .talents-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .talent-photo { width: 90px; height: 90px; }
    .talent-name { font-size: 14px; }
}

/* =====================================================
   PRIZE BANNER
   ===================================================== */
.prize-banner {
    background: #000000;
    padding: clamp(60px, 9vw, 100px) clamp(20px, 5vw, 60px);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 2px solid rgba(237, 117, 38, 0.35);
    border-bottom: 2px solid rgba(237, 117, 38, 0.2);
}

.prize-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(248, 201, 63, 0.07) 0%, transparent 55%);
    pointer-events: none;
}

.prize-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/BS CHALLENGERS_fondo 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.prize-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Prize banner logo */
.prize-banner-logo {
    margin-bottom: 24px;
}

.prize-banner-logo img {
    width: auto;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 28px rgba(237, 117, 38, 0.6));
}

/* Prize banner headline */
.prize-headline {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 18px;
    max-width: 760px;
}

.prize-headline span {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Prize support text */
.prize-support-text {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 28px;
    font-weight: 600;
    max-width: 600px;
    line-height: 1.6;
}

.prize-support-text strong {
    color: var(--yellow);
}

.prize-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(237, 117, 38, 0.12);
    border: 1px solid rgba(237, 117, 38, 0.4);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.prize-amount {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(72px, 14vw, 144px);
    line-height: 0.85;
    letter-spacing: -4px;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 30px rgba(248, 201, 63, 0.4));
    padding: 0 8px;
}

.prize-currency {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(18px, 3vw, 28px);
    color: var(--yellow);
    letter-spacing: 6px;
    margin-bottom: 18px;
}

.prize-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 600;
    max-width: 480px;
    line-height: 1.5;
}

.prize-banner .btn {
    margin-bottom: 28px;
}

.prize-disclaimer {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 560px;
    line-height: 1.7;
    font-style: italic;
}

/* =====================================================
   SECTION WATERMARK TEXT
   ===================================================== */
.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(80px, 18vw, 220px);
    letter-spacing: -4px;
    text-transform: uppercase;
    color: var(--orange);
    opacity: 0.04;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
}

/* Make prize-banner and sections with watermark position:relative */
.prize-banner,
.prizes-section,
.section-alt,
#recursos,
#faq {
    position: relative;
    overflow: hidden;
}

#recursos {
    background: #000000;
    border-top: 2px solid rgba(237, 117, 38, 0.3);
    border-bottom: 2px solid rgba(237, 117, 38, 0.3);
}

#faq {
    background: linear-gradient(160deg, #000000 0%, #141414 50%, #000000 100%);
    border-top: 2px solid rgba(237, 117, 38, 0.4);
    border-bottom: 1px solid rgba(237, 117, 38, 0.2);
}

#recursos::before,
#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/BS CHALLENGERS_fondo 2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* Ensure section-inner sits above watermark and pattern */
.section-inner,
.prize-inner {
    position: relative;
    z-index: 1;
}

/* =====================================================
   HERO COUNTDOWN
   ===================================================== */
.hero-countdown {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.countdown-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.countdown-blocks {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(22, 19, 48, 0.75);
    border: 1px solid rgba(237, 117, 38, 0.4);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    min-width: 68px;
    backdrop-filter: blur(10px);
}

.countdown-num {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-unit {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.countdown-sep {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 28px;
    color: var(--orange);
    opacity: 0.7;
    padding-bottom: 18px;
    line-height: 1;
}

.countdown-done {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: 1px;
    color: var(--green);
    text-transform: uppercase;
    padding: 12px 28px;
    background: rgba(149, 209, 65, 0.1);
    border: 1px solid rgba(149, 209, 65, 0.3);
    border-radius: var(--radius-md);
}

@media (max-width: 480px) {
    .countdown-block { padding: 10px 12px; min-width: 52px; }
    .countdown-num { font-size: 26px; }
}

/* =====================================================
   TIMELINE FECHAS CLAVE
   ===================================================== */
/* ---- Fechas Clave: inside dark prize-banner � use default orange/yellow palette ---- */
/* (No overrides needed � base timeline styles look correct on dark background) */
.prize-banner .timeline-desc { color: var(--text-muted); }
.prize-banner .prize-timeline-sep span { color: rgba(248,201,63,0.6); }
.prize-banner .prize-timeline-sep::before,
.prize-banner .prize-timeline-sep::after {
    background: linear-gradient(90deg, transparent, rgba(248, 201, 63, 0.35), transparent);
}
.prize-banner .timeline-inner {
    padding: 0 clamp(20px, 5vw, 60px) clamp(50px, 7vw, 80px);
}

.prize-timeline-sep {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto 0;
    padding: 0 clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 1;
}

.prize-timeline-sep::before,
.prize-timeline-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 201, 63, 0.5), transparent);
}

.prize-timeline-sep span {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(248, 201, 63, 0.6);
    white-space: nowrap;
}

.timeline-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timeline-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 24px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 230px;
    position: relative;
}

.timeline-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(237, 117, 38, 0.12);
    border: 2px solid rgba(237, 117, 38, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--orange);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item.active .timeline-icon {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    box-shadow: 0 0 30px rgba(237, 117, 38, 0.5);
    animation: timelineGlow 2s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    from { box-shadow: 0 0 20px rgba(237, 117, 38, 0.4); }
    to   { box-shadow: 0 0 40px rgba(237, 117, 38, 0.8); }
}

.timeline-item.done .timeline-icon {
    background: rgba(149, 209, 65, 0.12);
    border-color: var(--green);
    color: var(--green);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-date {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--orange);
}

.timeline-title {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(14px, 1.8vw, 18px);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.1;
}

.timeline-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.timeline-status {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-upcoming {
    background: rgba(237, 117, 38, 0.1);
    color: var(--orange);
    border: 1px solid rgba(237, 117, 38, 0.3);
}

.status-active {
    background: rgba(149, 209, 65, 0.12);
    color: var(--green);
    border: 1px solid rgba(149, 209, 65, 0.3);
    animation: pulse-border 2s ease-in-out infinite;
}

.status-done {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

.status-highlight {
    background: linear-gradient(135deg, rgba(248,201,63,0.15), rgba(237,117,38,0.12));
    color: var(--yellow);
    border: 1px solid rgba(248, 201, 63, 0.4);
}

.timeline-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(237,117,38,0.4), rgba(237,117,38,0.15));
    min-width: 30px;
    max-width: 80px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid rgba(237,117,38,0.4);
}

@media (max-width: 768px) {
    .timeline-track {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
    }
    .timeline-item {
        flex-direction: row;
        text-align: left;
        max-width: 100%;
        width: 100%;
        gap: 16px;
        min-width: unset;
    }
    .timeline-icon { flex-shrink: 0; }
    .timeline-connector {
        width: 2px;
        height: 32px;
        min-width: unset;
        max-width: unset;
        background: linear-gradient(180deg, rgba(237,117,38,0.4), rgba(237,117,38,0.15));
        margin: 0 0 0 31px;
    }
    .timeline-connector::after {
        right: unset;
        top: unset;
        left: 50%;
        bottom: -6px;
        transform: translateX(-50%);
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 7px solid rgba(237,117,38,0.4);
        border-bottom: none;
    }
    .timeline-status { align-self: flex-start; }
}

/* =====================================================
   SECTION SEPARATORS
   ===================================================== */

/* SVG wave separator */
.s-sep-svg {
    display: block;
    width: 100%;
    height: 72px;
    pointer-events: none;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    overflow: hidden;
    /* eliminate gap below block SVG */
    line-height: 0;
}

/* Glowing horizontal orange line */
.s-line {
    height: 2px;
    position: relative;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(237, 117, 38, 0.25) 10%,
        rgba(237, 117, 38, 0.65) 35%,
        rgba(248, 201, 63, 0.85) 50%,
        rgba(237, 117, 38, 0.65) 65%,
        rgba(237, 117, 38, 0.25) 90%,
        transparent 100%
    );
}

.s-line::after {
    content: '';
    position: absolute;
    inset: -4px 10%;
    background: inherit;
    filter: blur(8px);
    opacity: 0.5;
}
/* =====================================================
   VIDEO SECTION
   ===================================================== */
.video-section {
    background: #000000;
    border-top: 1px solid rgba(237, 117, 38, 0.25);
    border-bottom: 1px solid rgba(237, 117, 38, 0.25);
}

.video-embed-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(237, 117, 38, 0.3);
}

.video-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.prizes-section {
    background: #000000;
    border-top: 1px solid rgba(237, 117, 38, 0.25);
    border-bottom: 1px solid rgba(237, 117, 38, 0.25);
}

/* Prizes section title override � highlighted span block */
.prizes-section .section-title {
    font-size: clamp(40px, 6.5vw, 76px);
    letter-spacing: 0px;
    line-height: 1.1;
}

.prizes-section .section-title span {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #000000;
    color: #000000;
    padding: 0 10px 4px;
    display: inline;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.prizes-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/BS CHALLENGERS_fondo 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* ---- PODIUM ---- */
.podium-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
}

.podium-wrap::before {
    content: '';
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(248, 201, 63, 0.17) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.podium-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px 20px 0 0;
    text-align: center;
    padding: 32px 24px 0;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
    flex: 0 0 220px;
    z-index: 1;
}

.podium-card:hover { transform: translateY(-6px); }

.podium-first {
    flex-basis: 260px;
    z-index: 2;
}

.podium-gold {
    background: #111111;
    border: 1px solid rgba(248, 201, 63, 0.5);
    border-bottom: none;
    box-shadow: 0 0 60px rgba(248, 201, 63, 0.25), 0 0 120px rgba(248,201,63,0.1), inset 0 1px 0 rgba(248,201,63,0.25);
}

.podium-silver {
    background: #141220;
    border: 1px solid rgba(192, 189, 216, 0.2);
    border-bottom: none;
}

.podium-bronze {
    background: #111111;
    border: 1px solid rgba(205, 127, 50, 0.2);
    border-bottom: none;
}

.podium-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.podium-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
    animation: heroCharFloat 5s ease-in-out infinite;
}

.podium-icon-first {
    width: 104px;
    height: 104px;
    margin-bottom: 16px;
}

.podium-icon-first img {
    filter: drop-shadow(0 0 22px rgba(248, 201, 63, 0.7));
    animation-duration: 4s;
}

.podium-rank {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(42px, 6vw, 64px);
    line-height: 0.9;
    letter-spacing: -2px;
}

.podium-gold   .podium-rank { color: var(--yellow); text-shadow: 0 0 30px rgba(248,201,63,0.6); }
.podium-silver .podium-rank { color: #C0BDD8; }
.podium-bronze .podium-rank { color: #CD7F32; }

.podium-place {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 6px 0 2px;
}

.podium-first .podium-amount {
    font-size: clamp(38px, 6vw, 62px);
    filter: drop-shadow(0 0 12px rgba(248,201,63,0.6));
}

.podium-amount {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    background-size: 200% auto;
}

.podium-currency {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    margin-bottom: 20px;
    max-width: 160px;
    line-height: 1.4;
}

.podium-bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    margin-top: auto;
}

.podium-bar-1 {
    height: 80px;
    background: linear-gradient(180deg, rgba(248,201,63,0.35), rgba(248,201,63,0.08));
    border: 1px solid rgba(248,201,63,0.4);
    border-bottom: none;
    box-shadow: 0 -8px 30px rgba(248,201,63,0.2);
}

.podium-bar-2 {
    height: 52px;
    background: linear-gradient(180deg, rgba(192,189,216,0.22), rgba(192,189,216,0.06));
    border: 1px solid rgba(192,189,216,0.25);
    border-bottom: none;
}

.podium-bar-3 {
    height: 36px;
    background: linear-gradient(180deg, rgba(205,127,50,0.22), rgba(205,127,50,0.06));
    border: 1px solid rgba(205,127,50,0.25);
    border-bottom: none;
}

/* ---- TIER ROWS ---- */
.prize-tiers {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(237, 117, 38, 0.2);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
}

.prize-tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    gap: 16px;
    flex-wrap: wrap;
    transition: background 0.2s;
}

.prize-tier-row:hover { background: rgba(237, 117, 38, 0.06); }

.prize-tier-divider {
    height: 1px;
    background: rgba(237, 117, 38, 0.15);
    margin: 0 28px;
}

.prize-tier-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.prize-tier-places {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--text);
}

.prize-tier-desc {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.prize-tier-amount {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(20px, 2.5vw, 28px);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    text-align: center;
}

.prize-tier-amount span {
    font-family: 'CoFo Sans', 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 700;
    -webkit-text-fill-color: rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.prize-tier-total {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex: 1;
    text-align: right;
}

/* ---- POOL TOTAL ---- */
.prizes-pool-total {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 8px auto 24px;
    flex-wrap: wrap;
    max-width: 560px;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(248, 201, 63, 0.55);
    border-radius: 20px;
    padding: 24px 48px;
    box-shadow: 0 0 60px rgba(248, 201, 63, 0.2), 0 0 120px rgba(248,201,63,0.08), inset 0 0 24px rgba(0,0,0,0.3);
}

.prizes-pool-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.prizes-pool-num {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(36px, 6vw, 64px);
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 50%, var(--yellow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(248,201,63,0.45));
}

.prizes-footer-copy {
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    color: var(--text-secondary);
}

@media (max-width: 700px) {
    .podium-wrap { gap: 8px; align-items: flex-end; flex-wrap: nowrap; }
    .podium-card { flex: 1 1 0; padding: 20px 8px 0; min-width: 0; }
    .podium-first { flex: 1.3 1 0; }
    .podium-icon { width: 58px; height: 58px; }
    .podium-icon-first { width: 74px; height: 74px; }
    .podium-rank { font-size: clamp(28px, 7vw, 44px); letter-spacing: -1px; }
    .podium-place { font-size: 9px; letter-spacing: 1.5px; }
    .podium-amount { font-size: clamp(16px, 4.5vw, 24px); }
    .podium-currency { font-size: 9px; letter-spacing: 0.5px; }
    .podium-first .podium-amount { font-size: clamp(22px, 6vw, 36px); }
    .prize-tier-row { padding: 16px 18px; }
    .prize-tier-total { display: none; }
}

.prizes-footer-copy strong {
    color: var(--yellow);
}

/* =====================================================
   SECTION SUBTLE BACKGROUNDS
   ===================================================== */
#bracket {
    background: linear-gradient(160deg, #0D0D0D 0%, #1A1A1A 100%);
}

#equipos {
    background: linear-gradient(160deg, #0D0D0D 0%, #1A1A1A 100%);
}

/* =====================================================
   MOBILE — NEW ELEMENTS & IMPROVEMENTS
   ===================================================== */
@media (max-width: 768px) {
    /* Prize banner */
    .prize-amount { font-size: clamp(56px, 19vw, 96px); }
    .prize-subtitle { font-size: 14px; }
    .prize-disclaimer { font-size: 11px; padding: 0 4px; }
    .prize-banner-logo img { max-width: 160px; }

    /* FAQ tabs — horizontal scroll on mobile */
    .faq-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .faq-tabs::-webkit-scrollbar { display: none; }
    .faq-tab { flex-shrink: 0; min-height: 44px; /* WCAG 2.5.5 touch target */ }

    /* Nav logo fits within 64px mobile nav */
    .nav-logo-icon-star { height: 52px; }

    /* Section label wrapping fix */
    .section-label { letter-spacing: 2px; }

    /* Hide decorative floating elements that overlay hero content */
    .hero-deco-kit, .hero-deco-trophy { display: none; }

    /* Hero subtitle legibility */
    .hero-subtitle { font-size: 15px; }

    /* Tighter section header spacing */
    .section-header { margin-bottom: 36px; }

    /* Resource cards compact padding */
    .resource-card { padding: 26px 22px; }

    /* FAQ: more comfortable touch targets & longer answer area */
    .faq-question { padding: 18px 20px; font-size: 14.5px; }
    .faq-answer-content { padding: 0 20px 20px; }
    .faq-item.active .faq-answer { max-height: 800px; }

    /* Hero stats box compact */
    .hero-stats { padding: 14px 16px; }

    /* Logo: fill viewport width instead of scale � avoids overflow:hidden clip */
    .hero-logo-wrap { width: 100%; margin-left: 0; margin-right: 0; }
    .hero-main-logo { transform: none; width: 100%; max-width: min(560px, 95vw); }
}

@media (max-width: 480px) {
    .prize-amount { font-size: 18vw; }
    .prize-label { font-size: 10px; letter-spacing: 2px; padding: 5px 14px; }
    .prize-subtitle { font-size: 13px; }

    /* Resource cards further reduced */
    .resource-card { padding: 22px 18px; }

    /* FAQ comfortable padding */
    .faq-question { padding: 16px 18px; }
    .faq-answer-content { padding: 0 18px 18px; }

    /* Prize pool: reduce horizontal padding so $25.000 doesn't overflow */
    .prizes-pool-total { padding: 16px 20px; gap: 12px; }
}

/* =======================================================
   EXTRA SMALL SCREENS (=380px � Galaxy A series, etc.)
   ======================================================= */
@media (max-width: 380px) {
    .hero-prize-pill { padding: 7px 14px; gap: 7px; }
    .hero-prize-pill-label { display: none; }
    .hero-stats { padding: 12px 8px; }
    .section { padding: clamp(50px, 10vw, 70px) 16px; }
    .talents-grid { gap: 10px; }
    .talent-photo { width: 78px; height: 78px; }
    .resource-card { padding: 20px 16px; }
    .faq-question { padding: 15px 16px; font-size: 14px; }
    .faq-answer-content { padding: 0 16px 16px; }
    .section-title { font-size: clamp(32px, 10vw, 46px); }
    .btn-lg { padding: 13px 24px; font-size: 14px; }
}

/* =======================================================
   REDUCED MOTION ACCESSIBILITY
   ======================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .hero-main-logo { animation: none; transform: none; }
    .hero-logo-wrap  { animation: none; }
    .hero-deco, .blob { animation: none; }
    .scroll-progress { transition: none; }
    .fade-in-up, .fade-in-down {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .aos-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =====================================================
   FOOTER DOWNLOAD STRIP (inside footer)
   ===================================================== */
.footer-download-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 28px 32px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(237, 117, 38, 0.12), rgba(248, 201, 63, 0.08));
    border: 1px solid rgba(237, 117, 38, 0.3);
    border-radius: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-download-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/bg-pattern.png');
    background-size: 220px auto;
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
}

.fdl-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(248, 201, 63, 0.6));
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transform: scale(2);
    transform-origin: center center;
}

.fdl-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 160px;
    position: relative;
    z-index: 1;
}

.fdl-title {
    font-family: 'Nougat', 'CoFo Sans', cursive;
    font-size: clamp(18px, 2.5vw, 26px);
    color: var(--yellow);
    letter-spacing: 1px;
    line-height: 1;
}

.fdl-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fdl-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.fdl-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    min-width: 165px;
    backdrop-filter: blur(8px);
}

.fdl-btn:hover {
    background: rgba(237, 117, 38, 0.2);
    border-color: var(--orange);
    transform: translateY(-2px);
    color: #fff;
}

.fdl-btn i {
    font-size: 24px;
    flex-shrink: 0;
}

.fdl-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-size: 15px;
    font-weight: 800;
}

.fdl-btn span small {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 700px) {
    .footer-download-strip { padding: 20px 18px; gap: 16px; }
    .fdl-copy { display: none; }
    .fdl-btns { width: 100%; }
    .fdl-btn { flex: 1; justify-content: center; min-width: 0; }
}

