/* ===== Team Cheesy Beans — Shared Styles ===== */

:root {
  --bg: #14100b;
  --bg-alt: #1c1610;
  --panel: #211a12;
  --panel-border: #3a2c1c;
  --gold: #f2a93b;
  --gold-bright: #ffc35c;
  --gold-dim: #c9872c;
  --cream: #f5e6c8;
  --brown: #4a2c17;
  --brown-dark: #2a1a0e;
  --text: #ece2cf;
  --text-dim: #b6a68c;
  --success: #7cbb6f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,0.45);
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(242,169,59,0.10), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(242,169,59,0.06), transparent 60%),
    var(--bg);
}

h1, h2, h3, h4 {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--cream);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--text-dim); margin: 0 0 1em; }

a { color: var(--gold-bright); text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
  color: #241505;
  box-shadow: 0 6px 18px rgba(242,169,59,0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,169,59,0.35); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--panel-border);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ===== Navbar ===== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,16,11,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58,44,28,0.5);
  box-shadow: 0 1px 0 rgba(0,0,0,0);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(20,16,11,0.92);
  border-color: var(--panel-border);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover { color: var(--cream); background: rgba(242,169,59,0.08); }

.nav-links a.active { color: var(--gold-bright); background: rgba(242,169,59,0.12); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  display: block;
}

/* ===== Hero ===== */

.hero {
  padding: 120px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(115deg, rgba(242,169,59,0.05) 0px, rgba(242,169,59,0.05) 1px, transparent 1px, transparent 68px);
  -webkit-mask-image: radial-gradient(720px 520px at 78% 22%, black, transparent 72%);
          mask-image: radial-gradient(720px 520px at 78% 22%, black, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--panel-border) 50%, transparent);
  opacity: 0.7;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-inner h1 { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(242,169,59,0.07);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(242,169,59,0.18);
  flex-shrink: 0;
}

.text-gold-gradient {
  background: linear-gradient(95deg, var(--gold-bright), var(--gold) 55%, var(--gold-dim));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(242,169,59,0.22), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* ===== Hero visual — the big showcase logo treatment ===== */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px 0 32px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(242,169,59,0.32), transparent 68%);
  filter: blur(8px);
  z-index: 0;
  animation: hero-glow-pulse 5s ease-in-out infinite;
}

.hero-visual-ring {
  position: absolute;
  width: 480px;
  height: 480px;
  max-width: 92%;
  border-radius: 50%;
  border: 1px dashed rgba(242,169,59,0.28);
  z-index: 0;
  animation: hero-ring-spin 46s linear infinite;
}

.hero-visual-ring::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px solid rgba(245,230,200,0.08);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,0.55));
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes hero-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before, .hero-visual-ring, .hero-visual img {
    animation: none;
  }
}

/* ===== Section generic ===== */

.section { padding: 100px 0; }

.section-alt {
  background: var(--bg-alt);
  position: relative;
}

.section-alt::before,
.section-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--panel-border) 50%, transparent);
  opacity: 0.7;
}

.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left { margin: 0 0 40px; text-align: left; }

/* ===== Cards / grids ===== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover { transform: translateY(-5px); border-color: var(--gold-dim); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(242,169,59,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* ===== Players ===== */

.roster-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover { color: var(--cream); border-color: var(--gold-dim); }
.filter-btn.active { background: var(--gold); color: #241505; border-color: var(--gold); }

.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.player-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: none;
}

.player-card.show { display: block; }

.player-card:hover { transform: translateY(-7px); border-color: var(--gold-dim); box-shadow: var(--shadow); }

.player-photo {
  height: 210px;
  background: linear-gradient(160deg, var(--brown), var(--brown-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.player-photo .initials {
  font-size: 3.4rem;
  font-weight: 800;
  color: rgba(242,169,59,0.35);
}

.player-champ {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.6s var(--ease);
}

.player-card:hover .player-champ { transform: scale(1.06); }

.player-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,11,0.25), transparent 38%, transparent 55%, rgba(20,16,11,0.6));
  pointer-events: none;
}

