/* =========================================================
   YOKAI ESPORTS — Global Stylesheet
   Theme: dark red & black, Japanese-folklore inspired
   Shared across every page — loaded once per HTML file via
   <link rel="stylesheet" href="css/style.css">
   ========================================================= */

/* Design tokens (CSS custom properties). Centralising colours/fonts/
   spacing here means the whole theme can be retinted by editing
   this one block instead of hunting through every rule below. */
:root {
  /* Palette: near-black surfaces, from darkest (950) to lightest (600) */
  --c-black-950: #07070a;
  --c-black-900: #0c0c10;
  --c-black-800: #131318;
  --c-black-700: #1b1b21;
  --c-black-600: #26262e;
  --c-line: #2b2b32; /* default border/divider colour on dark surfaces */

  /* Palette: blood-red accents, from darkest (900) to brightest (glow) */
  --c-red-900: #3a0509;
  --c-red-800: #5c0810;
  --c-red-700: #7d0e17;
  --c-red-600: #9e1420;
  --c-red-500: #c4202c;
  --c-red-400: #e63946;
  --c-red-glow: #ff3b4a;

  /* Text colours: primary, secondary (dimmed), and tertiary (faint/meta) */
  --c-text: #ece7e4;
  --c-text-dim: #a89f9c;
  --c-text-faint: #6f6a68;

  /* Fonts: a Japanese-style serif for headings, a clean sans for body copy */
  --font-display: "Shippori Mincho", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;       /* shared corner radius for cards/buttons/inputs */
  --container: 1180px; /* max width of the centred page content */

  --shadow-glow: 0 0 24px rgba(196, 32, 44, 0.25); /* red text/element glow */
}

/* ---------- Reset ---------- */
/* Minimal reset: normalise box-sizing and strip default browser styling
   from links/lists so every component below starts from a clean slate. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; } /* smooth-scrolls for in-page anchor links */
body {
  margin: 0;
  background: var(--c-black-950);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
p { margin: 0 0 1em; color: var(--c-text-dim); }
/* Standard centred content wrapper used inside every section/header/footer */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background texture ---------- */
/* Fixed radial-gradient "glow" behind the whole page, layered on top of
   the flat --c-black-950 background set above. Fixed attachment keeps
   the glow anchored to the viewport rather than scrolling with content. */
body {
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(124, 14, 23, 0.28), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(124, 14, 23, 0.14), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ---------- Utility ---------- */
/* Small red uppercase label used above section headings, e.g. "Latest" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red-400);
  margin-bottom: 14px;
}
.eyebrow::before { /* short red tick mark to the left of the label text */
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-red-500);
}
/* Generic vertical section wrapper — every full-width page block sits
   inside one of these for consistent top/bottom spacing and a divider line. */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--c-line);
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.text-dim { color: var(--c-text-dim); }
/* Italic helper text flagging placeholder/instructional copy to the client,
   e.g. "Replace each row above with real fixtures." */
.placeholder-note {
  display: block;
  font-size: 0.82rem;
  color: var(--c-text-faint);
  font-style: italic;
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
/* Solid red gradient CTA button (primary actions like "Get In Touch") */
.btn-primary {
  background: linear-gradient(135deg, var(--c-red-600), var(--c-red-800));
  color: #fff;
  box-shadow: 0 4px 18px rgba(196, 32, 44, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(196, 32, 44, 0.5); }
/* Transparent outlined button (secondary actions like "Learn More") */
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-line);
}
.btn-ghost:hover { border-color: var(--c-red-500); color: var(--c-red-400); }

/* ---------- Header / Nav ---------- */
/* Sticky top bar: stays pinned while scrolling, with a translucent
   blurred background so page content is visible faintly behind it. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
/* Logo lockup: brand mark image (already contains the "YOKAI" wordmark)
   + small "Esports" subtitle. The source file lives at assets/yokaiLogo.png. */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 6px; /* soften the square logo tile's corners */
  object-fit: cover;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}

