@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --accent: #FFD700; --accent-light: #E6C200; --accent-pale: #FFF3B0;
  --accent-dim: rgba(255,215,0,0.15);
  --accent2: #2D8B6F; --accent2-dark: #1A5C48; --accent2-dim: rgba(45,139,111,0.12);
  --accent-glow: rgba(255,215,0,0.35);
  --accent-bg-05: rgba(255,215,0,0.05); --accent-bg-06: rgba(255,215,0,0.06);
  --accent-bg-08: rgba(255,215,0,0.08); --accent-bg-10: rgba(255,215,0,0.10);
  --accent-bg-12: rgba(255,215,0,0.12); --accent-bg-15: rgba(255,215,0,0.15);
  --accent-bg-20: rgba(255,215,0,0.20);
  --accent-border-12: rgba(255,215,0,0.15); --accent-border-15: rgba(255,215,0,0.20);
  --accent-border-20: rgba(255,215,0,0.25); --accent-border-35: rgba(255,215,0,0.45);
  --accent2-glow: rgba(45,139,111,0.3);
  --accent2-bg-06: rgba(45,139,111,0.06); --accent2-bg-08: rgba(45,139,111,0.08);
  --accent2-bg-15: rgba(45,139,111,0.15);
  --accent2-border-25: rgba(45,139,111,0.25); --accent2-border-30: rgba(45,139,111,0.30);
  --ambient-1: rgba(255,215,0,0.04); --ambient-2: rgba(45,139,111,0.02); --ambient-3: rgba(255,215,0,0.03);
  --bg-dark: #FFFFFF; --bg-surface: #F5F5F5;
  --bg-card: rgba(0,0,0,0.02); --bg-card-hover: rgba(0,0,0,0.04);
  --border-subtle: rgba(0,0,0,0.08); --border-accent: rgba(255,215,0,0.25);
  --text-primary: #1A1A2E; --text-secondary: #555; --text-muted: #999;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --team-1: #888; --team-2: #555; --team-3: #4A6FA5;
  --team-4: #2E8B57; --team-5: #20B2AA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg-dark); color: var(--text-primary); font-family: 'Outfit', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; line-height: 1.6; }

.ambient-bg { display: none; }
.grain-overlay { display: none; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0.5rem 3rem; display: flex; align-items: center; background: #1A6FEF; backdrop-filter: blur(12px); border-bottom: 1px solid #1560D4; height: 56px; overflow: visible; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; position: relative; z-index: 101; align-self: flex-start; margin-top: -12px; margin-left: -2.5rem; flex-shrink: 0; }
.nav-logo { height: 130px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08)); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--transition); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-links a.active::after { width: 100%; }
.theme-toggle { display: none; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; margin-left: auto; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all 0.3s var(--transition); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Sections */
.section { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 5rem 3rem; }
.section-header { margin-bottom: 3rem; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.6rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--text-primary); }
.section-desc { margin-top: 0.75rem; font-size: 0.95rem; color: var(--text-secondary); max-width: 650px; }
.section-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 0 auto; max-width: 1400px; }

/* Hero Banner */
.hero { position: relative; z-index: 2; text-align: center; padding: 8rem 2rem 3rem; margin-top: 0; background: var(--bg-surface); overflow: hidden; }
.contact-hero { background: #D5D5D5; }
.contact-hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; filter: grayscale(100%) blur(2px); opacity: 0.18; z-index: 0; }
.contact-hero .hero-headline, .contact-hero .hero-copy { position: relative; z-index: 1; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; color: var(--text-primary); margin-bottom: 0.6rem; opacity: 0; animation: fadeUp 1s var(--transition) 0.1s forwards; }
.hero-headline .accent { color: var(--accent); }
.hero-slogan { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1rem, 2.2vw, 1.35rem); color: var(--text-secondary); opacity: 0; animation: fadeUp 1s var(--transition) 0.25s forwards; letter-spacing: 0.02em; }
.hero-slogan .slogan-divider { display: inline-block; width: 28px; height: 1px; background: var(--text-muted); vertical-align: middle; margin: 0 0.6rem; opacity: 0.4; }
.hero-copy { font-size: 1.05rem; color: var(--text-secondary); margin: 1.2rem auto 0; max-width: 600px; line-height: 1.7; font-weight: 300; opacity: 0; animation: fadeUp 1s var(--transition) 0.4s forwards; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.8rem; padding: 0.9rem 2.2rem; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: all 0.3s var(--transition); opacity: 0; animation: fadeUp 1s var(--transition) 0.55s forwards; cursor: pointer; }
.hero-cta:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }
.hero-cta svg { width: 16px; height: 16px; }

