:root {
  --bg: #08110e;
  --bg-soft: #0c1814;
  --panel: #101e19;
  --panel-light: #142720;
  --text: #f4f7f5;
  --muted: #9baaa4;
  --green: #20c778;
  --green-light: #8af1ba;
  --green-dark: #0a8c50;
  --red: #e4313f;
  --line: rgba(255, 255, 255, .10);
  --container: 1160px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #06100c;
  background: var(--green-light);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .04em;
  text-decoration: none;
}

.brand > span:last-child > span { color: var(--green); }

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 27px;
  height: 27px;
  padding: 5px;
  overflow: hidden;
  background: var(--green);
  border-radius: 8px;
  transform: skew(-7deg);
}

.brand-mark i {
  display: block;
  width: 4px;
  background: #07120e;
  border-radius: 2px 2px 0 0;
}

.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 12px; }

.match-date, .broadcast-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cbd5d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(32, 199, 120, .12);
}

.hero {
  position: relative;
  min-height: 820px;
  padding: 145px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 17, 14, .16) 0%, var(--bg) 100%),
    radial-gradient(ellipse at 50% -10%, #153b2c 0%, #0b1c16 38%, var(--bg) 76%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  content: "";
  opacity: .28;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
}

.hero-glow-left {
  top: 90px;
  left: -360px;
  background: rgba(24, 193, 111, .16);
}

.hero-glow-right {
  top: 160px;
  right: -410px;
  background: rgba(228, 49, 63, .16);
}

.pitch-lines {
  position: absolute;
  top: 75px;
  left: 50%;
  width: min(1180px, 92vw);
  height: 700px;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  transform: translateX(-50%);
}

.pitch-lines::before,
.pitch-lines::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  content: "";
}

.pitch-lines::before { inset: 100px; }
.pitch-lines::after { inset: 230px; }

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-separator {
  width: 3px;
  height: 3px;
  background: rgba(138, 241, 186, .55);
  border-radius: 50%;
}

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

h1 {
  max-width: 860px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span {
  display: block;
  margin-top: 12px;
  color: #b5c2bd;
  font-size: .5em;
  font-weight: 560;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.hero-lead {
  max-width: 660px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 17px;
}

.scoreboard {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  align-items: center;
  max-width: 940px;
  min-height: 218px;
  margin: 0 auto;
  padding: 28px 48px;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(18, 42, 33, .92), rgba(11, 25, 20, .92));
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.scoreboard::before {
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 236, 177, .65), transparent);
  content: "";
}

.team {
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
}

.team-away {
  flex-direction: row-reverse;
  text-align: right;
}

.crest {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 94px;
  height: 110px;
  place-items: center;
  clip-path: polygon(50% 0, 92% 15%, 86% 70%, 50% 100%, 14% 70%, 8% 15%);
  filter: drop-shadow(0 13px 18px rgba(0, 0, 0, .25));
}

.crest::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, .38);
  clip-path: inherit;
  content: "";
}

.crest span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

