@font-face {
  font-family: Outfit;
  src: url('assets/Outfit-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url('assets/Outfit-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url('assets/Outfit-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Barlow Condensed;
  src: url('assets/BarlowCondensed-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #071411;
  --panel: #0d211b;
  --line: #28433a;
  --text: #f4f7f1;
  --muted: #b2c5bb;
  --mint: #a7e7c6;
  --gold: #f6c95e;
  --dark-ink: #161206;
  --heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font: 400 16px/1.55 Outfit, system-ui, sans-serif;
  color: var(--text);
  background: var(--base);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }
section, #sample-round { scroll-margin-top: 88px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 10px auto auto 10px;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--dark-ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: #071411f2;
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  font-size: 1.46rem;
  font-weight: 700;
  letter-spacing: -.065em;
  white-space: nowrap;
  text-decoration: none;
}
.brand > span:last-child > span { color: var(--gold); }
.brand-ball {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: radial-gradient(circle, #2a391d 35%, #0e2118 70%);
  color: var(--gold);
  font: 1.24rem/1 'Segoe UI Symbol', sans-serif;
  box-shadow: 0 0 20px #f6c95e29;
}
.header-inner nav, .footer nav { display: flex; gap: clamp(16px, 3vw, 34px); align-items: center; }
.header-inner nav a, .footer button { color: var(--muted); font-weight: 600; font-size: .94rem; text-decoration: none; }
.header-inner nav a:hover, .footer button:hover { color: var(--text); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 23px;
  border: 1px solid #ffd97d;
  border-radius: 8px;
  background: linear-gradient(120deg, #ffdc80, #efb840);
  color: var(--dark-ink);
  box-shadow: 0 8px 24px #d097162b;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform .16s, background-color .16s, box-shadow .16s;
}
.button:hover, .game-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #f3b92a43; }
.button-small { justify-self: end; min-height: 42px; padding: 8px 16px; font-size: .9rem; }
.button-secondary { background: #0c2119; border-color: #456555; color: var(--text); box-shadow: none; }

.hero {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 79% 42%, #1c4735 0%, #0d251d 38%, #081613 72%);
  overflow: hidden;
}
.hero-inner {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
  padding-block: 46px;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin-bottom: 11px; color: var(--mint); font-size: .86rem; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; }
h1 { font-size: clamp(5rem, 9.25vw, 9rem); line-height: .82; letter-spacing: -.028em; text-transform: uppercase; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
h2 { font-size: clamp(3rem, 5.4vw, 5.35rem); line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: 1.7rem; line-height: 1.08; }
.hero-lead { margin-top: 27px; max-width: 470px; color: var(--muted); font-size: clamp(1.1rem, 1.75vw, 1.29rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 23px 0 0; padding: 0; list-style: none; }
.quick-facts li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.quick-facts li::before { content: ''; width: 5px; height: 5px; background: var(--mint); transform: rotate(45deg); }

.hero-preview { position: relative; display: grid; justify-items: center; isolation: isolate; }
.pitch-outline {
  position: absolute;
  z-index: -1;
  inset: 14% -5% 12%;
  border: 1px solid #a7e7c640;
  border-radius: 8px;
  transform: rotate(-12deg);
  background: repeating-linear-gradient(90deg, transparent 0 69px, #a7e7c618 69px 70px);
}
.pitch-outline::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 152px;
  aspect-ratio: 1;
  border: 1px solid #a7e7c640;
  border-radius: 50%;
  translate: -50% -50%;
}
.game-figure { width: min(100%, 332px); }
.game {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  aspect-ratio: 332 / 546;
  overflow: hidden;
  border: 6px solid #0a1612;
  border-radius: 27px;
  background: #102a20;
  box-shadow: 0 0 0 1px #668c77, 0 25px 60px #0009, 0 0 42px #76bb7e2b;
}
.stadium { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#041619b3, transparent 24%, transparent 47%, #03140bb3 72%, #05100c); }
.game-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 13px 0; }
.game-top span { padding: 4px 9px; border: 1px solid #668c77; border-radius: 5px; background: #091e17e8; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.game-top span:first-child { background: #b2ed8d; border-color: #e2ffc5; color: #142710; }
.game-console { padding: 12px; background: linear-gradient(180deg, #092019db, #081811); border-top: 1px solid #8aaf91a1; }
.scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; text-align: center; }
.scoreboard > div + div { border-left: 1px solid #5572668c; }
.scoreboard dt { color: var(--muted); font-size: .71rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.scoreboard dd { color: #e9f4e5; font: 600 1.9rem/.96 var(--heading); }
.scoreboard > div:first-child dd { color: #aff78d; }
.scoreboard > div:nth-child(2) dd { color: var(--gold); }
progress { display: block; appearance: none; width: 100%; height: 5px; margin-block: 11px 8px; border: 0; border-radius: 10px; background: #314a3e; }
progress::-webkit-progress-bar { border-radius: 10px; background: #314a3e; }
progress::-webkit-progress-value { border-radius: 10px; background: #a9eb89; }
progress::-moz-progress-bar { border-radius: 10px; background: #a9eb89; }
.roll-tray { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.roll-tray > span { color: var(--muted); font-size: .82rem; }
.dice { display: flex; gap: 7px; }
.dice > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #a4dbb8;
  border-radius: 7px;
  background: linear-gradient(145deg, #41986b, #0a5637 65%, #073421);
  box-shadow: inset 1px 2px #c4f5d28c, inset -3px -4px #002f2085;
  color: #f4fff6;
  font: 600 1.65rem/1 var(--heading);
}
.dice > span:nth-child(2) { border-color: #d8ae62; background: linear-gradient(145deg, #9c762e, #4d3916 70%, #30230e); box-shadow: inset 1px 2px #ffe5a888, inset -3px -4px #2f1b0085; }
.dice > span:nth-child(3) { border-color: #8ad1e1; background: linear-gradient(145deg, #367f9d, #164762 70%, #0a293c); box-shadow: inset 1px 2px #aef2ff80, inset -3px -4px #001d2f85; }
.game-button { width: 100%; min-height: 44px; border: 1px solid #ffe4a4; border-radius: 7px; color: var(--dark-ink); background: linear-gradient(#ffe999, #ecb731); cursor: pointer; font-weight: 700; transition: transform .16s, box-shadow .16s; }
.game-status { min-height: 2.1em; margin-top: 7px; color: var(--muted); font-size: .78rem; line-height: 1.25; text-align: center; }
figcaption { margin-top: 11px; color: var(--muted); font-size: .83rem; text-align: center; }

.section { padding-block: clamp(65px, 8vw, 112px); }
.section-heading { margin: 0 auto 32px; max-width: 790px; text-align: center; }
.section-heading > p:last-child { max-width: 610px; margin: 16px auto 0; color: var(--muted); font-size: 1.08rem; }
.feature-grid, .partner-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature, .partner-steps li { padding: 25px 26px 28px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(140deg, #10281e, #0b1c17); }
.feature p, .partner-steps p { margin-top: 9px; color: var(--muted); }
.feature-mark { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 15px; border: 1px solid #55705c; border-radius: 8px; background: #1a3527; color: var(--gold); font-size: 1.42rem; line-height: 1; }

.collectibles { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 25% 50%, #284333, #0d211b 61%); }
.collectible-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(35px, 7vw, 112px); padding-block: clamp(44px, 7vw, 90px); }
.collectible-visual { padding: 17px 14px; }
.collector-card {
  position: relative;
  width: min(100%, 335px);
  margin-inline: auto;
  overflow: hidden;
  border: 5px solid transparent;
  border-radius: 20px;
  background: linear-gradient(#0f2119, #091911) padding-box, linear-gradient(135deg, #edb953, #ffefb4 22%, #ac7929 45%, #f4d47c 70%, #98611d) border-box;
  box-shadow: 0 20px 50px #080d08b0, 0 0 28px #edb95340;
}
.collector-card img { width: 100%; height: auto; }
.card-rarity { position: absolute; inset: 13px auto auto 13px; padding: 4px 12px; border: 1px solid #efc46b; border-radius: 5px; background: #0c1c15dc; color: #ffde8b; font-size: .83rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.card-player { position: absolute; inset: auto 0 0; display: grid; padding: 38px 17px 16px; color: var(--gold); background: linear-gradient(transparent, #0b1c15 62%); }
.card-player span { color: var(--mint); font-size: .79rem; letter-spacing: .13em; text-transform: uppercase; }
.card-player strong { font: 600 2.2rem/.98 var(--heading); text-transform: uppercase; }
.collectible-copy > p:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: 1.06rem; }
.details { margin-top: 21px; }
.details > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.details dt { font-weight: 700; }
.details dd { color: var(--muted); }
.partner-steps { margin: 0; padding: 0; list-style-position: inside; counter-reset: partner; }
.partner-steps > li { list-style: none; counter-increment: partner; }
.partner-steps > li::before { display: block; margin-bottom: 9px; color: var(--gold); content: counter(partner, decimal-leading-zero); font: 600 1.75rem/1 var(--heading); }
.partner-section .actions { justify-content: center; }
.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: clamp(44px, 7vw, 82px);
  padding: clamp(24px, 5vw, 57px);
  border: 1px solid #4b6d59;
  border-radius: 16px;
  background: radial-gradient(ellipse at 76% 80%, #294632, #11281e 65%);
}
.contact h2 { font-size: clamp(2.55rem, 5vw, 4.15rem); }
.contact p:last-child { margin-top: 12px; color: var(--muted); }
.contact > a { flex-shrink: 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 94px; border-top: 1px solid var(--line); }
.footer button { border: 0; padding: 7px 0; background: none; cursor: pointer; }

dialog { position: fixed; width: min(calc(100% - 28px), 660px); max-height: min(86vh, 760px); padding: 28px; border: 1px solid #4b6d59; border-radius: 14px; color: var(--text); background: var(--panel); }
dialog::backdrop { background: #020806bd; }
dialog h2 { margin-bottom: 18px; padding-right: 38px; font-size: clamp(2.3rem, 8vw, 3.5rem); overflow-wrap: anywhere; }
dialog h3 { margin-top: 18px; font: 700 1.05rem Outfit, sans-serif; }
dialog p { margin-top: 8px; color: var(--muted); }
.dialog-close { position: absolute; top: 14px; right: 14px; min-width: 38px; min-height: 38px; border: 1px solid #4b6d59; border-radius: 7px; color: var(--text); background: var(--base); cursor: pointer; font-size: 1.3rem; }

@media (max-width: 920px) {
  .wrap { width: min(100% - 44px, 1180px); }
  .header-inner { gap: 15px; }
  .header-inner nav { gap: 17px; }
  h1 { font-size: clamp(4.35rem, 10.4vw, 7.1rem); }
  .hero-inner { min-height: auto; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 64px; }
  .header-inner nav { display: none; }
  .brand { font-size: 1.25rem; gap: 8px; }
  .brand-ball { width: 30px; height: 30px; font-size: 1rem; }
  .hero-inner, .collectible-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 37px; padding-top: 49px; }
  h1 { font-size: clamp(4.4rem, 15.5vw, 7.5rem); }
  .pitch-outline { inset: 11% 0 13%; }
  .feature-grid, .partner-steps { grid-template-columns: 1fr; }
  .feature, .partner-steps li { padding: 20px; }
  .collectible-inner { gap: 20px; }
  .collectible-copy { order: -1; }
  .contact { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .actions .button { flex-grow: 1; padding-inline: 13px; }
  .footer { align-items: flex-start; justify-content: center; flex-direction: column; gap: 5px; padding-block: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .game-button { transition: none; }
}