.player-role-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(20,16,11,0.75);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.player-champ-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  background: rgba(20,16,11,0.75);
  border: 1px solid var(--panel-border);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}

.player-num {
  position: absolute;
  bottom: 10px;
  right: 14px;
  z-index: 2;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(245,230,200,0.35);
}

.player-info { padding: 20px 22px 24px; }

.player-name { font-size: 1.15rem; font-weight: 800; color: var(--cream); margin-bottom: 2px; }

.player-real { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 14px; }

.player-opgg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.player-opgg:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(242,169,59,0.08);
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.pstat { text-align: center; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 8px 4px; }
.pstat b { display: block; color: var(--gold-bright); font-size: 0.95rem; }
.pstat span { font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }

.player-bio { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0; }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.staff-grid-single { grid-template-columns: minmax(0, 340px); }

.staff-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.staff-card:hover { transform: translateY(-4px); border-color: var(--gold-dim); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }

.staff-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--brown), var(--brown-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* ===== Store ===== */

.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.product-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); box-shadow: var(--shadow); }

.product-media {
  height: 180px;
  background: linear-gradient(160deg, var(--brown), var(--brown-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-note {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #241505;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }

.product-cat { font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 6px; }

.product-name { font-size: 1.02rem; font-weight: 700; color: var(--cream); margin-bottom: 8px; }

.product-price { font-size: 1.15rem; font-weight: 800; color: var(--gold-bright); margin: 6px 0 16px; }

.product-price .old { font-size: 0.85rem; color: var(--text-dim); text-decoration: line-through; font-weight: 500; margin-right: 8px; }

.product-info .btn { margin-top: auto; }

/* ===== CTA banner ===== */

.cta-banner {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, rgba(242,169,59,0.18), transparent 70%);
}

.cta-banner > * { position: relative; }

/* ===== Timeline / About extras ===== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--panel-border);
}
.value-list li:last-child { border-bottom: none; }
.value-list .num { color: var(--gold); font-weight: 800; }

/* ===== Matches / Schedule & Results ===== */

.match-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.match-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.match-row:hover { transform: translateY(-3px); border-color: var(--gold-dim); box-shadow: 0 12px 26px rgba(0,0,0,0.3); }

.match-badge {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.match-info { flex: 1; min-width: 0; }

.match-teams { font-weight: 800; color: var(--cream); font-size: 1.05rem; }

.match-vs {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 6px;
}

.match-meta { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }

.match-score { font-size: 1.25rem; font-weight: 800; color: var(--cream); flex-shrink: 0; }

.match-status {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.match-status.upcoming { color: var(--gold-bright); border: 1px solid var(--gold-dim); background: rgba(242,169,59,0.1); }
.match-status.win { color: #9fd08c; border: 1px solid rgba(124,187,111,0.5); background: rgba(124,187,111,0.12); }
.match-status.loss { color: #e08d8d; border: 1px solid rgba(214,105,105,0.45); background: rgba(214,105,105,0.1); }
.match-status.bye { color: var(--text-dim); border: 1px solid var(--panel-border); background: rgba(255,255,255,0.03); }

.match-row-bye { opacity: 0.72; }
.match-row-bye:hover { transform: none; border-color: var(--panel-border); box-shadow: none; }

.match-note {
  text-align: center;
  font-size: 0.85rem;
  margin: 22px auto 0;
  max-width: 520px;
}

/* ===== Division blocks (table + fixtures per group) ===== */

.division-block { max-width: 900px; margin: 76px auto 0; }

.division-block .league-wrap { margin-bottom: 0; }

.fixtures-title {
  text-align: center;
  margin: 40px 0 18px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.fixture-weeks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fixture-week {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.fw-date {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(58,44,28,0.5);
}

.fw-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.fw-match em {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--gold-dim);
  text-transform: uppercase;
  flex-shrink: 0;
}

.fw-side {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.fw-side:last-child { flex-direction: row-reverse; text-align: right; }

.fw-side img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.fw-side span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.fw-match.fw-us {
  background: rgba(242,169,59,0.09);
  color: var(--cream);
}

.fw-match.fw-us .fw-side span { color: var(--cream); }

/* ===== League table ===== */

.league-block { max-width: 860px; margin: 64px auto 0; }

.league-title { text-align: center; margin-bottom: 20px; }

.league-wrap {
  overflow-x: auto;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.league-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-align: center;
  padding: 14px 12px;
  border-bottom: 1px solid var(--panel-border);
  white-space: nowrap;
}

.league-table th.lt-team { text-align: left; padding-left: 20px; }

.league-table td {
  text-align: center;
  padding: 11px 12px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(58,44,28,0.45);
}

.league-table tbody tr:last-child td { border-bottom: none; }

.league-table tbody tr { transition: background 0.3s var(--ease); }
.league-table tbody tr:hover { background: rgba(242,169,59,0.05); }

.lt-team-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--cream);
  font-weight: 700;
}

.lt-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.league-table td.lt-team { padding-left: 20px; }

.league-table tr.lt-us td { background: rgba(242,169,59,0.1); }
.league-table tr.lt-us td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.league-table tr.lt-us .lt-team-inner span { color: var(--gold-bright); }

.lt-pos {
  width: 34px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  padding-left: 14px !important;
}

.league-table th.lt-pos { padding-left: 14px; }
.league-table tr.lt-us .lt-pos { color: var(--gold-bright); }
.league-table td.lt-team { padding-left: 6px; }
.league-table th.lt-team { padding-left: 6px; }
.lt-pts { color: var(--cream); font-weight: 800; }
.league-table tr.lt-us .lt-pts { color: var(--gold-bright); }

.fw-score {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cream);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.fw-match.fw-played .fw-side span { color: var(--text-dim); }
.fw-match.fw-played .fw-side.fw-won span { color: var(--cream); font-weight: 800; }
.fw-match.fw-played .fw-side:not(.fw-won) img { opacity: 0.55; }

/* ===== Footer ===== */

.footer {
  background: var(--bg-alt);
  padding: 64px 0 28px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--panel-border) 50%, transparent);
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-weight: 800; color: var(--cream); }

.footer h4 {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--text-dim); font-size: 0.9rem; }
.footer a:hover { color: var(--gold-bright); }

.social-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(242,169,59,0.08);
}

.footer-league {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--panel-border);
  padding-top: 24px;
  margin-bottom: 22px;
}

.footer-league img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
}

.footer-league span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-league strong {
  color: var(--cream);
  font-weight: 700;
}

.footer-bottom {
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===== Page header (sub-pages) ===== */

.page-header {
  padding: 78px 0 56px;
  position: relative;
  text-align: center;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--panel-border) 50%, transparent);
  opacity: 0.7;
}

