@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #020d0b;
  --surface: #071713;
  --surface-2: #0b211b;
  --line: rgba(166, 255, 235, 0.14);
  --text: #f2fffb;
  --muted: #7faaa0;
  --accent: #31f4d2;
  --accent-dark: #0b4036;
  --blue: #31c8f4;
  --red: #ff5f73;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -5%, rgba(20, 183, 151, 0.2), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(25, 116, 121, 0.16), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

a { color: inherit; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(var(--bg-shift-x, 0), var(--bg-shift-y, 0), 0) scale(1.03);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.ambient span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; animation: ambient-drift 16s ease-in-out infinite alternate; }
.ambient span:nth-child(1) { width: 34rem; height: 34rem; left: -14rem; top: 2%; background: #18d6ad; }
.ambient span:nth-child(2) { width: 28rem; height: 28rem; right: -10rem; top: 34%; background: #00a39a; animation-delay: -5s; animation-duration: 20s; }
.ambient span:nth-child(3) { width: 22rem; height: 22rem; left: 36%; bottom: -12rem; background: #38e3ff; animation-delay: -9s; }

@keyframes ambient-drift {
  from { transform: translate3d(-3%, -3%, 0) scale(.94); }
  to { transform: translate3d(12%, 9%, 0) scale(1.12); }
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform .25s ease, filter .25s ease;
}
.brand:hover { transform: translateY(-2px); filter: drop-shadow(0 0 16px rgba(104,240,186,.18)); }

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(49, 244, 210, .32);
  border-radius: 14px;
  background: rgba(49, 244, 210, .06);
  overflow: hidden;
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand strong, .brand small { display: block; }
.brand strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.25rem; letter-spacing: .12em; line-height: 1; }
.brand small { margin-top: 5px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .2em; }

.season-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 20, 34, .65);
  color: #b9c4d1;
  font-size: .82rem;
  font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.season-selector { display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5,22,18,.72); color: var(--muted); font-size: .7rem; font-weight: 700; }
