:root {
  color-scheme: dark;
  --red: #e30613;
  --red-2: #ff2332;
  --red-dark: #5d0008;
  --white: #f8fafc;
  --ink: #050609;
  --panel: rgba(11, 13, 18, 0.72);
  --panel-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.16);
  --muted: rgba(248, 250, 252, 0.68);
  --gold: #ffcf62;
  --gold-2: #bc842e;
  --blue: #79cfff;
  --green: #0d3a2b;
  --glow: rgba(255, 35, 50, 0.38);
  --gold-glow: rgba(255, 207, 98, 0.35);
  --radius: 8px;
  --max: 1180px;
  --pad: 96px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 12%, rgba(227, 6, 19, 0.18), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(255, 207, 98, 0.08), transparent 30%),
    linear-gradient(180deg, #08090d, #090a0f 44%, #050609);
  overflow-x: hidden;
}

body.belief {
  --glow: rgba(255, 35, 50, 0.72);
  --gold-glow: rgba(255, 207, 98, 0.62);
}

body.belief .hero-backdrop {
  filter: saturate(1.18) contrast(1.08);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

#atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 78%);
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 6, 9, 0.7);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--red);
  box-shadow: 0 0 26px var(--glow);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 1px;
}

.brand-mark::before {
  width: 19px;
  height: 6px;
}

.brand-mark::after {
  width: 6px;
  height: 19px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.02;
}

.brand strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--gold);
}

.brand small {
  margin-top: 2px;
  color: var(--white);
  font-weight: 780;
}

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

.nav a,
.belief-button {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 11px;
  background: transparent;
  color: rgba(248, 250, 252, 0.82);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.belief-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.belief-button {
  color: var(--gold);
  border-color: rgba(255, 207, 98, 0.34);
  background: rgba(255, 207, 98, 0.09);
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 2;
  padding: var(--pad) 24px;
  scroll-margin-top: 94px;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-top: 112px;
  padding-bottom: 58px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.92) 0%, rgba(5, 6, 9, 0.5) 42%, rgba(5, 6, 9, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 6, 9, 0.2), rgba(5, 6, 9, 0.76) 78%, #07080c),
    url("assets/hero-stadium.webp") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.7fr);
  gap: 44px;
  align-items: end;
}

.broadcast-strip {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.broadcast-strip span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.broadcast-strip span:first-child {
  background: var(--red);
  color: white;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 920;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
  box-shadow: 0 0 22px var(--glow);
}

.hero .kicker {
  margin-top: 28px;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 100%;
  margin-top: 16px;
  font-size: clamp(3.45rem, 5.8vw, 5.7rem);
  line-height: 0.88;
  font-weight: 980;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3), 0 0 42px var(--glow);
}

h1 span {
  display: block;
  max-width: 100%;
}

