/* ══════════════════════════════════════════════════════════
   CLARENCE SNOOKER CLUB – styles.css
   Mobile-first, no frameworks, plain CSS custom properties
   ══════════════════════════════════════════════════════════ */

/* ── Custom Properties ────────────────────────────────── */
:root {
  --bg:          #09100e;
  --bg-mid:      #0f1a16;
  --bg-card:     #121e19;
  --gold:        #c9a227;
  --gold-dim:    rgba(201, 162, 39, 0.16);
  --gold-bdr:    rgba(201, 162, 39, 0.22);
  --gold-hi:     #ddb83e;
  --red:         #c41a1a;
  --red-hi:      #a51212;
  --white:       #f0ede5;
  --off:         #b8b4ac;
  --muted:       #8c8880;
  --header-h:    128px;
  --max-w:       1160px;
  --r:           3px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── Utilities ────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4.5vw, 2rem);
}

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(9, 16, 14, 0.96);
  border-bottom: 1px solid var(--gold-bdr);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
  line-height: 1;
}
.brand-badge  { width: 106px; height: 106px; object-fit: contain; }
.brand-text   { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--off);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Navigation */
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0.125rem; }
.main-nav a {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--off);
  border-radius: var(--r);
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] {
  color: var(--gold);
  background: var(--gold-dim);
}
.main-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.yt-icon-link {
  display: flex;
  align-items: center;
  padding: 0.3rem;
  color: var(--off);
  border-radius: var(--r);
  transition: color 0.18s;
}
.yt-icon-link:hover { color: #ff4040; }
.yt-icon-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px 5px;
  border-radius: var(--r);
}
.hb-line {
  display: block;
  height: 2px;
  background: var(--off);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.hamburger[aria-expanded="true"] .hb-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hb-line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hb-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ══════════════════════════════════════════════════════════
   HERO – NEXT LIVE MATCH
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Atmospheric snooker-table background – pure CSS */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* Strong left-side overlay keeps text legible; opens up in the mid-right */
    linear-gradient(100deg,
      rgba(8, 14, 11, 0.97) 0%,
      rgba(8, 14, 11, 0.88) 30%,
      rgba(8, 14, 11, 0.38) 55%,
      rgba(8, 14, 11, 0.60) 100%),
    /* Richer, more vivid baize glow grounding the player figure */
    radial-gradient(ellipse 76% 102% at 72% 60%,
      #1b6030 0%,
      #0f3c1e 36%,
      #08140c 74%);
}

/* Top/bottom vignette – suggests the ceiling and the area below the table */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(4, 8, 5, 0.24) 0%,
    transparent 15%,
    transparent 66%,
    rgba(4, 8, 5, 0.34) 100%);
}

/* Overhead table lamp and horizontal baize surface bloom */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Warm, focused overhead-lamp spot at player level */
    radial-gradient(ellipse 30% 38% at 72% 43%,
      rgba(252, 246, 210, 0.09) 0%,
      rgba(200, 238, 200, 0.04) 40%,
      transparent 68%),
    /* Horizontal bloom suggesting the green baize table surface */
    linear-gradient(180deg,
      transparent 30%,
      rgba(16, 58, 24, 0.15) 50%,
      rgba(10, 42, 16, 0.10) 63%,
      transparent 82%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vh, 7rem);
  padding-left:  clamp(1.5rem, 5vw, 3rem);
  padding-right: clamp(0.75rem, 2.5vw, 1.25rem);
}

/* Snooker player silhouette – right-side hero figure */
.hero-player {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 94%;
  z-index: 0;
  pointer-events: none;
  /* Fade the figure in from the left so text area stays clean */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 22%,
    rgba(0, 0, 0, 0.85) 52%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 22%,
    rgba(0, 0, 0, 0.85) 52%,
    black 100%
  );
}
.player-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

/* Label row */
.hero-label-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.625rem;
  background: var(--red);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  border-radius: 2px;
  text-transform: uppercase;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: livepulse 1.5s ease-in-out infinite;
}
@keyframes livepulse { 0%,100%{opacity:1} 50%{opacity:0.2} }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.next-match-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Player names */
.hero-players {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.player-block { display: flex; flex-direction: column; line-height: 0.95; }
.player-first {
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--off);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.player-last {
  font-size: clamp(3.2rem, 9.5vw, 7rem);
  font-weight: 900;
  font-family: 'Arial Black', 'Arial', sans-serif;
  color: var(--white);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 0.88;
}
.hero-vs {
  display: block;
  font-size: clamp(0.8rem, 1.8vw, 1.0625rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-block: 0.55rem;
}

/* Meta row */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0;
  margin-bottom: 2.25rem;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--off);
}
.meta-chip svg { color: var(--gold); flex-shrink: 0; }
.meta-sep {
  color: var(--gold-bdr);
  padding-inline: 0.625rem;
  font-size: 0.875rem;
}

