/* ============================================
   SparrowRL | Immersive Creator Website v2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #06070a;
    --bg-alt: #0c0d12;
    --bg-card: rgba(255,255,255,0.02);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #f0ede8;
    --text-dim: #9ca3af;
    --text-muted: #4b5563;
    --gold: #d4a853;
    --gold-dim: rgba(212,168,83,0.08);
    --gold-glow: rgba(212,168,83,0.3);
    --purple: #a78bfa;
    --green: #34d399;
    --red: #ef4444;
    --twitch: #9146ff;
    --youtube: #ff0000;
    --discord: #5865f2;
    --radius: 16px;
    --radius-sm: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
.gold { color: var(--gold); }

/* ===== ROCKET LEAGUE ARENA BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        /* Blue team zone (left) */
        radial-gradient(ellipse 45% 70% at 0% 50%, rgba(30,100,230,0.14) 0%, transparent 70%),
        /* Orange team zone (right) */
        radial-gradient(ellipse 45% 70% at 100% 50%, rgba(240,130,20,0.14) 0%, transparent 70%),
        /* Center field spotlight */
        radial-gradient(ellipse 40% 35% at 50% 40%, rgba(255,255,255,0.03) 0%, transparent 70%),
        /* Stadium overhead lights */
        radial-gradient(ellipse 30% 20% at 25% 5%, rgba(200,200,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 30% 20% at 75% 5%, rgba(200,200,255,0.06) 0%, transparent 60%),
        /* Floor glow */
        radial-gradient(ellipse 80% 30% at 50% 95%, rgba(212,168,83,0.06) 0%, transparent 60%);
    animation: arenaGlow 15s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        /* Hexagonal arena floor tiles */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='49'%3E%3Cpath d='M28 0l28 14v21L28 49 0 35V14z' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='0.5'/%3E%3C/svg%3E"),
        /* Noise texture for depth */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 56px 49px, 200px 200px;
}

@keyframes arenaGlow {
    0%   { opacity: 0.7; }
    30%  { opacity: 1; }
    70%  { opacity: 0.85; }
    100% { opacity: 0.7; }
}

.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transition: opacity 0.3s;
    will-change: transform;
}

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 72px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(6,7,10,0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom-color: var(--border);
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; gap: 10px;
}

.nav-logo {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.nav-links {
    display: flex; align-items: center; gap: 32px;
}

.nav-links a {
    font-size: 0.84rem; font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--text); }

.nav-live {
    background: var(--gold) !important;
    color: var(--bg) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-live:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--bg);
    opacity: 0.5;
}

.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px;
    position: relative; z-index: 1001;
}

.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text);
    margin: 5px auto;
    transition: all 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.7); z-index: 999;
    backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px clamp(20px, 5vw, 60px) 80px;
}

.hero-bg {
    display: none;
}

.hero-content {
    position: relative; z-index: 1;
    max-width: 900px;
    text-align: center;
    will-change: transform, opacity;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.78rem; font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.hero-badge.is-live .badge-dot {
    background: var(--red);
    animation: livePulse 1.5s infinite;
}
.hero-badge.is-live { color: var(--text-dim); border-color: rgba(239,68,68,0.3); }

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    opacity: 0;
    animation: heroLineIn 0.8s ease forwards;
}

.hero-line-1 { animation-delay: 0.2s; }
.hero-line-2 { animation-delay: 0.5s; }
.hero-line-3 { animation-delay: 0.8s; }

@keyframes heroLineIn {
    from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: var(--text-dim);
    max-width: 600px; margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0;
    animation: heroLineIn 0.8s ease 1.1s forwards;
}

.hero-cta {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 64px;
    opacity: 0;
    animation: heroLineIn 0.8s ease 1.4s forwards;
}

.btn-glow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 0.9rem;
    background: var(--gold);
    color: var(--bg);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-glow:hover::before { transform: translateX(100%); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--gold-glow); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    backdrop-filter: blur(8px);
    transition: all 0.25s;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    background: rgba(255,255,255,0.04);
}

.hero-stats-strip {
    display: flex; align-items: center; justify-content: center; gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 40px;
    backdrop-filter: blur(12px);
    opacity: 0;
    animation: heroLineIn 0.8s ease 1.7s forwards;
}

.strip-item { text-align: center; padding: 0 28px; }

.strip-val {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.4rem;
    color: var(--gold);
}

.strip-label {
    font-size: 0.72rem; color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.strip-divider {
    width: 1px; height: 36px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px clamp(20px, 5vw, 60px);
    position: relative;
}

.section-dark {
    background: transparent;
}

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

.section-header {
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--gold-dim);
    border-radius: 100px;
    border: 1px solid rgba(212,168,83,0.15);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.7;
}

.section-link {
    display: inline-block;
    margin-top: 32px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 500;
    transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.7; }

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    border-color: var(--border-hover);
}

