/* =========================================================
   DIỄN ĐÀN TENNIS TRINH LIOA — Main Stylesheet (v12)
   Tennis court bright green theme · Linen oat cards · 2026
   ========================================================= */

:root {
  /* FRAME */
  --page: #2D8559;
  --page-deep: #226B45;
  --page-bright: #3FA572;

  /* BODY — fresh tennis court */
  --body: #4AB47A;
  --body-deep: #339862;
  --body-light: #65C892;

  /* PAPER — linen oat cards */
  --paper: #F2EDDD;
  --paper-soft: #E8E1CB;
  --paper-deep: #D8D0B5;
  --line-paper: #C9C0A0;

  /* INK */
  --ink: #0A1810;
  --ink-soft: #2F3A30;
  --muted: #7E8576;

  /* ACCENTS */
  --tennis: #E5FF44;
  --tennis-deep: #C8E62F;
  --red: #FF3B19;
  --red-deep: #D62D0F;
  --gold: #FFB800;
  --success: #19A876;
  --danger: #E5484D;

  /* Court lines */
  --line-court: rgba(255, 255, 255, 0.32);
  --line-court-soft: rgba(255, 255, 255, 0.16);

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(15, 60, 35, 0.04), 0 8px 24px rgba(15, 60, 35, 0.10);
  --shadow-soft-hover: 0 4px 8px rgba(15, 60, 35, 0.06), 0 20px 44px rgba(15, 60, 35, 0.18);
  --shadow-soft-lg: 0 4px 12px rgba(15, 60, 35, 0.08), 0 24px 56px rgba(15, 60, 35, 0.16);
  --shadow-soft-lg-hover: 0 8px 16px rgba(15, 60, 35, 0.1), 0 32px 72px rgba(15, 60, 35, 0.22);
  --card-border: 1px solid rgba(15, 60, 35, 0.08);

  --maxw: 1340px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--tennis); color: var(--ink); }

/* ANIMATIONS */
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scroll-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes bounce-ball {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* MARQUEE */
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex; white-space: nowrap;
  animation: scroll var(--speed, 50s) linear infinite;
  width: max-content;
}
.marquee.reverse .marquee-track { animation-name: scroll-rev; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* TOP TICKER */
.top-ticker {
  background: var(--page-deep);
  color: var(--tennis);
  padding: 11px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(229,255,68,0.18);
}
.top-ticker .marquee-track { gap: 48px; }
.top-ticker .marquee-track > span {
  display: inline-flex; align-items: center; gap: 14px;
}
.top-ticker .live-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.top-ticker .star { color: var(--red); font-size: 10px; }
.top-ticker em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: white;
  margin: 0 4px;
}