.hero-lede {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(248, 250, 252, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.button.primary {
  background: linear-gradient(135deg, var(--red), #b4000e);
  box-shadow: 0 0 34px var(--glow);
}

.button.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a0e04;
  border-color: rgba(255, 230, 170, 0.52);
  box-shadow: 0 0 34px var(--gold-glow);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.match-console {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(9, 10, 14, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.score-bug {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.score-bug > div {
  padding: 18px;
  text-align: center;
}

.score-bug span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.score-bug strong {
  display: block;
  margin-top: 4px;
  font-size: 4rem;
  line-height: 0.85;
  font-weight: 980;
}

.score-bug .clock {
  min-width: 92px;
  color: var(--gold);
  font-weight: 950;
  border-inline: 1px solid rgba(255, 255, 255, 0.14);
}

.boss-versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 16px;
  align-items: stretch;
}

.boss-mini {
  min-height: 200px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.boss-mini.argentina {
  background:
    repeating-linear-gradient(90deg, rgba(121, 207, 255, 0.2) 0 22px, rgba(255, 255, 255, 0.13) 22px 44px),
    rgba(0, 0, 0, 0.26);
}

.boss-mini.swiss {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.25), transparent 18%),
    linear-gradient(180deg, rgba(227, 6, 19, 0.55), rgba(55, 0, 8, 0.48));
  box-shadow: inset 0 0 44px rgba(255, 35, 50, 0.18);
}

.boss-mini small,
.boss-mini span {
  color: rgba(248, 250, 252, 0.74);
}

.boss-mini small {
  font-weight: 900;
  text-transform: uppercase;
}

.boss-mini strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.meter {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
}

.versus-disc {
  align-self: center;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.74);
  color: var(--gold);
  font-weight: 980;
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.45);
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 16px;
}

.console-grid div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.console-grid span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-grid strong {
  display: block;
  margin-top: 6px;
  line-height: 1.15;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(248, 250, 252, 0.5);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  max-width: 850px;
  margin-top: 14px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 0.94;
  font-weight: 960;
  text-transform: uppercase;
}

.section-lede {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.film-strip {
  background: linear-gradient(180deg, #07080c, #0b0c12);
}

.cinema-cards {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.cinema-card,
.tactic-panel,
.dossier,
.stat,
.timeline-card,
.verdict,
.final-score {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cinema-card {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.18);
}

.cinema-card.featured {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 207, 98, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(227, 6, 19, 0.22), rgba(255, 255, 255, 0.05));
}

.cinema-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cinema-card h3 {
  font-size: 1.75rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.cinema-card p {
  color: var(--muted);
  line-height: 1.55;
}

.war-room {
  background:
    radial-gradient(circle at 20% 24%, rgba(227, 6, 19, 0.15), transparent 34%),
    linear-gradient(180deg, #0b0c12, #07080c);
}

.war-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 26px;
  align-items: center;
}

.tactic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(248, 250, 252, 0.78);
  cursor: pointer;
  font-weight: 850;
}

.tab.active {
  background: var(--red);
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 30px var(--glow);
}

.tactic-panel {
  margin-top: 14px;
  padding: 22px;
}

.tactic-panel span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tactic-panel h3 {
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.tactic-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.tactical-board {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.28);
  padding: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 4px 12px;
}

.board-header span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.board-header strong {
  color: rgba(248, 250, 252, 0.8);
}

.tactical-board svg {
  display: block;
  width: 100%;
  height: auto;
}

.player-dot-svg text,
.support-dot text {
  fill: white;
  font-size: 18px;
  font-weight: 950;
  dominant-baseline: middle;
}

.support-dot text {
  font-size: 14px;
}

.svg-label {
  fill: rgba(248, 250, 252, 0.84);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.svg-label.gold {
  fill: var(--gold);
}

.svg-label.red {
  fill: #ff6770;
}

.dossier-section {
  background:
    linear-gradient(180deg, #07080c, #0d0e13),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 20px);
}

.dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(440px, 1fr);
  gap: 36px;
  align-items: start;
}

.dossier {
  position: relative;
  padding: 28px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px),
    rgba(255, 255, 255, 0.06);
}

.stamp {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 9px 12px;
  border: 2px solid rgba(255, 35, 50, 0.68);
  border-radius: 6px;
  color: var(--red-2);
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.dossier ol {
  display: grid;
  gap: 12px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.dossier li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  font-weight: 830;
}

.dossier li span {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 5px;
  background: var(--red);
  box-shadow: 0 0 24px var(--glow);
}

.final-boss {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 207, 98, 0.14), transparent 32%),
    radial-gradient(circle at 18% 60%, rgba(227, 6, 19, 0.18), transparent 32%),
    #07080c;
}

.boss-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.76fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.player-card {
  min-height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.2), transparent 19%),
    linear-gradient(150deg, rgba(227, 6, 19, 0.82), rgba(8, 9, 13, 0.92) 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.44), 0 0 70px var(--glow);
  overflow: hidden;
  position: relative;
}

.player-card::after {
  content: "RR";
  position: absolute;
  right: -18px;
  bottom: -20px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 12rem;
  line-height: 0.8;
  font-weight: 980;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.card-top strong {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1b0f03;
  font-size: 2rem;
  box-shadow: 0 0 38px var(--gold-glow);
}

.player-figure {
  height: 255px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 42px 0 26px;
}

.head {
  position: absolute;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e7b48c, #6b3d2d);
  box-shadow: inset 0 -10px 0 #20100b;
}

.shirt {
  width: 150px;
  height: 188px;
  border-radius: 48% 48% 22px 22px;
  background:
    linear-gradient(90deg, transparent 0 42%, white 42% 58%, transparent 58%),
    linear-gradient(180deg, #e30613, #91000c);
  box-shadow: 0 0 52px var(--glow);
}

.boot {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 130px;
  height: 16px;
  transform: translateX(-18%) rotate(-17deg);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), white);
  box-shadow: 0 0 34px var(--gold-glow);
}

.player-card h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.player-card p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 850;
  line-height: 1.35;
}