[data-glow]::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    top: var(--glow-y, 50%); left: var(--glow-x, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

[data-glow]:hover::after { opacity: 1; }
[data-glow] > * { position: relative; z-index: 1; }

/* ===== ABOUT ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.about-text {
    padding: 36px;
    color: var(--text-dim);
    font-size: 0.94rem;
    line-height: 1.85;
}

.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mini-card {
    padding: 28px 20px;
    text-align: center;
}

.mini-card:hover { transform: translateY(-4px); }

.mini-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem; font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== STREAM EMBED ===== */
.stream-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    height: 480px;
}

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

.stream-chat { border-left: 1px solid var(--border); }
.stream-chat iframe {
    width: 100%; height: 100%;
    border: none;
}

/* ===== STREAM SCHEDULE ===== */
.schedule-wrap {
    margin-top: 56px;
}

.schedule-title {
    font-size: 1.2rem; font-weight: 600;
    margin-bottom: 20px;
}

.schedule-tz {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.sched-day {
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s;
}

.sched-day:hover { transform: translateY(-3px); }

.sched-day.today {
    border-color: var(--gold) !important;
    box-shadow: 0 0 20px var(--gold-dim), inset 0 0 20px var(--gold-dim);
}

.sched-day.today .sched-name { color: var(--gold); }

.sched-day.off {
    opacity: 0.35;
}

.sched-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.sched-time {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.sched-type {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.schedule-note {
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* ===== RANK TRACKER ===== */
.rank-tracker {
    padding: 48px;
}

.rank-bar-wrap {
    margin-bottom: 40px;
}

.rank-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    position: relative;
}

.rank-label {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem; font-weight: 700;
}

.rank-icon {
    width: 40px; height: 40px;
    object-fit: contain;
}

.rank-mmr-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rank-current {
    position: absolute;
    left: var(--progress, 19.7%);
    transform: translateX(-50%);
    bottom: 0;
}

.rank-current-arrow {
    color: var(--gold);
    font-size: 0.7rem;
    display: block;
    text-align: center;
    animation: arrowBounce 1.5s ease infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.rank-current-val {
    font-size: 1.1rem;
    color: var(--gold);
    display: block;
    text-align: center;
}

.rank-current-tag {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.rank-track {
    height: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    position: relative;
    overflow: visible;
}

.rank-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), #f0d080);
    border-radius: 100px;
    position: relative;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rank-fill.animate {
    width: var(--progress, 19.7%);
}

.rank-fill-glow {
    position: absolute;
    right: -4px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow), 0 0 32px var(--gold-dim);
}

.rank-milestone {
    position: absolute;
    left: var(--pos);
    top: -4px; bottom: -4px;
    width: 2px;
    background: rgba(255,255,255,0.1);
}

.rank-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
}

.rank-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.rank-stat { text-align: center; }

.rank-stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 4px;
}

.rank-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ===== TRN LINK ===== */
.trn-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.88rem;
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.trn-link:hover {
    color: var(--gold);
    border-color: var(--gold-dim);
    transform: translateY(-2px);
}

.trn-link strong {
    color: var(--text);
    transition: color 0.3s;
}

.trn-link:hover strong {
    color: var(--gold);
}

.trn-arrow {
    margin-left: auto;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}

.trn-link:hover .trn-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* ===== CLIPS ===== */
.clips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.clip-card {
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.clip-card.stagger-in {
    opacity: 1;
    transform: translateY(0);
}

.clip-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

.clip-thumb {
    aspect-ratio: 16/9;
    position: relative;
    background: rgba(0,0,0,0.4);
    overflow: hidden;
}

.clip-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.clip-card:hover .clip-thumb img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.clip-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.clip-play svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.clip-card:hover .clip-play {
    opacity: 1;
}

.clip-card:hover .clip-play svg {
    transform: scale(1.15);
}

.clip-thumb .clip-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.clip-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
}

.clip-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.clip-embed {
    aspect-ratio: 16/9;
    position: relative;
    background: rgba(0,0,0,0.4);
}

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

.clip-info {
    padding: 16px 20px;
}

.clip-badge {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.twitch-badge { background: rgba(145,70,255,0.15); color: var(--twitch); }
.yt-badge { background: rgba(255,0,0,0.12); color: var(--youtube); }

.clip-info p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 750px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 28px;
    background: none; border: none;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--gold); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--gold);
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.8;
}

/* ===== FOLLOW BUTTONS ===== */
.follow-row {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
    margin: 32px 0;
}

.follow-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 0.88rem;
    transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
    color: #fff;
}

.follow-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }

.twitch-follow { background: var(--twitch); }
.twitch-follow:hover { box-shadow: 0 8px 24px rgba(145,70,255,0.3); }

.yt-follow { background: var(--youtube); }
.yt-follow:hover { box-shadow: 0 8px 24px rgba(255,0,0,0.25); }

