:root {
  --green: #008839;
  --green-2: #00b04d;
  --mint: #a8ffbc;
  --white: #fff;
  --ink: #03100a;
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.18);
  --panel: rgba(3,16,10,.74);
  --shadow: 0 30px 90px rgba(0,0,0,.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 12%, rgba(168,255,188,.18), transparent 26%),
    linear-gradient(180deg, #005728 0%, #04100a 56%, #020504 100%);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
a { color: inherit; }
.hero {
  min-height: 64vh;
  padding: 34px clamp(20px, 5vw, 82px) clamp(44px, 7vw, 88px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.26) 58%, rgba(0,88,39,.72)),
    url("../assets/page_03.jpg") center / cover;
}
body.root .hero {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.26) 58%, rgba(0,88,39,.72)),
    url("page_03.jpg") center / cover;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,46,21,.88)),
    repeating-linear-gradient(110deg, rgba(255,255,255,.08) 0 2px, transparent 2px 118px);
}
.hero::after {
  right: -18vw;
  bottom: -9vh;
  width: 78vw;
  height: 34vh;
  transform: rotate(-9deg);
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.68), rgba(168,255,188,.24), transparent);
  opacity: .68;
}
header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand img {
  width: 64px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.4));
}
nav {
  display: flex;
  gap: clamp(12px, 1.8vw, 26px);
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  flex: 0 0 auto;
  color: rgba(255,255,255,.72);
  padding: 8px 0;
  text-decoration: none;
  position: relative;
  transition: color .28s ease, transform .28s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s ease;
}
nav a:hover,
nav a.active {
  color: #fff;
  transform: translateY(-1px);
}
nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: clamp(70px, 12vh, 132px);
  max-width: 1020px;
}
.eyebrow {
  display: inline-flex;
  color: var(--mint);
  font-size: clamp(13px, 1.8vw, 20px);
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  margin: 18px 0 24px;
  font-size: clamp(54px, 10vw, 132px);
  line-height: .84;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.hero-copy p {
  max-width: 800px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.35;
}
main {
  position: relative;
  padding: clamp(32px, 6vw, 84px) clamp(20px, 5vw, 82px);
}
.scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 3vw, 34px);
  align-items: center;
  margin-top: clamp(-88px, -7vw, -44px);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.1), rgba(0,75,34,.32)),
    radial-gradient(circle at 78% 8%, rgba(168,255,188,.2), transparent 34%),
    rgba(0,0,0,.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), 0 1px 0 rgba(255,255,255,.12) inset;
}
.team {
  min-width: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.team img,
.team-mark {
  width: clamp(72px, 10vw, 116px);
  height: clamp(72px, 10vw, 116px);
  border-radius: 50%;
  object-fit: contain;
  padding: 10px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.team strong {
  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.versus {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
}
.versus strong {
  color: #fff;
  font-size: clamp(34px, 8vw, 86px);
  line-height: .9;
}
.versus span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(36px, 6vw, 82px) 0 clamp(18px, 3vw, 30px);
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5.8vw, 72px);
  line-height: .92;
  text-transform: uppercase;
}
.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.5;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}
.match-card {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 354px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255,255,255,.075), rgba(0,75,34,.3)),
    radial-gradient(circle at 80% 12%, rgba(168,255,188,.16), transparent 34%),
    rgba(0,0,0,.5);
  box-shadow: 0 28px 76px rgba(0,0,0,.34), 0 1px 0 rgba(255,255,255,.1) inset;
  transition: transform .36s cubic-bezier(.16,1,.3,1), border-color .28s ease, box-shadow .28s ease;
}
.match-card::before {
  content: "";
  position: absolute;
  inset: auto -22% -36% 35%;
  height: 190px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), rgba(168,255,188,.16), transparent);
  pointer-events: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.match-card:hover,
.match-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(168,255,188,.62);
  box-shadow: 0 38px 110px rgba(0,0,0,.42), 0 0 36px rgba(0,176,77,.14);
  outline: none;
}
.match-card:hover::before,
.match-card:focus-visible::before { transform: translateX(18%) rotate(-8deg); }
.card-top,
.card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.meta {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.teams {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.team-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.team-line img,
.mini-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  padding: 7px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
}
.team-line strong {
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.card-bottom span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}
.story,
.info-panel,
.timeline,
.squad-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.075), rgba(0,75,34,.28)),
    rgba(3,16,10,.72);
  box-shadow: 0 28px 76px rgba(0,0,0,.32), 0 1px 0 rgba(255,255,255,.1) inset;
}
.story,
.timeline,
.squad-note { padding: clamp(22px, 3vw, 34px); }
.story h2,
.timeline h2,
.squad-note h2,
.info-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: .96;
  text-transform: uppercase;
}
.story p,
.timeline p,
.squad-note p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.58;
}
.info-panel {
  position: sticky;
  top: 24px;
  padding: clamp(20px, 3vw, 30px);
}
.fact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}
.fact strong {
  color: #fff;
  text-align: right;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(168,255,188,.38);
  border-radius: 3px;
  background: rgba(0,136,57,.44);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(168,255,188,.72);
  background: rgba(0,176,77,.58);
}
.button.secondary { background: rgba(0,0,0,.24); }
.timeline {
  margin-top: clamp(18px, 3vw, 30px);
}
.timeline ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.timeline li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--muted);
}
.timeline time {
  color: var(--mint);
  font-weight: 950;
}
.squad-note {
  margin-top: clamp(18px, 3vw, 30px);
}
@media (max-width: 900px) {
  header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; }
  .scoreboard { grid-template-columns: 1fr; }
  .match-grid,
  .detail-layout { grid-template-columns: 1fr; }
  .info-panel { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .hero { min-height: 58vh; }
  .brand img { width: 54px; }
  .match-card { min-height: 0; }
  .card-top,
  .card-bottom,
  .section-head { align-items: flex-start; flex-direction: column; }
  .team-line { grid-template-columns: 48px minmax(0, 1fr); }
  .team-line img,
  .mini-mark { width: 48px; height: 48px; }
  .timeline li { grid-template-columns: 1fr; }
}