/* ── Flip-clock countdown ────────────────────────────────── */
.hero-countdown {
  margin-top: -1rem;
  margin-bottom: 1.25rem;
  transform: translateX(-2rem);
}

/* "STREAM STARTS IN" – centred heading */
.countdown-heading {
  margin: 0 auto 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  text-align: center;
}

/* Four-tile row */
.countdown-tiles {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Tile wrapper */
.flip-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
  max-width: 145px;
}

/* Hinge details – small, centred on each card's left/right edge; do NOT span the gap */
.flip-tile::before,
.flip-tile::after {
  content: '';
  position: absolute;
  top: 79px;   /* (165px card ÷ 2) − (8px rivet ÷ 2) = 79px */
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 35% 28%, #2c2820, #0c0a07);
  border: 1px solid #1a1612;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 1px 3px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.03);
}
.flip-tile::before { left:  -4px; }
.flip-tile::after  { right: -4px; }

/* Mechanical card face – chunky portrait proportions */
.flip-tile__card {
  position: relative;
  width: 100%;
  height: 165px;
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid #252018;
  background: linear-gradient(180deg,
    #111008 0%,
    #0d0b09 46%,
    #050403 50%,
    #1a1712 54%,
    #131109 100%
  );
  box-shadow:
    0 14px 44px rgba(0,0,0,0.95),
    0 4px 14px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -2px 8px rgba(0,0,0,0.5);
}

/* Upper flap – noticeably darker than lower to read as two separate panels */
.flip-tile__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 50%;
  background: rgba(0,0,0,0.26);
  pointer-events: none;
  z-index: 1;
}

/* Centre split – strong dark physical gap between the two flap panels */
.flip-tile__card::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background: linear-gradient(to bottom, #080604 0%, #010100 50%, #080604 100%);
  z-index: 2;
}

/* Gold digit – brighter warm gold, no spread glow */
.flip-tile__val {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  font-family: 'Arial Black', Arial, sans-serif;
  color: #d4a828;
  letter-spacing: 0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 0;
  text-shadow: 0 2px 0 rgba(0,0,0,0.7);
}

/* Labels: DAYS / HRS / MIN / SEC */
.flip-tile__lbl {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c8c0a8;
}

/* Digit sweeps in from the fold (upper flap falling down) */
@keyframes cdFlipIn {
  from {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0.2;
  }
  to {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}
.flip-tile.is-flipping .flip-tile__val {
  animation: cdFlipIn 0.22s ease-out;
  transform-origin: 50% 0%;
}
@media (prefers-reduced-motion: reduce) {
  .flip-tile.is-flipping .flip-tile__val { animation: none; }
}

/* LIVE NOW / STARTING SHORTLY */
.countdown-status {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

/* Compact tiles on narrow viewports – cancel the desktop leftward shift.
   Cards are capped at 72px so all 4 stay in one row from 360px up to 430px+;
   flex-basis:0 + min-width:0 let them shrink further on anything narrower
   instead of overflowing or forcing a 2×2 wrap. */
@media (max-width: 480px) {
  .hero-countdown   { transform: none; margin-top: 0; }
  .countdown-tiles  { gap: 0.5rem; }
  .flip-tile        { flex: 1 1 0; max-width: 72px; min-width: 0; }
  .flip-tile__card  { height: 84px; border-radius: 4px; }
  .flip-tile__val   { font-size: clamp(1.375rem, 7vw, 1.75rem); }
  .flip-tile__lbl   { font-size: 0.625rem; letter-spacing: 0.16em; }
  .flip-tile::before,
  .flip-tile::after { top: 39.5px; width: 5px; height: 5px; }
  .flip-tile::before { left:  -2.5px; }
  .flip-tile::after  { right: -2.5px; }
}

/* 2×2 grid – only as a last resort on genuinely extreme widths where even
   shrunk tiles can't fit; not reached by any real phone (360px and up stay
   single-row via the rule above). */
@media (max-width: 280px) {
  .countdown-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .flip-tile        { max-width: none; }
}

/* Watch / CTA button */
.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: background 0.18s, transform 0.15s;
}
.watch-btn:hover { background: var(--red-hi); transform: translateY(-1px); }
.watch-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.watch-btn--sm {
  padding: 0.7rem 1.375rem;
  font-size: 0.775rem;
}

/* ══════════════════════════════════════════════════════════
   MID BAND  –  Upcoming Matches + Singles League
   ══════════════════════════════════════════════════════════ */
.mid-band {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--bg-mid);
  border-top: 1px solid var(--gold-bdr);
  border-bottom: 1px solid var(--gold-bdr);
}
.mid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
}

