:root {
  --blue: #034694;
  --blue-dark: #001c58;
  --blue-darker: #001239;
  --blue-light: #2f6fd0;
  --red: #d31e2b;
  --gold: #c8a55b;
  --ink: #10151f;
  --ink-soft: #3d4759;
  --muted: #6d7688;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --max: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 31, .06), 0 2px 8px rgba(16, 21, 31, .04);
  --shadow-md: 0 4px 12px rgba(16, 21, 31, .08), 0 12px 32px rgba(16, 21, 31, .06);
  --shadow-lg: 0 18px 50px rgba(0, 28, 88, .18);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--blue-darker);
  color: #b9c6de;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar nav { display: flex; gap: 20px; }
.topbar a { transition: color .18s var(--ease); }
.topbar a:hover { color: #fff; }
.topbar .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .01em;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(211, 30, 43, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(211, 30, 43, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(211, 30, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 30, 43, 0); }
}

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand .crest { width: 42px; height: 42px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.brand-text b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-text span {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a9c0e8;
}

.mainnav { margin-left: auto; }
.mainnav ul { display: flex; gap: 4px; align-items: center; }
.mainnav a {
  display: block;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #dce6f8;
  position: relative;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.mainnav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.mainnav a.active { background: rgba(255,255,255,.17); color: #fff; }
.mainnav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ticker ---------- */
.ticker {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  overflow: hidden;
}
.ticker .wrap { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ticker b {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 3px 9px;
  border-radius: 4px;
}
.ticker ul { display: flex; gap: 26px; overflow: hidden; white-space: nowrap; }
.ticker a { color: var(--ink-soft); }
.ticker a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #00306f 0%, #034694 45%, #0a5ab8 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 16px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%);
  z-index: -1;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 46px;
  padding-top: 54px;
  padding-bottom: 58px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: #cfdcf3;
  max-width: 54ch;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #fff; color: var(--blue-dark); box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.13); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b9cbe9;
  margin-bottom: 14px;
  font-weight: 700;
}
.next-match {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.next-match:first-of-type { border-top: 0; padding-top: 0; }
.next-match .badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  flex-shrink: 0;
  min-width: 74px;
  text-align: center;
}
.next-match .badge.c { background: rgba(255,255,255,.2); }
.next-match .teams { flex: 1; font-size: 14.5px; font-weight: 600; }
.next-match .teams small { display: block; font-weight: 400; color: #b9cbe9; font-size: 12.5px; margin-top: 2px; }
.next-match .kick { font-size: 13px; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ---------- section ---------- */
.section { padding: 60px 0; }
.section.alt { background: var(--bg-soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; }
.section-head h2 span { color: var(--blue); }
.section-head p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.more-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.more-link:hover { gap: 9px; }
.more-link svg { transition: transform .2s var(--ease); }

/* ---------- news grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d3dceb;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-dark);
}
.card-media img, .card-media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }
.tag {
  position: absolute;
  left: 12px; top: 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(0, 18, 57, .82);
  color: #fff;
  backdrop-filter: blur(4px);
}
.tag.red { background: var(--red); }
.tag.gold { background: var(--gold); color: var(--blue-darker); }
.card-body { padding: 19px 20px 21px; display: flex; flex-direction: column; flex: 1; }
.card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.card-meta .cat { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }
.card h3 { font-size: 17.5px; font-weight: 700; line-height: 1.35; margin-bottom: 9px; }
.card:hover h3 { color: var(--blue); }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- feature (split) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-media { position: relative; min-height: 340px; background: var(--blue-dark); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; }
.feature-body h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; margin-bottom: 14px; }
.feature-body p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 22px; }

/* ---------- table ---------- */
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
caption {
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
th, td { padding: 12px 14px; text-align: center; }
th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--bg-soft); }
td.pos, th.pos { text-align: left; }
tbody tr { border-top: 1px solid var(--line); transition: background .15s var(--ease); }
tbody tr:hover { background: #f7f9fd; }
tbody tr.chelsea { background: #eef4fd; font-weight: 700; }
tbody tr.chelsea:hover { background: #e4edfc; }
.pos-cell { display: inline-flex; align-items: center; gap: 9px; }
.badge-pos {
  width: 21px; height: 21px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--muted);
  flex-shrink: 0;
}
.badge-pos.ucl { background: var(--blue); }
.badge-pos.uel { background: var(--blue-light); }
.badge-pos.rel { background: var(--red); }
.club-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); flex-shrink: 0; }
.form { display: inline-flex; gap: 4px; }
.form i {
  width: 19px; height: 19px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  color: #fff;
}
.form .w { background: #2e9e5b; }
.form .d { background: #9aa3b4; }
.form .l { background: var(--red); }

/* ---------- fixtures ---------- */
.fixtures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fixture {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fixture:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fixture .comp {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}
.fixture .when { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.fixture .teams { display: flex; flex-direction: column; gap: 10px; }
.fixture .teams div { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.fixture .teams .sc { margin-left: auto; font-weight: 800; color: var(--blue-dark); }
.fixture .venue { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------- squad ---------- */
.squad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.player {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.player:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.player-media { aspect-ratio: 3 / 4; background: linear-gradient(170deg, #0a4bb0, #001239); }
.player-media img { width: 100%; height: 100%; object-fit: cover; }
.player b { display: block; font-size: 15px; padding: 15px 12px 3px; }
.player span { display: block; font-size: 12.5px; color: var(--muted); padding-bottom: 16px; }
.player .num {
  position: absolute;
  margin-top: -46px;
  margin-left: 10px;
  font-size: 26px;
  font-weight: 800;
  color: rgba(255,255,255,.28);
}

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  padding: 34px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.stat:hover { background: var(--bg-soft); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--blue); line-height: 1; }
.stat span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 9px; letter-spacing: .04em; }

/* ---------- article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 48px 0 20px; }
.article h1 { font-size: clamp(27px, 4vw, 40px); font-weight: 800; margin: 14px 0 18px; }
.article .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article .hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.article p { font-size: 17px; line-height: 1.78; color: #2b3444; margin-bottom: 22px; }
.article h2 { font-size: 22px; font-weight: 800; margin: 34px 0 14px; }
.article blockquote {
  margin: 28px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--blue-dark);
}
.article ul.dot { margin: 0 0 24px; padding-left: 4px; }
.article ul.dot li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 16.5px; color: #2b3444; }
.article ul.dot li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.breadcrumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-darker); color: #a8bad6; margin-top: 0; }
.footer-top { padding: 54px 0 42px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer li { margin-bottom: 10px; }
.site-footer a { font-size: 14px; transition: color .16s var(--ease), padding-left .16s var(--ease); }
.site-footer a:hover { color: #fff; padding-left: 4px; }
.footer-about p { font-size: 14px; line-height: 1.7; margin: 14px 0 18px; max-width: 40ch; }
.social { display: flex; gap: 10px; }
.social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.social a:hover { background: var(--blue-light); transform: translateY(-2px); padding-left: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { font-size: 13px; }
.disc { color: #7e8fae; font-size: 12.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .grid, .fixtures { grid-template-columns: repeat(2, 1fr); }
  .squad-grid { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-body { padding: 32px 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .mainnav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--blue-dark);
    padding: 12px 20px 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .3s var(--ease);
    margin-left: 0;
  }
  .mainnav.open { transform: none; }
  .mainnav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .mainnav a { padding: 13px 14px; font-size: 16px; }
  .mainnav a.active::after { display: none; }
  .burger { display: block; }
  .topbar nav { display: none; }
  .grid, .fixtures, .squad-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
  .article p { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}