@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --forest: #071b13;
  --forest-light: #123726;
  --paper: #f4f0e6;
  --ink: #142218;
  --muted: #506157;
  --red: #d93d34;
  --lime: #c8df87;
  --line: rgba(244, 240, 230, .25);
  --pos-rb: #c2e2ff;
  --pos-rb-line: #4d9fe4;
  --pos-wr: #c9f0d3;
  --pos-wr-line: #52b869;
  --pos-qb: #ffcaca;
  --pos-qb-line: #df6f6f;
  --pos-te: #e3ccb5;
  --pos-te-line: #ad7f56;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--forest);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 19, 11, .72) 0%, rgba(4, 19, 11, .30) 55%, rgba(4, 19, 11, .65) 100%),
    linear-gradient(180deg, rgba(4, 19, 11, .25) 0%, rgba(4, 19, 11, .1) 37%, #071b13 91%),
    radial-gradient(circle at 76% 23%, transparent 0, rgba(3, 18, 10, .42) 72%);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .header-note, .eyebrow, .section-kicker, .section-year, .feature-number, .roadmap-tags, footer, .board-scene {
  font-family: 'Barlow Condensed', Impact, sans-serif;
}

.board-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 28%, rgba(109, 155, 73, .29), transparent 39%),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(255, 255, 255, .018) 73px 74px),
    #0a2517;
}

.board-window {
  position: absolute;
  top: 10vh;
  left: 35vw;
  width: 1000px;
  padding: 18px;
  border: 1px solid rgba(244, 240, 230, .24);
  border-radius: 16px;
  background: #f8faf8;
  color: #172033;
  box-shadow: 0 38px 90px rgba(0, 0, 0, .46);
  transform: rotate(-4deg) scale(1.02);
  transform-origin: center;
  filter: saturate(.84);
}

.board-topline, .board-heading, .board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-topline {
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #566774;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
}

.board-brand { color: #172033; font-size: 18px; letter-spacing: .02em; }
.board-brand b { color: #ef6961; }
.board-heading { padding: 15px 2px 20px; }
.board-heading strong { display: block; font-size: 40px; line-height: .92; letter-spacing: .02em; }
.board-kicker { display: block; color: #237243; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.board-live { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; letter-spacing: .1em; }
.board-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); }

.board-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #d7dee8;
  border-left: 1px solid #d7dee8;
}

.team-head {
  min-height: 42px;
  padding: 8px 3px;
  border-right: 1px solid #d7dee8;
  border-bottom: 1px solid #d7dee8;
  background: #ecf3f2;
  color: #23333f;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .04em;
}