.player-card blockquote {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid rgba(255, 207, 98, 0.34);
  border-radius: 8px;
  background: rgba(255, 207, 98, 0.08);
  font-size: 1.24rem;
  line-height: 1.28;
  font-weight: 900;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat {
  min-height: 142px;
  padding: 18px;
}

.stat.wide {
  grid-column: span 2;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 12px;
  font-size: 4rem;
  line-height: 0.9;
  text-shadow: 0 0 28px var(--glow);
}

.simulation-section {
  background:
    radial-gradient(circle at 18% 30%, rgba(227, 6, 19, 0.18), transparent 34%),
    radial-gradient(circle at 74% 22%, rgba(255, 207, 98, 0.12), transparent 30%),
    linear-gradient(180deg, #07080c, #090a0f);
}

.sim-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.72fr);
  gap: 18px;
  margin-top: 34px;
}

.sim-broadcast,
.sim-command {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.sim-broadcast {
  position: relative;
  min-width: 0;
  min-height: 680px;
}

.sim-scorebar {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 48px 82px 48px auto;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 207, 98, 0.42);
  border-radius: 6px;
  background: rgba(4, 5, 8, 0.72);
  color: var(--gold);
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.sim-scorebar span,
.sim-scorebar strong,
.sim-scorebar i {
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 11px;
  border-right: 1px solid rgba(255, 207, 98, 0.2);
}

.sim-scorebar span:last-child {
  border-right: 0;
}

.sim-scorebar span {
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.sim-scorebar strong {
  color: white;
  font-size: 1.45rem;
}

.sim-scorebar i {
  font-style: normal;
}

.sim-director {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 210px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 207, 98, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.2), rgba(255, 207, 98, 0.1)),
    rgba(4, 5, 8, 0.72);
  box-shadow: 0 0 40px rgba(227, 6, 19, 0.16);
  backdrop-filter: blur(14px);
}

.sim-director span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sim-director strong {
  color: white;
  font-size: 0.95rem;
  line-height: 1.1;
  text-transform: uppercase;
}

#matchSimCanvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 600px;
  background: #030407;
}

.sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
}

.sim-scrubber {
  display: grid;
  flex: 1 1 290px;
  gap: 8px;
  min-width: 260px;
  padding: 2px 6px 0;
}

.sim-scrubber span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sim-scrubber input {
  width: 100%;
  accent-color: var(--red);
}

.sim-event-jumps {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.sim-event-jumps button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(248, 250, 252, 0.84);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.sim-event-jumps button:hover {
  border-color: rgba(255, 207, 98, 0.5);
  color: white;
  transform: translateY(-1px);
}

.sim-command {
  padding: 18px;
}

.sim-phase,
.sim-duel {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.sim-phase span,
.sim-duel span,
.sim-metrics span,
.sim-feed span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sim-phase strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.sim-phase p,
.sim-duel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.48;
}

.sim-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.sim-metrics div {
  min-height: 100px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.24);
}

.sim-metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 2rem;
  line-height: 0.95;
  text-shadow: 0 0 26px var(--glow);
}

.sim-duel {
  margin-top: 12px;
}

.duel-bars {
  position: relative;
  height: 13px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(227, 6, 19, 0.3), rgba(121, 207, 255, 0.24));
  overflow: hidden;
}

.duel-bars i,
.duel-bars b {
  position: absolute;
  inset-block: 0;
  display: block;
  transition: width 160ms linear;
}

.duel-bars i {
  left: 0;
  width: 62%;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
}

.duel-bars b {
  right: 0;
  width: 38%;
  background: linear-gradient(90deg, rgba(121, 207, 255, 0.34), rgba(121, 207, 255, 0.9));
}

.sim-feed {
  display: grid;
  gap: 8px;
  max-height: 250px;
  margin: 12px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.sim-feed li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.35;
}

.sim-feed li:first-child {
  border-color: rgba(255, 207, 98, 0.3);
  background: rgba(255, 207, 98, 0.08);
}

.banger-section {
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 207, 98, 0.18), transparent 30%),
    radial-gradient(circle at 18% 48%, rgba(227, 6, 19, 0.2), transparent 34%),
    linear-gradient(180deg, #090a0f, #06070a);
}

.banger-stage {
  position: relative;
  z-index: 2;
}

