/* ═══════════════════════════════════════════════════════
   FC VERDANT — STYLES
   Colors: Green #1a6b35 / #4ade80, Black #0a0a0a, White #fff
═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #0a3d1f;
  --green-mid:    #1a6b35;
  --green-bright: #4ade80;
  --green-accent: #22c55e;
  --black:        #0a0a0a;
  --black-soft:   #111111;
  --black-card:   #161616;
  --black-border: #2a2a2a;
  --white:        #ffffff;
  --white-soft:   #f5f5f5;
  --white-dim:    rgba(255,255,255,.7);
  --white-faint:  rgba(255,255,255,.12);
  --text-muted:   #8a8a8a;
  /* Aliases used by store/checkout */
  --black-bg:     #0a0a0a;
  --border:       #2a2a2a;
  --nav-h:        64px;
  --util-h:       38px;
  --ease-out:     cubic-bezier(.22,1,.36,1);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
}

/* ── Global responsive base ── */
img, svg { max-width: 100%; }
img { height: auto; display: block; }
button, a, [role="button"], label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
input, select, textarea { touch-action: manipulation; font-size: 16px; } /* 16px prevents iOS zoom on focus */
table { border-collapse: collapse; }
* { min-width: 0; } /* Prevents grid/flex overflow */

html { scroll-behavior: smooth; }

body {
  font-family: 'JetBrains Mono', 'Cascadia Code', 'Cascadia Mono', monospace;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ════════════════════════════════════════
   UTILITY BAR
════════════════════════════════════════ */
.utility-bar {
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
  height: var(--util-h);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.utility-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-left { display: flex; gap: 24px; }
.utility-left a {
  font-size: 12px;
  color: var(--white-dim);
  transition: color .2s;
  white-space: nowrap;
}
.utility-left a:hover { color: var(--white); }
.utility-right { display: flex; gap: 10px; align-items: center; }
.util-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  transition: all .2s;
  white-space: nowrap;
}
.util-btn:hover { border-color: var(--green-accent); color: var(--white); }
.util-btn.accent {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}
.util-btn.accent:hover { background: var(--green-accent); border-color: var(--green-accent); }

/* ════════════════════════════════════════
   MAIN NAV
════════════════════════════════════════ */
.main-nav {
  position: sticky;
  top: var(--util-h);
  z-index: 9000; /* above cart overlay (8000) so nav stays visible when cart is open */
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  transition: box-shadow .3s;
}
.main-nav.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ── Logo image styles ── */
.crest-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .3s var(--ease-spring);
}
.nav-logo:hover .crest-img { transform: scale(1.08) rotate(-2deg); }

.footer-crest-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

/* Mini crest with logo image (fixtures, table) */
.od-mini-crest,
.od-table-crest {
  background: #fff !important;
  padding: 2px;
}
.od-mini-crest img,
.od-table-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Hero fixture card OD crest */
.od-hero-crest {
  background: #fff !important;
  overflow: hidden;
}
.od-hero-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Wider club name to fit "Olympic Dcheira" */
.club-name { font-size: 16px !important; }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.crest { display: flex; align-items: center; }
.club-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
  white-space: nowrap;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white-dim);
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  user-select: none;
}
.nav-item:hover { color: var(--white); background: var(--white-faint); }
.nav-item a { color: inherit; }
.nav-item.active { color: var(--green-bright); }
.caret { transition: transform .25s var(--ease-out); flex-shrink: 0; }
.nav-item.open .caret { transform: rotate(180deg); }

/* Search */
.nav-search { margin-left: auto; flex-shrink: 0; }
.search-toggle {
  background: none;
  border: none;
  color: var(--white-dim);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: all .2s;
}
.search-toggle:hover { color: var(--white); background: var(--white-faint); }

/* Search Drawer */
.search-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out), padding .35s;
}
.search-drawer.open {
  max-height: 80px;
  padding: 16px 24px;
}
.search-drawer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-input {
  flex: 1;
  background: var(--white-faint);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color .2s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--green-accent); }