.team-head.is-user { background: #fff1d6; color: #4f3300; }

.pick-card {
  position: relative;
  min-height: 86px;
  padding: 8px 5px 6px;
  overflow: hidden;
  border-right: 1px solid #d7dee8;
  border-bottom: 1px solid #d7dee8;
  background: #fff;
}

.pick-card.is-user { background: #fffaf0; }
.pick-card.pos-rb { background: var(--pos-rb); box-shadow: inset 0 0 0 1px var(--pos-rb-line); }
.pick-card.pos-wr { background: var(--pos-wr); box-shadow: inset 0 0 0 1px var(--pos-wr-line); }
.pick-card.pos-qb { background: var(--pos-qb); box-shadow: inset 0 0 0 1px var(--pos-qb-line); }
.pick-card.pos-te { background: var(--pos-te); box-shadow: inset 0 0 0 1px var(--pos-te-line); }
.pick-card.is-target { box-shadow: inset 0 0 0 2px #b91c1c, 0 0 20px rgba(185, 28, 28, .25); }
.pick-card.is-sniped { z-index: 2; }
.pick-card.is-sniped::before {
  content: '';
  position: absolute;
  inset: 22px 4px 5px;
  z-index: 3;
  border-radius: 7px;
  background:
    radial-gradient(circle, transparent 0 12%, rgba(15, 23, 42, .95) 13% 16%, transparent 17% 32%, rgba(15, 23, 42, .86) 33% 37%, transparent 38% 54%, rgba(15, 23, 42, .76) 55% 59%, transparent 60%),
    linear-gradient(90deg, transparent 49%, rgba(15, 23, 42, .8) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(15, 23, 42, .8) 49% 51%, transparent 51%);
  animation: snipeBullseye 1.5s ease-out forwards;
}
.pick-card.is-sniped::after {
  content: 'SNIPED';
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 4;
  padding: 3px 5px 4px;
  border: 2px solid rgba(185, 28, 28, .26);
  border-radius: 999px;
  background: rgba(255, 247, 237, .96);
  color: #b91c1c;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
  animation: snipeWord 1.5s ease-out both;
}
.pick-card.is-new { animation: pickReveal .55s cubic-bezier(.2,.8,.2,1) both; }

.pick-no { display: block; margin-bottom: 6px; color: #66758a; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.pick-name { display: block; color: #172033; font-size: 15px; font-weight: 800; line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.pick-meta { display: block; margin-top: 5px; color: #3a475a; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.pick-card.is-target .pick-name { color: #b91c1c; }
.pick-card.is-clock { background: #e4ead3; }
.pick-card.is-clock .pick-name, .pick-card.is-clock .pick-no, .pick-card.is-clock .pick-meta { color: #183320; }
.pick-card.is-attempt { outline: 3px solid #2f6fed; outline-offset: -3px; }
.pick-card.is-attempt::after {
  content: 'SELECTING';
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #2f6fed;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.pick-card.is-rewinding { animation: pickRewind .45s ease-in forwards; }
.pick-card.is-complete { outline: 3px solid #237243; outline-offset: -3px; }
.board-foot { margin-top: 14px; padding: 11px 3px 0; border-top: 1px solid #d7dee8; color: #237243; font-size: 14px; font-weight: 700; letter-spacing: .08em; }

.snipe-alert {
  position: absolute;
  top: 4vh;
  right: 5vw;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 290px;
  padding: 13px 17px;
  border: 1px solid #f59080;
  border-radius: 7px;
  background: #bd3b32;
  color: white;
  box-shadow: 0 14px 30px rgba(0,0,0,.33);
  opacity: 0;
  transform: translateY(20px) rotate(2deg);
  transition: opacity .4s ease, transform .4s ease;
}
.snipe-alert.is-visible { opacity: 1; transform: translateY(0) rotate(2deg); }
.alert-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 2px solid white; border-radius: 50%; font: 30px/1 'DM Sans', sans-serif; }
.snipe-alert strong, .snipe-alert small { display: block; }
.snipe-alert strong { font-size: 23px; letter-spacing: .12em; }
.snipe-alert small { margin-top: 2px; font-size: 14px; letter-spacing: .04em; }

.page-shell { position: relative; z-index: 2; width: min(1240px, calc(100% - 48px)); margin: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: .025em; }
.brand b { color: #ef625a; }
.brand-icon { position: relative; display: block; width: 27px; height: 27px; border: 2px solid #ef625a; border-radius: 50%; box-shadow: inset 0 0 0 4px #071b13; }
.brand-icon::before, .brand-icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: #ef625a; transform: translate(-50%, -50%); }
.brand-icon::before { width: 37px; height: 2px; }
.brand-icon::after { width: 2px; height: 37px; }
.header-note { color: #d1ddb7; font-size: 15px; font-weight: 700; letter-spacing: .16em; }

.hero-card {
  width: min(625px, 100%);
  margin-top: clamp(46px, 9vh, 110px);
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 4px;
  background: rgba(247, 246, 235, .94);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
  animation: riseIn .75s ease-out both;
}

.eyebrow { display: flex; align-items: center; gap: 9px; color: #a4312a; font-size: 16px; font-weight: 800; letter-spacing: .12em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-card h1 { max-width: 500px; margin: 15px 0 17px; font-size: clamp(66px, 7vw, 108px); font-weight: 900; line-height: .83; letter-spacing: -.025em; text-transform: uppercase; }
.hero-card h1 em { display: block; color: #bd382f; font-style: normal; }
.hero-lead { max-width: 480px; margin-bottom: 0; color: #2c3e34; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.hero-divider { height: 1px; margin: 27px 0 18px; background: #c7cfbd; }
.scene-caption { max-width: 490px; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 25px; color: #536159; font-size: 13px; line-height: 1.55; }
.scene-symbol { flex: none; color: #b7352c; font-size: 21px; line-height: 1; }
.home-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 10px 16px; background: #a9362e; color: white; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.home-link:hover { background: #7d241f; transform: translateY(-2px); }
.home-link span { font-size: 22px; line-height: 1; }

.kit-section { margin-top: clamp(72px, 11vh, 135px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-kicker { margin-bottom: 5px; color: var(--lime); font-size: 15px; font-weight: 800; letter-spacing: .17em; }
.section-heading h2, .roadmap h2 { max-width: 660px; margin-bottom: 0; font-size: clamp(37px, 4vw, 56px); font-weight: 800; line-height: .98; text-transform: uppercase; }
.section-year { flex: none; color: #d5dec8; font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.feature-card { min-height: 218px; padding: 22px; border: 1px solid rgba(224, 235, 217, .36); background: rgba(17, 51, 34, .91); backdrop-filter: blur(12px); animation: riseIn .75s ease-out both; }
.feature-card:nth-child(2) { animation-delay: .12s; }
.feature-card:nth-child(3) { animation-delay: .24s; }
.feature-number { color: var(--lime); font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.feature-card h3 { margin: 32px 0 7px; font-size: 35px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.feature-card p { margin-bottom: 0; color: #e2ead9; font-size: 14px; line-height: 1.6; }

.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 52px 0 66px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roadmap h2 { margin-bottom: 10px; }
.roadmap p:last-child { max-width: 450px; margin-bottom: 0; color: #d1dfc9; font-size: 14px; line-height: 1.6; }
.roadmap-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.roadmap-tags span { padding: 10px 12px; border: 1px solid #abc595; color: #e5efda; background: rgba(203, 224, 153, .07); font-size: 17px; font-weight: 700; letter-spacing: .025em; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 0 0 34px; color: #d8e2d1; font-size: 16px; font-weight: 700; letter-spacing: .12em; }
footer span { color: #a8bf9e; }

@keyframes riseIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pickReveal { from { opacity: .1; transform: scale(.91); } to { opacity: 1; transform: scale(1); } }
@keyframes pickRewind { to { opacity: .12; transform: scale(.83); } }
@keyframes snipeBullseye {
  0% { opacity: 0; transform: scale(.68); }
  18% { opacity: 1; transform: scale(.92); }
  72% { opacity: .95; transform: scale(1.2); }
  100% { opacity: .28; transform: scale(1.26); }
}
@keyframes snipeWord {
  0% { opacity: 0; transform: translate(-50%, -65%) scale(.86); }
  20%, 74% { opacity: 1; transform: translate(-50%, -65%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -65%) scale(1); }
}

@media (max-width: 850px) {
  .board-window { left: 30vw; top: 8vh; transform: rotate(-5deg) scale(.85); transform-origin: top left; }
  .snipe-alert { top: 31%; right: 4%; }
  .header-note { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 16px; }
  .roadmap { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 28px, 450px); }
  .site-header { min-height: 70px; }
  .brand { font-size: 24px; }
  .board-window { top: 5vh; left: -265px; transform: rotate(-5deg) scale(.68); }
  .snipe-alert { top: 18%; right: -80px; transform: scale(.72) rotate(2deg); }
  .snipe-alert.is-visible { transform: scale(.72) rotate(2deg); }
  .hero-card { margin-top: 40px; padding: 27px 22px; }
  .hero-card h1 { font-size: clamp(56px, 13vw, 75px); }
  .eyebrow { font-size: 13px; }
  .section-heading { align-items: start; }
  .section-year { display: none; }
  .kit-section { margin-top: 60px; }
  footer { display: block; }
  footer span { display: block; margin-top: 5px; }
}

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