/* ===== Scroll reveal =====
   Scoped under html.js (set by an inline script in <head>) so content stays
   fully visible by default if JavaScript is blocked or slow to run. */

html.js .card,
html.js .player-card,
html.js .product-card,
html.js .staff-card,
html.js .match-row,
html.js .section-head {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .card.in-view,
html.js .player-card.in-view,
html.js .product-card.in-view,
html.js .staff-card.in-view,
html.js .match-row.in-view,
html.js .section-head.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .card, html.js .player-card, html.js .product-card, html.js .staff-card,
  html.js .match-row, html.js .section-head {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .hero-art { order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .roster-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--panel-border); transform: translateY(-130%); transition: transform 0.2s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .grid-3, .roster-grid, .staff-grid, .store-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual::before, .hero-visual-ring { width: 300px; height: 300px; }
  .fixture-weeks { grid-template-columns: 1fr; }
  .match-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    grid-template-areas:
      "badge info  info"
      ".     score status";
    align-items: center;
    gap: 10px 14px;
    padding: 16px;
  }
  .match-badge { grid-area: badge; height: 42px; }
  .match-info  { grid-area: info; }
  .match-score { grid-area: score; justify-self: start; }
  .match-status { grid-area: status; justify-self: start; }
  .fixture-week { padding: 14px 16px; }
  .cta-banner { padding: 36px 22px; }
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 56px; }
  .page-header { padding: 56px 0 40px; }
}