.search-close {
  background: none;
  border: none;
  color: var(--white-dim);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.search-close:hover { color: var(--white); }

/* ── Mega Menus ── */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
  z-index: 998;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  pointer-events: none;
}
.mega-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mega-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  gap: 48px;
}
.mega-col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.mega-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 4px;
}
.mega-col a {
  font-size: 14px;
  color: var(--white-dim);
  transition: all .18s;
  padding: 3px 0;
  border-left: 2px solid transparent;
  padding-left: 8px;
}
.mega-col a:hover {
  color: var(--white);
  border-left-color: var(--green-accent);
  padding-left: 12px;
}

/* Mega overlay */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mega-overlay.visible { opacity: 1; pointer-events: all; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* ── Photo layer ── */
.hero-photo {
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center 30% / cover no-repeat;
  transform-origin: center center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}

/* ── Dark gradient overlays — keeps text crisp ── */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.35) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.4) 0%, transparent 40%, rgba(0,0,0,.7) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-pitch-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,107,53,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,53,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 20s linear infinite;
}
@keyframes gridPan {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(26,107,53,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(74,222,128,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--green-bright);
  opacity: 0;
  animation: particleFloat var(--dur, 8s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: .6; transform: translateY(-20px) scale(1); }
  90%  { opacity: .2; }
  100% { opacity: 0; transform: translateY(-120px) scale(.5); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(26,107,53,.3);
  border: 1px solid rgba(74,222,128,.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-bright);
  letter-spacing: .5px;
  margin-bottom: 24px;
  width: fit-content;
  animation: fadeSlideUp .6s var(--ease-out) both;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.title-line {
  display: block;
  animation: fadeSlideUp .6s var(--ease-out) both;
}
.title-line:nth-child(1) { animation-delay: .1s; }
.title-line:nth-child(2) { animation-delay: .2s; }
.title-line.accent { color: var(--green-bright); }

.hero-subtitle {
  font-size: 18px;
  color: var(--white-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeSlideUp .6s var(--ease-out) .3s both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideUp .6s var(--ease-out) .4s both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA Buttons */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green-mid);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--green-mid);
  cursor: pointer;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.cta-primary:hover {
  background: var(--green-accent);
  border-color: var(--green-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,.3);
}
.cta-primary:hover::before { opacity: 1; }
.cta-primary:active { transform: translateY(0); }
.cta-primary.large { padding: 16px 36px; font-size: 16px; }
.cta-primary.full-width { width: 100%; justify-content: center; }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--black-border);
  cursor: pointer;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
}
.cta-ghost:hover {
  border-color: rgba(255,255,255,.4);
  background: var(--white-faint);
  transform: translateY(-2px);
}
.cta-ghost.large { padding: 16px 36px; font-size: 16px; }
.cta-ghost.white-ghost { color: var(--black); border-color: var(--black); }
.cta-ghost.white-ghost:hover { background: rgba(0,0,0,.08); }

/* Hero Fixture Card */
.hero-fixture-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 28px;
  min-width: 320px;
  animation: fadeSlideUp .7s var(--ease-out) .35s both;
  position: relative;
  overflow: hidden;
}
.hero-fixture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-bright));
}
.fixture-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 20px;
}
.fixture-teams {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.fixture-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white-dim);
  text-align: center;
  flex: 1;
}
.team-crest {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.home-crest { background: var(--green-mid); color: var(--white); }
.away-crest { background: #2a2a2a; color: var(--white-dim); }
.fixture-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fixture-vs > span {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
}
.fixture-meta { text-align: center; }
.fixture-date { font-size: 12px; color: var(--white-dim); font-weight: 500; }
.fixture-time { font-size: 18px; font-weight: 800; color: var(--white); }
.fixture-comp { font-size: 10px; color: var(--green-bright); font-weight: 600; letter-spacing: .5px; margin-top: 4px; }
.fixture-ticket-btn {
  display: block;
  text-align: center;
  padding: 11px;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--green-mid);
  transition: all .2s;
}
.fixture-ticket-btn:hover { background: var(--green-accent); border-color: var(--green-accent); }

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stats-bar {
  background: var(--green-dark);
  border-top: 1px solid rgba(74,222,128,.15);
  border-bottom: 1px solid rgba(74,222,128,.15);
}
.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.stat {
  padding: 28px 16px;
  text-align: center;
  flex: 1;
}
.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900;
  color: var(--green-bright);
}
.stat p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .3px;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════ */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--white);
}
.see-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-bright);
  transition: gap .2s;
}
.see-all:hover { gap: 10px; }
.see-all svg { transition: transform .2s; }
.see-all:hover svg { transform: translateX(4px); }

