/* MFK editorial refresh · July 2026                                          */
/* A sharper matchday hierarchy layered over the shared v2 component system.  */
/* ========================================================================== */

:root {
  --navy: #080f2c;
  --navy-2: #0c153a;
  --card-navy: #111d4b;
  --indigo: #5265eb;
  --indigo-hover: #6677f1;
  --bg: #f1f3f8;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { background: var(--bg); letter-spacing: -.01em; }
body::selection { background: var(--gold); color: var(--navy); }
.container { max-width: 1320px; padding-left: 40px; padding-right: 40px; }

/* Navigation now reads as a broadcast masthead instead of a utility bar. */
.site-header {
  background: rgba(8,15,44,.96);
  border-bottom-color: rgba(241,195,61,.2);
  box-shadow: 0 10px 35px rgba(4,8,28,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { max-width: 1320px; min-height: 84px; padding: 12px 40px; }
.brand { gap: 15px; }
.brand-crest { height: 58px; }
.brand-name { font-size: 22px; letter-spacing: .075em; }
.brand-sub { margin-top: 3px; font-size: 10px; letter-spacing: .2em; }
.main-nav > a, .main-nav .dropbtn { border-radius: 99px; padding: 9px 12px; }
.main-nav > a.active, .nav-dropdown.active .dropbtn {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 0;
}
.main-nav > a.nav-fanshop { border-radius: 8px; box-shadow: 0 5px 18px rgba(241,195,61,.18); }

/* Hero: deeper crop, editorial scale and subtle broadcast-grid texture. */
.hero { min-height: min(720px, calc(100svh - 84px)); isolation: isolate; }
.hero-slide { background-position: center 28%; transform: scale(1.025); transition: opacity 1.3s ease, transform 8s ease; }
.hero-slide.active { transform: scale(1); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
  pointer-events: none;
}
.hero::after {
  background:
    linear-gradient(180deg, rgba(8,15,44,.06) 40%, rgba(8,15,44,.9) 100%),
    linear-gradient(90deg, rgba(8,15,44,.98) 0%, rgba(8,15,44,.78) 42%, rgba(8,15,44,.12) 82%);
}
.hero-content { max-width: 1320px; padding: 100px 40px 78px; }
.hero-content > * { max-width: 900px; }
.hero-badge {
  border-radius: 99px;
  padding: 8px 17px;
  font-size: 12px;
  box-shadow: 0 8px 28px rgba(241,195,61,.22);
}
.hero h1 { max-width: 850px; font-size: clamp(58px, 7vw, 104px); line-height: .92; letter-spacing: -.025em; }
.hero p { max-width: 610px; margin-top: 24px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: rgba(240,243,255,.82); }
.btn { min-height: 52px; justify-content: center; border-radius: 8px; padding: 14px 30px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy) !important; box-shadow: 0 12px 30px rgba(241,195,61,.18); }
.btn-primary:hover { background: #f8d35e; }

/* Fixture becomes a self-contained matchday card; the table recedes behind it. */
.match-band { position: relative; padding: 72px 0 60px; background: var(--navy); }
.match-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(82,101,235,.28), transparent 42%);
  pointer-events: none;
}
.match-band .container {
  position: relative;
  max-width: 1040px;
  padding: 34px 48px 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  overflow: hidden;
}
.match-band .container::after {
  content: "MFK";
  position: absolute;
  right: -22px;
  bottom: -70px;
  font: 700 210px/1 var(--font-head);
  color: rgba(255,255,255,.025);
  pointer-events: none;
}
.match-band .label { position: relative; z-index: 1; text-align: center; font-size: 12px; letter-spacing: .22em; }
.match-grid { position: relative; z-index: 1; max-width: 800px; }
.match-team { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; text-align: left; }
.match-team:first-child { grid-template-columns: minmax(0,1fr) 100px; text-align: right; }
.match-team:first-child img, .match-team:first-child .opp-crest { grid-column: 2; grid-row: 1; }
.match-team:first-child .name { grid-column: 1; grid-row: 1; justify-self: end; }
.match-team img, .opp-crest { width: 92px; height: 92px; object-fit: contain; align-self: center; }
.match-team .name { align-self: center; font-size: clamp(19px, 2vw, 27px); }
.match-vs { color: var(--gold); font-size: 24px; }
.match-meta { position: relative; z-index: 1; max-width: 680px; margin-left: auto; margin-right: auto; }
.match-countdown { position: relative; z-index: 1; }
.match-countdown .cd-cell { min-width: 78px; background: rgba(5,10,32,.48); border-color: rgba(255,255,255,.12); }
.match-countdown .cd-num { font-size: 34px; }

.table-band { padding: 64px 0 76px; background: var(--navy-2); }
.table-card { max-width: 1040px; border-radius: 22px; padding: 32px 36px; box-shadow: 0 24px 70px rgba(0,0,0,.16); }
.table-card .label { display: flex; align-items: center; gap: 12px; }
.table-card .label::before { content: ""; width: 24px; height: 3px; background: var(--gold); }
.league-table tr { transition: background .15s ease; }
.league-table tr:not(:first-child):hover { background: rgba(255,255,255,.035); }
.league-table tr.bytca { box-shadow: inset 3px 0 0 var(--gold); background: rgba(82,101,235,.23); }
.league-table tr.bytca .pos-chip { background: var(--gold); color: var(--navy); }

/* Stronger section rhythm. */
.section { padding: 96px 0; }
.section-head { margin-bottom: 38px; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.015em; }
.section-head h2::before { width: 5px; height: 42px; background: var(--gold); }
.section-head .more { color: var(--indigo-deep); }
.section-head .more:hover { color: var(--indigo); }

.stats-band { position: relative; overflow: hidden; padding: 72px 0; background: linear-gradient(115deg, #3545c5, #5265eb 55%, #6474f0); }
.stats-band::after { content: "BYTCA"; position: absolute; right: -18px; bottom: -75px; font: 700 220px/1 var(--font-head); color: rgba(255,255,255,.055); }
.stats-band .container { position: relative; z-index: 1; }
.stat .num { font-size: clamp(60px, 6vw, 86px); }
.stat .lbl { font-size: 13px; }

/* One lead story plus two quick reads makes the homepage scan like sports media. */
.news-band { background: var(--bg); }
.news-grid { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); grid-template-rows: repeat(2, minmax(190px, 1fr)); gap: 22px; }
.news-card { border: 0; border-radius: 20px; box-shadow: 0 8px 30px rgba(16,24,64,.07); }
.news-card:first-child { grid-row: 1 / 3; }
.news-card:first-child .thumb { aspect-ratio: 16/10; }
.news-card:first-child h3 { font-size: clamp(26px, 3vw, 39px); }
.news-card:not(:first-child) a { display: grid; grid-template-columns: 42% 1fr; }
.news-card:not(:first-child) .thumb { aspect-ratio: auto; min-height: 100%; }
.news-card:not(:first-child) .body { padding: 22px; justify-content: center; }
.news-card:not(:first-child) h3 { font-size: 20px; }
.news-card:not(:first-child) p { display: none; }
.news-card .thumb img { transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.035); }
.news-card .meta { font-size: 11px; color: var(--indigo-deep); }

/* The promotion story reads as five chapters in one climb. */
.history-band { overflow: hidden; background: #fff; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; max-width: none; padding: 52px 0 0; }
.timeline::before { left: 0; right: 0; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--gold)); }
.tl-item { min-height: 225px; margin: 0; padding: 26px 22px; background: var(--bg); border-radius: 16px; border: 1px solid var(--line); }
.tl-item::before { left: 18px; top: -37px; width: 14px; height: 14px; border-width: 4px; box-shadow: 0 0 0 5px #fff; }
.tl-item.final { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 18px 45px rgba(8,15,44,.16); }
.tl-item.final::before { left: 16px; top: -39px; }
.tl-item.final .what { color: #fff; }
.tl-item.final p { color: #b8c0db; }
.tl-item .year { font-size: 30px; }
.tl-item .what { margin: 15px 0 10px; font-size: 18px; }
.tl-item p { font-size: 14px; line-height: 1.55; }

.partners-band { background: var(--bg); }
.partners-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.partners-grid .partner { height: 132px; border: 0; border-radius: 18px; filter: grayscale(.7) opacity(.78); box-shadow: 0 7px 24px rgba(16,24,64,.045); }
.partners-grid .partner:hover { transform: translateY(-3px); filter: none; }

.site-footer { background: #060c26; }

@media (max-width: 1180px) {
  .header-inner { min-height: 74px; }
  .main-nav > a.active, .nav-dropdown.active .dropbtn { border-radius: 10px; box-shadow: none; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 54px; }
  .timeline::before { display: none; }
  .tl-item::before, .tl-item.final::before { top: 18px; left: -8px; }
}

@media (max-width: 920px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .hero { min-height: 600px; }
  .hero-content { padding: 90px 24px 62px; }
  .hero h1 { font-size: clamp(50px, 11vw, 78px); }
  .match-band { padding: 48px 20px; }
  .match-band .container { padding: 30px 24px; }
  .match-team, .match-team:first-child { display: flex; flex-direction: column; text-align: center; gap: 12px; }
  .match-team:first-child img, .match-team:first-child .opp-crest, .match-team:first-child .name { grid-column: auto; grid-row: auto; }
  .news-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .news-card:first-child { grid-row: auto; }
  .news-card:not(:first-child) a { grid-template-columns: 38% 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { padding: 10px 18px; }
  .brand-crest { height: 50px; }
  .hero { min-height: 540px; }
  .hero::before { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(8,15,44,.12), rgba(8,15,44,.94) 88%); }
  .hero-content { padding: 74px 18px 48px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero p { margin-top: 16px; font-size: 16px; }
  .hero .btn { width: 100%; }
  .hero .btn-ghost { margin: 10px 0 0; }
  .match-band { padding: 34px 14px; }
  .match-band .container { padding: 26px 16px 28px; border-radius: 18px; }
  .match-grid { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .match-team, .match-team:first-child { gap: 9px; }
  .match-team img, .opp-crest { width: 64px; height: 64px; }
  .match-team .name { font-size: 15px; }
  .match-vs { font-size: 17px; }
  .match-countdown .cd-cell { min-width: 58px; }
  .match-countdown .cd-num { font-size: 28px; }
  .table-band { padding: 38px 0 50px; }
  .table-card { border-radius: 0; padding: 24px 14px; margin-left: -18px; margin-right: -18px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 34px; }
  .news-card:not(:first-child) a { display: flex; }
  .news-card:not(:first-child) .thumb { min-height: 180px; aspect-ratio: 16/9; }
  .news-card:not(:first-child) p { display: block; }
  .timeline { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
  .tl-item { min-height: 0; padding: 22px 22px 22px 28px; }
  .tl-item::before, .tl-item.final::before { top: 24px; left: -8px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners-grid .partner { height: 105px; padding: 14px; }
}

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

/* ========================================================================== */
/* Squad & player poster system · every MFK and league player                  */
/* ========================================================================== */

.squad-page-hero,
.rival-page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  background:
    radial-gradient(circle at 78% 18%, rgba(82,101,235,.28), transparent 32%),
    linear-gradient(125deg, #080f2c, #101b49);
}
.squad-page-hero::before,
.rival-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, transparent);
}
.squad-page-hero::after {
  content: "A";
  position: absolute;
  right: 4vw;
  bottom: -105px;
  font: 700 clamp(240px, 30vw, 430px)/1 var(--font-head);
  color: rgba(255,255,255,.035);
}
.squad-title-lockup,
.rival-title-lockup { position: relative; z-index: 1; display: flex; align-items: center; gap: 34px; }
.squad-title-crest { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 18px 38px rgba(0,0,0,.38)); }
.squad-kicker { margin-bottom: 7px; color: var(--gold); font: 600 12px/1.2 var(--font-head); letter-spacing: .22em; text-transform: uppercase; }
.squad-page-hero h1,
.rival-page-hero h1 { margin: 0; font-size: clamp(58px, 7vw, 96px); letter-spacing: -.025em; }
.squad-page-hero p { max-width: 720px; font-size: 18px; }

.squad-section,
.rival-squad-section { background: linear-gradient(180deg, #eef1f7, #f7f8fb); }
.pos-group { margin-bottom: 72px; }
.pos-group:last-child { margin-bottom: 0; }
.pos-group > h3 {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-bottom: 26px;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 1px solid #d8deea;
  color: var(--navy);
  font-size: 30px;
}
.pos-group > h3::before { content: ""; width: 5px; height: 28px; border-radius: 3px; background: var(--gold); }
.pos-group > h3 small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 600 12px/1 var(--font-head);
}

/* FIFA/editorial portrait cards. */
.squad-section .player-grid,
.player-hero + .section .player-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.player-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 4;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 14px 36px rgba(8,15,44,.13);
  transform: translateZ(0);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.player-card:hover { transform: translateY(-7px); box-shadow: 0 24px 52px rgba(8,15,44,.23); }
.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 32%, rgba(6,12,37,.2) 52%, rgba(6,12,37,.97) 100%);
  pointer-events: none;
}
.player-card::after {
  content: "MFK";
  position: absolute;
  z-index: 0;
  top: 11px;
  left: 14px;
  color: rgba(255,255,255,.12);
  font: 600 10px/1 var(--font-head);
  letter-spacing: .2em;
}
.player-photo { position: absolute; inset: 0; aspect-ratio: auto; align-items: stretch; background: transparent; }
.player-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.player-card:hover .player-photo > img { transform: scale(1.035); }
.player-info { position: absolute; z-index: 2; inset: auto 0 0; padding: 68px 22px 22px; text-align: left; background: linear-gradient(180deg, transparent, rgba(5,10,32,.96) 65%); }
.player-name { color: #fff; font-size: clamp(22px, 2vw, 29px); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; }
.player-pos { margin-top: 7px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .17em; }
.player-num { top: -28px; right: 20px; color: var(--gold); font-size: 52px; text-shadow: 0 4px 18px rgba(0,0,0,.4); }
.player-meta { justify-content: flex-start; min-height: 17px; color: #bac2df; font-size: 12px; }
.player-meta img { height: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }

.player-card.no-photo { background: radial-gradient(circle at 68% 28%, #26398f, transparent 42%), linear-gradient(145deg, #111d4b, #080f2c); }
.player-card.no-photo::before { background: linear-gradient(180deg, transparent 38%, rgba(5,10,32,.95) 100%); }
.player-card.no-photo::after { content: "MFK BYTČA"; color: rgba(241,195,61,.28); }
.player-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.player-placeholder::before { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.player-placeholder img { position: relative; z-index: 1; width: 42%; height: auto; object-fit: contain; opacity: .36; filter: grayscale(1) brightness(1.8); }
.player-placeholder span { position: absolute; right: -8px; top: 18%; color: rgba(255,255,255,.055); font: 700 180px/1 var(--font-head); }

/* Rival team masthead and full-league player card grid. */
.rival-title-lockup { gap: 40px; }
.rival-crest-plate { flex: none; width: 150px; height: 150px; padding: 24px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 22px 55px rgba(0,0,0,.2); }
.rival-crest-plate img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rival-meta { margin-top: 8px !important; }
.rival-next { margin-top: 8px !important; color: var(--gold) !important; font-weight: 600; }
.rival-pos-group { margin-bottom: 64px !important; }
.roster-wrap { max-width: none; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.roster-table,
.roster-table tbody { display: block; width: 100%; }
.roster-table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.roster-table tr {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8,15,44,.1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.roster-table tr:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(8,15,44,.17); }
.roster-table td { display: block; padding: 0; border: 0 !important; }
.roster-table tr:hover td { background: transparent; }
.roster-table .r-ava { order: 1; width: 100%; padding: 0; background: linear-gradient(160deg, #e8ebf4, #f8f9fc); }
.roster-table .r-ava > img,
.roster-table .r-ph { width: 100%; height: 230px; border-radius: 0; object-fit: cover; object-position: top; }
.roster-table .r-ph { position: relative; align-items: center; background: radial-gradient(circle at 70% 25%, #33469e, transparent 45%), var(--navy); color: #fff; }
.roster-table .r-ph img { width: 34%; height: auto; opacity: .35; filter: grayscale(1) brightness(1.8); }
.roster-table .r-ph b { position: absolute; right: 10px; bottom: -22px; color: rgba(255,255,255,.07); font: 700 120px/1 var(--font-head); }
.roster-table .r-name { order: 2; width: 100%; padding: 17px 18px 0; white-space: normal; font-size: 21px; line-height: 1.08; }
.roster-table .r-pos { order: 3; padding: 7px 18px 0; color: var(--indigo-deep); font: 600 11px/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.roster-table .r-nat { order: 4; width: auto; min-height: 16px; padding: 10px 18px 0; }
.roster-table .r-age { order: 5; width: auto; margin-top: auto; padding: 8px 18px 17px; text-align: left; font-size: 12px; }

/* Individual profile becomes a true matchday poster. */
.player-hero { position: relative; min-height: 690px; overflow: hidden; padding: 64px 0 0; background: radial-gradient(circle at 72% 30%, #26398f, transparent 36%), linear-gradient(125deg, #080f2c, #101b49); }
.player-hero::before { content: ""; position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 72px 72px; }
.player-hero::after { content: "MFK BYTČA"; position: absolute; left: -10px; bottom: -54px; color: rgba(255,255,255,.025); font: 700 clamp(120px, 15vw, 230px)/1 var(--font-head); white-space: nowrap; }
.player-hero-inner { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: 64px; align-items: end; }
.ph-info { order: 1; align-self: center; padding-bottom: 72px; }
.ph-photo { order: 2; width: 100%; height: 590px; aspect-ratio: auto; border: 0; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(8,15,44,.35)); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 40px 90px rgba(0,0,0,.25); }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,15,44,.55)); pointer-events: none; }
.ph-photo img { object-position: center top; }
.ph-num { z-index: 2; top: 18px; right: 24px; color: var(--gold); font-size: 76px; }
.ph-back { margin-bottom: 38px; }
.ph-pos { font-size: 12px; }
.player-hero h1 { max-width: 720px; margin: 10px 0 34px; font-size: clamp(64px, 7.6vw, 112px); line-height: .9; letter-spacing: -.035em; }
.ph-facts { max-width: 720px; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 12px; }
.ph-fact { min-height: 88px; justify-content: center; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.045); }
.ph-fact .v { font-size: 18px; }
.ph-tm { margin-top: 24px; }
.profile-placeholder img { width: 46%; opacity: .32; }
.profile-placeholder span { top: 11%; right: -10px; font-size: 300px; }
.player-hero + .section { background: linear-gradient(180deg, #eef1f7, #f8f9fb); }
.ph-nav-btn { min-height: 50px; border: 0; border-radius: 99px; padding: 13px 22px; box-shadow: 0 8px 24px rgba(8,15,44,.08); }

@media (max-width: 980px) {
  .squad-section .player-grid,
  .player-hero + .section .player-grid { grid-template-columns: repeat(3, 1fr); }
  .player-hero-inner { grid-template-columns: minmax(0,1fr) minmax(300px,380px); gap: 32px; }
  .ph-photo { height: 500px; }
  .player-hero h1 { font-size: clamp(56px, 8vw, 80px); }
}

@media (max-width: 720px) {
  .squad-page-hero,
  .rival-page-hero { padding: 48px 0 44px; }
  .squad-title-lockup,
  .rival-title-lockup { align-items: flex-start; gap: 20px; }
  .squad-title-crest { width: 76px; height: 76px; }
  .squad-page-hero h1,
  .rival-page-hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .squad-page-hero p { font-size: 15px; }
  .rival-crest-plate { width: 88px; height: 88px; padding: 14px; border-radius: 18px; }
  .rival-meta { font-size: 14px !important; }
  .squad-section .player-grid,
  .player-hero + .section .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .player-card { border-radius: 14px; }
  .player-info { padding: 50px 14px 15px; }
  .player-name { font-size: clamp(18px, 5.4vw, 24px); }
  .player-pos { font-size: 9px; }
  .player-meta { font-size: 10px; }
  .pos-group { margin-bottom: 52px; }
  .pos-group > h3 { font-size: 25px; margin-bottom: 18px; }
  .roster-table tbody { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .roster-table tr { min-height: 280px; border-radius: 14px; }
  .roster-table .r-ava > img,
  .roster-table .r-ph { height: 180px; }
  .roster-table .r-name { padding: 13px 13px 0; font-size: 17px; }
  .roster-table .r-pos { display: block; padding: 6px 13px 0; font-size: 9px; }
  .roster-table .r-nat { padding: 8px 13px 0; }
  .roster-table .r-age { padding: 7px 13px 13px; }
  .player-hero { min-height: 0; padding-top: 34px; }
  .player-hero-inner { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .ph-photo { order: 1; width: min(82vw, 340px); height: 420px; margin: 0 auto; border-radius: 24px 24px 0 0; }
  .ph-info { order: 2; width: 100%; padding: 30px 0 52px; text-align: left; }
  .ph-back { margin-bottom: 22px; }
  .player-hero h1 { margin-bottom: 26px; font-size: clamp(54px, 16vw, 76px); }
  .ph-facts { grid-template-columns: repeat(2, minmax(0,1fr)); margin: 0; }
  .ph-fact { align-items: flex-start; }
  .ph-nav-btn { max-width: 48%; padding: 12px 15px; font-size: 11px; }
}

@media (max-width: 420px) {
  .squad-title-lockup { display: block; }
  .squad-title-crest { width: 64px; height: 64px; margin-bottom: 18px; }
  .squad-section .player-grid,
  .player-hero + .section .player-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .player-card { aspect-ratio: 2.85 / 4; }
  .player-name { font-size: 18px; }
  .player-meta span { display: none; }
  .rival-title-lockup { gap: 14px; }
  .rival-crest-plate { width: 72px; height: 72px; }
  .rival-page-hero h1 { font-size: 39px; }
}

/* ========================================================================== */
/* Academy destinations · youth pathway and girls' football                   */
/* ========================================================================== */

.academy-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 34%, rgba(82,101,235,.42), transparent 34%),
    linear-gradient(125deg, #080f2c, #101b49);
}
.academy-hero::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000 48%, transparent); }
.academy-hero::after { content: "AKADÉMIA"; position: absolute; left: -12px; bottom: -60px; color: rgba(255,255,255,.028); font: 700 clamp(150px, 18vw, 270px)/1 var(--font-head); white-space: nowrap; }
.academy-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr); gap: 80px; align-items: center; }
.academy-kicker,
.academy-section-index,
.academy-action-label { color: var(--gold); font: 600 12px/1.2 var(--font-head); letter-spacing: .23em; text-transform: uppercase; }
.academy-hero h1 { max-width: 820px; margin: 12px 0 26px; font-size: clamp(70px, 8.5vw, 126px); line-height: .88; letter-spacing: -.035em; }
.academy-hero-copy > p { max-width: 690px; color: #c2cae5; font-size: 19px; line-height: 1.6; }

.academy-scoreboard { position: relative; min-height: 390px; padding: 36px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: 0 35px 90px rgba(0,0,0,.23); }
.academy-scoreboard::after { content: "13"; position: absolute; right: -20px; bottom: -48px; color: rgba(255,255,255,.04); font: 700 260px/1 var(--font-head); }
.academy-scoreboard > img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.3)); }
.academy-score-main { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; margin: 32px 0 26px; }
.academy-score-main strong { color: var(--gold); font: 700 112px/.72 var(--font-head); }
.academy-score-main span,
.academy-score-pair span { max-width: 150px; color: #c1c9e4; font: 600 10px/1.35 var(--font-head); letter-spacing: .15em; text-transform: uppercase; }
.academy-score-pair { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.academy-score-pair > div { display: flex; align-items: center; gap: 12px; padding-top: 24px; }
.academy-score-pair > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.academy-score-pair strong { color: #fff; font: 700 42px/1 var(--font-head); }

.academy-intro { background: #fff; }
.academy-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.academy-intro h2 { max-width: 560px; margin-top: 22px; color: var(--navy); font-size: clamp(46px, 5vw, 72px); line-height: .98; }
.academy-copy { padding-top: 8px; }
.academy-copy p { margin-bottom: 1.2em; color: #4f5972; font-size: 18px; line-height: 1.7; }
.academy-copy .academy-lead { margin-top: 28px; padding: 22px 0 0 26px; border-top: 1px solid var(--line); border-left: 4px solid var(--gold); color: var(--navy); font: 600 22px/1.5 var(--font-head); }

.academy-pathway { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 76px; padding-top: 38px; }
.academy-pathway::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7px; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--gold)); }
.academy-stage { position: relative; min-height: 230px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.academy-stage-dot { position: absolute; left: 25px; top: -39px; width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 2px var(--indigo); }
.academy-stage-num { color: #a7afc4; font: 600 12px/1 var(--font-head); letter-spacing: .16em; }
.academy-stage h3 { margin: 36px 0 12px; color: var(--navy); font-size: 26px; }
.academy-stage p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.academy-stage.is-senior { border-color: var(--navy); background: var(--navy); box-shadow: 0 20px 48px rgba(8,15,44,.18); }
.academy-stage.is-senior .academy-stage-dot { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.academy-stage.is-senior h3 { color: #fff; }
.academy-stage.is-senior p { color: #b8c0d9; }

.academy-values-band { position: relative; overflow: hidden; background: var(--bg); }
.academy-values-band::after { content: "MFK"; position: absolute; right: -22px; bottom: -100px; color: rgba(8,15,44,.035); font: 700 330px/1 var(--font-head); }
.academy-values-band .container { position: relative; z-index: 1; }
.academy-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.academy-value { min-height: 300px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(8,15,44,.06); }
.academy-value > span { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--gold); font: 600 13px/1 var(--font-head); }
.academy-value h3 { margin: 70px 0 14px; color: var(--navy); font-size: 29px; }
.academy-value p { color: var(--text-muted); font-size: 16px; line-height: 1.65; }

.academy-actions-band { padding-top: 0; background: var(--bg); }
.academy-action-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.academy-girls-card,
.academy-join-card { position: relative; min-height: 390px; overflow: hidden; border-radius: 24px; padding: 42px; }
.academy-girls-card { display: block; color: #fff !important; background: radial-gradient(circle at 80% 30%, #4659d8, transparent 40%), var(--navy); box-shadow: 0 24px 60px rgba(8,15,44,.18); }
.academy-girls-card::after { content: "WU"; position: absolute; right: -5px; bottom: -55px; color: rgba(255,255,255,.05); font: 700 230px/1 var(--font-head); }
.academy-girls-card h2,
.academy-join-card h2 { max-width: 540px; margin: 80px 0 15px; color: inherit; font-size: clamp(38px, 4vw, 58px); }
.academy-girls-card p { position: relative; z-index: 1; max-width: 500px; color: #c2cae4; font-size: 17px; }
.academy-action-link { position: absolute; z-index: 1; left: 42px; bottom: 38px; color: var(--gold); font: 600 13px/1 var(--font-head); letter-spacing: .13em; text-transform: uppercase; }
.academy-join-card { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; color: var(--navy); background: linear-gradient(135deg, #f8d65f, var(--gold)); }
.academy-join-card > img { width: 116px; filter: drop-shadow(0 15px 25px rgba(8,15,44,.18)); }
.academy-join-card h2 { margin: 12px 0 12px; }
.academy-join-card p { max-width: 560px; color: rgba(8,15,44,.72); font-size: 16px; }
.academy-phone { display: inline-flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 25px; padding: 13px 18px; border-radius: 10px; background: var(--navy); color: #fff !important; font: 600 12px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.academy-phone strong { color: var(--gold); }
.academy-news-band { background: #fff; }

/* Girls: one coherent competitive identity. */
.girls-hero::after { content: "WU19 / WU15"; }
.girls-hero-mark { display: flex; align-items: baseline; justify-content: center; color: #fff; filter: drop-shadow(0 24px 60px rgba(0,0,0,.25)); }
.girls-hero-mark span { align-self: flex-start; margin: 25px 9px 0 0; color: var(--gold); font: 600 20px/1 var(--font-head); letter-spacing: .08em; }
.girls-hero-mark strong { font: 700 clamp(110px, 12vw, 180px)/.8 var(--font-head); letter-spacing: -.06em; }
.girls-hero-mark i { margin: 0 10px; color: rgba(255,255,255,.2); font: normal 400 72px/1 var(--font-head); }
.girls-league-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.girls-league-chips span { padding: 8px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; background: rgba(255,255,255,.07); color: #fff; font: 600 11px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.girls-league-chips span:first-child { border-color: var(--gold); background: var(--gold); color: var(--navy); }

.girls-matchday .container { max-width: 1120px; }
.girls-match-main { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 44px; align-items: center; }
.girls-match-title { max-width: 620px; font: 700 clamp(30px,3.5vw,48px)/1.06 var(--font-head); letter-spacing: -.015em; text-transform: uppercase; }
.girls-match-meta { margin-top: 13px; color: #aeb6d6; font-size: 16px; }
.girls-kickoff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.girls-kickoff { min-width: 140px; padding: 18px 20px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); }
.girls-kickoff div { color: var(--gold); font: 600 10px/1.3 var(--font-head); letter-spacing: .13em; text-transform: uppercase; }
.girls-kickoff strong { display: block; margin-top: 8px; color: #fff; font: 700 34px/1 var(--font-head); }
.girls-stats { padding: 58px 0; }
.girls-content { padding-top: 86px; background: linear-gradient(180deg, #f7f8fb, #eef1f7); }
.girls-story { position: relative; max-width: 1000px; padding: 38px 42px 30px; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(8,15,44,.06); }
.girls-story::before { content: "MFK"; position: absolute; right: 26px; top: 2px; color: rgba(8,15,44,.035); font: 700 120px/1 var(--font-head); }
.girls-story p { position: relative; max-width: 790px; }
.girls-teams-section,
.girls-schedule-section,
.girls-join-wrap { margin-top: 76px; }
.girls-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.girls-team-card { position: relative; min-height: 330px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(8,15,44,.08); }
.girls-team-code { position: absolute; right: -8px; top: -22px; color: rgba(82,101,235,.08); font: 700 160px/1 var(--font-head); }
.girls-team-card .body { position: relative; z-index: 1; display: flex; min-height: 330px; flex-direction: column; justify-content: flex-end; padding: 34px; }
.girls-team-card .meta { color: var(--indigo); font: 600 11px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; }
.girls-team-card h3 { margin: 14px 0 10px; color: var(--navy); font-size: 40px; }
.girls-team-card p { max-width: 440px; color: var(--text-muted); }
.girls-team-card a { color: var(--indigo-deep); }
.girls-schedule-wrap { padding: 14px 28px; border: 0; border-radius: 20px; box-shadow: 0 14px 38px rgba(8,15,44,.07); }
.girls-schedule-table td { padding-top: 17px; padding-bottom: 17px; }
.girls-schedule-table .girls-u19,
.girls-schedule-table .girls-u15 { text-align: center; font-family: var(--font-head); font-size: 16px; }
.girls-join-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 42px; border-radius: 22px; color: var(--navy); background: linear-gradient(135deg,#f8d65f,var(--gold)); box-shadow: 0 18px 45px rgba(212,164,31,.18); }
.girls-join-phone { display: inline-flex; align-items: center; gap: 11px; padding: 15px 24px; border-radius: 12px; background: var(--navy); color: #fff !important; font: 600 13px/1.3 var(--font-head); letter-spacing: .04em; white-space: nowrap; }

@media (max-width: 980px) {
  .academy-hero-grid { grid-template-columns: 1fr .8fr; gap: 40px; }
  .academy-scoreboard { min-height: 340px; padding: 26px; }
  .academy-intro-grid { gap: 45px; }
  .academy-pathway { grid-template-columns: repeat(2,1fr); row-gap: 50px; }
  .academy-pathway::before { display: none; }
  .academy-stage-dot { top: 24px; left: -7px; }
  .academy-action-grid { grid-template-columns: 1fr; }
  .girls-match-main { grid-template-columns: 1fr; }
  .girls-kickoff-grid { max-width: 360px; }
}

@media (max-width: 720px) {
  .academy-hero { min-height: 0; padding: 64px 0 50px; }
  .academy-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
  .academy-hero h1 { font-size: clamp(58px,17vw,82px); }
  .academy-hero-copy > p { font-size: 16px; }
  .academy-scoreboard { min-height: 300px; border-radius: 20px; }
  .academy-score-main strong { font-size: 88px; }
  .academy-score-pair strong { font-size: 35px; }
  .academy-intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .academy-intro h2 { font-size: 48px; }
  .academy-copy p { font-size: 16px; }
  .academy-copy .academy-lead { font-size: 19px; }
  .academy-pathway { grid-template-columns: 1fr; gap: 13px; margin-top: 48px; padding-top: 0; }
  .academy-stage { min-height: 0; padding: 24px 24px 24px 30px; }
  .academy-stage-dot { top: 27px; }
  .academy-stage h3 { margin: 24px 0 8px; }
  .academy-values-grid { grid-template-columns: 1fr; gap: 13px; }
  .academy-value { min-height: 0; padding: 26px; }
  .academy-value h3 { margin: 28px 0 10px; }
  .academy-girls-card,
  .academy-join-card { min-height: 380px; padding: 30px; }
  .academy-girls-card h2 { margin-top: 68px; }
  .academy-action-link { left: 30px; bottom: 30px; }
  .academy-join-card { display: block; }
  .academy-join-card > img { width: 82px; margin-bottom: 30px; }
  .girls-hero-mark { width: 100%; }
  .girls-hero-mark strong { font-size: 108px; }
  .girls-hero-mark span { font-size: 15px; }
  .girls-matchday { padding-left: 14px; padding-right: 14px; }
  .girls-matchday .container { padding: 28px 18px; }
  .girls-match-title { font-size: 31px; }
  .girls-kickoff-grid { max-width: none; }
  .girls-kickoff { min-width: 0; padding: 15px 8px; }
  .girls-kickoff strong { font-size: 29px; }
  .girls-stats { padding: 46px 0; }
  .girls-story { padding: 28px 24px 20px; }
  .girls-team-grid { grid-template-columns: 1fr; gap: 14px; }
  .girls-team-card,
  .girls-team-card .body { min-height: 280px; }
  .girls-team-card h3 { font-size: 34px; }
  .girls-teams-section,
  .girls-schedule-section,
  .girls-join-wrap { margin-top: 58px; }
  .girls-schedule-wrap { overflow: visible; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .girls-schedule-table { min-width: 0; }
  .girls-schedule-table tbody { display: grid; gap: 12px; }
  .girls-schedule-table tr:first-child { display: none; }
  .girls-schedule-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(8,15,44,.06); }
  .girls-schedule-table td { padding: 4px 0; border: 0; text-align: left; }
  .girls-schedule-table .girls-round { color: var(--indigo); font: 600 11px/1.4 var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
  .girls-schedule-table .girls-date { text-align: right; color: var(--text-muted); font-size: 12px; }
  .girls-schedule-table .girls-opponent { grid-column: 1 / 3; padding: 12px 0 10px; font: 600 19px/1.2 var(--font-head); text-transform: uppercase; }
  .girls-schedule-table .girls-venue { grid-column: 1 / 3; padding-bottom: 12px; color: var(--text-muted); font-size: 12px; }
  .girls-schedule-table .girls-u19,
  .girls-schedule-table .girls-u15 { position: relative; padding: 30px 12px 11px; text-align: center; border-radius: 9px; background: var(--bg); }
  .girls-schedule-table .girls-u19::before,
  .girls-schedule-table .girls-u15::before { content: attr(data-label); position: absolute; top: 8px; left: 0; right: 0; color: var(--indigo); font: 600 9px/1 var(--font-head); letter-spacing: .12em; }
  .girls-join-card { padding: 30px 24px; }
  .girls-join-phone { width: 100%; white-space: normal; justify-content: center; text-align: center; }
}