/* BODY CARD */
.body-card {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--body);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 0 80px rgba(0,0,0,0.25);
}
.body-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent calc(100vh - 1px), var(--line-court-soft) calc(100vh - 1px), var(--line-court-soft) 100vh, transparent 100vh),
    linear-gradient(90deg, transparent 49.7%, var(--line-court-soft) 49.7%, var(--line-court-soft) 50.3%, transparent 50.3%),
    radial-gradient(ellipse at 25% 30%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 75% 65%, rgba(0,0,0,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.body-card > * { position: relative; z-index: 1; }
.wrap { padding: 0 56px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* HEADER + NAV */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  background: var(--tennis);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: all .25s ease;
}
.brand:hover .brand-mark { transform: rotate(-15deg); box-shadow: 5px 5px 0 var(--ink); }
.brand-mark::before, .brand-mark::after {
  content: '';
  position: absolute;
  width: 28px; height: 1.5px;
  background: rgba(255,255,255,0.7);
  top: 50%; left: 50%;
  transform-origin: center;
}
.brand-mark::before { transform: translate(-50%, -50%) rotate(40deg); }
.brand-mark::after { transform: translate(-50%, -50%) rotate(-40deg); }
.brand-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
  font-variation-settings: 'opsz' 96;
}
.brand-text small {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 252, 234, 0.8);
  margin-top: 4px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 6px 0;
  transition: color .15s;
}
.nav-links a:hover { color: var(--tennis); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2.5px;
  background: var(--tennis);
  transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--tennis); font-weight: 600; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--tennis);
  border: 2px solid var(--ink);
  border-radius: 8px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  position: relative;
  width: 18px; height: 2px;
  background: var(--ink);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: '';
  position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  background: var(--ink);
  z-index: 1000;
  padding: 80px 24px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--tennis);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--paper);
  border-radius: 8px;
  transition: all .15s;
}
.mobile-menu a:hover, .mobile-menu a.active {
  background: rgba(229, 255, 68, 0.15);
  color: var(--tennis);
}
.mobile-menu .btn { width: 100%; margin-bottom: 10px; justify-content: center; }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(10,24,16,0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 100px;
  border: 1.5px solid var(--paper);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-tennis {
  background: var(--tennis);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-tennis:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--tennis);
  color: var(--ink);
}
.btn-ink {
  background: var(--ink);
  color: var(--tennis);
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--red); border-color: var(--red); color: white; }
.btn-paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-paper:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: var(--paper); }
.btn-danger {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.btn-danger:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-lg { padding: 14px 26px; font-size: 14px; }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* HERO */
.hero {
  padding: 70px 0 80px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: end;
}
.hero-ball {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--tennis);
  border: 2px solid var(--ink);
  top: 100px; right: 380px;
  z-index: 5;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 12px 32px rgba(229,255,68,0.5),
              inset -12px -12px 24px rgba(0,0,0,0.18);
}
.hero-ball::before, .hero-ball::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  inset: -2px;
}
.hero-ball::before {
  border-color: transparent transparent rgba(255,255,255,0.85) transparent;
  transform: rotate(45deg);
}
.hero-ball::after {
  border-color: transparent rgba(255,255,255,0.5) transparent transparent;
  transform: rotate(-45deg);
}
@media (max-width: 1100px) { .hero-ball { display: none; } }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--tennis);
  border: 2px solid var(--ink);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-pill .live-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.hero-meta-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

h1.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--paper);
  margin-bottom: 28px;
  font-variation-settings: 'opsz' 96;
}
.hero-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
  display: inline-block;
}
.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 8px;
  height: 22px;
  background: var(--tennis);
  z-index: -1;
}
.hero-title .dot { color: var(--tennis); }

.hero-deck {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1.5px solid rgba(255,255,255,0.22);
  flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--tennis);
}
.hero-stats .stat .num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 2px;
}
.hero-stats .stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* LIVE WIDGET */
.live-widget {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft-lg);
  overflow: hidden;
}
.live-widget-head {
  background: var(--ink);
  color: var(--tennis);
  padding: 12px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.live-widget-head .live-pill {
  display: inline-flex; align-items: center; gap: 6px;
}
.live-widget-head .live-pill::before {
  content: ''; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.live-widget-head .ball-tiny {
  width: 14px; height: 14px;
  background: var(--tennis);
  border-radius: 50%;
  animation: bounce-ball 1.6s infinite;
}
.lw-match {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-paper);
}
.lw-match:last-of-type { border-bottom: 0; }
.lw-match-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.lw-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
}
.lw-player-row.winner { font-weight: 700; }
.lw-player-row.winner .name { color: var(--ink); }
.lw-player-row .name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.lw-player-row .sets {
  display: flex;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}