/* ════════════════════════════════════════
   NEWS SECTION
════════════════════════════════════════ */
.news-section { background: var(--black-soft); }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
}
.news-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s var(--ease-out);
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74,222,128,.3);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.news-card.featured {
  grid-column: span 2;
  grid-row: span 1;
}
.card-img {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-card.featured .card-img { height: 240px; }
.card-img-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}
.card-img-icon {
  font-size: 48px;
  opacity: .4;
  user-select: none;
}
.card-body { padding: 20px; }
.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card-tag.match-report { background: rgba(34,197,94,.15); color: var(--green-bright); }
.card-tag.interview    { background: rgba(99,102,241,.15); color: #a5b4fc; }
.card-tag.transfer     { background: rgba(245,158,11,.15); color: #fcd34d; }
.card-tag.academy      { background: rgba(6,182,212,.15); color: #67e8f9; }
.card-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--white);
}
.news-card.featured .card-body h3 { font-size: 20px; }
.card-body p { font-size: 14px; color: var(--white-dim); line-height: 1.6; margin-bottom: 16px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.card-date { font-size: 12px; color: var(--text-muted); }
.card-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-bright);
  transition: gap .2s;
}
.card-link:hover { gap: 8px; }

/* ════════════════════════════════════════
   FIXTURES SECTION
════════════════════════════════════════ */
.fixtures-section { background: var(--black); }

.fixtures-tabs {
  display: flex;
  gap: 4px;
  background: var(--black-card);
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--black-border);
}
.fix-tab {
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all .2s;
}
.fix-tab.active { background: var(--green-mid); color: var(--white); }
.fix-tab:not(.active):hover { color: var(--white); }

.fixtures-list { display: flex; flex-direction: column; gap: 12px; }

.fixture-row {
  display: grid;
  grid-template-columns: 160px 100px 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 10px;
  padding: 18px 24px;
  transition: all .25s var(--ease-out);
}
.fixture-row:hover {
  border-color: rgba(74,222,128,.25);
  transform: translateX(4px);
}
.fixture-row.hidden { display: none; }

