:root {
  --bg: #070707;
  --surface: #111111;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f4ef;
  --muted: #aaa49b;
  --orange: #ff8617;
  --orange-2: #ffad42;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 134, 23, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--orange);
  color: #111;
  font-weight: 800;
}

.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 7, 7, 0.76);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(7, 7, 7, 0.94);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 134, 23, .6);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,134,23,.24), rgba(255,134,23,.04));
  color: var(--orange);
  box-shadow: inset 0 0 24px rgba(255, 134, 23, .08);
}

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

.nav-links a {
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  overflow: clip;
  padding: 84px 0 100px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 8%;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 134, 23, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,134,23,.025), 0 0 0 140px rgba(255,134,23,.018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.lead,
.content-body {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.content-body p:last-child { margin-bottom: 0; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--orange);
  border-radius: 13px;
  background: var(--orange);
  color: #16100a;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(255, 134, 23, .18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-3px); background: var(--orange-2); }
.button:active { transform: translateY(0) scale(.98); }

.button.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  box-shadow: none;
}

.button.secondary:hover { border-color: rgba(255,134,23,.5); background: rgba(255,134,23,.08); }

.hero-panel {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 15%, rgba(7,7,7,.88)),
    radial-gradient(circle at 55% 24%, rgba(255,134,23,.34), transparent 27%),
    linear-gradient(145deg, #26211c, #0b0b0b 68%);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "INF";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 1000;
  letter-spacing: -.1em;
  -webkit-text-stroke: 1px rgba(255,255,255,.13);
  transform: rotate(-8deg) translateX(-2%);
}

.hero-panel-copy {
  position: absolute;
  inset: auto 28px 28px;
}

.hero-panel-copy strong { display: block; font-size: 1.7rem; line-height: 1.1; }
.hero-panel-copy span { color: var(--muted); }

.section { padding: 100px 0; }
.section.compact { padding: 70px 0; }
.section-heading { max-width: 770px; margin-bottom: 46px; }

.page-hero {
  padding: 100px 0 68px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); }

.quick-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-card,
.feature-card,
.contact-card {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 14px 45px rgba(0,0,0,.16);
}

.quick-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.quick-card::after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--orange);
  font-size: 1.6rem;
  transition: transform .22s ease;
}

.quick-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,134,23,.48);
  box-shadow: 0 22px 55px rgba(255,134,23,.09);
}

.quick-card:hover::after { transform: translateX(5px); }
.quick-card:active { transform: translateY(-2px) scale(.99); }

.card-index {
  color: var(--orange);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.quick-card p,
.feature-card p,
.contact-card p { margin-bottom: 0; color: var(--muted); }

.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card { min-height: 250px; }
.feature-card .icon { margin-bottom: 46px; color: var(--orange); font-size: 1.6rem; }

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(0,0,0,.2);
  transition: transform .22s ease, border-color .22s ease;
}

.player-card:hover { transform: translateY(-6px); border-color: rgba(255,134,23,.4); }

.player-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #35302a, #121212 65%);
}

.player-photo img { width: 100%; height: 100%; object-fit: cover; }

.player-placeholder {
  color: rgba(255,255,255,.14);
  font-size: 4rem;
  font-weight: 1000;
}

.player-number {
  position: absolute;
  right: 15px;
  top: 12px;
  color: rgba(255,255,255,.92);
  font-size: 2.1rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0,0,0,.5);
}

.player-info { padding: 20px; }
.player-info h3 { margin-bottom: 4px; }
.player-info p { margin-bottom: 0; color: var(--orange); font-size: .84rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }

.empty-state {
  padding: 42px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 880px;
  margin-top: 58px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 84px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--orange), rgba(255,255,255,.08));
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 48px;
  padding: 0 0 50px;
}

.timeline-year { color: var(--orange); font-weight: 950; }
.timeline-copy { position: relative; padding: 0 0 0 22px; }
.timeline-copy::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}
.timeline-copy p { margin-bottom: 0; color: var(--muted); }

.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-card { min-height: 210px; }
.contact-label { color: var(--orange); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: rgba(255,134,23,.08);
  color: var(--muted);
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.26);
}