.lw-player-row .sets .set {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  font-size: 13px;
  color: var(--muted);
}
.lw-player-row.winner .sets .set { color: var(--ink); }
.lw-player-row.winner .sets .set.win {
  background: var(--tennis);
  border-radius: 4px;
  color: var(--ink);
}
.lw-foot {
  padding: 12px 18px;
  background: var(--paper-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
}
.lw-foot a { color: var(--red); font-weight: 700; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 56px; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat .num { font-size: 36px; }
}

/* STATS BAND */
.stats-band {
  background: var(--ink);
  color: var(--paper);
  margin: 0 -56px;
  padding: 50px 56px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.stats-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tennis) 0%, transparent 70%);
  opacity: 0.15;
}
@media (max-width: 768px) { .stats-band { margin: 0 -20px; padding: 36px 20px; } }
.sb-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.sb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tennis);
  margin-bottom: 12px;
}
.sb-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.05;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.sb-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
}
.sb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sb-stat {
  border-left: 2px solid var(--tennis);
  padding-left: 16px;
}
.sb-stat .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tennis);
}
.sb-stat .num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--paper);
  font-size: 0.55em;
  vertical-align: super;
}
.sb-stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,252,234,0.7);
  margin-top: 6px;
}
@media (max-width: 980px) {
  .sb-grid { grid-template-columns: 1fr; gap: 24px; }
  .sb-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* BANNER MARQUEE */
.banner-marquee {
  background: var(--ink);
  color: var(--paper);
  margin: 0 -56px;
  padding: 22px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
@media (max-width: 768px) { .banner-marquee { margin: 0 -20px; } }
.banner-marquee .marquee-track { gap: 0; }
.banner-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  flex-shrink: 0;
}
.banner-marquee-item em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
  text-transform: none;
}
.banner-marquee-item .star {
  color: var(--tennis);
  font-size: 16px;
  display: inline-block;
  animation: spin 8s linear infinite;
}

/* SECTION HEADER */
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tennis);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 2.5px;
  background: var(--tennis);
}
.section-head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--paper);
  font-variation-settings: 'opsz' 96;
}
.section-head h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
}
.section-head h2 .highlight {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.section-head h2 .highlight::after {
  content: '';
  position: absolute;
  left: -3px; right: -3px;
  bottom: 6px;
  height: 14px;
  background: var(--tennis);
  z-index: -1;
}

/* FEATURED MATCH */
.feature-match {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--paper);
  border: var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft-lg);
  overflow: hidden;
  transition: all .3s ease;
}
.feature-match:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-lg-hover); }
.feature-match .img {
  position: relative;
  min-height: 380px;
  background: var(--body-deep);
  border-right: 1px solid rgba(15,60,35,0.08);
}
.feature-match .img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-match .img .stamp {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--red);
  color: white;
  padding: 7px 14px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255,59,25,0.35);
}
.feature-match .img .stamp::before {
  content: ''; width: 6px; height: 6px;
  background: white; border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.feature-match .body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-match .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.feature-match h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.feature-match h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.feature-match p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 460px;
}
.feature-match .meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  margin-bottom: 22px;
}
.feature-match .meta-grid .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.feature-match .meta-grid .v {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}
.feature-match .meta-grid .v em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  font-size: 0.8em;
}
@media (max-width: 768px) {
  .feature-match { grid-template-columns: 1fr; }
  .feature-match .img { min-height: 240px; border-right: 0; border-bottom: 1px solid rgba(15,60,35,0.08); }
  .feature-match .body { padding: 28px 24px; }
}

/* RESULTS RECAP */
.results-strip {
  background: var(--paper-soft);
  margin: 0 -56px;
  padding: 56px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 768px) { .results-strip { margin: 0 -20px; padding: 40px 20px; } }