.comp-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}
.comp-badge.league { background: rgba(34,197,94,.15); color: var(--green-bright); }
.comp-badge.cup    { background: rgba(245,158,11,.15); color: #fcd34d; }
.comp-badge.euro   { background: rgba(59,130,246,.15); color: #93c5fd; }

.fix-date-time { display: flex; flex-direction: column; gap: 2px; }
.fix-date { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.fix-time { font-size: 14px; font-weight: 700; color: var(--white); }

.fix-teams { display: flex; align-items: center; gap: 16px; }
.fix-team { display: flex; align-items: center; gap: 10px; flex: 1; }
.fix-team.away { flex-direction: row-reverse; text-align: right; }
.mini-crest {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.green-crest { background: var(--green-mid); color: var(--white); }
.grey-crest  { background: #2a2a2a; color: var(--white-dim); }
.blue-crest  { background: #1e3a5f; color: #93c5fd; }
.red-crest   { background: #5f1e1e; color: #fca5a5; }

.team-name { font-size: 14px; font-weight: 600; color: var(--white); }
.fix-score {
  font-size: 22px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.upcoming-score { color: var(--text-muted); font-size: 14px; }
.fix-score.win  { color: var(--green-bright); background: rgba(34,197,94,.1); }
.fix-score.draw { color: #fcd34d; background: rgba(245,158,11,.1); }
.fix-score.loss { color: #fca5a5; background: rgba(239,68,68,.1); }

.fix-ticket, .fix-report {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
  transition: all .2s;
  white-space: nowrap;
}
.fix-ticket {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}
.fix-ticket:hover { background: var(--green-accent); border-color: var(--green-accent); }
.fix-report {
  background: transparent;
  border-color: var(--black-border);
  color: var(--white-dim);
}
.fix-report:hover { border-color: rgba(255,255,255,.3); color: var(--white); }

/* ════════════════════════════════════════
   SQUAD CAROUSEL
════════════════════════════════════════ */
.squad-section {
  background: var(--black-soft);
  overflow: hidden;
}
.squad-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.squad-track-container {
  overflow: hidden;
  flex: 1;
}
.squad-track {
  display: flex;
  gap: 20px;
  transition: transform .45s var(--ease-out);
}

.player-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.player-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-bright));
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
.player-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74,222,128,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.player-card:hover::before { transform: scaleX(1); }
.player-card.featured-player {
  border-color: rgba(74,222,128,.4);
  background: linear-gradient(180deg, rgba(26,107,53,.15), var(--black-card));
}
.player-card.featured-player::before { transform: scaleX(1); }

.player-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  line-height: 1;
}
.player-silhouette {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.player-silhouette.gk  { background: radial-gradient(circle, #1a3a6b, #0a1a3d); }
.player-silhouette.def { background: radial-gradient(circle, #1a6b1a, #0a3d0a); }
.player-silhouette.mid { background: radial-gradient(circle, #3d1a6b, #1a0a3d); }
.player-silhouette.fwd { background: radial-gradient(circle, #6b1a1a, #3d0a0a); }
.player-shape {
  width: 40px;
  height: 50px;
  background: rgba(255,255,255,.15);
  border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
  position: relative;
}
.player-shape::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.player-info { margin-bottom: 14px; }
.player-pos {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}
.gk-pos  { background: rgba(59,130,246,.2); color: #93c5fd; }
.def-pos { background: rgba(34,197,94,.2);  color: var(--green-bright); }
.mid-pos { background: rgba(168,85,247,.2); color: #d8b4fe; }
.fwd-pos { background: rgba(239,68,68,.2);  color: #fca5a5; }

.player-info h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.player-nationality { font-size: 12px; color: var(--text-muted); }

.player-stats-mini {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--white-dim);
}
.player-stats-mini strong { color: var(--green-bright); font-weight: 700; }

.player-link {
  display: block;
  padding: 8px;
  background: var(--white-faint);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white-dim);
  transition: all .2s;
}
.player-link:hover { background: var(--green-mid); color: var(--white); }

.squad-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  z-index: 2;
}
.squad-arrow:hover { background: var(--green-mid); border-color: var(--green-mid); }
.squad-arrow:disabled { opacity: .3; cursor: default; }

/* ════════════════════════════════════════
   HIGHLIGHTS SECTION
════════════════════════════════════════ */
.highlights-section { background: var(--black); }

.highlights-carousel { position: relative; }
.highlights-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  transition: transform .45s var(--ease-out);
}

.highlight-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s var(--ease-out);
  cursor: pointer;
}
.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74,222,128,.3);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.highlight-thumb {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.play-btn {
  transition: transform .25s var(--ease-spring);
}
.highlight-card:hover .play-btn { transform: scale(1.15); }
.highlight-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: rgba(0,0,0,.7);
  padding: 2px 7px;
  border-radius: 4px;
}
.highlight-body { padding: 16px; }
.highlight-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 6px;
}
.highlight-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}
.highlight-date { font-size: 11px; color: var(--text-muted); }

.highlights-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.hl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.hl-btn:hover { background: var(--green-mid); border-color: var(--green-mid); }
.hl-dots { display: flex; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--black-border);
  cursor: pointer;
  transition: all .25s var(--ease-out);
  padding: 0;
}
.dot.active { background: var(--green-bright); transform: scale(1.3); }

/* ════════════════════════════════════════
   TABLE + MEMBERSHIP
════════════════════════════════════════ */
.table-section { background: var(--black-soft); }
.table-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.league-table thead th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--black-border);
}
.league-table tbody tr {
  border-bottom: 1px solid var(--black-border);
  transition: background .18s;
}
.league-table tbody tr:hover { background: var(--white-faint); }
.league-table tbody tr.own-team { background: rgba(26,107,53,.15); }
.league-table td {
  padding: 12px;
  color: var(--white-dim);
}
.league-table td:first-child { font-weight: 700; color: var(--white); }
.league-table td strong { color: var(--white); }

.pos { font-size: 14px; font-weight: 700; }
.pos.top { color: var(--green-bright); }

.table-club {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--white);
}
.table-crest {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Membership Widget */
.membership-widget {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.membership-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-bright));
}
.widget-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-bright);
  background: rgba(74,222,128,.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.membership-widget h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}
.membership-widget p { font-size: 14px; color: var(--white-dim); margin-bottom: 20px; }
.widget-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.widget-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white-dim);
}
.widget-perks li svg { flex-shrink: 0; }
.widget-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--green-bright);
  margin-top: 14px;
  transition: opacity .2s;
}
.widget-link:hover { opacity: .7; }

/* ════════════════════════════════════════
   TICKETS BANNER
════════════════════════════════════════ */
.tickets-banner {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.tickets-banner-bg {
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a6b35' fill-opacity='0.07'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, #0a3d1f 100%);
}
.tickets-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.tickets-banner-text h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.tickets-banner-text p { font-size: 18px; color: rgba(255,255,255,.7); }
.tickets-banner-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background: var(--black-soft); border-top: 1px solid var(--black-border); }

.footer-top { padding: 64px 0; }
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px repeat(4, 1fr);
  gap: 40px;
}
.footer-brand {}
.footer-crest { margin-bottom: 12px; }
.footer-tagline {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 10px; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .2s;
}
.social-icon:hover { border-color: var(--green-mid); color: var(--green-bright); background: rgba(26,107,53,.15); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .18s;
}
.footer-col a:hover { color: var(--green-bright); }