.crest-akhmat { background: linear-gradient(145deg, #1fd077, #087a45); }
.crest-spartak { background: linear-gradient(145deg, #f04450, #a70e1a); }

.team-city {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.team strong {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.versus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.kickoff-label, .timezone {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.versus strong {
  margin: 2px 0;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.quick-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin: 27px 0 28px;
  color: #b8c4bf;
  font-size: 13px;
  font-weight: 600;
}

.quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.quick-facts svg {
  width: 16px;
  height: 16px;
  fill: var(--green);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 26px;
  color: #06110c;
  background: var(--green);
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(32, 199, 120, .18);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.primary-cta:hover {
  background: #35db8c;
  box-shadow: 0 18px 42px rgba(32, 199, 120, .26);
  transform: translateY(-2px);
}

.primary-cta:focus-visible, .text-link:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 4px;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #06110c;
}

.broadcast-section {
  position: relative;
  z-index: 3;
  padding: 90px 0 100px;
  background: #0a1511;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.09;
  letter-spacing: -.04em;
}

.broadcast-status {
  flex: 0 0 auto;
  padding: 9px 13px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 99px;
}

.broadcast-status.is-live .status-dot {
  background: #ff3d4c;
  box-shadow: 0 0 0 5px rgba(255, 61, 76, .12);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgba(255, 61, 76, 0); }
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #030605;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.player-frame iframe,
.player-frame video,
.player-frame > div:not(.player-placeholder) {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper,
.dreams-player {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(31, 198, 118, .13), transparent 38%),
    linear-gradient(150deg, #0a1511, #050a08);
  place-items: center;
}

.player-pattern {
  position: absolute;
  inset: -50%;
  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: 48px 48px;
  transform: perspective(700px) rotateX(62deg) translateY(10%);
}

.player-placeholder-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.player-logo {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: rgba(32, 199, 120, .1);
  border: 1px solid rgba(32, 199, 120, .36);
  border-radius: 50%;
  place-items: center;
}

.player-logo::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--green);
  content: "";
}

.player-logo i {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(32, 199, 120, .12);
  border-radius: 50%;
}

.player-placeholder strong { font-size: clamp(20px, 3vw, 30px); }

.player-placeholder p {
  margin: 5px 0 15px;
  color: var(--muted);
}

.player-time {
  padding: 6px 11px;
  color: var(--green-light);
  background: rgba(32, 199, 120, .08);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 17px 22px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.countdown-title {
  color: #c1ccc7;
  font-size: 13px;
  font-weight: 750;
}

.countdown-units {
  display: flex;
  align-items: center;
  gap: 11px;
}

.countdown-units > span {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.countdown-units strong {
  min-width: 24px;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.countdown-units small {
  color: var(--muted);
  font-size: 10px;
}

.countdown-units i {
  color: #4a5c54;
  font-style: normal;
}

.player-note {
  max-width: 800px;
  margin: 20px auto 0;
  color: #77877f;
  font-size: 12px;
  text-align: center;
}

.content-section { padding: 110px 0; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 70px;
  align-items: start;
}

.article-card h2 { max-width: 720px; margin-bottom: 28px; }

.article-card p {
  color: #aab7b1;
  font-size: 16px;
}

.article-card p:last-child { margin-bottom: 0; }
.article-card strong { color: #e5ebe8; }

.match-info {
  position: sticky;
  top: 28px;
  padding: 26px;
  background: linear-gradient(145deg, #11231c, #0d1a16);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
}

.info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 800;
}

.round-badge {
  padding: 4px 8px;
  color: var(--green-light);
  background: rgba(32, 199, 120, .09);
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.match-info dl { margin: 15px 0 20px; }

.match-info dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.match-info dt { color: var(--muted); font-size: 12px; }
.match-info dd { margin: 0; font-size: 13px; font-weight: 700; text-align: right; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-light);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span { font-size: 18px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.features-section {
  padding: 105px 0;
  background: #0b1713;
  border-block: 1px solid rgba(255, 255, 255, .055);
}

.center-heading {
  max-width: 680px;
  margin: 0 auto 45px;
  text-align: center;
}

.center-heading h2 { margin-bottom: 13px; }
.center-heading p { margin-bottom: 0; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid article {
  position: relative;
  min-height: 225px;
  padding: 31px;
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, transform .2s ease;
}

.feature-grid article:hover {
  border-color: rgba(32, 199, 120, .3);
  transform: translateY(-3px);
}

.feature-number {
  display: block;
  margin-bottom: 32px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.feature-grid h3 { margin-bottom: 8px; font-size: 20px; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.faq-section { padding: 110px 0; }

.faq-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 100px;
}

.faq-intro {
  position: sticky;
  top: 30px;
  align-self: start;
}

.faq-intro h2 { margin-bottom: 15px; }
.faq-intro p { color: var(--muted); }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--green);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }

.faq-list details p {
  max-width: 650px;
  margin: -4px 40px 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.source-strip {
  padding: 24px 0;
  background: rgba(32, 199, 120, .055);
  border-block: 1px solid rgba(32, 199, 120, .12);
}

.source-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.source-inner svg { width: 18px; height: 18px; fill: var(--green); }
.source-inner p { margin: 0; color: #a5b5ae; font-size: 12px; }
.source-inner a { color: #d2e0da; text-underline-offset: 3px; }

.site-footer {
  padding: 38px 0;
  background: #050b08;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #77857e;
  font-size: 11px;
}

.footer-inner p { max-width: 520px; margin: 0; text-align: center; }
.brand-footer { flex: 0 0 auto; opacity: .8; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .scoreboard { grid-template-columns: 1fr 130px 1fr; padding-inline: 25px; }
  .team, .team-away { flex-direction: column; gap: 10px; text-align: center; }
  .crest { width: 74px; height: 86px; }
  .content-grid { gap: 38px; }
  .faq-layout { gap: 55px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { position: absolute; }
  .header-inner { min-height: 64px; }
  .match-date { font-size: 11px; }
  .hero { padding: 112px 0 70px; }
  .hero-lead { font-size: 15px; }
  .scoreboard { grid-template-columns: 1fr 82px 1fr; min-height: 185px; padding: 24px 12px; border-radius: 20px; }
  .crest { width: 60px; height: 70px; }
  .crest span { font-size: 27px; }
  .team strong { font-size: 19px; }
  .team-city { font-size: 9px; }
  .versus { min-height: 100px; }
  .versus strong { font-size: 27px; }
  .kickoff-label { font-size: 8px; }
  .timezone { font-size: 8px; }
  .quick-facts { flex-wrap: wrap; gap: 8px 16px; margin-block: 22px; }
  .broadcast-section, .content-section, .features-section, .faq-section { padding-block: 72px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .player-frame { border-radius: 15px; }
  .countdown { align-items: flex-start; flex-direction: column; }
  .countdown-units { width: 100%; justify-content: space-between; gap: 3px; }
  .countdown-units > span { align-items: center; flex-direction: column; gap: 3px; }
  .content-grid, .faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .match-info, .faq-intro { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .footer-inner { flex-direction: column; text-align: center; }
  .source-inner { align-items: flex-start; }
  .source-inner svg { flex: 0 0 auto; margin-top: 2px; }
}

@media (max-width: 440px) {
  h1 { font-size: 37px; }
  h1 span { font-size: .53em; }
  .brand { font-size: 13px; }
  .brand-mark { width: 25px; height: 25px; }
  .match-date .status-dot { display: none; }
  .scoreboard { grid-template-columns: 1fr 70px 1fr; }
  .team { gap: 7px; }
  .versus strong { font-size: 24px; }
  .quick-facts { align-items: flex-start; flex-direction: column; width: max-content; margin-inline: auto; }
  .primary-cta { width: 100%; }
  .player-placeholder p { font-size: 12px; }
  .player-logo { width: 50px; height: 50px; margin-bottom: 10px; }
  .player-time { display: none; }
  .countdown { padding: 15px; }
  .countdown-units strong { font-size: 17px; }
  .countdown-units small { font-size: 8px; }
}

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