.results-strip .section-head h2 { color: var(--ink); }
.results-strip .section-head h2 em { color: var(--red); }
.results-strip .section-eyebrow { color: var(--red); }
.results-strip .section-eyebrow::before { background: var(--red); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.result-card {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
  transition: all .25s ease;
  cursor: pointer;
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-hover);
}
.result-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-paper);
}
.result-card .head .stage { color: var(--red); font-weight: 700; }
.result-card .player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.result-card .player.winner .name { font-weight: 700; color: var(--ink); }
.result-card .player.winner::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--tennis);
  border-radius: 50%;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
}
.result-card .player .name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  flex: 1;
  letter-spacing: -0.01em;
}
.result-card .player .score {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.result-card .player.winner .score { color: var(--red); }
@media (max-width: 980px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .results-grid { grid-template-columns: 1fr; } }

/* LEADERBOARD (homepage preview) */
.lb-section {
  background: var(--ink);
  color: var(--paper);
  margin: 0 -56px;
  padding: 80px 56px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 768px) { .lb-section { margin: 0 -20px; padding: 56px 20px; } }
.lb-section .section-head h2 { color: var(--paper); }
.lb-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.lb-grid .desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 252, 234, 0.8);
  margin-bottom: 22px;
  max-width: 380px;
}
.lb-grid .desc strong { color: var(--tennis); font-weight: 700; }
.lb-grid .desc em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--tennis);
  font-size: 1.1em;
}
.lb-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 252, 234, 0.18);
}
.lb-summary .stat .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--tennis);
  letter-spacing: -0.03em;
}
.lb-summary .stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 252, 234, 0.6);
  margin-top: 6px;
}
.lb-table {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229, 255, 68, 0.22);
  border-radius: 14px;
  overflow: hidden;
}
.lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 110px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 16px;
  transition: background .15s;
}
.lb-row:last-child { border-bottom: 0; }
.lb-row.head {
  background: rgba(229, 255, 68, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 252, 234, 0.65);
}
.lb-row:not(.head):hover { background: rgba(229, 255, 68, 0.06); }
.lb-rank {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--paper);
}
.lb-row.r1 .lb-rank {
  color: var(--ink);
  background: var(--tennis);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  border: 2px solid var(--ink);
}
.lb-row.r2 .lb-rank, .lb-row.r3 .lb-rank { color: var(--tennis); font-size: 28px; }
.lb-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.lb-row.r1 .lb-name {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--tennis);
  letter-spacing: 0;
}
.lb-club {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 252, 234, 0.6);
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.lb-row.r1 .lb-club { color: rgba(255, 252, 234, 0.85); }
.lb-level {
  display: inline-block;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  background: rgba(229, 255, 68, 0.14);
  color: var(--tennis);
  border: 1px solid rgba(229, 255, 68, 0.3);
  border-radius: 4px;
}
.lb-row.r1 .lb-level, .lb-row.r2 .lb-level, .lb-row.r3 .lb-level {
  background: var(--tennis); color: var(--ink); border-color: var(--tennis);
}
.lb-pts {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-align: right;
  color: var(--tennis);
}
.lb-row.r1 .lb-pts { font-size: 26px; }
.lb-cta {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(229, 255, 68, 0.22);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 252, 234, 0.55);
}
.lb-cta a {
  color: var(--tennis);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
}
.lb-cta a:hover { gap: 14px; }
@media (max-width: 980px) {
  .lb-grid { grid-template-columns: 1fr; gap: 28px; }
  .lb-row { grid-template-columns: 50px 1fr 90px; }
  .lb-row .col-hide { display: none; }
}