.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding: 20px 0;
}
.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-inner > span { font-size: 13px; color: var(--text-muted); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: var(--text-muted); transition: color .18s; }
.footer-legal-links a:hover { color: var(--green-bright); }

/* ════════════════════════════════════════
   SCROLL REVEAL ANIMATION
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════════════
   HAMBURGER / MOBILE NAV DRAWER
════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background .2s;
  flex-shrink: 0;
  margin-left: auto;
}
.hamburger:hover { background: var(--white-faint); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1099;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-nav-overlay.open { opacity: 1; }

/* Mobile nav drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--black-card);
  border-right: 1px solid var(--black-border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--black-border);
  flex-shrink: 0;
}
.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color .15s;
}
.mobile-nav-close:hover { color: #fff; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white-dim);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: color .15s, background .15s;
  border-radius: 0;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: #fff; background: var(--white-faint); }
.mobile-nav-link.active { color: var(--green-bright); }

.mobile-nav-sub {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  margin-bottom: 4px;
}
.mobile-nav-sub.open { display: flex; }
.mobile-nav-sub a {
  display: block;
  padding: 10px 20px 10px 32px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}
.mobile-nav-sub a:hover { color: var(--green-bright); }

.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--black-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}
.mobile-store-btn:hover { background: var(--green-mid); }
.mobile-nav-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.mobile-nav-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--white-faint);
  color: var(--text-muted);
  transition: color .15s, background .15s;
}
.mobile-nav-socials a:hover { color: #fff; background: rgba(255,255,255,.15); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* ── 1100px — tablet landscape ── */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }
  .table-layout { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-fixture-card { width: 100%; min-width: unset; max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ── 860px — tablet portrait ── */
@media (max-width: 860px) {
  .section-inner { padding: 48px 20px; }
  .hero-content { padding: 60px 20px; }
  .fixtures-page-grid { grid-template-columns: 1fr !important; }
  .standings-widget { position: static !important; }

  /* Home fixture rows: hide competition badge, simplify grid */
  .fixture-row {
    grid-template-columns: 130px 1fr auto;
    gap: 14px;
    padding: 16px 18px;
  }
  .fix-teams { gap: 10px; }
  .team-name { font-size: 13px; }
}

/* ── 768px — mobile ── */
@media (max-width: 768px) {
  :root { --nav-h: 56px; --util-h: 34px; }

  /* ─ Utility bar ─ */
  .utility-left { display: none; }
  .utility-bar { height: var(--util-h); }

  /* ─ Nav: hide desktop, show hamburger ─ */
  .primary-nav { display: none; }
  .nav-actions .search-toggle { display: none; }
  .hamburger { display: flex; }
  .mobile-nav-overlay { display: block; pointer-events: none; }
  .mobile-nav-overlay.open { pointer-events: all; }

  /* ─ Club name shorter on very small ─ */
  .club-name { font-size: 14px !important; }

  /* ─ Hero ─ */
  .hero-content { grid-template-columns: 1fr; padding: 40px 16px; gap: 24px; }
  .hero-title { font-size: clamp(32px, 8vw, 52px); letter-spacing: -1px; }
  .hero-fixture-card { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-primary, .cta-ghost { width: 100%; text-align: center; justify-content: center; }

  /* ─ Stats bar ─ */
  .stats-inner { flex-wrap: wrap; gap: 0; }
  .stat { min-width: 50%; padding: 20px 12px; border-bottom: 1px solid var(--black-border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--black-border); }
  .stat-divider { display: none; }

  /* ─ News ─ */
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }

  /* ─ Fixtures ─ */
  .fixture-row { flex-direction: column; gap: 10px; padding: 16px; }
  .fix-teams { flex-direction: column; gap: 8px; align-items: flex-start; }
  .fix-score { min-width: unset; }
  .tickets-banner-inner { flex-direction: column; text-align: center; gap: 20px; }

  /* ─ Footer ─ */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  /* ─ Section padding ─ */
  .section-inner { padding: 40px 16px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero-inner { padding: 0 16px; }
  .page-hero h1 { font-size: 28px; }

  /* ─ Fixture rows (home) ─ */
  .fixture-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }
  .fix-date-time, .fix-teams { width: 100%; }
  .fix-teams { justify-content: center; }

  /* ─ Table layout ─ */
  .table-layout { grid-template-columns: 1fr; }
  .league-table { font-size: 12px; }
  .league-table td, .league-table th { padding: 8px 6px; }
  .league-table td:nth-child(n+6):not(:last-child) { display: none; } /* hide minor cols */

  /* ─ Highlights ─ */
  .highlights-track { grid-template-columns: repeat(2, 1fr); }

  /* ─ Squad carousel ─ */
  .player-card { width: 160px; }

  /* ─ Membership widget ─ */
  .membership-widget { padding: 24px 20px; }

  /* ─ Tickets banner ─ */
  .tickets-banner-text h2 { font-size: 24px; }
  .tickets-banner-text p { font-size: 15px; }

  /* ─ Footer ─ */
  .footer-top { padding: 48px 0; }
  .footer-col h4 { font-size: 11px; }
}

/* ── 480px — small phones ── */
@media (max-width: 480px) {
  .hero-title { font-size: 28px; letter-spacing: -.5px; }
  .hero-badge { font-size: 11px; padding: 4px 10px; }
  .cta-primary, .cta-ghost { font-size: 14px; padding: 12px 20px; }
  .stat { min-width: 50%; }
  .club-name { display: none; }
  .nav-inner { gap: 0; }
  .store-btn span:not(.cart-badge) { display: none; }
  .store-btn { padding: 8px 12px; }

  /* Fix fixtures layout on tiny screens */
  .frl-comp { display: none; }
  .frl-teams { flex-direction: column; gap: 8px; }
  .frl-score-box, .fix-score-lg { font-size: 14px !important; min-width: 50px !important; padding: 4px 8px !important; }

  /* News grid: 1 col on small phones */
  .news-grid { grid-template-columns: 1fr; }

  /* Highlights: 1 col */
  .highlights-track { grid-template-columns: 1fr; }

  /* Hero fixture card — compact */
  .hero-fixture-card { padding: 20px 16px; min-width: unset; }
  .team-crest { width: 40px; height: 40px; }

  /* Squad carousel narrower cards */
  .player-card { width: 140px; padding: 14px; }
  .player-silhouette { width: 60px; height: 60px; }

  /* Mega menu inner — vertical */
  .mega-inner { flex-direction: column; gap: 24px; padding: 20px 16px; }

  /* Footer compact */
  .footer-inner { gap: 24px; }
  .footer-legal-links { flex-direction: column; gap: 6px; align-items: center; }

  /* Utility bar: hide newsletter button on very small */
  .util-nl-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════
   VISUAL FX LAYER — glitch text, shine sweeps, glows
   All effects use transform/opacity only (GPU-cheap).
═══════════════════════════════════════════════════════ */

/* ── Page fade-in ── */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .45s ease-out; }

/* ── Text glitch (applied by JS to hero / page titles) ──
   Two RGB-split ghost layers, invisible 90% of the time,
   bursting in short clipped slices — cyber-glitch look. */
.glitch-fx { position: relative; }
.glitch-fx::before,
.glitch-fx::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  white-space: inherit;
}
.glitch-fx::before {
  color: var(--green-bright);
  animation: glitchSliceA 7s infinite steps(1);
}
.glitch-fx::after {
  color: #3b82f6;
  animation: glitchSliceB 7s infinite steps(1);
}
@keyframes glitchSliceA {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: inset(0); }
  89%   { opacity: .8; transform: translate(-4px, -2px); clip-path: inset(8% 0 58% 0); }
  90.5% { opacity: .8; transform: translate(3px, 1px);   clip-path: inset(55% 0 12% 0); }
  92%   { opacity: .8; transform: translate(-2px, 2px);  clip-path: inset(28% 0 38% 0); }
  93.5% { opacity: 0; }
}
@keyframes glitchSliceB {
  0%, 42%, 100% { opacity: 0; transform: none; clip-path: inset(0); }
  43%   { opacity: .7; transform: translate(4px, 2px);   clip-path: inset(62% 0 6% 0); }
  44.5% { opacity: .7; transform: translate(-3px, -1px); clip-path: inset(10% 0 64% 0); }
  46%   { opacity: .7; transform: translate(2px, -2px);  clip-path: inset(36% 0 30% 0); }
  47.5% { opacity: 0; }
}