/* Countdown */
.countdown-container { margin-top: 3rem; opacity: 0; animation: fadeUp 1s var(--transition) 0.8s forwards; }
.countdown-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.countdown-grid { display: flex; gap: 1rem; justify-content: center; }
.countdown-unit { min-width: 80px; padding: 1.2rem 1rem; border-radius: 14px; border: 1px solid var(--border-subtle); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); text-align: center; transition: border-color 0.3s; }
.countdown-unit:hover { border-color: var(--accent-border-35); }
.countdown-number { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 500; color: var(--text-primary); line-height: 1; }
.countdown-text { font-size: 0.65rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; }
.countdown-match-info { margin-top: 1.2rem; font-size: 0.85rem; color: var(--text-secondary); }
.countdown-match-info strong { color: var(--text-primary); font-weight: 600; }

/* Teams Banner (Home page) */
.teams-banner-img { max-width: 700px; width: 100%; height: auto; }

/* Overview Cards (Home page) */
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.overview-card { padding: 2rem 1.5rem; border-radius: 16px; border: 1px solid var(--border-subtle); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); text-decoration: none; transition: all 0.4s var(--transition); display: block; }
.overview-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
.overview-card-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }
.overview-card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.overview-card-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* Team Cards */
.teams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.team-card { padding: 2rem 1.5rem; border-radius: 16px; border: 1px solid var(--border-subtle); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); text-align: center; transition: all 0.4s var(--transition); position: relative; overflow: hidden; text-decoration: none; color: inherit; }
.team-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
.team-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--team-color); }
.team-card-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; }
.team-card-city { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.6rem; letter-spacing: 0.06em; }

/* Expanded Team Cards (Teams page) */
.teams-expanded { display: flex; gap: 1rem; justify-content: center; }
.team-expanded { flex: 1; min-width: 0; padding: 1.5rem 1.2rem; border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); background: #f2f4f7; box-shadow: 0 4px 18px rgba(0,0,0,0.10); position: relative; overflow: hidden; transition: all 0.4s var(--transition); text-align: center; }
.team-expanded:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.team-expanded::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--team-color); }
.team-expanded-header { margin-bottom: 1.2rem; }
.team-expanded-dot { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; }
.team-expanded-info { flex: 1; }
.team-expanded-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.team-expanded-city { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.06em; }
.team-expanded-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.team-expanded-roster { list-style: none; }
.team-expanded-roster li { padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 1.05rem; color: var(--text-secondary); display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.team-expanded-roster li:last-child { border-bottom: none; }
.team-expanded-roster .captain-badge { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--accent-bg-12); color: var(--accent-light); border: 1px solid var(--accent-border-15); }
.team-expanded-roster .cocaptain-badge { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--accent2-bg-08); color: var(--accent2); border: 1px solid var(--accent2-border-25); }

/* Team card dark background — white text */
.team-dark .team-expanded-name { color: #fff; }
.team-dark .team-expanded-city { color: rgba(255,255,255,0.6); }
.team-dark .team-expanded-role { color: rgba(255,255,255,0.5); }
.team-dark .team-expanded-roster li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.1); }
.team-dark .captain-badge { background: rgba(255,215,0,0.2); color: #FFD700; border-color: rgba(255,215,0,0.3); }
.team-dark .cocaptain-badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }

/* Team card light background — dark text */
.team-light .team-expanded-name { color: #111; }
.team-light .team-expanded-city { color: #555; }
.team-light .team-expanded-role { color: #777; }
.team-light .team-expanded-roster li { color: #333; border-bottom-color: rgba(0,0,0,0.08); }
.team-light .captain-badge { background: rgba(255,215,0,0.15); color: #B8860B; border-color: rgba(255,215,0,0.3); }
.team-light .cocaptain-badge { background: rgba(0,0,0,0.05); color: #555; border-color: rgba(0,0,0,0.12); }

/* Substitutes section */
.subs-section { margin-top: 3rem; text-align: center; }
.subs-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.subs-seeking { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.2rem; font-style: italic; }
.subs-card { display: inline-block; padding: 1.5rem 2rem; border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); background: #f2f4f7; box-shadow: 0 4px 18px rgba(0,0,0,0.10); }
.subs-list { display: flex; flex-direction: column; gap: 0.5rem; }
.subs-list .sub-name { display: block; padding: 0.5rem 1.2rem; font-size: 0.95rem; color: var(--text-secondary); }

/* Event Cards */
.events-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.event-card { padding: 2rem 1.5rem; border-radius: 16px; border: 1px solid var(--border-subtle); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); text-align: center; transition: all 0.4s var(--transition); position: relative; }
.event-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.event-card-number { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.event-card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.6rem; }
.event-card-date { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--accent-light); margin-bottom: 0.3rem; }
.event-card-venue { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.2rem; }
.event-card-time { font-size: 0.72rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.event-card-badge { display: inline-block; margin-top: 0.8rem; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px; }
.event-card-badge.next { background: var(--accent); color: var(--text-primary); }
.event-card-badge.complete { background: rgba(0,0,0,0.04); color: var(--text-muted); border: 1px solid var(--border-subtle); }
.event-card.finale { border-color: var(--accent-border-20); }
.event-card.finale .event-card-title { color: var(--accent-light); }

/* Schedule page event cards (expanded with matchups) */
.schedule-events { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.schedule-card { padding: 2rem; border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); border-left: 4px solid var(--accent); background: #f2f4f7; box-shadow: 0 4px 18px rgba(0,0,0,0.10); transition: all 0.4s var(--transition); position: relative; overflow: hidden; max-width: 600px; width: 100%; }
.schedule-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.schedule-card.finale { border-color: var(--accent-border-20); }
.schedule-card.featured { background: #111; border-color: #333; border-left: 4px solid var(--accent); }
.schedule-card.featured .schedule-card-number { color: var(--accent); }
.schedule-card.featured .schedule-card-date { color: var(--accent); }
.schedule-card.featured .schedule-card-city { color: rgba(255,255,255,0.6); }
.schedule-card.featured .schedule-card-time { color: rgba(255,255,255,0.5); }
.schedule-card.featured .event-card-venue { color: rgba(255,255,255,0.4); }
.schedule-card.featured .schedule-matchup { background: #1A6FEF; border-color: #1A6FEF; }
.schedule-card.featured .schedule-matchup-team { color: #fff; }
.schedule-card.featured .schedule-matchup-vs { color: #fff; }
.schedule-card.featured .schedule-bye { background: #222; color: rgba(255,255,255,0.5); }
.schedule-card.featured .event-card-badge.next { background: var(--accent); color: #111; }
.schedule-card.alt-dark { background: #111; border-color: #333; border-left: 4px solid var(--accent); }
.schedule-card.alt-dark .schedule-card-number { color: var(--accent); }
.schedule-card.alt-dark .schedule-card-date { color: var(--accent); }
.schedule-card.alt-dark .schedule-card-city { color: rgba(255,255,255,0.6); }
.schedule-card.alt-dark .event-card-venue { color: rgba(255,255,255,0.4); }
.schedule-card.alt-dark .schedule-bye { background: #222; color: rgba(255,255,255,0.5); }
.schedule-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.schedule-card-info { flex: 1; }
.schedule-card-number { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; }
.schedule-card-date { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text-primary); }
.schedule-card-city { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.2rem; }
.schedule-card-time { font-size: 0.72rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; margin-top: 0.15rem; }
.schedule-card-matchups { display: flex; flex-direction: column; gap: 0.6rem; }
.schedule-matchup { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 10px; background: #1A6FEF; border: 1px solid #1A6FEF; }
.schedule-matchup-team { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; font-weight: 700; color: #fff; flex: 1; }
.schedule-matchup-team .team-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.4); }
.schedule-matchup-vs { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; padding: 0 0.5rem; }
.schedule-bye { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; padding: 0.4rem 0.8rem; border-radius: 8px; background: rgba(0,0,0,0.05); font-size: 0.75rem; color: var(--text-muted); }
.schedule-bye .team-dot { width: 6px; height: 6px; border-radius: 50%; }

/* Info Cards */
.league-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.info-card { padding: 1.8rem; border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); background: #f2f4f7; box-shadow: 0 4px 18px rgba(0,0,0,0.10); transition: all 0.4s var(--transition); }
.info-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.info-card-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.info-card-value { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.info-card-detail { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
.info-card-highlight { color: var(--accent-light); font-weight: 500; }

/* About page - Founders/Board */
.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.founder-card { padding: 2rem 1.5rem; border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); background: #f2f4f7; box-shadow: 0 4px 18px rgba(0,0,0,0.10); text-align: center; transition: all 0.4s var(--transition); }
.founder-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.founder-card-icon { width: 56px; height: 56px; border-radius: 50%; background: #FFF8E1; border: 2px solid var(--accent); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-light); }
.founder-card-photo { width: 150px; height: 180px; border-radius: 12px; border: 3px solid var(--accent); margin: 0 auto 1rem; overflow: hidden; }
.founder-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.founder-card-photo img[alt="Amy Honea"] { object-position: center center; }
.founder-card-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.15rem; }
.founder-card-city { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.founder-card-role { font-size: 0.75rem; color: var(--accent-light); font-weight: 600; }

/* Deadline Banner */
.deadline-banner { margin-top: 2rem; padding: 1.2rem 1.8rem; border-radius: 14px; border: 1px solid var(--accent-bg-20); background: linear-gradient(135deg, var(--accent-bg-06), var(--ambient-3)); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.deadline-banner-icon { font-size: 1.4rem; }
.deadline-banner-text { font-size: 0.85rem; color: var(--text-secondary); }
.deadline-banner-text strong { color: var(--accent-light); font-weight: 600; }
.deadline-banner-date { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; font-weight: 500; color: var(--accent-light); margin-left: auto; padding: 0.3rem 0.8rem; border-radius: 8px; background: var(--accent-bg-08); }

/* Standings */
.standings-table-wrap { border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,0.15); box-shadow: 0 4px 18px rgba(0,0,0,0.10); }
.standings-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: #fff; }
.standings-table thead th { padding: 1rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); background: var(--bg-surface); text-align: left; border-bottom: 1px solid var(--border-subtle); cursor: pointer; user-select: none; transition: color 0.3s; white-space: nowrap; }
.standings-table thead th:hover { color: var(--accent-light); }
.standings-table thead th.sorted { color: var(--accent-light); }
.standings-table thead th .sort-arrow { display: inline-block; margin-left: 0.3rem; font-size: 0.55rem; opacity: 0; transition: opacity 0.3s; }
.standings-table thead th.sorted .sort-arrow { opacity: 1; }
.standings-table tbody tr { transition: background 0.2s; border-bottom: 1px solid rgba(0,0,0,0.04); }
.standings-table tbody tr:hover { background: var(--bg-card-hover); }
.standings-table td { padding: 0.9rem 1rem; vertical-align: middle; }
.standings-rank { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--text-muted); width: 20px; text-align: center; }
.standings-team { display: flex; align-items: center; gap: 0.75rem; }
.standings-team-color { width: 10px; height: 32px; border-radius: 4px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.12); }
.standings-team-name { font-weight: 500; color: var(--text-primary); }
.standings-record { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; }
.standings-pct { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--accent-light); }
.standings-streak { display: flex; gap: 3px; }
.streak-dot { width: 8px; height: 8px; border-radius: 2px; }
.streak-dot.win { background: var(--accent2); }
.streak-dot.loss { background: #C0392B; }
.sparkline-cell { width: 120px; }
.sparkline-svg { width: 110px; height: 30px; display: block; }

/* H2H */
.h2h-section { margin-top: 4rem; }
.h2h-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); box-shadow: 0 4px 18px rgba(0,0,0,0.10); }
.h2h-grid { display: grid; grid-template-columns: 140px repeat(5, 1fr); gap: 2px; min-width: 500px; overflow: hidden; }
.h2h-corner { background: var(--bg-surface); padding: 1rem; display: flex; align-items: flex-end; justify-content: flex-end; font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.h2h-col-header { background: var(--bg-surface); padding: 0.8rem 0.5rem; text-align: center; font-size: 0.68rem; font-weight: 500; color: var(--text-secondary); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.h2h-col-dot { width: 8px; height: 8px; border-radius: 50%; }
.h2h-row-header { background: var(--bg-surface); padding: 0.8rem 1rem; font-size: 0.78rem; font-weight: 500; color: var(--text-secondary); display: flex; align-items: center; gap: 0.6rem; }
.h2h-row-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.h2h-cell { background: #fff; padding: 0.8rem 0.5rem; text-align: center; transition: background 0.2s; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; }
.h2h-cell:hover { background: var(--bg-card-hover); }
.h2h-cell.self { background: rgba(0,0,0,0.02); color: var(--text-muted); font-size: 0.7rem; }
.h2h-cell.winning { color: var(--accent2); }
.h2h-cell.losing { color: #E74C3C; }
.h2h-cell.even { color: var(--accent-light); }

/* Trend */
.trend-section { margin-top: 4rem; }
.trend-chart-container { border-radius: 16px; border: 1px solid rgba(0,0,0,0.15); background: #f2f4f7; box-shadow: 0 4px 18px rgba(0,0,0,0.10); padding: 2rem; position: relative; overflow: hidden; }
.trend-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.trend-legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--text-secondary); cursor: pointer; transition: opacity 0.3s; }
.trend-legend-item.dim { opacity: 0.25; }
.trend-legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.trend-svg { width: 100%; height: 280px; display: block; }

/* Preseason Notice */
.preseason-notice { text-align: center; padding: 3rem 2rem; border-radius: 16px; border: 1px dashed var(--border-accent); background: var(--ambient-3); margin-top: 2rem; }
.preseason-notice h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.preseason-notice p { font-size: 0.85rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.preseason-notice .date-highlight { color: var(--accent-light); font-weight: 500; font-family: 'JetBrains Mono', monospace; }

/* Demo Banner */
.demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid var(--accent2-border-25); background: var(--accent2-bg-06); margin-bottom: 2rem; }
.demo-banner-text { font-size: 0.8rem; color: var(--accent2); display: flex; align-items: center; gap: 0.5rem; }
.demo-banner-text .demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); animation: pulse 2s infinite; }
.demo-banner-toggle { padding: 0.4rem 1rem; border-radius: 999px; border: 1px solid var(--accent2-border-30); background: var(--accent2-bg-08); color: var(--accent2); font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.demo-banner-toggle:hover { background: var(--accent2-bg-15); border-color: var(--accent2); }

/* Sponsors */
.sponsors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.sponsor-card { padding: 2.5rem 2rem; border-radius: 16px; border: 1px solid var(--border-subtle); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); text-align: center; transition: all 0.4s var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; }
.sponsor-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.sponsor-card-logo { max-width: 180px; max-height: 80px; margin-bottom: 1rem; opacity: 0.9; }
.sponsor-card-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; }
.sponsor-card-tier { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.5rem; }
.sponsor-card-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.sponsor-placeholder { border-style: dashed; border-color: var(--border-accent); }
.sponsor-placeholder-icon { font-size: 2rem; margin-bottom: 0.8rem; opacity: 0.3; }
.sponsor-placeholder-text { font-size: 0.85rem; color: var(--text-muted); }
.sponsor-cta { margin-top: 3rem; padding: 2.5rem; border-radius: 16px; border: 1px solid var(--accent-border-20); background: #FFF8E1; text-align: center; }
.sponsor-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.6rem; }
.sponsor-cta p { font-size: 0.9rem; color: var(--text-secondary); max-width: 550px; margin: 0 auto 1.5rem; line-height: 1.7; }

/* Contact Form */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { padding: 0.9rem 1rem; border-radius: 10px; border: 1px solid var(--border-subtle); background: #fff; color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 0.9rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-border-35); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: #fff; color: var(--text-primary); }
.form-submit { align-self: flex-start; padding: 0.9rem 2.2rem; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.3s var(--transition); }
.form-submit:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }
.contact-sidebar { padding: 2rem; border-radius: 16px; background: #1A6FEF; box-shadow: 0 4px 18px rgba(0,0,0,0.10); align-self: flex-start; }
.contact-sidebar-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.contact-sidebar-item { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.contact-sidebar-item:last-child { border-bottom: none; }
.contact-sidebar-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.2rem; }
.contact-sidebar-value { font-size: 0.88rem; color: rgba(255,255,255,0.95); }
.contact-sidebar-value a { color: var(--accent); text-decoration: none; }
.contact-sidebar-value a:hover { text-decoration: underline; }

/* Footer */
.footer { position: relative; z-index: 2; text-align: center; padding: 3rem 2rem 2rem; background: #111111; color: rgba(255,255,255,0.7); }
.footer p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer .heart { color: var(--accent); }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; }
.footer-links a { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--transition), transform 0.8s var(--transition); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 0.5rem 1.2rem; height: 48px; }
  .nav-brand { margin-left: -0.5rem; }
  .nav-logo { height: 80px; }
  .nav-hamburger { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); flex-direction: column; gap: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 0.5rem 0; min-width: 180px; box-shadow: 0 12px 32px rgba(0,0,0,0.12); list-style: none; }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 0.75rem 1.4rem; font-size: 0.78rem; color: #333; }
  .nav-links a:hover { color: #1A6FEF; }
  .nav-links a::after { display: none; }
  .section { padding: 3rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 2rem; }
  .hero-headline { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .hero-copy { font-size: 0.95rem; }
  .countdown-grid { gap: 0.5rem; }
  .countdown-unit { min-width: 60px; padding: 0.8rem 0.5rem; }
  .countdown-number { font-size: 1.4rem; }
  .countdown-text { font-size: 0.6rem; }
  .countdown-match-info { font-size: 0.78rem; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .teams-expanded { flex-direction: column; }
  .events-cards { grid-template-columns: repeat(2, 1fr); }
  .league-info-grid { grid-template-columns: 1fr 1fr; }
  .info-card { padding: 1.2rem; }
  .info-card-value { font-size: 1.1rem; }
  .info-card-detail { font-size: 0.78rem; }
  .standings-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .standings-table { font-size: 0.78rem; min-width: 600px; }
  .h2h-grid { grid-template-columns: 100px repeat(5, 1fr); }
  .h2h-row-header { font-size: 0.65rem; padding: 0.6rem; }
  .h2h-section, .trend-section { overflow-x: auto; }
  .deadline-banner { flex-direction: column; text-align: center; }
  .deadline-banner-date { margin-left: 0; }
  .trend-chart-container { padding: 1.2rem; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { padding: 8rem 1rem 1.5rem; }
  .nav-logo { height: 65px; }
  .hero-slogan { font-size: 0.9rem; }
  .hero-copy { font-size: 0.88rem; }
  .hero-cta { font-size: 0.78rem; padding: 0.8rem 1.8rem; }
  .countdown-container { margin-top: 1.5rem; }
  .countdown-unit { min-width: 55px; padding: 0.7rem 0.4rem; }
  .countdown-number { font-size: 1.2rem; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .team-card { padding: 1.2rem 1rem; }
  .team-card-name { font-size: 1rem; }
  .events-cards { grid-template-columns: 1fr; }
  .event-card { padding: 1.5rem 1.2rem; }
  .league-info-grid { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-desc { font-size: 0.85rem; }
  .trend-chart-container { padding: 0.8rem; }
  .trend-legend { gap: 0.6rem; }
  .trend-legend-item { font-size: 0.65rem; }
  .footer { padding: 2rem 1rem 1.5rem; }
  .footer-links { gap: 1rem; }
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .nav-logo { height: 55px; }
  .countdown-grid { flex-wrap: wrap; justify-content: center; }
  .countdown-unit { min-width: 65px; }
  .teams-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .team-card { padding: 1rem 0.8rem; }
  .team-card-name { font-size: 0.9rem; }
  .founders-grid { grid-template-columns: 1fr; }
}
