/* Champ Dash — the logo's own palette: deep navy outline, white, the yellow-to-orange of
   DASH and the crown. Display type is Lilita One (chunky, like the wordmark); body text is
   the system font, the same one the videos use. */
:root {
  --navy: #0b1633;
  --navy2: #111f45;
  --ink: #ffffff;
  --dim: #b9c3e0;
  --yellow: #ffd21f;
  --orange: #ff8a00;
  --blue: #0058f8;
  --red: #ff5f6d;
  --green: #3ddc84;
  --radius: 18px;
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 1.05; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--yellow); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---- header ---- */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 20px;
  background: rgba(11, 22, 51, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(255, 210, 31, 0.25);
}
.brand img { width: 84px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); }

/* ---- buttons ---- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  border: 3px solid var(--navy); border-radius: 999px;
  padding: 12px 24px;
  box-shadow: 0 5px 0 var(--navy), 0 8px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--navy), 0 12px 24px rgba(0, 0, 0, 0.4); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--navy); }
.btn.big { font-size: 1.35rem; padding: 14px 30px; }
.btn.small { font-size: 1rem; padding: 8px 18px; box-shadow: 0 4px 0 var(--navy); }
.btn.ghost { background: #fff; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  padding: 28px 20px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 88, 248, 0.55), transparent 65%),
    repeating-linear-gradient(-20deg, transparent 0 60px, rgba(255, 210, 31, 0.05) 60px 64px),
    var(--navy);
  text-align: center;
}
.heroInner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.heroLogo { width: min(300px, 70vw); margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5)); animation: pop 0.7s cubic-bezier(.2, 1.6, .4, 1) both; }
.tagline { font-size: clamp(1.7rem, 6vw, 2.6rem); margin: 10px 0 20px; color: #fff; text-shadow: 0 3px 0 var(--navy); }
.ctas { display: flex; flex-wrap: wrap; gap: 16px 14px; justify-content: center; }
.hero .ctas { margin-bottom: 8px; }
.tagline span { color: var(--yellow); font-size: 0.62em; display: inline-block; margin-top: 6px; }
.heroSub { font-size: clamp(1.05rem, 3vw, 1.25rem); font-weight: 700; color: var(--dim); max-width: 540px; margin: -6px auto 22px; }

.hero { padding-bottom: 44px; }
@keyframes pop { from { transform: scale(0.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .heroLogo { animation: none; }
}

/* ---- sections ---- */
.section { max-width: 1120px; margin: 0 auto; padding: 48px 20px; }
.section.narrow { max-width: 720px; }
.sectionHead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sectionHead .more { font-weight: 700; text-decoration: none; }
.lede { font-size: 1.15rem; color: var(--dim); }

/* ---- race cards ---- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 18px; }
.race {
  background: var(--navy2); border: 3px solid #1d2d5c; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.15s, border-color 0.15s;
}
.race:hover { transform: translateY(-3px) rotate(-0.4deg); border-color: var(--yellow); }
.raceLink { position: relative; display: block; text-decoration: none; }
.thumb { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #07102a; }
.thumb.drawn {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(-20deg, rgba(255, 210, 31, 0.12) 0 18px, transparent 18px 42px),
    radial-gradient(circle at 50% 40%, var(--blue), var(--navy) 75%);
}
.faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 170px; }
.faces span {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 34px; font-family: var(--display); color: var(--navy);
  background: #fff; border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy);
}
.tag {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--display); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.04em;
  background: var(--yellow); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: 3px 12px;
}
.raceBody { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.raceBody h3 { margin: 0; }
.raceBody h3 a { color: #fff; text-decoration: none; }
.racers { list-style: none; margin: 0; padding: 0; color: var(--dim); font-weight: 600; }
.racers .more { font-weight: 400; font-size: 0.9rem; }
.meta { color: var(--dim); font-size: 0.9rem; margin: 0; }
.raceBody .btn { align-self: flex-start; margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.chip { font: inherit; font-weight: 700; color: #fff; background: var(--navy2); border: 2px solid #1d2d5c; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.chip.on { background: var(--yellow); color: var(--navy); border-color: var(--navy); }

.empty { text-align: center; padding: 30px 10px; }
.empty img { margin: 0 auto 10px; width: 110px; }
.empty p { color: var(--dim); }

/* ---- what is it: copy beside the key facts ---- */
.product { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 36px; align-items: center; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); margin: 0 0 6px; }
.productCopy p { color: var(--dim); font-size: 1.1rem; margin: 0 0 12px; }
.productCopy p.eyebrow { color: var(--yellow); font-size: 1rem; }
.productCopy .strong { color: #fff; font-weight: 800; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 14px; align-items: center; background: var(--navy2); border: 3px solid #1d2d5c; border-radius: var(--radius); padding: 14px 16px; }
.factIcon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: #fff; border: 3px solid var(--navy); box-shadow: 0 3px 0 var(--navy); }
.facts b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: 0.02em; }
.facts p { margin: 2px 0 0; color: var(--dim); font-size: 0.95rem; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }

/* ---- physics ---- */
.physics { text-align: center; }
.physics h2 span { color: var(--yellow); }
.chaos { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chaos li { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.03em; background: var(--navy2); border: 3px solid #1d2d5c; border-radius: 999px; padding: 8px 20px; display: flex; gap: 8px; align-items: center; }
.chaos li:nth-child(odd) { transform: rotate(-2deg); } .chaos li:nth-child(even) { transform: rotate(2deg); }
.physics .lede { max-width: 620px; margin: 0 auto; }

/* ---- formats ---- */
.formats { display: flex; align-items: center; gap: 28px; }
.formats img { width: 120px; flex: none; }
.formats h2 { margin-bottom: 16px; }
.formatList { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.formatList li { font-weight: 800; background: var(--navy2); border: 2px solid #1d2d5c; border-radius: 999px; padding: 8px 16px; display: flex; gap: 8px; }
@media (max-width: 640px) { .formats { flex-direction: column; text-align: center; } .formatList { justify-content: center; } }

/* ---- the variety ---- */
.racing .lede { margin: 0 0 6px; }
.themes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 18px; }
.themeCard {
  border-radius: var(--radius); border: 3px solid var(--navy); padding: 22px 20px 26px; text-align: center;
  background: repeating-linear-gradient(-20deg, rgba(255, 210, 31, 0.1) 0 18px, transparent 18px 42px), radial-gradient(circle at 50% 30%, var(--blue), var(--navy2) 80%);
  box-shadow: 0 6px 0 #050b1d; transition: transform 0.15s;
}
.themeCard:hover { transform: translateY(-3px) rotate(-0.6deg); }
.themeCard h3 { font-size: 2rem; text-transform: uppercase; color: var(--yellow); text-shadow: 0 3px 0 var(--navy); margin-bottom: 4px; }
.themeCard p { font-weight: 800; margin: 0 0 22px; }
.themeCard .faces { max-width: none; flex-wrap: nowrap; gap: 8px; }
.themeCard .faces span { width: 54px; height: 54px; font-size: 28px; }
.faces span { position: relative; }
.subHead { margin: 40px 0 0; }

/* ---- pick, dash, champ ---- */
.steps { text-align: center; }
.stepList { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: none; }
.stepList li { position: relative; background: var(--navy2); border: 3px solid #1d2d5c; border-radius: var(--radius); padding: 22px 16px; }
.stepList li:not(:last-child)::after { content: '→'; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); z-index: 1; font-family: var(--display); font-size: 1.6rem; color: var(--yellow); }
.num { font-family: var(--display); color: var(--yellow); font-size: 1rem; letter-spacing: 0.1em; }
.stepIcon { display: block; font-size: 42px; margin: 6px 0; }
.stepList h3 { text-transform: uppercase; font-size: 1.9rem; margin: 0 0 4px; }
.stepList p { color: var(--dim); margin: 0; font-weight: 600; }
.stepList p.small { font-size: 0.85rem; color: var(--yellow); margin-top: 10px; }
@media (max-width: 640px) {
  .stepList { grid-template-columns: 1fr; gap: 26px; }
  .stepList li:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); }
}

/* ---- follow ---- */
.follow {
  text-align: center; padding: 50px 20px;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  color: var(--navy);
  border-top: 4px solid var(--navy); border-bottom: 4px solid var(--navy);
}
.follow p { font-weight: 700; margin: 0 0 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.social {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none;
  color: #fff; background: var(--navy); border-radius: 999px; padding: 10px 18px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.social:hover { background: var(--blue); }
.social.soon { opacity: 0.55; cursor: default; }
.social small { font-weight: 600; font-size: 0.7rem; text-transform: uppercase; opacity: 0.8; }

/* ---- idea call-to-action and about ---- */
.ideaCard {
  border-radius: var(--radius); padding: 28px; text-align: center;
  background: radial-gradient(circle at 20% 0%, rgba(0, 88, 248, 0.6), var(--navy2) 70%);
  border: 3px dashed rgba(255, 210, 31, 0.6);
}
.ideaCard { padding: 44px 24px; border-width: 4px; }
.ideaCard h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.ideaCard p { color: #fff; font-size: 1.15rem; font-weight: 600; max-width: 560px; margin: 0 auto 24px; }
.fbLink { margin: 22px auto 0 !important; font-size: 1rem !important; color: var(--dim) !important; }
.ideaBubbles { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.ideaBubbles span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: #fff; border: 3px solid var(--navy); box-shadow: 0 3px 0 var(--navy); }
.ideaBubbles span:nth-child(odd) { transform: translateY(6px) rotate(-6deg); }

/* ---- race page ---- */
.crumb a { font-weight: 700; text-decoration: none; }
.raceLayout { display: grid; gap: 28px; grid-template-columns: minmax(0, 380px) 1fr; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .raceLayout { grid-template-columns: 1fr; } }
.player { position: relative; display: block; width: 100%; padding: 0; border: 3px solid var(--navy); border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 9 / 16; }
.player.still { cursor: default; }
.player img, .player iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.player .thumb { aspect-ratio: auto; height: 100%; }
.player .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: var(--navy); background: var(--yellow); border: 4px solid var(--navy); }
.racerList { list-style: none; padding: 0; display: grid; gap: 6px; font-weight: 700; }
.racerList li { background: var(--navy2); border-radius: 12px; padding: 8px 12px; }
.racerList li.won { background: linear-gradient(90deg, rgba(255, 210, 31, 0.3), var(--navy2)); }
.racerList b { color: var(--yellow); margin-left: 6px; }

/* ---- idea form ---- */
.ideaForm { display: grid; gap: 18px; margin-top: 18px; }
.ideaForm fieldset { border: 0; padding: 0; margin: 0; }
.ideaForm legend, .ideaForm label { font-weight: 800; }
.ideaForm label { display: grid; gap: 6px; }
.types { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 8px; }
.type input { position: absolute; opacity: 0; }
.type span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 3px solid #1d2d5c; background: var(--navy2); cursor: pointer; height: 100%; }
.type small { color: var(--dim); font-weight: 500; }
.type input:checked + span { border-color: var(--yellow); background: rgba(255, 210, 31, 0.12); }
.type input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ideaForm input, .ideaForm textarea {
  font: inherit; font-weight: 500; color: #fff; background: #07102a;
  border: 2px solid #26386e; border-radius: 12px; padding: 12px 14px; width: 100%;
}
.ideaForm input:focus, .ideaForm textarea:focus { border-color: var(--yellow); outline: none; }
.two { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.req { color: var(--yellow); }
.opt { color: var(--dim); font-weight: 500; font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; }
.ideaForm .btn { justify-self: start; }
.kindPart { display: grid; gap: 18px; }
.kindPart[hidden] { display: none; }
.types.kinds { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.types.music { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.types.music span { text-align: center; }
.formNote { color: var(--dim); font-size: 0.9rem; margin: 0; }
.formError { color: var(--red); font-weight: 700; margin: 0; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks img { margin: 0 auto 10px; }
.thanks .btn { margin: 6px; }

/* ---- watch dialog ---- */
.watchDialog {
  width: min(440px, calc(100vw - 32px)); padding: 26px 22px 22px; color: #fff; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(0, 88, 248, 0.55), var(--navy2) 70%);
  border: 3px solid var(--yellow); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.watchDialog::backdrop { background: rgba(5, 10, 26, 0.75); backdrop-filter: blur(3px); }
.watchDialog[open] { animation: pop 0.3s cubic-bezier(.2, 1.4, .4, 1); }
.watchDialog h2 { margin-bottom: 4px; }
.watchDialog p { color: var(--dim); margin: 0 0 18px; }
.watchDialog .close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1rem; cursor: pointer; }
.watchOpts { display: grid; gap: 10px; }
.watchOpt {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; text-align: left;
  padding: 12px 16px; border-radius: 14px; text-decoration: none; font-weight: 800; color: var(--navy);
  background: #fff; border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); transition: transform 0.12s;
}
.watchOpt:hover { transform: translateY(-2px); }
.watchOpt small { font-weight: 600; color: #52608a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.watchOpt.latest { background: linear-gradient(180deg, var(--yellow), var(--orange)); }
.watchOpt.latest small { color: var(--navy); }
.allRaces { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: none; }

/* ---- footer ---- */
.foot { text-align: center; padding: 44px 20px 30px; background: #070f24; }
.footLogo { width: 150px; margin: 0 auto 18px; }
.footNav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 18px; }
.footNav a { color: #fff; font-weight: 700; text-decoration: none; }
.footSocials { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 16px; }
.foot .social { background: var(--navy2); }
.contact { color: var(--dim); }
.copy { color: #6c7aa3; font-size: 0.85rem; }

@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .faces span { width: 46px; height: 46px; font-size: 24px; }
  .faces { max-width: 110px; gap: 6px; }
  .raceBody { padding: 10px 12px 14px; }
  .raceBody h3 { font-size: 1.1rem; }
  .racers { font-size: 0.9rem; }
  .raceBody .btn { align-self: stretch; white-space: nowrap; font-size: 0.9rem; padding: 7px 10px; }
  .tag { font-size: 0.75rem; left: 8px; top: 8px; padding: 2px 9px; }
  .top { padding: 6px 12px; }
  .brand img { width: 64px; }
  .nav a { padding: 6px 8px; font-size: 0.85rem; }
  .btn.big { font-size: 1.15rem; padding: 12px 22px; width: 100%; }
  .section { padding: 36px 16px; }
}