.footer-grid {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #101010;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { min-height: 360px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(3.2rem, 18vw, 5.1rem); }
  .section { padding: 78px 0; }
  .quick-grid,
  .feature-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 190px; }
  .player-grid { gap: 12px; }
  .player-info { padding: 15px; }
  .player-info h3 { font-size: 1rem; }
  .player-number { font-size: 1.65rem; }
  .timeline::before { left: 61px; }
  .timeline-item { grid-template-columns: 42px 1fr; gap: 36px; }
  .timeline-copy::before { left: -24px; }
  .footer-grid { min-height: 220px; flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Infinites roster sync */
.roster-meta { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.roster-meta strong { color: var(--text); }
.roster-meta a { color: var(--orange); text-decoration: none; }
.roster-groups { display: grid; gap: 64px; }
.roster-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.roster-heading h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.roster-heading span { color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 560px) { .roster-heading { align-items: flex-start; flex-direction: column; gap: 6px; } }

/* Infinites live sports and corrected portraits */
html, body { max-width: 100%; overflow-x: hidden; }
.container, main, section { min-width: 0; }
.player-photo { position: relative; aspect-ratio: 4 / 5; height: auto; min-height: 0; }
.player-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.compact-hero { min-height: 500px; }
.match-sections { display: grid; gap: 70px; }
.matches-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.match-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.match-card-details { padding: 0; }
.match-card-details > summary { position: relative; padding: 24px; cursor: pointer; list-style: none; }
.match-card-details > summary::-webkit-details-marker { display: none; }
.match-card-details > summary::after { content: "+"; position: absolute; right: 24px; bottom: 21px; color: var(--orange); font-size: 1.35rem; font-weight: 900; }
.match-card-details[open] > summary::after { content: "−"; }
.details-hint { display: block; margin-top: 14px; color: var(--orange); font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.match-details { padding: 8px 24px 24px; border-top: 1px solid var(--line); }
.lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-top: 22px; }
.lineup h3 { margin: 0 0 13px; font-size: 1rem; }
.lineup ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.lineup li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.lineup-player { display: flex; align-items: center; min-width: 0; }
.shirt-number { flex: 0 0 34px; color: var(--orange); font-weight: 900; }
.goal-count { flex: 0 0 auto; color: var(--text); font-size: .78rem; }
.match-official { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: .86rem; }
.match-official span { color: var(--muted); }
.hfl-report-link { display: inline-block; margin-top: 20px; color: var(--muted); font-size: .78rem; text-decoration: none; }
.hfl-report-link:hover { color: var(--orange); }
.match-date, .match-venue { color: var(--muted); font-size: .82rem; }
.match-main { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 22px 0; }
.match-teams { display: grid; gap: 12px; font-size: 1.05rem; }
.match-score { display: flex; align-items: center; gap: 8px; color: var(--orange); font-size: 1.8rem; font-weight: 950; }
.match-score span { color: var(--muted); font-size: 1rem; }
.match-score .match-time { color: var(--orange); font-size: 1.25rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.standings-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.standings-table th, .standings-table td { padding: 17px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.standings-table th:nth-child(2), .standings-table td:nth-child(2) { text-align: left; }
.standings-table thead th { color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.standings-table tbody tr:last-child > * { border-bottom: 0; }
.standings-table .is-infinites { background: rgba(255,134,23,.12); color: var(--text); }
.standings-table .is-infinites th, .standings-table .is-infinites td:last-child { color: var(--orange); }
.standings-table .is-promotion { box-shadow: inset 4px 0 #26db6f; }
.standings-table .is-relegation { box-shadow: inset 4px 0 #ff4a55; }
.position-cell { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.movement-icon, .standings-legend i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: .9rem; font-weight: 950; }
.movement-icon.promotion, .standings-legend .promotion { background: rgba(38,219,111,.14); color: #26db6f; }
.movement-icon.relegation, .standings-legend .relegation { background: rgba(255,74,85,.14); color: #ff4a55; }
.standings-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; margin: 0 0 14px; color: var(--muted); font-size: .8rem; }
.standings-legend span { display: inline-flex; align-items: center; gap: 8px; }
.stats-toolbar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.stats-toolbar label { display: grid; gap: 8px; min-width: min(100%, 230px); color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stats-toolbar select { min-height: 50px; padding: 0 42px 0 15px; border: 1px solid var(--line); border-radius: 12px; background: #111; color: var(--text); font: inherit; letter-spacing: 0; text-transform: none; }
.stats-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-highlight { display: grid; align-content: end; min-height: 145px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat-highlight span { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.stat-highlight strong { margin-top: 14px; overflow-wrap: anywhere; font-size: clamp(1.25rem, 2.3vw, 1.85rem); }
.stat-highlight small { margin-top: 5px; color: var(--orange); font-weight: 900; }
.player-stats-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.player-stats-wrap .table-scroll { border: 0; border-radius: 0; }
.player-stats-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.player-stats-table th, .player-stats-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.player-stats-table th:nth-child(2) { text-align: left; }
.player-stats-table thead th { color: var(--muted); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.player-stats-table tbody tr:last-child > * { border-bottom: 0; }
.stats-player { display: inline-flex; align-items: center; gap: 12px; }
.stats-player img { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; object-position: 50% 24%; background: #181818; }
.stats-player > span { display: grid; gap: 2px; }
.stats-player small { color: var(--orange); font-size: .68rem; }
.stats-goals { color: var(--orange); }
.goal-games { position: relative; display: inline-block; }
.goal-games > summary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 62px; min-height: 38px; padding: 6px 10px; border: 1px solid rgba(255,134,23,.28); border-radius: 10px; background: rgba(255,134,23,.08); cursor: pointer; list-style: none; }
.goal-games > summary::-webkit-details-marker { display: none; }
.goal-games > summary:hover, .goal-games[open] > summary { border-color: var(--orange); background: rgba(255,134,23,.16); }
.goal-games-panel { width: min(390px, 70vw); margin: 10px 0 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #0b0b0b; text-align: left; }
.goal-games-panel h3 { margin: 0 0 10px; font-size: .9rem; }
.goal-games-panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.goal-games-panel a, .goal-games-panel li > span { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: #141414; color: var(--text); text-decoration: none; }
.goal-games-panel a:hover { background: #1c1c1c; }
.goal-games-panel a > span, .goal-games-panel li > span { flex: 1; display: grid; gap: 3px; }
.goal-games-panel small { color: var(--muted); font-size: .68rem; }
.goal-games-panel strong { font-size: .82rem; }
.goal-games-panel em { color: var(--orange); font-size: .72rem; font-style: normal; font-weight: 900; }
.goal-games-panel b { color: var(--orange); font-size: 1.1rem; }
.contact-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-person { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.contact-person-copy { padding: 24px; }
.contact-person-copy h2 { margin: 8px 0 18px; font-size: 1.45rem; }
.contact-action { color: var(--text); font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.contact-action:hover { color: var(--orange); }
.contact-email { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--muted); font-size: .88rem; }
.brand-logo { width: 46px; height: 48px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(255, 111, 15, .22)); }
.hero-panel::before { display: none; }
.hero-logo { position: absolute; z-index: 1; top: 24px; left: 50%; width: min(78%, 370px); height: auto; max-height: calc(100% - 116px); object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .48)); }
.hero-panel-copy { z-index: 2; }
.table-scroll { overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.player-card { color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.player-card:hover { transform: translateY(-4px); border-color: rgba(255,134,23,.55); }
.live-dashboard, .records-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dashboard-card, .record-card { display: grid; align-content: end; min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.dashboard-card:hover, .record-card:hover { transform: translateY(-3px); border-color: rgba(255,134,23,.55); }
.dashboard-card small, .record-card small { margin-bottom: auto; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-card strong, .record-card strong { margin-top: 22px; font-size: clamp(1.25rem, 2.3vw, 2rem); }
.dashboard-card span, .record-card span { margin-top: 7px; color: var(--muted); font-size: .86rem; }
.calendar-card { background: linear-gradient(145deg, rgba(255,134,23,.22), var(--surface) 62%); }
.form-curve { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.form-dot { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #080808; font-size: .78rem; font-weight: 950; text-decoration: none; }
.form-s { background: #26db6f; }.form-u { background: #f6c945; }.form-n { background: #ff4a55; color: #fff; }
.hero-actions { margin: 24px 0 8px; }
.records-section { padding-top: 0; }
.records-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.record-card { min-height: 200px; }
.stats-player-link { color: var(--text); text-decoration: none; }.stats-player-link:hover { color: var(--orange); }
.player-profile-section { padding-top: 150px; }
.player-profile { display: grid; grid-template-columns: minmax(280px, 430px) 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.profile-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.profile-photo > span { display: grid; place-items: center; width: 100%; height: 100%; color: var(--orange); font-size: 4rem; font-weight: 950; }
.profile-copy h1 { margin: 8px 0; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; overflow-wrap: anywhere; }
.profile-number { color: var(--orange); font-size: 1.15rem; font-weight: 900; }
.profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 36px 0; }
.profile-stats div { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.profile-stats strong { color: var(--orange); font-size: 1.8rem; }.profile-stats span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.profile-history { margin-top: 90px; }.profile-table { width: 100%; border-collapse: collapse; }.profile-table th,.profile-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
.profile-goals { margin-top: 80px; }.profile-goal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.profile-goal-grid a { display: grid; gap: 7px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none; }.profile-goal-grid a:hover { border-color: var(--orange); }.profile-goal-grid small { color: var(--muted); }.profile-goal-grid span { color: var(--orange); font-weight: 900; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.news-card > img, .news-card-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: linear-gradient(145deg,#181818,#090909); color: var(--orange); font-size: 2rem; font-weight: 950; }
.news-card > div { padding: 24px; }.news-card small { color: var(--orange); }.news-card h2 { margin: 12px 0; }.news-card p { color: var(--muted); }.news-card div > span { font-weight: 900; }
.news-detail { max-width: 850px; margin: 0 auto; }.news-detail h1 { margin: 14px 0 32px; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: .95; }.news-cover { width: 100%; max-height: 520px; margin: 30px 0; border-radius: var(--radius); object-fit: cover; }.back-link { color: var(--muted); text-decoration: none; }
.legal-copy { max-width: 850px; }.legal-copy h2 { margin: 42px 0 12px; }.legal-copy p { color: var(--muted); line-height: 1.8; }.legal-copy a { color: var(--orange); }
@media (max-width: 900px) {
  .matches-grid, .contact-people { grid-template-columns: 1fr; }
  .live-dashboard, .records-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-profile { grid-template-columns: minmax(240px, 340px) 1fr; gap: 36px; }
  .stats-highlights { grid-template-columns: 1fr 1fr; }
  .stat-highlight:first-child { grid-column: 1 / -1; min-height: 110px; }
  .nav-links { max-height: calc(100vh - 92px); overflow-y: auto; }
  .nav-links a { min-height: 46px; display: flex; align-items: center; }
  .hero-logo { width: min(68%, 330px); }
}
@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .nav-wrap { gap: 12px; }
  .brand { gap: 8px; font-size: .86rem; }
  .brand-logo { width: 38px; height: 40px; }
  .site-header .brand > span:last-child { display: none; }
  .menu-button { width: 46px; height: 46px; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-grid { gap: 34px; }
  .hero-panel { min-height: 390px; border-radius: 24px; }
  .hero-logo { top: 18px; width: min(78%, 290px); max-height: 290px; }
  .hero-panel-copy { inset: auto 20px 20px; }
  .page-hero, .compact-hero { min-height: 0; padding: 82px 0 54px; }
  .page-hero h1 { overflow-wrap: anywhere; font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .lineup-grid { grid-template-columns: 1fr; gap: 22px; }
  .match-card { padding: 18px; }
  .match-card-details { padding: 0; }
  .match-card-details > summary { padding: 20px 18px; }
  .match-card-details > summary::after { right: 18px; bottom: 18px; }
  .match-details { padding: 6px 18px 20px; }
  .match-main { gap: 14px; margin: 18px 0; }
  .match-teams { font-size: .96rem; }
  .match-score { font-size: 1.55rem; }
  .details-hint { padding-right: 34px; }
  .match-official { align-items: flex-start; flex-direction: column; gap: 5px; }
  .standings-table { min-width: 680px; }
  .standings-table th, .standings-table td { padding: 14px 10px; }
  .contact-photo { aspect-ratio: 16 / 11; }
  .contact-person-copy { padding: 20px; }
  .footer-grid { gap: 30px; }
  .stats-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
  .stats-toolbar label { min-width: 0; }
  .player-stats-table { min-width: 500px; }
  .player-stats-table th, .player-stats-table td { padding: 12px 9px; }
  .stats-player { gap: 8px; }
  .stats-player img { width: 40px; height: 40px; border-radius: 10px; }
  .goal-games-panel { width: 300px; }
  .standings-legend { justify-content: flex-start; }
  .live-dashboard, .records-grid, .news-grid, .player-profile { grid-template-columns: 1fr; }
  .dashboard-card, .record-card { min-height: 150px; }
  .player-profile-section { padding-top: 100px; }
  .profile-photo { max-width: 420px; }
  .profile-copy h1 { font-size: clamp(2.8rem, 14vw, 5rem); }
  .profile-stats { gap: 8px; }.profile-stats div { padding: 14px 10px; }.profile-stats strong { font-size: 1.5rem; }
  .profile-goal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .player-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 350px; }
  .hero-logo { max-height: 255px; }
  .stats-toolbar, .stats-highlights { grid-template-columns: 1fr; }
  .stat-highlight:first-child { grid-column: auto; }
}