/* Desktop nav links — hidden below 900px in favour of the mobile drawer */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--c-text); }
/* Animated underline that grows in on hover / on the active page link */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-red-500);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
/* .active is applied by js/main.js based on the current page URL */
.nav-links a.active { color: var(--c-red-400); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
/* Hamburger icon — only shown on mobile (see the responsive section below) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--c-text); }

/* ---------- Hero ---------- */
/* Large intro banner at the top of index.html only */
.hero {
  position: relative;
  padding: 140px 0 110px;
  overflow: hidden; /* clips the oversized kanji character below */
  border-bottom: 1px solid var(--c-line);
}
/* Soft red glow centred behind the hero headline */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 460px at 50% 0%, rgba(196, 32, 44, 0.22), transparent 65%);
  pointer-events: none;
}
/* Oversized faint "妖怪" (yokai) kanji watermark in the hero background */
.hero-kanji {
  position: absolute;
  right: -40px;
  top: -60px;
  font-family: var(--font-display);
  font-size: 340px;
  color: rgba(196, 32, 44, 0.06);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}
.hero-content { position: relative; max-width: 720px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 22px;
}
.hero h1 em { /* used to highlight part of the headline in red, e.g. "like the folklore" */
  font-style: normal;
  color: var(--c-red-500);
  text-shadow: var(--shadow-glow);
}
.hero-lede { font-size: 1.1rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* Four-column stat row along the bottom of the hero (rosters, titles, etc.) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--c-line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-red-400);
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}

/* ---------- Page header (inner pages) ---------- */
/* Smaller version of the hero used at the top of every non-home page
   (About, Teams, Schedule, News, Sponsors, Contact) with a breadcrumb. */
.page-header {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 380px at 15% 0%, rgba(196,32,44,0.18), transparent 65%);
  pointer-events: none;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-header .lede { max-width: 620px; font-size: 1.05rem; }
/* "Home / Current Page" trail at the top of each inner page */
.breadcrumb {
  font-size: 0.78rem;
  color: var(--c-text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.breadcrumb .sep { margin: 0 8px; color: var(--c-red-700); }
.breadcrumb .current { color: var(--c-red-400); }

/* ---------- Cards ---------- */
/* Generic responsive card grid — reused for "What We're Building",
   "Featured Teams" and other simple info-card sections. auto-fit +
   minmax lets columns collapse gracefully on smaller screens. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: linear-gradient(180deg, var(--c-black-800), var(--c-black-900));
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--c-red-700); transform: translateY(-4px); }
.card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--c-red-700);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-red-400);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ---------- Team roster cards ---------- */
/* Player/staff card grid used on teams.html (and leadership on about.html) */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.player-card {
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.player-card:hover { border-color: var(--c-red-700); transform: translateY(-4px); }
/* Placeholder headshot block — swap for an <img> once real photos exist */
.player-photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, var(--c-black-700), var(--c-black-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid var(--c-line);
}
.player-body { padding: 20px; }
.player-role {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-red-400);
  margin-bottom: 6px;
}
.player-name { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.player-bio { font-size: 0.88rem; margin-bottom: 0; }

/* One "division-block" = one game's roster section on teams.html
   (heading + description + its own roster-grid of player cards) */
.division-block { margin-bottom: 84px; }
.division-block:last-child { margin-bottom: 0; }
.division-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.division-title h2 { margin-bottom: 0; }
.division-title .game-tag { /* small pill next to the game name, e.g. "NA · Tier 2" */
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  border: 1px solid var(--c-line);
  padding: 4px 10px;
  border-radius: 999px;
}
.division-desc { max-width: 640px; margin-bottom: 32px; }

/* ---------- Schedule table ---------- */
/* Filter pills at the top of schedule.html. js/main.js toggles the
   "active" class and shows/hides .match-row elements by data-game. */
.schedule-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  cursor: pointer;
  background: transparent;
}
.filter-chip.active { border-color: var(--c-red-600); color: var(--c-red-400); background: rgba(196,32,44,0.08); }

.match-list { display: flex; flex-direction: column; gap: 14px; }
/* One row per fixture: date | matchup | tournament meta | status pill.
   Column widths are fixed for date/status so rows stay aligned. */
.match-row {
  display: grid;
  grid-template-columns: 100px 1fr auto 140px;
  align-items: center;
  gap: 20px;
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.match-date {
  font-family: var(--font-display);
  color: var(--c-red-400);
  font-size: 0.9rem;
  line-height: 1.3;
}
.match-date small { display: block; color: var(--c-text-faint); font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.08em; }
.match-teams { display: flex; align-items: center; gap: 14px; font-weight: 600; flex-wrap: wrap; }
.match-teams .vs { color: var(--c-text-faint); font-size: 0.8rem; }
.match-meta { font-size: 0.78rem; color: var(--c-text-faint); text-align: right; }
.match-status {
  justify-self: end;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  color: var(--c-text-faint);
  white-space: nowrap;
}
/* Red "Live" badge — apply the .live modifier only to the current match */
.match-status.live { color: #fff; background: var(--c-red-600); border-color: var(--c-red-600); }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.news-card:hover { border-color: var(--c-red-700); transform: translateY(-4px); }
/* Placeholder cover-image block — swap for an <img> once articles have art */
.news-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--c-black-700), var(--c-black-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-faint);
  font-size: 0.78rem;
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--c-line);
}
.news-body { padding: 22px; }
.news-tag {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red-400);
  margin-bottom: 10px;
  display: block;
}
.news-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.news-meta { font-size: 0.76rem; color: var(--c-text-faint); margin-top: 14px; }