/* ── Hero badge: neon pulse ── */
.hero-badge {
  animation: badgeNeon 3.2s ease-in-out infinite;
}
@keyframes badgeNeon {
  0%, 100% { box-shadow: 0 0 0 rgba(74,222,128,0); }
  50%      { box-shadow: 0 0 18px rgba(74,222,128,.25); }
}

/* ── Button shine sweep on hover ── */
.cta-primary, .product-add-btn, .cart-checkout-btn,
.checkout-next-btn, .fixture-ticket-btn, .product-card-action {
  position: relative;
  overflow: hidden;
}
.cta-primary::after, .product-add-btn::after, .cart-checkout-btn::after,
.checkout-next-btn::after, .fixture-ticket-btn::after, .product-card-action::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%);
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
}
.cta-primary:hover::after, .product-add-btn:hover::after, .cart-checkout-btn:hover::after,
.checkout-next-btn:hover::after, .fixture-ticket-btn:hover::after, .product-card-action:hover::after {
  transition: transform .65s var(--ease-out);
  transform: translateX(320%) skewX(-18deg);
}

/* ── Stats numbers: breathing green glow ── */
.stat-num {
  animation: statGlow 4s ease-in-out infinite;
}
@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(74,222,128,0); }
  50%      { text-shadow: 0 0 22px rgba(74,222,128,.45); }
}

/* ── Section headers: underline draws in on scroll-reveal ── */
.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--green-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-out) .25s;
}
.section-header.visible h2::after { transform: scaleX(1); }
html[dir="rtl"] .section-header h2::after { transform-origin: right; }

/* ── Crest hover spin-pop (nav + footer logos) ── */
.nav-logo .crest, .footer-crest {
  transition: transform .45s var(--ease-spring);
}
.nav-logo:hover .crest { transform: rotate(-8deg) scale(1.12); }
.footer-crest:hover    { transform: rotate(8deg) scale(1.08); }

/* ── Reduced motion: kill the party for users who opt out ── */
@media (prefers-reduced-motion: reduce) {
  .glitch-fx::before, .glitch-fx::after,
  .hero-badge, .stat-num, .preorder-ph-text { animation: none !important; }
  body { animation: none; }
}