.season-selector select { max-width: 150px; height: 28px; padding: 0 25px 0 8px; border: 0; border-radius: 999px; outline: none; background: #0b2922; color: var(--text); font: inherit; cursor: pointer; }
.admin-link {
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.admin-link:hover { color: var(--accent); border-color: rgba(104,240,186,.24); background: rgba(104,240,186,.055); transform: translateY(-2px); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(104,240,186,.1); }
.season-chip[data-status="Hazırlanıyor"] .live-dot { background: #f2bd69; box-shadow: 0 0 0 5px rgba(242,189,105,.1); }
.season-chip[data-status="Tamamlandı"] .live-dot, .season-chip[data-status="Arşivlendi"] .live-dot { background: #718b85; box-shadow: 0 0 0 5px rgba(113,139,133,.1); }

.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 56px 0 34px;
}

.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: .73rem; font-weight: 700; letter-spacing: .19em; }
h1, h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; }
h1 { max-width: 650px; font-size: clamp(3.4rem, 8vw, 6.5rem); font-weight: 800; line-height: .86; letter-spacing: -.025em; }
h1, h2 { transition: color .28s ease, text-shadow .28s ease, letter-spacing .28s ease; }
h1:hover, h2:hover { color: #fff; text-shadow: 0 0 32px rgba(104,240,186,.22); letter-spacing: .005em; }
.intro-copy { margin: 19px 0 0; color: var(--muted); }

.matchweek { width: min(300px, 100%); padding-bottom: 5px; }
.matchweek > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.matchweek span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.matchweek strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.75rem; }
.matchweek strong small { color: var(--muted); font-size: .9rem; }
.progress { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 10px; background: #172436; }
.progress span { display: block; width: 66.6%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #9af9d4); }

.stats-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.stat-card {
  min-height: 126px;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16,28,45,.95), rgba(9,17,29,.95));
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.stat-card:hover { border-color: rgba(104,240,186,.26); box-shadow: 0 18px 40px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.035); }
.accent-card { background: linear-gradient(135deg, rgba(22,66,57,.75), rgba(11,25,33,.95)); border-color: rgba(104,240,186,.2); }
.stat-label { display: block; margin-bottom: 16px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.stat-card > small { display: block; margin-top: 2px; color: var(--muted); font-size: .75rem; }
.stat-number { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 2.15rem; line-height: 1; }
.leader-line { display: flex; align-items: center; gap: 12px; }
.leader-line strong, .leader-line small { display: block; }
.leader-line strong { font-size: .95rem; }
.leader-line small { margin-top: 4px; color: #9cb1c0; font-size: .75rem; }

.team-badge {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  background: linear-gradient(145deg, color-mix(in srgb, var(--team-color, #375f63) 90%, white), color-mix(in srgb, var(--team-color, #233b45) 58%, black));
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.team-badge img { width: 100%; height: 100%; object-fit: cover; }
.team-badge.has-logo { padding: 2px; background: color-mix(in srgb, var(--team-color, #233b45) 45%, #0b1422); }
.team-cell:hover .team-badge, .leader-line:hover .team-badge { transform: rotate(-5deg) scale(1.08); box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.badge-istanbul { background: linear-gradient(145deg, #057c62, #0f392f); }
.badge-ankara { background: linear-gradient(145deg, #255cb7, #182f59); }
.badge-bosphorus { background: linear-gradient(145deg, #7d3cc7, #382054); }
.badge-anatolia { background: linear-gradient(145deg, #bd6335, #512918); }
.badge-galaxy { background: linear-gradient(145deg, #3f879e, #173a48); }
.badge-legacy { background: linear-gradient(145deg, #b99124, #544313); }
.badge-redline { background: linear-gradient(145deg, #bd3649, #531b29); }
.badge-nova { background: linear-gradient(145deg, #56712b, #273817); }
.badge-vortex { background: linear-gradient(145deg, #5e687a, #2b3340); }
.badge-titans { background: linear-gradient(145deg, #754357, #38222c); }

.standings-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 16, 28, .87);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 28px 30px 23px; }
h2 { font-size: 2rem; letter-spacing: -.01em; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .72rem; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-dot.champion { background: var(--accent); }
.legend-dot.playoff { background: var(--blue); }
.legend-dot.relegation { background: var(--red); }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
table { width: 100%; min-width: 800px; border-collapse: collapse; }
th, td { padding: 15px 16px; text-align: center; white-space: nowrap; }
th { color: #63768d; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
td { border-top: 1px solid rgba(170,197,224,.075); color: #b8c4d2; font-size: .82rem; font-weight: 500; }
tbody tr { transition: background-color .18s ease; }
tbody tr { transition: background-color .18s ease, transform .18s ease; }
tbody tr:hover { background: rgba(104,240,186,.045); transform: translateX(4px); }
th:nth-child(2), td:nth-child(2) { text-align: left; }
.position-col { width: 52px; }
.points-col { width: 82px; }
.position { position: relative; color: #8191a5; font-family: "Barlow Condensed", sans-serif; font-size: 1.05rem; }
.position::before { position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 4px 4px 0; content: ""; }
tr.zone-champion .position::before { background: var(--accent); }
tr.zone-playoff .position::before { background: var(--blue); }
tr.zone-relegation .position::before { background: var(--red); }
.team-cell { display: flex; align-items: center; gap: 12px; }
.team-profile-link { text-decoration: none; }
.team-name { color: var(--text); font-weight: 650; }
.team-name { position: relative; transition: color .2s ease, letter-spacing .2s ease; }
.team-cell:hover .team-name { color: var(--accent); letter-spacing: .015em; }
.form { display: inline-flex; gap: 4px; }
.form span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 5px; color: #e6edf5; font-size: .58rem; font-weight: 800; }
.form .w { background: rgba(104,240,186,.18); color: var(--accent); }
.form .d { background: rgba(114,135,159,.2); color: #aebbc8; }
.form .l { background: rgba(255,95,115,.16); color: #ff8796; }
.points { color: white; font-family: "Barlow Condensed", sans-serif; font-size: 1.18rem; font-weight: 800; }

.table-note { display: flex; justify-content: space-between; gap: 20px; padding: 16px 30px; color: #66788f; font-size: .69rem; }
.table-note b { color: #9aabba; }

footer { display: flex; justify-content: space-between; padding: 28px 0 40px; color: #52657c; font-size: .72rem; }
footer span:first-child { color: #8393a6; font-weight: 650; }
footer a { color: #8393a6; text-underline-offset: 3px; transition: color .2s ease; }
footer a:hover { color: var(--accent); }

.empty-state { padding: 44px 20px; color: var(--muted); text-align: center; }

.fixtures-section { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,16,28,.72); box-shadow: var(--shadow); }
.fixtures-heading { border-bottom: 1px solid var(--line); }
.fixture-count { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.fixture-list { display: grid; gap: 1px; background: var(--line); }
.fixture-card { padding: 24px 30px; background: rgba(8,16,28,.97); transition: background .22s ease; }
.fixture-card:hover { background: rgba(13,25,41,.98); }
.fixture-meta, .fixture-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .72rem; }
.fixture-meta > span { color: var(--accent); font-weight: 800; letter-spacing: .14em; }
.fixture-scoreline { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; gap: 24px; margin: 20px 0; }
.fixture-team { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.fixture-team.home { justify-content: flex-end; }
.fixture-team.away { justify-content: flex-start; }
.fixture-team strong { font-size: .94rem; }
.score-box { text-align: center; }
.score-box strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 2rem; line-height: 1; }
.score-box small { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.score-box.played strong { color: var(--accent); }
.match-events { display: grid; gap: 7px; margin: 0 auto 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(5,11,20,.5); }
.match-events > div { display: grid; grid-template-columns: 38px 18px minmax(120px,1fr) minmax(120px,1fr); align-items: center; gap: 8px; font-size: .76rem; }
.match-events small { color: var(--muted); }
.event-minute { color: var(--accent); font-family: "Barlow Condensed", sans-serif; font-size: .95rem; font-weight: 800; }
.event-ball { color: #eaf0f5; font-size: .6rem; }
.fixture-footer b { margin-right: 6px; color: #b8c6d5; font-size: .65rem; letter-spacing: .08em; }
.fixture-footer a { color: var(--accent); font-weight: 700; text-decoration: none; }
.fixture-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fixture-empty { padding: 60px 20px; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 80px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand strong { font-size: 1.05rem; }
  .season-chip { padding: 8px 10px; font-size: .72rem; }
  .season-selector span { display: none; }
  .season-selector select { max-width: 105px; }
  .admin-link { padding: 8px 9px; font-size: .72rem; }
  .intro { display: block; padding: 43px 0 28px; }
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .intro-copy { margin-top: 14px; font-size: .92rem; }
  .matchweek { margin-top: 27px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .accent-card { grid-column: 1 / -1; }
  .stat-card { min-height: 116px; padding: 20px; }
  .section-heading { display: block; padding: 24px 20px 20px; }
  .legend { margin-top: 17px; gap: 13px; }
  th, td { padding: 13px 12px; }
  .table-note { display: block; padding: 15px 20px; }
  .table-note span { display: block; }
  .table-note span + span { margin-top: 6px; }
  footer { display: block; }
  footer span { display: block; }
  footer span + span { margin-top: 5px; }
  .fixture-card { padding: 21px 16px; }
  .fixture-scoreline { grid-template-columns: 1fr 65px 1fr; gap: 8px; }
  .fixture-team { display: grid; justify-items: center; gap: 7px; text-align: center; }
  .fixture-team.home, .fixture-team.away { justify-content: center; }
  .fixture-team.away strong { order: 2; }
  .fixture-team strong { font-size: .76rem; white-space: normal; }
  .match-events > div { grid-template-columns: 34px 14px 1fr; }
  .match-events small { grid-column: 3; }
}

@media (max-width: 430px) {
  .brand small { letter-spacing: .14em; }
  .season-chip { width: 10px; height: 10px; padding: 0; overflow: hidden; border: 0; background: var(--accent); box-shadow: 0 0 0 5px rgba(104,240,186,.1); color: transparent; }
  .season-chip .live-dot { display: none; }
  .admin-link { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .accent-card { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .ambient span { animation: none; }
}

/* Modern football broadcast skin */
:root {
  --bg: #02090b;
  --surface: #071417;
  --surface-2: #0a2021;
  --line: rgba(115, 255, 226, .16);
  --text: #f4fffc;
  --muted: #79a49d;
  --accent: #35ffd1;
  --accent-dark: #073e35;
  --blue: #36bfff;
  --shadow: 0 26px 70px rgba(0, 0, 0, .42);
}

body {
  background:
    radial-gradient(ellipse at 50% -12%, rgba(17, 163, 130, .20), transparent 43rem),
    linear-gradient(115deg, rgba(4, 32, 29, .96), rgba(2, 9, 11, .98) 44%, rgba(3, 18, 22, .98)),
    var(--bg);
}

body::before {
  background-image:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(79, 255, 213, .10) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle at 50% 34%, transparent 0 132px, rgba(79, 255, 213, .055) 133px 134px, transparent 135px),
    linear-gradient(rgba(95, 255, 220, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 255, 220, .038) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 63%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.008) 6px);
  content: "";
  pointer-events: none;
}

.ambient span { border-radius: 18%; filter: blur(110px); opacity: .14; }
.ambient span:nth-child(1) { background: #00e1a9; }
.ambient span:nth-child(2) { background: #00a6dd; }
.ambient span:nth-child(3) { background: #3affca; }

.site-header {
  position: relative;
  min-height: 90px;
  border-bottom-color: rgba(83, 255, 213, .24);
}
.site-header::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 128px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
  box-shadow: 0 0 18px rgba(53,255,209,.5);
}
.brand { gap: 14px; }
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  border-color: rgba(53,255,209,.42);
  background: #03110f;
  box-shadow: 0 0 0 4px rgba(53,255,209,.035), 0 0 25px rgba(53,255,209,.10);
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
}
.brand strong { font-size: 1.38rem; font-style: italic; letter-spacing: .1em; }
.brand small { color: var(--accent); letter-spacing: .26em; }

.season-chip, .season-selector, .admin-link {
  border-radius: 3px;
  background: rgba(4,18,20,.82);
}
.season-chip { position: relative; padding-left: 17px; text-transform: uppercase; letter-spacing: .07em; }
.season-chip::before { position: absolute; inset: -1px auto -1px -1px; width: 3px; background: var(--accent); content: ""; box-shadow: 0 0 12px var(--accent); }
.season-selector select { border-radius: 2px; background: #0a2b27; }
.admin-link { text-transform: uppercase; letter-spacing: .07em; }

.intro { position: relative; padding-top: 68px; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: var(--accent); content: ""; box-shadow: 0 0 10px var(--accent); }
h1 { font-style: italic; letter-spacing: -.04em; text-shadow: 0 8px 36px rgba(0,0,0,.5); }
h1::first-line { color: #fff; }
h2 { font-style: italic; letter-spacing: .025em; }
.intro-copy { max-width: 600px; }
.matchweek { padding: 16px 17px; border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(53,255,209,.08), transparent); }
.progress { height: 3px; border-radius: 0; background: rgba(255,255,255,.08); }
.progress span { border-radius: 0; box-shadow: 0 0 13px var(--accent); }

.stats-grid { gap: 10px; }
.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(120deg, rgba(10,31,31,.96), rgba(4,14,17,.97));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.stat-card::before { position: absolute; top: 0; left: 0; width: 45%; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); content: ""; }
.stat-card::after { position: absolute; right: -30px; bottom: -35px; width: 100px; height: 100px; border: 1px solid rgba(53,255,209,.08); transform: rotate(45deg); content: ""; }
.stat-card:hover { transform: translateY(-4px) !important; border-color: rgba(53,255,209,.42); box-shadow: 0 18px 45px rgba(0,0,0,.3), 0 0 24px rgba(53,255,209,.06); }
.accent-card { background: linear-gradient(120deg, rgba(9,67,55,.78), rgba(4,18,20,.98)); }
.stat-label { color: #83ada6; text-transform: uppercase; }
.stat-number { font-size: 2.55rem; font-style: italic; }

.team-badge, .logo-preview {
  border-radius: 3px;
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
}

.standings-card, .fixtures-section {
  position: relative;
  border-radius: 3px;
  border-color: rgba(105,255,221,.2);
  background: linear-gradient(145deg, rgba(7,25,26,.94), rgba(3,12,15,.96));
}
.standings-card::before, .fixtures-section::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 30px;
  width: 110px;
  height: 3px;
  background: var(--accent);
  content: "";
  box-shadow: 0 0 18px rgba(53,255,209,.55);
}
.section-heading { background: linear-gradient(90deg, rgba(53,255,209,.045), transparent 55%); }
th { padding-top: 12px; padding-bottom: 12px; background: rgba(53,255,209,.035); color: #73918e; text-transform: uppercase; }
td { border-top-color: rgba(115,255,226,.075); }
tbody tr { position: relative; }
tbody tr:hover { background: linear-gradient(90deg, rgba(53,255,209,.095), rgba(53,255,209,.018)); }
.position::before { border-radius: 0; box-shadow: 0 0 10px currentColor; }
.form span { border-radius: 2px; }
.points { color: var(--accent); font-size: 1.34rem; }

.fixture-list { background: rgba(105,255,221,.12); }
.fixture-card { position: relative; background: rgba(4,15,18,.98); }
.fixture-card:hover { background: linear-gradient(90deg, rgba(10,39,36,.98), rgba(5,18,21,.98)); }
.fixture-meta > span { padding: 4px 8px; border-left: 2px solid var(--accent); background: rgba(53,255,209,.07); }
.score-box { position: relative; padding: 11px 5px 9px; border: 1px solid rgba(53,255,209,.22); background: #020a0d; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.score-box strong { color: white; font-size: 2.35rem; font-style: italic; letter-spacing: .08em; text-shadow: 0 0 18px rgba(53,255,209,.22); }
.score-box.played strong { color: var(--accent); }
.match-events { border-radius: 2px; background: rgba(2,10,13,.72); }

@media (max-width: 760px) {
  .intro { padding-top: 46px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 3px; }
  .score-box { padding-inline: 2px; }
}

/* Competition controls and cup category */
.season-selector {
  position: relative;
  min-height: 42px;
  padding-left: 14px;
  border-color: rgba(53,255,209,.28);
  box-shadow: inset 0 0 24px rgba(53,255,209,.025), 0 8px 28px rgba(0,0,0,.2);
  clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}
.season-selector::before { position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; background: var(--accent); content: ""; box-shadow: 0 0 10px var(--accent); }
.season-selector select {
  min-width: 142px;
  height: 32px;
  padding: 0 34px 0 11px;
  appearance: none;
  border: 1px solid rgba(53,255,209,.14);
  background-color: #061b1b;
  background-image: linear-gradient(45deg,transparent 50%,#35ffd1 50%),linear-gradient(135deg,#35ffd1 50%,transparent 50%);
  background-position: calc(100% - 14px) 13px,calc(100% - 9px) 13px;
  background-size: 5px 5px,5px 5px;
  background-repeat: no-repeat;
  transition: border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.season-selector select:hover,.season-selector select:focus { border-color: rgba(53,255,209,.48); background-color: #092724; box-shadow: 0 0 0 2px rgba(53,255,209,.07); }

.cup-fixtures-section { --cup-accent: #ffc857; border-color: rgba(255,200,87,.22); }
.cup-fixtures-section::before { background: var(--cup-accent); box-shadow: 0 0 18px rgba(255,200,87,.55); }
.cup-fixtures-section .eyebrow,.cup-fixture-card .fixture-meta > span { color: var(--cup-accent); }
.cup-fixtures-section .eyebrow::before { background: var(--cup-accent); box-shadow: 0 0 10px var(--cup-accent); }
.cup-fixture-card { background: linear-gradient(90deg,rgba(35,27,10,.3),rgba(4,15,18,.98) 30%); }
.cup-fixture-card .score-box { border-color: rgba(255,200,87,.25); }
.cup-fixture-card .score-box.played strong { color: var(--cup-accent); text-shadow: 0 0 18px rgba(255,200,87,.2); }

/* Primary league/cup navigation */
.competition-tabs {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  margin-top: 20px;
  padding: 6px;
  border: 1px solid rgba(101,255,220,.16);
  background: rgba(3,14,17,.78);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
}
.competition-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 18px;
  overflow: hidden;
  border: 1px solid transparent;
  background: transparent;
  color: #75948f;
  cursor: pointer;
  text-align: left;
  transition: color .22s ease,border-color .22s ease,background .22s ease,transform .22s ease;
}
.competition-tab::after { position: absolute; inset: auto 0 0; height: 2px; background: transparent; content: ""; }
.competition-tab > span { color: #42605c; font-family: "Barlow Condensed",sans-serif; font-size: .78rem; font-weight: 800; }
.competition-tab strong { font-family: "Barlow Condensed",sans-serif; font-size: 1.35rem; font-style: italic; letter-spacing: .05em; text-transform: uppercase; }
.competition-tab small { justify-self: end; font-size: .7rem; }
.competition-tab:hover { color: #d9fff7; background: rgba(53,255,209,.035); }
.competition-tab.active { border-color: rgba(53,255,209,.22); background: linear-gradient(90deg,rgba(53,255,209,.12),rgba(53,255,209,.025)); color: #fff; }
.competition-tab.active::after { background: linear-gradient(90deg,var(--accent),transparent 70%); box-shadow: 0 0 13px var(--accent); }
.competition-tab[data-view="cup"].active { border-color: rgba(255,200,87,.24); background: linear-gradient(90deg,rgba(255,200,87,.105),rgba(255,200,87,.02)); }
.competition-tab[data-view="cup"].active::after { background: linear-gradient(90deg,#ffc857,transparent 70%); box-shadow: 0 0 13px rgba(255,200,87,.65); }
.competition-view.active { animation: view-enter .32s ease both; }
@keyframes view-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Detailed season picker */
.header-actions > .season-chip { display: none; }
.season-switcher { position: relative; z-index: 20; }
.season-switcher-trigger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(105px,1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-width: 264px;
  min-height: 54px;
  padding: 7px 12px 7px 16px;
  border: 1px solid rgba(53,255,209,.28);
  background: linear-gradient(115deg,rgba(8,38,35,.96),rgba(3,16,19,.98));
  color: var(--text);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px rgba(255,255,255,.035),0 10px 28px rgba(0,0,0,.22);
  clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  transition: border-color .2s ease,background .2s ease,transform .2s ease;
}
.season-switcher-trigger::before { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--accent); content: ""; box-shadow: 0 0 12px var(--accent); }
.season-switcher-trigger:hover,.season-switcher.open .season-switcher-trigger { border-color: rgba(53,255,209,.58); background: linear-gradient(115deg,rgba(10,54,47,.98),rgba(3,18,22,.98)); transform: translateY(-1px); }
.season-trigger-copy { min-width: 0; }
.season-trigger-copy small,.season-trigger-copy strong { display: block; }
.season-trigger-copy small { margin-bottom: 2px; color: #648d85; font-size: .56rem; font-weight: 800; letter-spacing: .14em; }
.season-trigger-copy strong { overflow: hidden; font-family: "Barlow Condensed",sans-serif; font-size: 1.05rem; font-style: italic; letter-spacing: .035em; text-overflow: ellipsis; white-space: nowrap; }
.season-trigger-status { padding: 5px 8px; border: 1px solid rgba(53,255,209,.16); background: rgba(53,255,209,.055); color: var(--accent); font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.season-trigger-chevron { color: var(--accent); font-size: 1rem; transition: transform .2s ease; }
.season-switcher.open .season-trigger-chevron { transform: rotate(180deg); }
.season-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: min(360px,calc(100vw - 24px));
  max-height: 330px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid rgba(53,255,209,.3);
  background: rgba(2,13,16,.985);
  box-shadow: 0 24px 70px rgba(0,0,0,.55),0 0 30px rgba(53,255,209,.055);
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
}
.season-menu::before { position: absolute; top: 0; left: 18px; width: 100px; height: 2px; background: var(--accent); content: ""; box-shadow: 0 0 12px var(--accent); }
.season-option {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 8px 11px;
  border: 1px solid transparent;
  background: transparent;
  color: #88a8a2;
  cursor: pointer;
  text-align: left;
  transition: color .18s ease,border-color .18s ease,background .18s ease;
}
.season-option + .season-option { border-top-color: rgba(113,255,223,.07); }
.season-option:hover { background: rgba(53,255,209,.055); color: #fff; }
.season-option.selected { border-color: rgba(53,255,209,.2); background: linear-gradient(90deg,rgba(53,255,209,.11),transparent); color: #fff; }
.season-option-index { color: #426c64; font-family: "Barlow Condensed",sans-serif; font-size: .82rem; font-weight: 800; }
.season-option-copy strong,.season-option-copy small { display: block; }
.season-option-copy strong { font-size: .85rem; }
.season-option-copy small { margin-top: 3px; color: #6f918a; font-size: .64rem; }
.season-option-check { color: var(--accent); font-weight: 800; }

.cup-intro { min-height: 275px; }
.cup-intro .eyebrow,.cup-intro .eyebrow::before { color: #ffc857; }
.cup-intro .eyebrow::before { background: #ffc857; box-shadow: 0 0 10px #ffc857; }
.cup-hero-mark { display: grid; width: 148px; height: 148px; place-items: center; align-content: center; border: 1px solid rgba(255,200,87,.35); background: radial-gradient(circle,rgba(255,200,87,.12),rgba(4,16,18,.9) 68%); color: #ffc857; clip-path: polygon(50% 0,90% 14%,100% 68%,74% 100%,26% 100%,0 68%,10% 14%); box-shadow: 0 0 55px rgba(255,200,87,.08); }
.cup-hero-mark span { font-family: "Barlow Condensed",sans-serif; font-size: 2.8rem; font-style: italic; font-weight: 800; line-height: .8; }
.cup-hero-mark small { margin-top: 9px; font-size: .62rem; font-weight: 800; letter-spacing: .24em; }

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .header-actions { flex: 1; justify-content: flex-end; }
  .season-switcher-trigger { min-width: 205px; }
  .season-trigger-status { display: none; }
  .competition-tab { grid-template-columns: auto 1fr; padding: 8px 11px; }
  .competition-tab small { display: none; }
  .cup-intro { display: flex; align-items: center; }
  .cup-hero-mark { width: 92px; height: 92px; }
  .cup-hero-mark span { font-size: 2rem; }
}
@media (max-width: 500px) {
  .site-header .brand strong { font-size: 1rem; }
  .site-header .brand small { display: none; }
  .header-actions { flex: 0 0 auto; }
  .season-switcher-trigger { min-width: 166px; grid-template-columns: 1fr auto; }
  .season-trigger-chevron { display: block; }
  .admin-link { display: none; }
  .competition-tabs { margin-top: 12px; }
  .competition-tab { min-height: 50px; }
}

/* Top navigation and people directories */
.site-layout { display: block; }
.site-main { min-width: 0; }
.competition-tabs {
  position: relative;
  top: auto;
  z-index: 8;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 6px;
  margin: 20px 0 0;
  padding: 6px;
}
.competition-tab {
  grid-template-columns: minmax(0,1fr);
  gap: 0;
  min-height: 58px;
  padding: 8px 16px;
}
.competition-tab > span { min-width: 0; color: inherit; }
.competition-tab > span strong,.competition-tab > span small { display: block; }
.competition-tab > span strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.competition-tab > span small { margin-top: 3px; overflow: hidden; color: #627f7a; font-family: Inter,sans-serif; font-size: .58rem; font-style: normal; font-weight: 600; letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.competition-tab.active > span small { color: #8db3ab; }
.competition-tab[data-view="hall"].active,.competition-tab[data-view="management"].active { border-color: rgba(54,191,255,.24); background: linear-gradient(90deg,rgba(54,191,255,.11),rgba(54,191,255,.02)); }
.competition-tab[data-view="hall"].active::after,.competition-tab[data-view="management"].active::after { background: linear-gradient(90deg,var(--blue),transparent 70%); box-shadow: 0 0 13px rgba(54,191,255,.65); }

.directory-intro { min-height: 270px; }
.directory-section { position: relative; overflow: hidden; border: 1px solid rgba(105,255,221,.2); background: linear-gradient(145deg,rgba(7,25,26,.94),rgba(3,12,15,.96)); box-shadow: var(--shadow); }
.directory-section::before { position: absolute; z-index: 2; top: -1px; left: 28px; width: 110px; height: 3px; background: var(--blue); content: ""; box-shadow: 0 0 18px rgba(54,191,255,.52); }
.directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: rgba(105,255,221,.12); }
.directory-card { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 18px; min-height: 190px; padding: 24px; overflow: hidden; background: linear-gradient(130deg,rgba(7,27,28,.98),rgba(3,13,16,.99)); }
.directory-card::after { position: absolute; right: -34px; bottom: -45px; width: 110px; height: 110px; border: 1px solid rgba(54,191,255,.08); content: ""; transform: rotate(45deg); }
.hall-card::before { position: absolute; top: 0; left: 0; width: 42%; height: 2px; background: linear-gradient(90deg,#ffc857,transparent); content: ""; }
.directory-portrait { display: grid; width: 92px; height: 110px; place-items: center; overflow: hidden; border: 1px solid rgba(54,191,255,.25); background: rgba(54,191,255,.06); color: var(--blue); font-family: "Barlow Condensed",sans-serif; font-size: 1.7rem; font-style: italic; font-weight: 800; clip-path: polygon(0 0,78% 0,100% 18%,100% 100%,20% 100%,0 82%); }
.hall-card .directory-portrait { border-color: rgba(255,200,87,.3); background: rgba(255,200,87,.055); color: #ffc857; }
.directory-portrait img { width: 100%; height: 100%; object-fit: cover; }
.directory-copy { position: relative; z-index: 1; }
.directory-kicker { color: var(--blue); font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hall-card .directory-kicker { color: #ffc857; }
.directory-copy h2 { margin-top: 6px; font-size: 1.7rem; }
.directory-copy small { display: block; margin-top: 3px; color: #769b94; font-size: .67rem; font-weight: 700; }
.directory-copy p { margin: 15px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.management-card { border-top: 1px solid color-mix(in srgb,var(--staff-color) 42%,transparent); background: linear-gradient(130deg,color-mix(in srgb,var(--staff-color) 8%,rgba(7,27,28,.98)),rgba(3,13,16,.99) 62%); }
.management-card::before { position: absolute; top: 0; left: 0; width: 44%; height: 2px; background: linear-gradient(90deg,var(--staff-color),transparent); content: ""; box-shadow: 0 0 16px color-mix(in srgb,var(--staff-color) 58%,transparent); }
.management-card .directory-portrait { border-color: color-mix(in srgb,var(--staff-color) 48%,transparent); background: color-mix(in srgb,var(--staff-color) 9%,transparent); color: var(--staff-color); box-shadow: inset 0 0 28px color-mix(in srgb,var(--staff-color) 8%,transparent); }
.staff-role-badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 9px; border: 1px solid color-mix(in srgb,var(--staff-color) 44%,transparent); border-radius: 999px; background: color-mix(in srgb,var(--staff-color) 10%,rgba(3,13,16,.9)); color: var(--staff-color); font-size: .61rem; font-weight: 900; letter-spacing: .12em; line-height: 1; text-transform: uppercase; box-shadow: 0 0 18px color-mix(in srgb,var(--staff-color) 9%,transparent); }
.staff-role-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--staff-color); box-shadow: 0 0 9px var(--staff-color); animation: staff-badge-pulse 2.4s ease-in-out infinite; }
.staff-nickname { width: fit-content; color: var(--staff-color); background: linear-gradient(100deg,var(--staff-color) 10%,#fff 46%,var(--staff-color) 72%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 8px color-mix(in srgb,var(--staff-color) 22%,transparent)); animation: staff-name-flow 5.5s ease-in-out infinite; }
.staff-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.staff-badges span { padding: 4px 7px; border: 1px solid color-mix(in srgb,var(--staff-color) 24%,rgba(255,255,255,.08)); border-radius: 5px; background: rgba(255,255,255,.035); color: color-mix(in srgb,var(--staff-color) 78%,#fff); font-size: .56rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.management-card[data-staff-role="founder"] { --staff-color: #ffc857; }
.management-card[data-staff-role="founder"] .staff-role-badge { clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); border-radius: 0; }
@keyframes staff-name-flow { 0%,100% { background-position: 100% 50%; opacity: .9; } 50% { background-position: 0 50%; opacity: 1; } }
@keyframes staff-badge-pulse { 0%,100% { opacity: .58; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }

@media (max-width: 900px) {
  .competition-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 14px; }
  .competition-tab { min-height: 54px; }
}
@media (max-width: 680px) {
  .competition-tabs { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
  .competition-tab { flex: 0 0 176px; scroll-snap-align: start; }
  .competition-tab > span small { display: none; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card { grid-template-columns: 72px 1fr; min-height: 160px; padding: 19px 16px; }
  .directory-portrait { width: 72px; height: 88px; }
}

/* Bespoke animated night-stadium background */
body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% -18%,rgba(16,123,103,.23),transparent 42%),
    radial-gradient(ellipse at 100% 48%,rgba(0,105,143,.11),transparent 38%),
    linear-gradient(145deg,#020b0d 0%,#041213 42%,#02080b 100%);
}
.page-shell,.admin-shell,.profile-shell { position: relative; z-index: 2; }
body::before {
  z-index: 0;
  opacity: .62;
  background-image:
    linear-gradient(115deg,transparent 0 46%,rgba(53,255,209,.025) 46% 46.4%,transparent 46.4% 100%),
    linear-gradient(rgba(107,255,222,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(107,255,222,.035) 1px,transparent 1px);
  background-size: 100% 100%,68px 68px,68px 68px;
  mask-image: linear-gradient(to bottom,#000 0%,rgba(0,0,0,.78) 70%,transparent 100%);
  animation: grid-travel 24s linear infinite;
}
body::after {
  z-index: 0;
  opacity: .55;
  background:
    repeating-linear-gradient(105deg,transparent 0 105px,rgba(53,255,209,.018) 106px 107px,transparent 108px 210px),
    repeating-linear-gradient(0deg,transparent 0 6px,rgba(255,255,255,.008) 7px);
  animation: broadcast-scan 14s linear infinite;
}
.ambient {
  z-index: 1;
  overflow: hidden;
  opacity: 1;
  transform: none;
  transition: none;
}
.ambient::before {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(1120px,112vw);
  height: min(610px,66vw);
  min-height: 360px;
  border: 1px solid rgba(70,255,212,.10);
  background:
    linear-gradient(90deg,transparent calc(50% - .5px),rgba(70,255,212,.11) 50%,transparent calc(50% + .5px)),
    radial-gradient(circle at 50% 50%,transparent 0 74px,rgba(70,255,212,.10) 75px 76px,transparent 77px),
    radial-gradient(circle at 50% 50%,rgba(70,255,212,.18) 0 2px,transparent 3px),
    linear-gradient(90deg,rgba(3,35,31,.38),rgba(4,17,20,.08) 50%,rgba(3,35,31,.38));
  content: "";
  box-shadow: inset 0 0 80px rgba(14,111,91,.07),0 0 80px rgba(0,0,0,.22);
  transform: translate(-50%,-48%) perspective(900px) rotateX(63deg) rotateZ(-7deg) scale(1.08);
  animation: tactical-field 18s ease-in-out infinite alternate;
}
.ambient::after {
  position: absolute;
  left: -35%;
  top: 24%;
  width: 170%;
  height: 1px;
  background: linear-gradient(90deg,transparent 20%,rgba(53,255,209,.05) 34%,rgba(53,255,209,.65) 50%,rgba(54,191,255,.08) 68%,transparent 82%);
  content: "";
  box-shadow: 0 0 16px rgba(53,255,209,.38),0 110px 0 rgba(54,191,255,.045),0 330px 0 rgba(53,255,209,.04);
  transform: rotate(-8deg);
  animation: signal-sweep 11s cubic-bezier(.4,0,.2,1) infinite;
}
.ambient span { position: absolute; display: block; margin: 0; opacity: 1; }
.ambient span:nth-child(1) {
  left: 8%;
  top: 17%;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(53,255,209,.12);
  border-radius: 50%;
  background: radial-gradient(circle,rgba(53,255,209,.045),transparent 67%);
  filter: none;
  animation: tactical-orbit 28s linear infinite;
}
.ambient span:nth-child(1)::before { position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); content: ""; box-shadow: 0 0 15px var(--accent); }
.ambient span:nth-child(2) {
  right: -12%;
  top: 7%;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: conic-gradient(from 160deg,transparent 0 62%,rgba(54,191,255,.09) 70%,transparent 79%);
  filter: blur(24px);
  animation: stadium-rotate 32s linear infinite;
}
.ambient span:nth-child(3) {
  left: 18%;
  bottom: -19rem;
  width: 64%;
  height: 25rem;
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(30,238,190,.12),rgba(0,119,147,.04) 38%,transparent 70%);
  filter: blur(58px);
  animation: stadium-breathe 8s ease-in-out infinite alternate;
}
@keyframes grid-travel { to { background-position: 0 0,68px 68px,-68px 68px; } }
@keyframes broadcast-scan { from { background-position: 0 0,0 0; } to { background-position: 210px 0,0 56px; } }
@keyframes tactical-field {
  from { transform: translate(-52%,-50%) perspective(900px) rotateX(63deg) rotateZ(-8.5deg) scale(1.05); opacity: .58; }
  to { transform: translate(-48%,-45%) perspective(900px) rotateX(60deg) rotateZ(-5.5deg) scale(1.13); opacity: .9; }
}
@keyframes signal-sweep { 0% { transform: translateX(-24%) rotate(-8deg); opacity: 0; } 18%,72% { opacity: .8; } 100% { transform: translateX(24%) rotate(-8deg); opacity: 0; } }
@keyframes tactical-orbit { to { transform: rotate(360deg); } }
@keyframes stadium-rotate { to { transform: rotate(360deg); } }
@keyframes stadium-breathe { from { opacity: .45; transform: scale(.9) translateY(4%); } to { opacity: 1; transform: scale(1.13) translateY(-4%); } }

@media (max-width: 700px) {
  .ambient::before { top: 42%; width: 150vw; height: 82vw; }
  .ambient span:nth-child(1) { left: -18%; top: 22%; }
  .ambient span:nth-child(2) { right: -80%; }
}
@media (prefers-reduced-motion: reduce) {
  body::before,body::after,.ambient::before,.ambient::after,.ambient span { animation: none !important; }
}

/* Recognisable animated football pitch */
.ambient::before { content: none; }
.pitch-board {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(1180px,112vw);
  height: min(660px,63vw);
  min-height: 390px;
  overflow: visible;
  border: 2px solid rgba(151,255,221,.28);
  border-radius: 8px;
  background:
    linear-gradient(0deg,rgba(2,10,12,.12),rgba(2,10,12,.48)),
    repeating-linear-gradient(90deg,
      rgba(13,112,78,.34) 0,
      rgba(13,112,78,.34) 92px,
      rgba(5,68,55,.28) 92px,
      rgba(5,68,55,.28) 184px);
  box-shadow:
    inset 0 0 95px rgba(0,0,0,.62),
    0 0 0 1px rgba(53,255,209,.04),
    0 45px 110px rgba(0,0,0,.42);
  opacity: .72;
  transform: translate(-50%,-50%) perspective(1050px) rotateX(58deg) rotateZ(-5deg) scale(1.08);
  transform-origin: center;
  animation: pitch-drift 15s ease-in-out infinite alternate;
}
.pitch-board::before {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(170,255,229,.30);
  content: "";
  box-shadow: 0 0 10px rgba(53,255,209,.12);
  transform: translateX(-50%);
}
.pitch-board::after {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(170,255,229,.30);
  border-radius: 50%;
  background: radial-gradient(circle,rgba(178,255,232,.62) 0 3px,transparent 4px);
  content: "";
  box-shadow: 0 0 24px rgba(53,255,209,.05);
  transform: translate(-50%,-50%);
}
.pitch-board i { position: absolute; z-index: 2; display: block; box-sizing: border-box; }
.penalty-box {
  top: 23%;
  width: 18%;
  height: 54%;
  border: 2px solid rgba(170,255,229,.27);
}
.penalty-left { left: -2px; }
.penalty-right { right: -2px; }
.goal-box {
  top: 37%;
  width: 4.2%;
  height: 26%;
  border: 2px solid rgba(182,255,235,.35);
  background:
    repeating-linear-gradient(0deg,transparent 0 9px,rgba(172,255,230,.12) 9px 10px),
    repeating-linear-gradient(90deg,transparent 0 9px,rgba(172,255,230,.12) 9px 10px);
  box-shadow: 0 0 20px rgba(53,255,209,.07);
}
.goal-left { left: -4.4%; border-right: 0; }
.goal-right { right: -4.4%; border-left: 0; }

/* The three ambient objects are: ball, floodlight beam and grass glow. */
.ambient > span:nth-of-type(1) {
  left: 7%;
  top: 24%;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(218,255,244,.78);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%,#06231f 0 15%,transparent 16%),
    radial-gradient(circle at 23% 27%,#06231f 0 9%,transparent 10%),
    radial-gradient(circle at 76% 30%,#06231f 0 9%,transparent 10%),
    radial-gradient(circle at 28% 75%,#06231f 0 9%,transparent 10%),
    radial-gradient(circle at 72% 75%,#06231f 0 9%,transparent 10%),
    radial-gradient(circle at 35% 28%,#f2fffb 0,#70e7c9 65%,#177363 100%);
  box-shadow: 0 0 18px rgba(82,255,216,.55),0 0 42px rgba(53,255,209,.18);
  filter: none;
  animation: football-run 17s cubic-bezier(.42,0,.35,1) infinite;
}
.ambient > span:nth-of-type(1)::before {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(53,255,209,.42));
  content: "";
  transform: translateY(-50%);
}
.ambient > span:nth-of-type(2) {
  right: -15%;
  top: -16%;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  background: conic-gradient(from 154deg,transparent 0 58%,rgba(143,255,229,.11) 65%,rgba(54,191,255,.08) 70%,transparent 79%);
  filter: blur(22px);
  animation: stadium-rotate 34s linear infinite;
}
.ambient > span:nth-of-type(3) {
  left: 8%;
  bottom: -21rem;
  width: 84%;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(31,238,156,.16),rgba(0,119,147,.045) 46%,transparent 72%);
  filter: blur(62px);
  animation: stadium-breathe 8s ease-in-out infinite alternate;
}
@keyframes pitch-drift {
  from { transform: translate(-52%,-51%) perspective(1050px) rotateX(59deg) rotateZ(-6.5deg) scale(1.04); opacity: .57; }
  to { transform: translate(-48%,-47%) perspective(1050px) rotateX(56deg) rotateZ(-3.5deg) scale(1.12); opacity: .82; }
}
@keyframes football-run {
  0% { opacity: 0; transform: translate(-18vw,42vh) rotate(0deg) scale(.72); }
  8% { opacity: .85; }
  31% { transform: translate(24vw,13vh) rotate(360deg) scale(1); }
  58% { transform: translate(55vw,39vh) rotate(760deg) scale(.82); }
  82% { opacity: .8; transform: translate(79vw,7vh) rotate(1040deg) scale(.92); }
  100% { opacity: 0; transform: translate(101vw,30vh) rotate(1320deg) scale(.68); }
}
@media (max-width: 700px) {
  .pitch-board { top: 44%; width: 155vw; height: 92vw; min-height: 430px; }
  .ambient > span:nth-of-type(1) { width: 22px; height: 22px; }
  .ambient > span:nth-of-type(2) { right: -95%; }
}
@media (prefers-reduced-motion: reduce) {
  .pitch-board { animation: none !important; }
}

/* Livelier match-night presentation */
:root {
  --accent: #42ffd0;
  --blue: #41cfff;
  --lime: #baff4a;
  --gold: #ffd45c;
}
body {
  background:
    radial-gradient(ellipse at 50% -12%,rgba(23,203,145,.28),transparent 38rem),
    radial-gradient(circle at 8% 42%,rgba(0,199,255,.12),transparent 31rem),
    radial-gradient(circle at 94% 68%,rgba(132,255,62,.08),transparent 28rem),
    linear-gradient(145deg,#01090a 0%,#052019 45%,#020b0e 100%);
}
.stadium-rim {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 3%;
  width: min(1540px,128vw);
  height: 230px;
  border-top: 2px solid rgba(125,255,213,.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 3% 54%,rgba(255,255,255,.82) 0 1px,transparent 2px),
    radial-gradient(circle at 10% 68%,rgba(66,255,208,.75) 0 1px,transparent 2px),
    radial-gradient(circle at 17% 44%,rgba(65,207,255,.72) 0 1px,transparent 2px),
    radial-gradient(circle at 24% 72%,rgba(255,212,92,.60) 0 1px,transparent 2px),
    radial-gradient(circle at 32% 50%,rgba(255,255,255,.72) 0 1px,transparent 2px),
    radial-gradient(circle at 41% 66%,rgba(66,255,208,.64) 0 1px,transparent 2px),
    radial-gradient(circle at 51% 46%,rgba(65,207,255,.75) 0 1px,transparent 2px),
    radial-gradient(circle at 61% 72%,rgba(255,255,255,.68) 0 1px,transparent 2px),
    radial-gradient(circle at 70% 49%,rgba(186,255,74,.55) 0 1px,transparent 2px),
    radial-gradient(circle at 79% 67%,rgba(66,255,208,.72) 0 1px,transparent 2px),
    radial-gradient(circle at 88% 45%,rgba(255,212,92,.58) 0 1px,transparent 2px),
    radial-gradient(circle at 97% 62%,rgba(255,255,255,.72) 0 1px,transparent 2px),
    linear-gradient(to bottom,rgba(12,65,54,.28),transparent 76%);
  box-shadow: inset 0 30px 90px rgba(48,255,190,.045),0 -16px 60px rgba(68,255,207,.05);
  content: "";
  opacity: .72;
  transform: translateX(-50%);
  animation: crowd-pulse 5.5s ease-in-out infinite alternate;
}
.floodlight {
  position: absolute;
  z-index: 1;
  top: 8%;
  width: 174px;
  height: 32px;
  border: 1px solid rgba(211,255,243,.22);
  background:
    radial-gradient(circle,#f3fffb 0 2px,#76ffda 3px,transparent 5px) 8px 6px / 20px 20px repeat-x,
    linear-gradient(180deg,rgba(112,255,218,.13),rgba(2,12,13,.68));
  box-shadow: 0 0 20px rgba(106,255,216,.22),inset 0 0 16px rgba(255,255,255,.06);
  opacity: .64;
}
.floodlight::after {
  position: absolute;
  top: 100%;
  width: 420px;
  height: 520px;
  background: linear-gradient(105deg,rgba(184,255,236,.11),rgba(77,255,206,.025) 34%,transparent 66%);
  clip-path: polygon(0 0,42% 0,100% 100%,8% 100%);
  content: "";
  filter: blur(14px);
  transform-origin: top;
  animation: floodlight-breathe 4.2s ease-in-out infinite alternate;
}
.floodlight-left { left: -42px; transform: rotate(-8deg); }
.floodlight-left::after { left: 0; }
.floodlight-right { right: -42px; transform: rotate(8deg); }
.floodlight-right::after { right: 0; transform: scaleX(-1); }
.pitch-board {
  border-color: rgba(175,255,228,.38);
  background:
    linear-gradient(0deg,rgba(2,12,11,.08),rgba(2,15,14,.35)),
    repeating-linear-gradient(90deg,
      rgba(17,151,91,.46) 0,
      rgba(17,151,91,.46) 92px,
      rgba(8,92,67,.40) 92px,
      rgba(8,92,67,.40) 184px);
  box-shadow:
    inset 0 0 110px rgba(0,0,0,.58),
    inset 0 0 34px rgba(54,255,174,.06),
    0 0 55px rgba(39,255,174,.10),
    0 50px 120px rgba(0,0,0,.44);
  opacity: .82;
}
.pitch-board::before,.pitch-board::after,.penalty-box,.goal-box { filter: drop-shadow(0 0 4px rgba(97,255,210,.16)); }

.site-header {
  background: linear-gradient(90deg,transparent,rgba(8,45,38,.22) 50%,transparent);
  backdrop-filter: blur(8px);
}
.brand-mark {
  box-shadow: 0 0 0 4px rgba(66,255,208,.04),0 0 28px rgba(66,255,208,.18);
  animation: brand-glow 3.8s ease-in-out infinite alternate;
}
.brand small { text-shadow: 0 0 12px rgba(66,255,208,.4); }
.live-dot { animation: live-pulse 1.8s ease-out infinite; }
.intro .eyebrow { color: #8affd9; text-shadow: 0 0 16px rgba(66,255,208,.30); }
.intro h1 {
  background: linear-gradient(105deg,#fff 0 42%,#9affdf 72%,#4ed4ff 100%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 34px rgba(0,0,0,.52));
}
.progress span { background: linear-gradient(90deg,var(--accent),var(--lime)); animation: progress-energy 3.4s linear infinite; background-size: 180% 100%; }

.competition-tabs {
  border-color: rgba(91,255,211,.25);
  background: linear-gradient(120deg,rgba(5,27,25,.90),rgba(2,14,17,.90));
  box-shadow: 0 16px 45px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(16px);
}
.competition-tab {
  position: relative;
  overflow: hidden;
  transition: color .22s ease,background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.competition-tab::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,transparent 16%,rgba(255,255,255,.09) 48%,transparent 72%);
  content: "";
  transform: translateX(-130%);
  transition: transform .55s ease;
}
.competition-tab:hover { transform: translateY(-2px); border-color: rgba(66,255,208,.30); color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.22); }
.competition-tab:hover::before { transform: translateX(130%); }
.competition-tab.active { background: linear-gradient(100deg,rgba(66,255,208,.17),rgba(65,207,255,.055)); box-shadow: inset 0 0 28px rgba(66,255,208,.035); }

.stat-card {
  background:
    radial-gradient(circle at 92% 12%,rgba(65,207,255,.10),transparent 38%),
    linear-gradient(120deg,rgba(10,39,33,.97),rgba(3,15,18,.98));
}
.stat-card::before { width: 58%; background: linear-gradient(90deg,var(--accent),var(--blue),transparent); }
.stat-card:hover { border-color: rgba(66,255,208,.55); box-shadow: 0 22px 52px rgba(0,0,0,.36),0 0 32px rgba(66,255,208,.10); }
.stat-number { color: #fff; text-shadow: 0 0 21px rgba(66,255,208,.19); }
.standings-card,.fixtures-section,.directory-section {
  border-color: rgba(89,255,207,.29);
  background:
    radial-gradient(circle at 10% 0,rgba(59,255,196,.07),transparent 28%),
    linear-gradient(145deg,rgba(6,30,26,.96),rgba(2,12,15,.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.43),0 0 42px rgba(21,255,179,.035);
}
.standings-card::before,.fixtures-section::before,.directory-section::before { background: linear-gradient(90deg,var(--accent),var(--blue),transparent); width: 165px; }
tbody tr:hover { background: linear-gradient(90deg,rgba(66,255,208,.13),rgba(65,207,255,.025)); }
.fixture-card:hover { background: linear-gradient(90deg,rgba(12,61,48,.98),rgba(4,20,23,.98)); box-shadow: inset 4px 0 var(--accent); }
.score-box { border-color: rgba(66,255,208,.34); box-shadow: inset 0 0 24px rgba(66,255,208,.025),0 0 18px rgba(0,0,0,.32); }
.score-box.played strong { text-shadow: 0 0 18px rgba(66,255,208,.42); }

.intro,.stats-grid,.competition-tabs,.standings-card,.fixtures-section,.directory-section { animation: reveal-up .65s both; }
.competition-tabs { animation-delay: .06s; }
.intro { animation-delay: .10s; }
.stats-grid { animation-delay: .18s; }
.standings-card,.fixtures-section,.directory-section { animation-delay: .24s; }

@keyframes crowd-pulse { from { opacity: .48; filter: saturate(.8); } to { opacity: .84; filter: saturate(1.35); } }
@keyframes floodlight-breathe { from { opacity: .35; } to { opacity: .78; } }
@keyframes brand-glow { from { filter: brightness(.9); } to { filter: brightness(1.13) drop-shadow(0 0 7px rgba(66,255,208,.18)); } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(66,255,208,.48); } 70% { box-shadow: 0 0 0 8px rgba(66,255,208,0); } 100% { box-shadow: 0 0 0 0 rgba(66,255,208,0); } }
@keyframes progress-energy { to { background-position: -180% 0; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .stadium-rim { top: 1%; width: 180vw; opacity: .48; }
  .floodlight { top: 11%; width: 118px; opacity: .42; }
  .floodlight-left { left: -76px; }
  .floodlight-right { right: -76px; }
  .floodlight::after { width: 260px; height: 430px; }
}
@media (prefers-reduced-motion: reduce) {
  .stadium-rim,.floodlight::after,.brand-mark,.live-dot,.progress span,.intro,.stats-grid,.competition-tabs,.standings-card,.fixtures-section,.directory-section { animation: none !important; }
  .staff-nickname,.staff-role-badge i { animation: none !important; }
}

/* Fine-pointer parallax: movement only, no cursor spotlight */
:root {
  --scene-x: 0px;
  --scene-y: 0px;
  --headline-x: 0px;
  --headline-y: 0px;
  --brand-rotate-x: 0deg;
  --brand-rotate-y: 0deg;
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ambient {
    transform: translate3d(var(--scene-x),var(--scene-y),0) scale(1.015);
    transition: transform .16s ease-out;
    will-change: transform;
  }
  .intro h1 {
    transform: translate3d(var(--headline-x),var(--headline-y),0);
    transition: transform .2s ease-out,filter .25s ease;
    will-change: transform;
  }
  .brand-mark {
    transform: perspective(460px) rotateX(var(--brand-rotate-x)) rotateY(var(--brand-rotate-y));
    transform-style: preserve-3d;
    transition: transform .2s ease-out,border-color .2s ease,box-shadow .2s ease;
    will-change: transform;
  }
}

/* Cursor-reactive stadium layers and refined interface */
:root {
  --field-x: 0px;
  --field-y: 0px;
  --field-rotate: 0deg;
  --rim-x: 0px;
  --rim-y: 0px;
  --lights-x: 0px;
  --lights-y: 0px;
  --grid-x: 0px;
  --grid-y: 0px;
  --left-light-strength: 1;
  --right-light-strength: 1;
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body::before {
    transform: translate3d(var(--grid-x),var(--grid-y),0) scale(1.035);
    transition: transform .22s ease-out;
    will-change: transform;
  }
  .ambient { transform: none; transition: none; }
  .stadium-rim {
    transform: translateX(calc(-50% + var(--rim-x))) translateY(var(--rim-y));
    transition: transform .2s ease-out;
    will-change: transform;
  }
  .floodlight-left {
    filter: brightness(var(--left-light-strength));
    transform: translate3d(var(--lights-x),var(--lights-y),0) rotate(-8deg);
    transition: transform .18s ease-out,filter .22s ease-out;
  }
  .floodlight-right {
    filter: brightness(var(--right-light-strength));
    transform: translate3d(var(--lights-x),var(--lights-y),0) rotate(8deg);
    transition: transform .18s ease-out,filter .22s ease-out;
  }
  .intro h1,.brand-mark { transform: none; }
}
@keyframes pitch-drift {
  from {
    transform: translate(calc(-52% + var(--field-x)),calc(-51% + var(--field-y))) perspective(1050px) rotateX(59deg) rotateZ(calc(-6.5deg + var(--field-rotate))) scale(1.04);
    opacity: .62;
  }
  to {
    transform: translate(calc(-48% + var(--field-x)),calc(-47% + var(--field-y))) perspective(1050px) rotateX(56deg) rotateZ(calc(-3.5deg + var(--field-rotate))) scale(1.12);
    opacity: .88;
  }
}

.site-header {
  z-index: 40;
  min-height: 94px;
  padding-inline: 12px;
  border: 1px solid rgba(83,255,213,.12);
  border-top: 0;
  background: linear-gradient(100deg,rgba(4,22,21,.78),rgba(6,39,32,.42) 48%,rgba(3,17,20,.76));
  box-shadow: 0 18px 55px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025);
  backdrop-filter: none;
}
.header-actions { min-width: 0; }
.season-switcher { z-index: 1000; }
.season-switcher-trigger {
  min-width: 278px;
  border-radius: 10px;
  clip-path: none;
  box-shadow: inset 0 1px rgba(255,255,255,.045),0 12px 30px rgba(0,0,0,.24),0 0 0 3px rgba(66,255,208,.025);
}
.season-switcher.open .season-switcher-trigger { box-shadow: inset 0 0 28px rgba(66,255,208,.035),0 14px 34px rgba(0,0,0,.32),0 0 0 3px rgba(66,255,208,.045); }
.season-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: auto;
  width: min(380px,calc(100vw - 24px));
  max-height: min(390px,calc(100vh - 24px));
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(93,255,211,.36);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 0,rgba(65,207,255,.11),transparent 38%),
    linear-gradient(145deg,rgba(5,29,26,.995),rgba(1,11,14,.995));
  box-shadow: 0 30px 90px rgba(0,0,0,.68),0 0 40px rgba(53,255,209,.09),inset 0 1px rgba(255,255,255,.04);
  clip-path: none;
  scrollbar-color: rgba(66,255,208,.42) rgba(255,255,255,.035);
  scrollbar-width: thin;
  animation: season-menu-in .18s ease-out both;
}
.season-menu[hidden] { display: none !important; }
.season-menu[data-placement="top"] { transform-origin: bottom right; }
.season-menu[data-placement="bottom"] { transform-origin: top right; }
.season-menu::before { left: 16px; width: 138px; background: linear-gradient(90deg,var(--accent),var(--blue),transparent); }
.season-menu-head {
  position: sticky;
  z-index: 2;
  top: -8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -1px -1px 6px;
  padding: 14px 13px 11px;
  border-bottom: 1px solid rgba(89,255,211,.12);
  background: rgba(3,19,19,.96);
  color: #dffff7;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.season-menu-head small { color: #6c9990; font-size: .62rem; letter-spacing: .04em; text-transform: none; }
.season-option {
  grid-template-columns: 18px minmax(0,1fr) 22px;
  gap: 12px;
  min-height: 62px;
  padding: 9px 13px;
  border-radius: 8px;
}
.season-option + .season-option { border-top-color: transparent; }
.season-option:hover,.season-option:focus-visible { border-color: rgba(66,255,208,.14); background: linear-gradient(90deg,rgba(66,255,208,.10),rgba(65,207,255,.025)); color: #fff; outline: none; }
.season-option.selected { border-color: rgba(66,255,208,.28); background: linear-gradient(90deg,rgba(66,255,208,.16),rgba(65,207,255,.04)); box-shadow: inset 3px 0 var(--accent); }
.season-option-indicator { width: 9px; height: 9px; border: 2px solid rgba(132,174,165,.45); border-radius: 50%; background: #42645e; box-shadow: 0 0 0 4px rgba(95,150,138,.055); }
.season-option[data-status="Devam ediyor"] .season-option-indicator { border-color: #8affdd; background: var(--accent); box-shadow: 0 0 12px rgba(66,255,208,.75); }
.season-option[data-status="Hazırlanıyor"] .season-option-indicator { border-color: #ffe09b; background: var(--gold); box-shadow: 0 0 12px rgba(255,212,92,.45); }
.season-option[data-status="Tamamlandı"] .season-option-indicator,.season-option[data-status="Arşivlendi"] .season-option-indicator { border-color: #72938c; background: #45675f; }
.season-option-copy { min-width: 0; }
.season-option-copy strong { overflow: hidden; color: #ecfff9; font-family: "Barlow Condensed",sans-serif; font-size: 1rem; font-style: italic; letter-spacing: .035em; text-overflow: ellipsis; white-space: nowrap; }
.season-option-copy small { color: #78a69d; font-size: .64rem; font-weight: 700; letter-spacing: .03em; }
.season-option-check { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgba(66,255,208,.08); }
.season-option:not(.selected) .season-option-check { background: transparent; }
@keyframes season-menu-in { from { opacity: 0; transform: translateY(-7px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

.competition-tabs { border-radius: 12px; }
.competition-tab { border-radius: 8px; }
.section-heading { position: relative; padding-left: 34px; }
.section-heading::before { position: absolute; left: 20px; top: 29px; width: 3px; height: 29px; background: linear-gradient(var(--accent),var(--blue)); content: ""; box-shadow: 0 0 14px rgba(66,255,208,.34); }
.section-heading h2 { background: linear-gradient(100deg,#fff,#aaffdf 78%); background-clip: text; color: transparent; }
.table-wrap { scrollbar-color: rgba(66,255,208,.34) rgba(255,255,255,.025); scrollbar-width: thin; }
th { position: sticky; z-index: 3; top: 0; background: rgba(5,30,27,.97); backdrop-filter: blur(12px); }
tbody tr:hover td { color: #d7fff5; }
.fixture-card { border-left: 3px solid transparent; }
.fixture-card:hover { border-left-color: var(--accent); box-shadow: inset 10px 0 30px rgba(66,255,208,.025); }
button:focus-visible,a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { padding-inline: 8px; }
  .season-switcher-trigger { min-width: 205px; }
  .section-heading { padding-left: 28px; }
  .section-heading::before { left: 16px; top: 25px; }
}
@media (max-width: 500px) {
  .site-header { align-items: center; }
  .season-switcher-trigger { min-width: min(182px,54vw); }
  .season-menu { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .season-menu { animation: none !important; }
}

/* Cinematic match-night background v2 */
body::after {
  opacity: .88;
  background:
    radial-gradient(ellipse at 50% 108%,rgba(59,255,177,.10),transparent 52%),
    radial-gradient(ellipse at 50% -14%,rgba(75,230,255,.075),transparent 44%),
    linear-gradient(90deg,rgba(0,0,0,.26),transparent 18% 82%,rgba(0,0,0,.28)),
    repeating-linear-gradient(0deg,transparent 0 7px,rgba(255,255,255,.006) 8px);
  animation: atmosphere-grade 12s ease-in-out infinite alternate;
}
.ambient::before {
  position: absolute;
  z-index: 0;
  inset: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 16% 22%,rgba(41,255,186,.10),transparent 18%),
    radial-gradient(circle at 76% 20%,rgba(50,187,255,.095),transparent 19%),
    radial-gradient(circle at 54% 76%,rgba(122,255,77,.055),transparent 25%),
    conic-gradient(from 210deg at 50% 45%,transparent,rgba(52,255,202,.035),transparent 32%,rgba(65,207,255,.03),transparent 63%);
  content: "";
  filter: blur(34px) saturate(1.25);
  mix-blend-mode: screen;
  opacity: .8;
  animation: stadium-haze 18s ease-in-out infinite alternate;
}
.ambient::after {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: auto;
  bottom: -18vh;
  width: 142vw;
  height: 43vh;
  border-top: 2px solid rgba(109,255,214,.18);
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle,rgba(225,255,247,.28) 0 1px,transparent 1.8px) 0 0 / 25px 17px,
    radial-gradient(circle,rgba(65,207,255,.18) 0 1px,transparent 1.8px) 12px 8px / 31px 21px,
    linear-gradient(to bottom,rgba(12,70,56,.22),rgba(1,10,12,.06) 44%,transparent 78%);
  content: "";
  box-shadow: 0 -18px 70px rgba(44,255,190,.06),inset 0 22px 45px rgba(0,0,0,.22);
  opacity: .56;
  transform: translateX(-50%);
  animation: lower-stand-wave 14s linear infinite;
}
.stadium-rim {
  background:
    linear-gradient(to bottom,rgba(10,75,57,.27),transparent 78%),
    radial-gradient(circle,rgba(244,255,252,.64) 0 1px,transparent 1.9px) 0 0 / 22px 16px,
    radial-gradient(circle,rgba(66,255,208,.48) 0 1px,transparent 1.8px) 9px 7px / 29px 19px,
    radial-gradient(circle,rgba(255,212,92,.30) 0 1px,transparent 1.8px) 4px 3px / 47px 27px;
  animation: crowd-pulse 5.5s ease-in-out infinite alternate,crowd-wave 11s linear infinite;
}
.floodlight::after {
  width: 470px;
  height: 590px;
  background: linear-gradient(105deg,rgba(213,255,245,.16),rgba(77,255,206,.045) 36%,transparent 68%);
  filter: blur(18px);
  mix-blend-mode: screen;
}
.floodlight-left::after { animation: beam-left 8s ease-in-out infinite alternate; }
.floodlight-right::after { animation: beam-right 9.5s ease-in-out infinite alternate-reverse; }
.pitch-board {
  z-index: 1;
  background:
    linear-gradient(105deg,transparent 15%,rgba(181,255,221,.035) 38%,transparent 59%),
    linear-gradient(0deg,rgba(2,12,11,.08),rgba(2,15,14,.33)),
    repeating-linear-gradient(90deg,
      rgba(18,157,93,.49) 0,
      rgba(18,157,93,.49) 92px,
      rgba(7,89,65,.43) 92px,
      rgba(7,89,65,.43) 184px);
  background-size: 180% 100%,100% 100%,auto;
  animation: pitch-drift 15s ease-in-out infinite alternate,turf-shimmer 13s linear infinite;
}
.pitch-board::after { animation: centre-circle-pulse 4.6s ease-in-out infinite alternate; }
.penalty-box::before {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(202,255,239,.46);
  content: "";
  box-shadow: 0 0 10px rgba(66,255,208,.28);
  transform: translate(-50%,-50%);
}
.penalty-left::before { left: 64%; }
.penalty-right::before { left: 36%; }
.penalty-box::after {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 118px;
  border: 2px solid rgba(170,255,229,.23);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}
.penalty-left::after { right: -48px; clip-path: inset(0 0 0 52%); }
.penalty-right::after { left: -48px; clip-path: inset(0 52% 0 0); }
.goal-box { animation: net-ripple 7s linear infinite; }
.ambient > span:nth-of-type(1) {
  box-shadow: 0 0 15px rgba(205,255,242,.50),0 0 38px rgba(53,255,209,.17);
  animation: football-run 21s cubic-bezier(.36,0,.28,1) infinite;
}
.ambient > span:nth-of-type(1)::after {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  width: 36px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.44);
  content: "";
  filter: blur(4px);
  transform: translateX(-50%);
}

@keyframes atmosphere-grade {
  from { filter: hue-rotate(-4deg) saturate(.92); opacity: .72; }
  to { filter: hue-rotate(5deg) saturate(1.15); opacity: .95; }
}
@keyframes stadium-haze {
  from { transform: translate3d(-3%,-2%,0) rotate(-2deg) scale(.96); }
  to { transform: translate3d(4%,3%,0) rotate(2deg) scale(1.07); }
}
@keyframes crowd-wave {
  from { background-position: 0 0,0 0,9px 7px,4px 3px; }
  to { background-position: 0 0,88px 0,-78px 7px,98px 3px; }
}
@keyframes lower-stand-wave {
  from { background-position: 0 0,12px 8px,0 0; transform: translateX(-50%) scaleX(.98); opacity: .42; }
  50% { opacity: .64; }
  to { background-position: 100px 0,-112px 8px,0 0; transform: translateX(-50%) scaleX(1.02); opacity: .48; }
}
@keyframes beam-left {
  from { opacity: .22; transform: rotate(-5deg) scaleX(.82); }
  to { opacity: .78; transform: rotate(5deg) scaleX(1.08); }
}
@keyframes beam-right {
  from { opacity: .26; transform: rotate(-5deg) scaleX(-.86); }
  to { opacity: .72; transform: rotate(5deg) scaleX(-1.1); }
}
@keyframes turf-shimmer { to { background-position: -180% 0,0 0,0 0; } }
@keyframes centre-circle-pulse {
  from { box-shadow: 0 0 20px rgba(53,255,209,.025); opacity: .72; transform: translate(-50%,-50%) scale(.98); }
  to { box-shadow: 0 0 34px rgba(53,255,209,.12); opacity: 1; transform: translate(-50%,-50%) scale(1.035); }
}
@keyframes net-ripple { to { background-position: 0 20px,20px 0; } }
@keyframes football-run {
  0% { opacity: 0; transform: translate(-20vw,44vh) rotate(0deg) scale(.62); }
  7% { opacity: .76; }
  23% { transform: translate(18vw,16vh) rotate(340deg) scale(.94); }
  44% { transform: translate(39vw,35vh) rotate(640deg) scale(.78); }
  62% { transform: translate(58vw,12vh) rotate(900deg) scale(.98); }
  81% { opacity: .82; transform: translate(79vw,31vh) rotate(1160deg) scale(.82); }
  100% { opacity: 0; transform: translate(104vw,9vh) rotate(1480deg) scale(.58); }
}

@media (max-width: 700px) {
  .ambient::after { bottom: -10vh; height: 31vh; opacity: .34; }
  .ambient::before { inset: -8%; opacity: .58; }
  .floodlight::after { width: 300px; height: 470px; }
  .pitch-board { opacity: .74; }
}
@media (prefers-reduced-motion: reduce) {
  body::after,.ambient::before,.ambient::after,.stadium-rim,.floodlight::after,.pitch-board,.pitch-board::after,.goal-box,.ambient > span:nth-of-type(1) { animation: none !important; }
}

/* Homepage broadcast module */
.broadcast-section {
  --broadcast-accent: #ff365e;
  position: relative;
  margin: -8px 0 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb,var(--broadcast-accent) 28%,var(--line));
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 12%,color-mix(in srgb,var(--broadcast-accent) 14%,transparent),transparent 34%),
    linear-gradient(120deg,rgba(7,30,28,.96),rgba(2,13,16,.98));
  box-shadow: 0 20px 55px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.03);
}
.broadcast-section::before { position: absolute; z-index: 2; top: 0; left: 24px; width: 150px; height: 2px; background: linear-gradient(90deg,var(--broadcast-accent),transparent); content: ""; box-shadow: 0 0 16px color-mix(in srgb,var(--broadcast-accent) 62%,transparent); }
.broadcast-offline-layout { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; min-height: 86px; padding: 14px 20px; }
.broadcast-offline-state { display: inline-flex; align-items: center; gap: 8px; color: #8aa59f; font-size: .61rem; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.broadcast-offline-dot { width: 9px; height: 9px; border: 2px solid #68847e; border-radius: 50%; background: #324943; box-shadow: 0 0 0 4px rgba(104,132,126,.08); }
.broadcast-offline-copy { min-width: 0; padding-left: 18px; border-left: 1px solid rgba(129,255,225,.10); }
.broadcast-offline-copy .eyebrow { margin: 0 0 2px; color: color-mix(in srgb,var(--broadcast-accent) 78%,#fff); font-size: .57rem; }
.broadcast-offline-copy .eyebrow::before { display: none; }
.broadcast-offline-copy h2 { overflow: hidden; font-size: 1.35rem; letter-spacing: .025em; text-overflow: ellipsis; white-space: nowrap; }
.broadcast-offline-copy small { display: block; overflow: hidden; margin-top: 2px; color: #76948e; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.broadcast-offline-meta { display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: #8aa9a3; font-size: .68rem; white-space: nowrap; }
.broadcast-watch-button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid color-mix(in srgb,var(--broadcast-accent) 45%,transparent); border-radius: 6px; background: color-mix(in srgb,var(--broadcast-accent) 10%,rgba(3,17,19,.9)); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.broadcast-watch-button:hover { border-color: var(--broadcast-accent); background: color-mix(in srgb,var(--broadcast-accent) 18%,rgba(3,17,19,.9)); box-shadow: 0 0 20px color-mix(in srgb,var(--broadcast-accent) 18%,transparent); transform: translateY(-2px); }
.broadcast-live-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.75fr); min-height: 350px; }
.broadcast-player { position: relative; min-height: 320px; overflow: hidden; border-right: 1px solid rgba(116,255,224,.12); background: #010607; }
.broadcast-player::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.025); content: ""; pointer-events: none; }
.broadcast-player iframe { display: block; width: 100%; height: 100%; min-height: 350px; border: 0; }
.broadcast-player-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 13px; background: radial-gradient(circle,color-mix(in srgb,var(--broadcast-accent) 15%,transparent),transparent 37%),linear-gradient(135deg,#061d1c,#01090b); }
.broadcast-player-placeholder img { position: relative; z-index: 2; width: 88px; height: 88px; border-radius: 16px; object-fit: cover; box-shadow: 0 0 45px color-mix(in srgb,var(--broadcast-accent) 18%,transparent); }
.broadcast-player-placeholder small { position: relative; z-index: 2; color: #c9e6df; font-size: .62rem; font-weight: 800; letter-spacing: .18em; }
.broadcast-signal { position: absolute; width: 190px; height: 190px; border: 1px solid color-mix(in srgb,var(--broadcast-accent) 35%,transparent); border-radius: 50%; animation: broadcast-signal 2.6s ease-out infinite; }
.broadcast-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.broadcast-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.broadcast-kicker strong { color: var(--broadcast-accent); font-size: .68rem; letter-spacing: .13em; }
.broadcast-kicker small { margin-left: auto; color: #7f9f98; font-size: .64rem; font-weight: 700; }
.broadcast-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--broadcast-accent); animation: broadcast-live-pulse 1.65s ease-out infinite; }
.broadcast-copy .eyebrow { color: color-mix(in srgb,var(--broadcast-accent) 78%,#fff); }
.broadcast-copy .eyebrow::before { background: var(--broadcast-accent); box-shadow: 0 0 10px var(--broadcast-accent); }
.broadcast-copy h2 { font-size: clamp(2rem,4vw,3.25rem); line-height: .94; }
.broadcast-copy > p:not(.eyebrow) { margin: 15px 0 0; color: #8baba4; font-size: .8rem; line-height: 1.7; }
.broadcast-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 25px; color: #78968f; font-size: .68rem; }
@keyframes broadcast-live-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb,var(--broadcast-accent) 62%,transparent); } 75%,100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes broadcast-signal { from { opacity: .8; transform: scale(.55); } to { opacity: 0; transform: scale(1.45); } }

@media (max-width: 760px) {
  .broadcast-section { margin-top: 0; }
  .broadcast-offline-layout { grid-template-columns: 1fr auto; gap: 10px; min-height: 76px; padding: 12px 14px; }
  .broadcast-offline-state { grid-column: 1/-1; }
  .broadcast-offline-copy { padding-left: 0; border-left: 0; }
  .broadcast-offline-copy .eyebrow { display: none; }
  .broadcast-offline-meta > span,.broadcast-offline-meta > time { display: none; }
  .broadcast-live-layout { grid-template-columns: 1fr; }
  .broadcast-player { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(116,255,224,.12); }
  .broadcast-player iframe { min-height: 230px; }
  .broadcast-copy { padding: 23px 20px 26px; }
}
@media (max-width: 430px) {
  .broadcast-offline-copy h2 { font-size: 1.12rem; }
  .broadcast-offline-copy small { max-width: 180px; }
  .broadcast-watch-button { min-height: 33px; padding-inline: 10px; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .broadcast-live-dot,.broadcast-signal { animation: none !important; }
}

/* Performance pass: keep the match-night look without repainting the full viewport. */
body::before,
body::after,
.ambient::before,
.ambient::after,
.stadium-rim,
.floodlight::after,
.pitch-board,
.pitch-board::after,
.goal-box,
.ambient > span:nth-of-type(2),
.ambient > span:nth-of-type(3),
.brand-mark,
.progress span { animation: none !important; }

.ambient::before {
  filter: none;
  mix-blend-mode: normal;
  opacity: .34;
}
.ambient::after { opacity: .42; }
.stadium-rim { opacity: .62; }
.floodlight::after {
  filter: blur(6px);
  mix-blend-mode: normal;
  opacity: .48;
}
.pitch-board {
  transform: translate(calc(-50% + var(--field-x)),calc(-50% + var(--field-y))) perspective(1050px) rotateX(58deg) rotateZ(-5deg) scale(1.08);
  transition: transform .18s ease-out;
  will-change: transform;
}
.ambient > span:nth-of-type(1) {
  animation: football-run 28s linear infinite;
  will-change: transform,opacity;
}
.site-header,.competition-tabs { backdrop-filter: none; }
.standings-card,.fixtures-section,.directory-section,.broadcast-section {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

.motion-lite .ambient > span:nth-of-type(1),
.motion-lite .live-dot,
.motion-lite .broadcast-live-dot,
.motion-lite .broadcast-signal { animation: none !important; }
.motion-lite .pitch-board { transition: none; will-change: auto; }

@media (max-width: 700px) {
  .ambient > span:nth-of-type(1),.live-dot,.broadcast-signal { animation: none !important; }
  .ambient::before,.ambient::after { display: none; }
  .pitch-board { transition: none; will-change: auto; }
}

/* Independent YouTube video showcase */
.youtube-section {
  --youtube-accent: #ff3b3b;
  position: relative;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb,var(--youtube-accent) 28%,var(--line));
  background: linear-gradient(135deg,rgba(28,10,13,.96),rgba(3,14,17,.98));
  box-shadow: 0 20px 55px rgba(0,0,0,.24);
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}
.youtube-section::before { position: absolute; z-index: 2; top: 0; left: 24px; width: 150px; height: 2px; background: linear-gradient(90deg,var(--youtube-accent),transparent); content: ""; }
.youtube-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); min-height: 350px; }
.youtube-player { min-height: 350px; background: #010607; }
.youtube-player iframe { display: block; width: 100%; height: 100%; min-height: 350px; border: 0; }
.youtube-placeholder { display: grid; min-height: 350px; place-items: center; color: #8faaa4; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.youtube-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px; border-left: 1px solid rgba(255,255,255,.06); }
.youtube-copy .eyebrow { color: color-mix(in srgb,var(--youtube-accent) 75%,#fff); }
.youtube-copy .eyebrow::before { background: var(--youtube-accent); box-shadow: none; }
.youtube-copy h2 { font-size: clamp(2rem,4vw,3.2rem); line-height: .95; }
.youtube-copy > p:not(.eyebrow) { margin: 16px 0 0; color: #91a9a4; font-size: .8rem; line-height: 1.7; }
.youtube-watch-button { display: inline-flex; width: fit-content; min-height: 38px; margin-top: 24px; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid color-mix(in srgb,var(--youtube-accent) 55%,transparent); background: color-mix(in srgb,var(--youtube-accent) 12%,rgba(3,17,19,.9)); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease,background .2s ease; }
.youtube-watch-button:hover { background: color-mix(in srgb,var(--youtube-accent) 20%,rgba(3,17,19,.9)); transform: translateY(-2px); }
@media (max-width: 760px) {
  .youtube-layout { grid-template-columns: 1fr; }
  .youtube-player,.youtube-player iframe,.youtube-placeholder { min-height: 220px; }
  .youtube-copy { padding: 24px 20px 27px; border-top: 1px solid rgba(255,255,255,.06); border-left: 0; }
}