/* Shared section head */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.125rem;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.crown { font-size: 0.85rem; line-height: 1; }
.view-link {
  font-size: 0.675rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-bdr);
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}
.view-link:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.view-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Match cards */
.match-list { display: flex; flex-direction: column; gap: 0.625rem; }
.match-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-radius: var(--r);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  transition: border-color 0.18s;
}
.match-card:hover { border-color: rgba(201, 162, 39, 0.52); }
.match-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 34px;
  flex-shrink: 0;
  line-height: 1;
}
.mday   { font-size: 1.625rem; font-weight: 700; color: var(--gold); }
.mmonth {
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.match-body  { display: flex; flex-direction: column; gap: 0.2rem; }
.match-players { font-size: 0.9375rem; font-weight: 600; color: var(--white); }
.match-meta    { font-size: 0.72rem; color: var(--muted); }

/* League leader card */
.leader-card {
  padding: 1.375rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}
.leader-eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.875rem;
}
.leader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.leader-info { display: flex; flex-direction: column; gap: 0.3rem; }
.leader-name   { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.leader-record { font-size: 0.75rem; color: var(--muted); }
.leader-pts    { display: flex; align-items: baseline; gap: 0.2rem; }
.pts-num {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Arial Black', Arial, sans-serif;
  color: var(--gold);
  line-height: 1;
}
.pts-lbl {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   YOUTUBE SECTION
   ══════════════════════════════════════════════════════════ */
.yt-section { padding-block: clamp(2.5rem, 6vw, 4rem); }

.yt-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.38);
}

/* Thumbnail */
.yt-thumb-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a1810;
}
.yt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.yt-thumb-wrap:hover .yt-thumb-img { transform: scale(1.03); }

/* Play button overlay */
.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.18s;
}
.yt-thumb-wrap:hover .yt-play { background: rgba(0, 0, 0, 0.08); }
.yt-play svg {
  width: 60px;
  height: 60px;
  background: rgba(196, 26, 26, 0.88);
  border-radius: 50%;
  padding: 12px;
  color: #fff;
  transition: background 0.18s, transform 0.15s;
  overflow: visible;
}
.yt-thumb-wrap:hover .yt-play svg {
  background: var(--red);
  transform: scale(1.08);
}
.yt-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* Info panel */
.yt-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem;
}
.yt-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.yt-title  { font-size: 1.375rem; font-weight: 700; color: var(--white); }
.yt-date   { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.375rem; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--gold-bdr);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold-bdr);
}
.footer-brand { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; }
.footer-badge  { width: 78px; height: 78px; object-fit: contain; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-sub {
  font-size: 0.565rem;
  color: var(--off);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.75;
  margin-top: 0.25rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-col-head {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer-col address,
.footer-col .footer-email { font-size: 0.8125rem; color: var(--off); line-height: 1.8; }
.footer-email a { transition: color 0.18s; }
.footer-email a:hover { color: var(--gold); }

.hours { display: flex; flex-direction: column; gap: 0.3rem; }
.hours-row { display: flex; gap: 0.5rem; font-size: 0.8125rem; }
.hours-row dt { color: var(--muted); min-width: 68px; }
.hours-row dd { color: var(--off); }

.footer-socials { display: flex; gap: 0.625rem; margin-top: 0.875rem; }
.footer-socials a {
  display: flex;
  align-items: center;
  color: var(--muted);
  padding: 0.25rem;
  border-radius: var(--r);
  transition: color 0.18s;
}
.footer-socials a:hover { color: var(--gold); }
.footer-socials a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-bdr);
}
.footer-copy { font-size: 0.75rem; color: var(--muted); }
.footer-nav  { display: flex; gap: 1.25rem; }
.footer-nav a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ══════════════════════════════════════════════════════════
   INTERNAL PAGES  –  Club / Matches / League
   Shared, lightweight header banner + content-card patterns used by the
   secondary pages. Mobile-first; the homepage hero/countdown are untouched.
   ══════════════════════════════════════════════════════════ */
.page-header {
  padding-block: clamp(2.5rem, 8vw, 4.5rem);
  background: var(--bg-mid);
  border-bottom: 1px solid var(--gold-bdr);
  text-align: center;
}
.page-eyebrow {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.page-title {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 900;
  font-family: 'Arial Black', Arial, sans-serif;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 0.875rem;
}
.page-intro {
  font-size: 0.9375rem;
  color: var(--off);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.75;
}

.page-section { padding-block: clamp(2.5rem, 6vw, 4rem); }

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.info-card {
  padding: 1.375rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-radius: var(--r);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}
.info-card-head {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Address / phone / email rows — full row is the tap target on links */
.contact-rows { display: flex; flex-direction: column; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.625rem;
  font-size: 0.9375rem;
  color: var(--off);
  line-height: 1.5;
}
.contact-row svg { color: var(--gold); flex-shrink: 0; }
a.contact-row { transition: color 0.18s; }
a.contact-row:hover { color: var(--gold); }
a.contact-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--r); }

/* Opening hours reuse the footer's .hours / .hours-row list styling, sized up
   slightly for a primary content card rather than the compact footer. */
.info-card .hours { gap: 0.5rem; }
.info-card .hours-row { font-size: 0.9375rem; }
.info-card .hours-row dt { color: var(--muted); min-width: 96px; }
.info-card .hours-row dd { color: var(--off); }

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid var(--gold-bdr);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.btn-outline:hover { background: var(--gold-dim); border-color: var(--gold-hi); color: var(--gold-hi); }
.btn-outline:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Clearly-labelled placeholder box — never presented as real membership/facility info */
.placeholder-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--gold-bdr);
  border-radius: var(--r);
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}
.placeholder-note strong { color: var(--gold); }