.discord-follow { background: var(--discord); }
.discord-follow:hover { box-shadow: 0 8px 24px rgba(88,101,242,0.3); }

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--border), var(--border));
}

.tl-item {
    position: relative;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-marker {
    position: absolute;
    left: -48px; top: 24px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}

.tl-marker::after {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.tl-item.done .tl-marker { border-color: var(--green); }
.tl-item.done .tl-marker::after { background: var(--green); }

.tl-item.active .tl-marker { border-color: var(--gold); box-shadow: 0 0 16px var(--gold-glow); }
.tl-item.active .tl-marker::after { background: var(--gold); }

.tl-item.future .tl-marker { opacity: 0.4; }

.tl-card {
    padding: 28px 32px;
}

.tl-card:hover { transform: translateX(6px); }

.tl-status {
    display: inline-block;
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.tl-item.done .tl-status { color: var(--green); }
.tl-item.active .tl-status { color: var(--gold); }

.tl-card h3 {
    font-size: 1.05rem; font-weight: 600;
    margin-bottom: 8px;
}

.tl-card p {
    font-size: 0.87rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== COMMUNITY ===== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.comm-card {
    padding: 28px;
    display: flex; align-items: center; gap: 16px;
    cursor: pointer;
}

.comm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

.comm-card.twitch:hover { border-color: rgba(145,70,255,0.3); box-shadow: 0 12px 40px rgba(145,70,255,0.1); }
.comm-card.youtube:hover { border-color: rgba(255,0,0,0.3); box-shadow: 0 12px 40px rgba(255,0,0,0.08); }
.comm-card.discord:hover { border-color: rgba(88,101,242,0.3); box-shadow: 0 12px 40px rgba(88,101,242,0.1); }

.comm-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.comm-card.twitch .comm-icon { background: rgba(145,70,255,0.1); color: var(--twitch); }
.comm-card.youtube .comm-icon { background: rgba(255,0,0,0.1); color: var(--youtube); }
.comm-card.discord .comm-icon { background: rgba(88,101,242,0.1); color: var(--discord); }

.comm-info h3 {
    font-size: 0.95rem; font-weight: 600;
}

.comm-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comm-arrow {
    margin-left: auto;
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.comm-card:hover .comm-arrow { color: var(--text); transform: translateX(4px); }

.discord-embed {
    padding: 4px;
    overflow: hidden;
}

.discord-embed iframe {
    border-radius: 12px;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px clamp(20px, 5vw, 60px);
    text-align: center;
}

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

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.2rem;
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
}

.footer-logo {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

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

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

/* ===== COUNTDOWN ===== */
.hero-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.countdown-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.countdown-time {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.open {
    pointer-events: all;
    opacity: 1;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.open .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal-player {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 168, 83, 0.15);
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-title {
    text-align: center;
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.video-modal.open .video-modal-title {
    opacity: 1;
    transform: translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.video-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-glow], .tl-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

[data-glow].stagger-in,
.tl-item.stagger-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .stream-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .stream-embed { aspect-ratio: 16/9; }
    .stream-chat { height: 300px; border-left: none; border-top: 1px solid var(--border); }
    .schedule-grid { grid-template-columns: repeat(4, 1fr); }
    .clips-grid { grid-template-columns: 1fr 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .rank-stats-row { grid-template-columns: repeat(2, 1fr); }
    .rank-tracker { padding: 32px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--bg-alt);
        border-left: 1px solid var(--border);
        flex-direction: column; gap: 0;
        padding: 80px 28px 40px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    .nav-links.open { right: 0; }
    .nav-links a {
        font-size: 1rem; padding: 16px 0;
        border-bottom: 1px solid var(--border);
        display: block; width: 100%;
    }
    .nav-live { text-align: center; margin-top: 16px; display: block !important; border-bottom: none !important; }
    .hero { padding: 100px 20px 60px; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-stats-strip { flex-wrap: wrap; padding: 16px 20px; gap: 8px; }
    .strip-divider { display: none; }
    .strip-item { padding: 8px 16px; }
    .hero-scroll-indicator { display: none; }
    .about-layout { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr 1fr; }
    .section { padding: 80px 20px; }
    .timeline { padding-left: 40px; }
    .timeline::before { left: 11px; }
    .tl-marker { left: -40px; width: 24px; height: 24px; }
    .tl-marker::after { width: 8px; height: 8px; }
    .schedule-grid { grid-template-columns: repeat(3, 1fr); }
    .clips-grid { grid-template-columns: 1fr; }
    .rank-tracker { padding: 24px; }
    .rank-stat-val { font-size: 1.3rem; }
    .follow-row { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
    .about-cards { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn-glow, .btn-ghost { justify-content: center; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-stats-row { grid-template-columns: 1fr 1fr; }
    .rank-labels { font-size: 0.75rem; }
    .rank-icon { width: 28px; height: 28px; }
}