/* CHAMPIONS HALL */
.champs-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.champ-card {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
  position: relative;
  transition: all .25s ease;
  overflow: hidden;
}
.champ-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-hover);
}
.champ-card.featured {
  background: var(--tennis);
  padding: 32px;
  border-color: rgba(15,60,35,0.15);
}
.champ-card .trophy {
  position: absolute;
  top: 18px; right: 18px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--ink);
  opacity: 0.15;
  line-height: 1;
}
.champ-card.featured .trophy { font-size: 64px; color: var(--ink); opacity: 0.2; }
.champ-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.champ-card.featured .label { color: var(--ink); }
.champ-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}
.champ-card.featured .champ-name { font-size: 36px; }
.champ-name em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.champ-card.featured .champ-name em { color: var(--ink); }
.champ-club {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}
.champ-card.featured .champ-club { color: var(--ink-soft); font-size: 18px; }
.champ-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1.5px solid var(--line-paper);
}
.champ-card.featured .champ-stats { border-top-color: rgba(10,24,16,0.25); }
.champ-stat .v {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.champ-card.featured .champ-stat .v { font-size: 28px; }
.champ-stat .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.champ-card.featured .champ-stat .k { color: var(--ink-soft); }
@media (max-width: 980px) {
  .champs-grid { grid-template-columns: 1fr 1fr; }
  .champ-card.featured { grid-column: span 2; }
}
@media (max-width: 600px) {
  .champs-grid { grid-template-columns: 1fr; }
  .champ-card.featured { grid-column: auto; }
}

/* UPCOMING MATCHES */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.up-card {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 20px;
  position: relative;
  transition: all .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.up-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-hover);
}
.up-card.featured {
  background: var(--tennis);
  border-color: rgba(15,60,35,0.15);
}
.up-card .date-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed var(--line-paper);
}
.up-card.featured .date-block { border-bottom-color: rgba(10,24,16,0.3); }
.up-card .day {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.up-card .month-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.2;
}
.up-card.featured .month-year { color: var(--ink); }
.up-card .month-year strong { display: block; color: var(--ink); font-size: 13px; }
.up-card.featured .month-year strong { color: var(--ink); }
.up-card .stage {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.up-card.featured .stage { color: var(--ink-soft); }
.up-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  flex: 1;
}
.up-card h4 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.up-card.featured h4 em { color: var(--ink); }
.up-card .info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.up-card .info::before { content: '◉'; color: var(--red); }
.up-card.featured .info { color: var(--ink-soft); }
.up-card .countdown {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--red);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1.5px solid var(--line-paper);
  letter-spacing: -0.01em;
}
.up-card.featured .countdown {
  border-top-color: rgba(10,24,16,0.25);
  color: var(--ink);
}
.up-card .countdown em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
@media (max-width: 980px) { .upcoming-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .upcoming-grid { grid-template-columns: 1fr; } }

/* TOURNAMENTS */
.t-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.t-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-hover);
}
.t-card:nth-child(1) { grid-column: span 6; }
.t-card:nth-child(2) { grid-column: span 6; }
.t-card:nth-child(3) { grid-column: span 4; }
.t-card:nth-child(4) { grid-column: span 4; }
.t-card:nth-child(5) { grid-column: span 4; }
.t-card.t-card-full { grid-column: span 4 !important; }
.t-card.t-card-full:nth-child(-n+2) h4 { font-size: 21px; }
.t-card .img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--body-deep);
  border-bottom: 1px solid rgba(15,60,35,0.08);
}
.t-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.t-card:hover .img img { transform: scale(1.06); }
.t-card .tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(15,60,35,0.15);
}
.t-card .tag.live { background: var(--tennis); color: var(--ink); }
.t-card .tag.live::before {
  content: ''; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.t-card .tag.ended { background: var(--paper); color: var(--ink); }
.t-card .tag.upcoming { background: var(--red); color: white; }
.t-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.t-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.t-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.t-card:nth-child(-n+2) h4 { font-size: 26px; }
.t-card h4 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.t-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.t-card .footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.t-card .footer-line .arrow {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.t-card:hover .footer-line .arrow { gap: 12px; color: var(--red); }
@media (max-width: 980px) {
  .t-grid { grid-template-columns: 1fr 1fr; }
  .t-card, .t-card.t-card-full { grid-column: span 1 !important; }
}
@media (max-width: 600px) {
  .t-grid { grid-template-columns: 1fr; }
}

/* GALLERY */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  background: var(--body-deep);
  box-shadow: var(--shadow-soft);
  transition: all .25s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-hover);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6));
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .label {
  position: absolute;
  bottom: 8px; left: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: all .25s;
}
.gallery-item:hover .label { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) { .gallery-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* Gallery full page */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.gallery-full .gallery-item { aspect-ratio: 4/3; }

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.news-feature .img {
  aspect-ratio: 4/3;
  border-radius: 16px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  background: var(--body-deep);
  box-shadow: var(--shadow-soft);
}
.news-feature .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.news-feature:hover .img img { transform: scale(1.04); }
.news-feature .stamp {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: white;
  padding: 6px 12px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255,59,25,0.35);
}
.news-feature .stamp::before {
  content: ''; width: 6px; height: 6px;
  background: white; border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.news-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tennis);
  margin-bottom: 10px;
}
.news-feature h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 12px;
}
.news-feature h3 a { color: var(--paper); transition: color .15s; }
.news-feature h3 a:hover { color: var(--tennis); }
.news-feature h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
}
.news-feature p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 252, 234, 0.92);
  margin-bottom: 12px;
}
.news-feature p::first-letter {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 52px;
  float: left;
  line-height: 0.9;
  margin: 4px 8px 0 0;
  color: var(--tennis);
}
.news-card {
  border-bottom: 1.5px solid rgba(255,255,255,0.22);
  padding-bottom: 20px;
  cursor: pointer;
  transition: padding-left .25s ease;
}
.news-card:hover { padding-left: 6px; }
.news-card:last-child { border-bottom: 0; padding-bottom: 0; }
.news-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 8px;
}
.news-card h3 a { color: var(--paper); transition: color .15s; }
.news-card h3 a:hover { color: var(--tennis); }
.news-card h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
}
.news-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 252, 234, 0.78);
  margin-bottom: 10px;
}
.news-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 252, 234, 0.55);
}
.news-date em {
  color: var(--tennis);
  font-style: normal;
}
@media (max-width: 980px) {
  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-feature h3 { font-size: 24px; }
}