/* ---------- Sponsors ---------- */
/* One "tier-block" = one sponsorship tier (e.g. Title Partner, Official
   Partners) on sponsors.html, each with its own row of logo tiles. */
.tier-block { margin-bottom: 64px; }
.tier-block:last-child { margin-bottom: 0; }
.tier-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.tier-label h3 { margin: 0; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-red-400); }
.tier-label::after { content: ""; flex: 1; height: 1px; background: var(--c-line); } /* rule line after the tier name */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
/* Placeholder logo tile — swap for an <img> once partner logos are supplied */
.sponsor-logo {
  aspect-ratio: 16/9;
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-faint);
  font-size: 0.78rem;
  text-align: center;
  padding: 16px;
}

/* ---------- Values / About ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
/* Vertical milestone timeline on about.html: a left rule line with a
   glowing red dot marking each .timeline-item along it. */
.timeline { border-left: 1px solid var(--c-line); padding-left: 32px; display: flex; flex-direction: column; gap: 40px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px; top: 4px;
  width: 11px; height: 11px;
  background: var(--c-red-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--c-black-950), 0 0 10px rgba(196,32,44,0.6);
}
.timeline-date { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-red-400); margin-bottom: 6px; }

/* ---------- Contact ---------- */
/* Two-column layout on contact.html: form on the left, info cards + socials
   on the right. Collapses to one column on tablet/mobile (see responsive). */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-red-600);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-info-card {
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}
.contact-info-card h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red-400);
  margin-bottom: 10px;
}
/* Row of circular social icon links — reused in the contact sidebar and footer */
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-dim);
  overflow: hidden; /* clip platform-logo images to the tile's rounded corners */
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social-row a:hover { border-color: var(--c-red-600); color: var(--c-red-400); }
/* Platform logo images (Instagram/Twitch/X) fill the tile edge-to-edge.
   Networks without a supplied logo asset (YouTube, Discord) keep the
   plain bracketed text label until an icon is provided. */
.social-row a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CTA band ---------- */
/* Full-bleed red-tinted banner used to prompt an action near the bottom
   of a page (e.g. "Follow the hunt", "Tryouts & Recruitment"). */
.cta-band {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--c-black-900), var(--c-red-900) 220%);
  border-bottom: 1px solid var(--c-line);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-band p { max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
/* Site-wide footer: brand blurb + socials, then three link columns,
   then a bottom bar with copyright and legal links. */
.site-footer {
  padding: 70px 0 30px;
  background: var(--c-black-950);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--c-line);
}
.footer-brand p { max-width: 280px; font-size: 0.88rem; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; color: var(--c-text-dim); }
.footer-col a:hover { color: var(--c-red-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.78rem;
  color: var(--c-text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Reveal-on-scroll ---------- */
/* Elements start faded/shifted down; js/main.js adds .in via an
   IntersectionObserver once they scroll into view, triggering the
   opacity/transform transition below. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
/* Tablet breakpoint: swap desktop nav for the hamburger toggle, and
   collapse multi-column grids to fewer columns. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Phone breakpoint: reduce section padding and stack the schedule rows */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .match-row { grid-template-columns: 1fr; text-align: left; }
  .match-status { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile nav drawer ---------- */
/* Applied to .nav-links by js/main.js when the hamburger button is
   tapped, turning the (otherwise hidden) nav list into a dropdown panel. */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 78px;
  left: 0; right: 0;
  background: var(--c-black-900);
  border-bottom: 1px solid var(--c-line);
  padding: 24px;
  gap: 20px;
}