/* Matches / League "coming soon" pages */
.placeholder-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.30);
  border-radius: var(--r);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  text-align: center;
}
.placeholder-card p {
  color: var(--off);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-inline: auto;
}
.placeholder-card .page-actions { justify-content: center; }
.placeholder-card strong { color: var(--gold); }

/* Simple long-form text pages (Privacy) — narrower measure for readability */
.prose-card { max-width: 640px; margin-inline: auto; }
.prose-card h2 {
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}
.prose-card h2:first-child { margin-top: 0; }
.prose-card p {
  color: var(--off);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.prose-card p + p { margin-top: 0.75rem; }

@media (min-width: 768px) {
  .info-grid { flex-direction: row; align-items: stretch; }
  .info-grid > .info-card { flex: 1; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE  –  Tablet (768px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  /* Two-column mid section */
  .mid-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
  }

  /* YouTube card becomes horizontal */
  .yt-card { flex-direction: row; }
  .yt-thumb-wrap {
    flex: 0 0 52%;
    aspect-ratio: unset;
    min-height: 240px;
  }
  .yt-info {
    flex: 1;
    justify-content: center;
    padding: 2rem 1.75rem;
  }

  /* Footer 3-column layout */
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE  –  Mobile only (< 768px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Compact header on mobile */
  :root        { --header-h: 90px; }
  .brand-badge { width: 68px; height: 68px; }
  .brand-name  { font-size: 1rem; }

  /* Show hamburger, hide brand sub-line */
  .hamburger   { display: flex; }
  .brand-sub   { display: none; }

  /* .main-nav is absolutely positioned on mobile, so its own margin-left:auto
     no longer pushes header-actions rightward — do it explicitly instead. */
  .header-actions { margin-left: auto; }

  /* Mobile nav: hidden behind header, revealed by .is-open */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 16, 14, 0.98);
    border-bottom: 1px solid var(--gold-bdr);
    display: none;
    z-index: 190;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 0.625rem 1rem 1rem;
    gap: 0;
  }
  .main-nav a {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gold-bdr);
  }
  .main-nav ul li:last-child a { border-bottom: none; }

  /* Hero */
  .hero { min-height: auto; }
  .watch-btn, .btn-outline { width: 100%; justify-content: center; }
  .page-actions { flex-direction: column; }

  /* Player: cropped accent in lower-right – smaller, faded, behind text (z-index: 0).
     Text and CTA are z-index: 1 so they are never obscured.
     Diagonal mask keeps the upper-left (text area) clean;
     lower-right corner is most visible for atmospheric depth. */
  .hero-player {
    width: 60%;
    height: 52%;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(
      135deg,
      transparent 0%,
      rgba(0, 0, 0, 0.38) 26%,
      rgba(0, 0, 0, 0.78) 60%,
      rgba(0, 0, 0, 0.90) 100%
    );
    mask-image: linear-gradient(
      135deg,
      transparent 0%,
      rgba(0, 0, 0, 0.38) 26%,
      rgba(0, 0, 0, 0.78) 60%,
      rgba(0, 0, 0, 0.90) 100%
    );
  }

  /* Footer top stacks brand + tagline vertically */
  .footer-top { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE  –  Desktop (1024px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero { min-height: 80vh; }
  .yt-thumb-wrap { flex: 0 0 50%; min-height: 280px; }
}