/* News listing page (full grid) */
.news-listing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-card-full {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.news-card-full:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft-hover); }
.news-card-full .img {
  aspect-ratio: 16/10;
  background: var(--body-deep);
  overflow: hidden;
}
.news-card-full .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card-full:hover .img img { transform: scale(1.06); }
.news-card-full .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-card-full .body .news-cat { color: var(--red); }
.news-card-full h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.news-card-full h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.news-card-full p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 14px;
  flex: 1;
}
.news-card-full .news-date { color: var(--muted); }

/* ACHIEVEMENTS BAND */
.ach-band {
  background: var(--paper);
  margin: 0 -56px;
  padding: 40px 56px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 768px) { .ach-band { margin: 0 -20px; padding: 32px 20px; } }
.ach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}
.ach-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ach-item .icon {
  width: 48px; height: 48px;
  background: var(--tennis);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(229,255,68,0.45), 0 1px 3px rgba(15,60,35,0.15);
}
.ach-item .text .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ach-item .text .num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.ach-item .text .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 980px) {
  .ach-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .ach-grid { grid-template-columns: 1fr; }
}

/* QUOTE BLOCK */
.quote-block {
  background: var(--tennis);
  margin: 0 -56px;
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 768px) { .quote-block { margin: 0 -20px; padding: 56px 20px; } }
.quote-block::before, .quote-block::after {
  content: '"';
  position: absolute;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 280px;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.08;
  line-height: 1;
}
.quote-block::before { top: -40px; left: 30px; }
.quote-block::after { bottom: -180px; right: 30px; }
.quote-block blockquote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.quote-block blockquote strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal;
  font-weight: 800;
}
.quote-block cite {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.quote-block cite::before, .quote-block cite::after {
  content: '';
  width: 28px; height: 2px;
  background: var(--ink);
}

/* SPONSORS */
.sponsors-marquee {
  background: var(--paper);
  margin: 0 -56px;
  padding: 26px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
@media (max-width: 768px) { .sponsors-marquee { margin: 0 -20px; } }
.sponsors-marquee .marquee-track { gap: 0; }
.sp-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  flex-shrink: 0;
}
.sp-item small {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin-left: -16px;
}
.sp-item .x {
  color: var(--red);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 24px;
}

/* CTA */
.cta {
  padding: 100px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--tennis);
  opacity: 0.55;
  top: -120px; right: -120px;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
  border: 2px solid var(--ink);
}
.cta::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.3;
  bottom: -80px; left: -60px;
  z-index: 0;
}
.cta > * { position: relative; }
.cta h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--paper);
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 96;
}
.cta h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
}
.cta h2 .highlight {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.cta h2 .highlight::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 6px;
  height: 22px;
  background: var(--tennis);
  z-index: -1;
}
.cta p {
  font-size: 18px;
  color: rgba(255, 252, 234, 0.95);
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 36px;
  border-top: 1.5px solid rgba(255, 252, 234, 0.3);
}
.cta-stat .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--tennis);
  letter-spacing: -0.03em;
}
.cta-stat .num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--paper);
  font-size: 0.55em;
}
.cta-stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 252, 234, 0.7);
  margin-top: 6px;
}