.banger-3d {
  width: 100vw;
  min-height: min(860px, 88svh);
  margin: 34px calc(50% - 50vw) 0;
  overflow: hidden;
  background: #020304;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 80px 120px rgba(0, 0, 0, 0.58), inset 0 -80px 120px rgba(0, 0, 0, 0.74);
}

#bangerCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.banger-cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.86), transparent 28%, transparent 72%, rgba(5, 6, 9, 0.82)),
    linear-gradient(180deg, rgba(5, 6, 9, 0.42), transparent 26%, rgba(5, 6, 9, 0.68) 100%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(0, 0, 0, 0.42));
}

.banger-hud,
.banger-director,
.goal-super,
.banger-actions,
.confetti-layer {
  position: absolute;
  z-index: 4;
}

.banger-hud {
  top: 28px;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}

.banger-score {
  display: grid;
  grid-template-columns: auto 46px 82px 46px auto;
  align-items: center;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid rgba(255, 207, 98, 0.44);
  border-radius: 6px;
  background: rgba(4, 5, 8, 0.72);
  color: var(--gold);
  font-weight: 950;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  transition: box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.banger-score span,
.banger-score strong,
.banger-score i {
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 11px;
  border-right: 1px solid rgba(255, 207, 98, 0.22);
}

.banger-score span:last-child {
  border-right: 0;
}

.banger-score span {
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.banger-score strong {
  color: white;
  font-size: 1.5rem;
}

.banger-score i {
  color: var(--gold);
  font-style: normal;
}

.banger-stage.scored .banger-score {
  border-color: rgba(255, 207, 98, 0.8);
  background: rgba(227, 6, 19, 0.42);
  box-shadow: 0 0 40px var(--gold-glow);
}

.banger-status {
  width: min(420px, 42vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(5, 6, 9, 0.58);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.banger-status > span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.power-module {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 12px;
  align-items: center;
  margin-top: 10px;
}

.power-module span,
.power-module strong {
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.power-bar {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.power-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-2), var(--gold), white);
  box-shadow: 0 0 30px var(--gold-glow);
  transition: width 120ms linear;
}

.banger-director {
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 112px;
  width: min(420px, calc(100% - 48px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(5, 6, 9, 0.54);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.banger-director span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 28px var(--glow);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.banger-director strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 0.95;
  font-weight: 980;
  text-transform: uppercase;
  text-shadow: 0 0 42px rgba(0, 0, 0, 0.72), 0 0 50px var(--glow);
}

.banger-director p,
.inevitable-line {
  margin-top: 14px;
  color: var(--gold);
  font-weight: 950;
}

.goal-super {
  left: 50%;
  top: 48%;
  z-index: 5;
  width: min(calc(100% - 48px), 980px);
  transform: translate(-50%, -34%) scale(0.96);
  opacity: 0;
  color: white;
  text-align: center;
  font-size: clamp(2.4rem, 6vw, 6.6rem);
  line-height: 0.9;
  font-weight: 980;
  text-transform: uppercase;
  text-shadow: 0 0 22px var(--gold-glow), 0 0 62px var(--glow), 0 3px 0 #000;
  pointer-events: none;
}

.confetti-layer {
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: 16%;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 42%);
  animation: confettiFall var(--t) cubic-bezier(.12,.78,.22,1) var(--d) forwards;
  transform: translate3d(0, 0, 0) rotate(var(--r));
}

.stage-actions {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), var(--max));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 4;
  transition: opacity 220ms ease, transform 220ms ease;
}

.banger-actions {
  pointer-events: auto;
}

.banger-stage.running #goalButton {
  pointer-events: none;
  opacity: 0.72;
}

.banger-stage.scored .banger-director {
  opacity: 0;
  transform: translateY(12px);
}

.banger-stage.scored .goal-super {
  animation: goalSuper 900ms cubic-bezier(.12,.82,.18,1) forwards;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 34px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.timeline-card {
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-card span {
  width: fit-content;
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(227, 6, 19, 0.2);
  color: var(--gold);
  font-weight: 950;
}

.timeline-card strong {
  display: block;
  margin-top: 34px;
  font-size: 1.2rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.timeline-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.timeline-card.winner {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 207, 98, 0.18), transparent 38%),
    rgba(227, 6, 19, 0.18);
  border-color: rgba(255, 207, 98, 0.34);
}

.score-section {
  padding-bottom: 120px;
  background:
    radial-gradient(circle at 50% 30%, rgba(227, 6, 19, 0.18), transparent 32%),
    #06070a;
}

.score-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

.final-score {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(227, 6, 19, 0.24), rgba(255, 255, 255, 0.06), rgba(121, 207, 255, 0.12));
}

.final-score > div {
  padding: 30px;
  text-align: center;
}

.final-score span,
.final-score small {
  display: block;
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
}

.final-score strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(5rem, 10vw, 8.5rem);
  line-height: 0.8;
  font-weight: 980;
}