/* PRE-FOOTER MARQUEE */
.pre-footer-marquee {
  background: var(--tennis);
  color: var(--ink);
  padding: 18px 0;
  margin: 0 -56px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
@media (max-width: 768px) { .pre-footer-marquee { margin: 0 -20px; } }
.pre-footer-marquee .marquee-track { gap: 0; }
.pf-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  flex-shrink: 0;
}
.pf-item em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  text-transform: none;
  font-size: 18px;
  letter-spacing: 0;
}
.pf-item .ball {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}

/* FOOTER */
.page-footer {
  background: var(--ink);
  color: rgba(255, 252, 234, 0.85);
  padding: 64px 56px 28px;
  margin: 0 -56px;
  border-top: 2px solid var(--ink);
}
@media (max-width: 768px) { .page-footer { padding: 48px 20px 24px; margin: 0 -20px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand .brand-text { color: var(--paper); }
.footer-brand .brand-text small { color: rgba(255, 252, 234, 0.55); }
.footer-brand p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 252, 234, 0.7);
  max-width: 320px;
  margin-top: 16px;
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tennis);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 252, 234, 0.75);
  transition: color .15s;
}
.footer-col a:hover { color: var(--tennis); }
.footer-bottom {
  border-top: 1px solid rgba(255, 252, 234, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 252, 234, 0.5);
  text-transform: uppercase;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 252, 234, 0.28);
  border-radius: 50%;
  color: rgba(255, 252, 234, 0.78);
  transition: all .2s;
}
.socials a:hover {
  background: var(--tennis); border-color: var(--tennis); color: var(--ink);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* BOTTOM STRIP */
.bottom-strip {
  height: 40px;
  background: var(--page);
  max-width: var(--maxw);
  margin: 0 auto;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================ */
/* INTERIOR PAGES                               */
/* ============================================ */

/* Page header */
.page-head {
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color .15s; }
.breadcrumb a:hover { color: var(--tennis); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--tennis); }

.page-head .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--tennis);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-head h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--paper);
  font-variation-settings: 'opsz' 96;
  margin-bottom: 18px;
}
.page-head h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--tennis);
}
.page-head h1 .highlight {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.page-head h1 .highlight::after {
  content: '';
  position: absolute;
  left: -3px; right: -3px;
  bottom: 6px;
  height: 16px;
  background: var(--tennis);
  z-index: -1;
}
.page-head .lead {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 252, 234, 0.92);
  max-width: 640px;
}

/* Filter bar (rankings) */
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--paper);
  border: var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}
.search-input {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search-input input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: white;
  border: 1.5px solid var(--line-paper);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
}
.search-input input:focus {
  outline: none;
  border-color: var(--ink);
}
.search-input::before {
  content: '🔍';
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.55;
}
.filter-bar select {
  padding: 10px 14px;
  background: white;
  border: 1.5px solid var(--line-paper);
  border-radius: 10px;
  font-size: 13.5px;
  min-width: 160px;
  color: var(--ink);
  cursor: pointer;
}
.filter-bar select:focus { outline: none; border-color: var(--ink); }
.filter-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
}

/* Stats summary cards */
.stats-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.stats-summary .card {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
}
.stats-summary .card .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.stats-summary .card .v {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stats-summary .card .v em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  font-size: 0.6em;
}
@media (max-width: 768px) {
  .stats-summary { grid-template-columns: repeat(2, 1fr); }
}

/* Rankings full table */
.rankings-table-wrap {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.rankings-table {
  width: 100%;
  border-collapse: collapse;
}
.rankings-table thead {
  background: var(--ink);
}
.rankings-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tennis);
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}
.rankings-table th:hover { background: rgba(229,255,68,0.08); }
.rankings-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-paper);
  font-size: 14px;
  vertical-align: middle;
  color: var(--ink-soft);
}
.rankings-table tbody tr { transition: background .12s; }
.rankings-table tbody tr:hover { background: var(--paper-soft); }
.rankings-table tbody tr:last-child td { border-bottom: 0; }
.rankings-table .rk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 14px;
  background: var(--paper-soft);
  color: var(--ink);
  border: 1px solid var(--line-paper);
}
.rankings-table .rk.r1 { background: var(--tennis); color: var(--ink); border-color: var(--ink); }
.rankings-table .rk.r2 { background: rgba(229,255,68,0.5); color: var(--ink); border-color: var(--tennis); }
.rankings-table .rk.r3 { background: rgba(229,255,68,0.25); color: var(--ink); border-color: var(--tennis-deep); }
.rankings-table .player-name-cell {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.rankings-table .player-club-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.rankings-table .pts {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 17px;
  text-align: right;
}
.rankings-table .lvl {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  background: var(--paper-soft);
  color: var(--ink);
  border: 1px solid var(--line-paper);
}
.rankings-table .lvl-A { background: var(--tennis); color: var(--ink); border-color: var(--tennis-deep); }
.rankings-table .lvl-B { background: rgba(229,255,68,0.4); color: var(--ink); border-color: var(--tennis-deep); }
.rankings-table .ch {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}
.rankings-table .ch.up { color: var(--success); }
.rankings-table .ch.down { color: var(--danger); }
.rankings-table .ch.same { color: var(--muted); }
@media (max-width: 768px) {
  .rankings-table th, .rankings-table td { padding: 10px 12px; font-size: 13px; }
  .rankings-table .col-hide-md { display: none; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.15);
  transition: all .15s;
}
.pagination a:hover { background: var(--tennis); color: var(--ink); border-color: var(--tennis); }
.pagination .current { background: var(--tennis); color: var(--ink); border-color: var(--tennis); }
.pagination .disabled { opacity: 0.35; cursor: not-allowed; }

/* Tabs (filter UI) */
.tabs {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,0.2);
  padding: 5px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  width: fit-content;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.85);
  background: transparent;
  transition: all .15s;
}
.tab-btn:hover { color: white; }
.tab-btn.active {
  background: var(--tennis);
  color: var(--ink);
  font-weight: 700;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--paper);
  border: var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.empty-state h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state p { font-size: 14px; color: var(--muted); }

/* Article body (about page, post detail) */
.article-card {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft-lg);
  padding: 56px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) { .article-card { padding: 32px 24px; } }
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 36px 0 16px;
}
.article-body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 28px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--red);
}
.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* AUTH (login) */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.auth-box {
  background: var(--paper);
  border: var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft-lg);
  padding: 44px 40px;
  max-width: 440px;
  width: 100%;
}
.auth-box .brand { margin-bottom: 24px; }
.auth-box .brand .brand-text { color: var(--ink); }
.auth-box .brand .brand-text small { color: var(--muted); }
.auth-box h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}
.auth-box h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.auth-box .lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.auth-error {
  background: #FEE5E5;
  border: 1px solid #F5BABB;
  color: #B91C1C;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-error.show { display: block; }
.auth-hint {
  background: rgba(229, 255, 68, 0.25);
  border: 1px solid rgba(15,60,35,0.15);
  border-radius: 10px;
  padding: 14px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 20px;
}
.auth-hint b { color: var(--red); }

/* FORM FIELDS */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  background: white;
  border: 1.5px solid var(--line-paper);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  width: 100%;
  transition: all .15s;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(229, 255, 68, 0.4);
}
.field textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.field-help { font-size: 12px; color: var(--muted); }

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-soft-lg);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); color: white; }
.toast.error { background: var(--danger); color: white; }

/* Article detail layout */
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-meta .cat {
  background: var(--tennis);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
}
.article-hero-img {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  border: var(--card-border);
  box-shadow: var(--shadow-soft);
  background: var(--body-deep);
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox (gallery) */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 24, 16, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--tennis);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  border: 2px solid var(--ink);
  cursor: pointer;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--tennis);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 0; }