.score-divider {
  display: grid;
  place-items: center;
  border-inline: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold);
  font-weight: 950;
}

.verdict {
  grid-column: span 2;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: center;
}

.verdict p {
  color: rgba(248, 250, 252, 0.86);
  line-height: 1.35;
  font-weight: 800;
}

.verdict span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.hero .reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes goalSuper {
  0% { opacity: 0; transform: translate(-50%, -18%) scale(0.86); filter: blur(8px); }
  55% { opacity: 1; transform: translate(-50%, -54%) scale(1.04); filter: blur(0); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
}

@keyframes confettiFall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(var(--r)); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--dx), 560px, 0) rotate(calc(var(--r) + 720deg)); }
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .war-layout,
  .dossier-grid,
  .boss-layout,
  .score-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cinema-cards {
    grid-template-columns: 1fr;
  }

  .match-console,
  .tactical-board,
  .dossier,
  .player-card {
    max-width: 760px;
  }

  .final-score,
  .verdict {
    grid-column: auto;
  }

  .verdict {
    grid-template-columns: 1fr;
  }

  .banger-status {
    width: min(420px, 48vw);
  }

  .sim-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sim-command {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 72px;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .belief-button {
    max-width: 210px;
    font-size: 0.78rem;
    line-height: 1.08;
    white-space: normal;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    align-items: start;
    padding-top: 108px;
    padding-bottom: 44px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(5, 6, 9, 0.48), rgba(5, 6, 9, 0.92) 58%, #07080c),
      url("assets/hero-stadium.webp") 62% center / cover no-repeat;
  }

  .broadcast-strip {
    border-radius: 8px;
  }

  .broadcast-strip span {
    width: 100%;
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.56rem, 10.8vw, 3.45rem);
    line-height: 0.94;
  }

  .hero-actions,
  .stage-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .match-console {
    margin-top: 34px;
  }

  .boss-versus,
  .score-bug,
  .final-score {
    grid-template-columns: 1fr;
  }

  .score-bug .clock,
  .score-divider {
    border: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.14);
  }

  .boss-mini {
    min-height: 160px;
  }

  .versus-disc {
    margin: -2px auto;
  }

  .console-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat.wide {
    grid-column: auto;
  }

  .board-header,
  .stamp {
    position: static;
  }

  .dossier ol {
    margin-top: 24px;
  }

  .dossier li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .player-card {
    min-height: 560px;
  }

  .sim-broadcast {
    min-height: 0;
  }

  #matchSimCanvas {
    min-height: 440px;
  }

  .sim-scorebar {
    position: static;
    grid-template-columns: 1fr 44px 70px 44px 1fr;
    margin: 12px;
  }

  .sim-director {
    position: static;
    min-width: 0;
    margin: 0 12px 12px;
  }

  .sim-controls {
    flex-direction: column;
  }

  .sim-scrubber {
    min-width: 0;
    width: 100%;
  }

  .sim-event-jumps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sim-metrics {
    grid-template-columns: 1fr;
  }

  .sim-feed {
    max-height: 320px;
  }

  .banger-3d {
    min-height: 760px;
    margin-top: 26px;
  }

  .banger-hud {
    top: 16px;
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .banger-score {
    grid-template-columns: 1fr 44px 68px 44px 1fr;
  }

  .banger-status {
    width: 100%;
    padding: 10px;
  }

  .stage-actions {
    left: 16px;
    right: 16px;
    bottom: 18px;
    width: auto;
    transform: none;
  }

  .banger-director {
    bottom: 116px;
    width: calc(100% - 32px);
    left: 16px;
    padding: 12px;
  }

  .banger-director strong {
    max-width: 420px;
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .goal-super {
    top: 50%;
    bottom: auto;
    width: calc(100% - 28px);
    font-size: clamp(1.9rem, 10vw, 2.9rem);
  }

  .timeline {
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

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

  #atmosphere {
    display: none;
  }
}
