/* Digital New Adventure - campaign landing page (digi-new-adventure.link/dna, also raflyflash.xyz/dna).
   Same look as the player dashboard (/pvt/dash, src/http/pvtdash/dash.css): deep navy panels, cyan neon edges, hexagon grid, glossy gold
   primary and blue secondary buttons, bold italic condensed headings. System fonts only, no JavaScript, no third-party requests (the Discord
   button is a plain link). Assets live under /dna/img/. */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: sans-serif-condensed, "Roboto Condensed", "Arial Narrow", "Liberation Sans Narrow", "Nimbus Sans Narrow", "DejaVu Sans Condensed", "Helvetica Neue", Arial, sans-serif;
  --cyan: #43d9ff; --cyan-hi: #aaf1ff; --ink: #eaf6ff; --dim: #93b8e8; --line: #2a62c4;
  --gold: #ffd24a; --ok: #7af0b0;
  --panel: linear-gradient(180deg, rgba(16,46,112,.9), rgba(4,14,44,.94));
  --panel-edge: 2px solid rgba(88,214,255,.85);
  --glow: 0 0 0 1px #020817, 0 0 14px rgba(67,217,255,.4), inset 0 0 22px rgba(52,140,255,.24);
  --hexgrid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='35' viewBox='0 0 30 17.32'%3E%3Cpath d='M0 8.66L5 0H15L20 8.66H30M20 8.66L15 17.32M0 8.66L5 17.32' fill='none' stroke='%2370d8ff' stroke-opacity='.12'/%3E%3C/svg%3E");
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.5 var(--font); background-color: #030a1c;
  background-image: radial-gradient(ellipse 80% 40% at 50% 0, rgba(40,110,230,.35), rgba(3,10,28,0) 70%), var(--hexgrid);
}
a { color: var(--cyan-hi); }
b { font-weight: 700; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 28px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: 10px; background: #fff; color: #02102e; font-weight: 700; }
.skip:focus { top: 10px; }

/* ---------- buttons: gold primary, blue secondary (as in the dashboard) ---------- */
.btn {
  --oc: #0a2f8a;
  --ol: -1px -1px 0 var(--oc), 1px -1px 0 var(--oc), -1px 1px 0 var(--oc), 1px 1px 0 var(--oc), 0 -2px 0 var(--oc), 0 2px 0 var(--oc), -2px 0 0 var(--oc), 2px 0 0 var(--oc), 0 3px 3px rgba(0,0,0,.45);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; text-decoration: none; cursor: pointer;
  font: italic 800 20px/1 var(--display); letter-spacing: .3px; color: #fff; text-shadow: var(--ol);
  border: 2px solid var(--oc); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0, rgba(255,255,255,.14) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #7fe0ff 0, #3a9bff 50%, #1f62e6 51%, #1744b8 100%);
  box-shadow: 0 3px 0 #061b55, 0 6px 12px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.35);
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #061b55, 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.35); }
.btn.primary {
  --oc: #6b2c00;
  background: linear-gradient(180deg, rgba(255,255,255,.6) 0, rgba(255,255,255,.16) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #ffe970 0, #ffc02a 50%, #ff9208 51%, #ff7000 100%);
  box-shadow: 0 3px 0 #4d1f00, 0 6px 12px rgba(0,0,0,.45), 0 0 16px rgba(255,170,30,.38), inset 0 0 0 1px rgba(255,238,170,.6);
}
.btn.primary:active { box-shadow: 0 1px 0 #4d1f00, 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,238,170,.6); }
.btn.sm { min-height: 46px; padding: 0 18px; font-size: 18px; }
.btn.big { min-height: 64px; padding: 0 32px; font-size: 24px; }
.btn svg { width: 24px; height: 24px; flex: none; fill: currentColor; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }

/* ---------- shared neon panel ---------- */
.panel, .top { background: var(--hexgrid), var(--panel); border: var(--panel-edge); border-radius: 14px; box-shadow: var(--glow); }
.card {
  background: var(--hexgrid), linear-gradient(180deg, rgba(14,40,98,.86), rgba(4,14,44,.9));
  border: 2px solid rgba(60,150,230,.7); border-radius: 12px; box-shadow: inset 0 0 14px rgba(52,140,255,.16);
}

/* ---------- header (the dashboard's top bar) ---------- */
.top { position: sticky; top: 10px; z-index: 20; margin-top: 10px; display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 6px 10px 6px 14px;
  background: var(--hexgrid), linear-gradient(180deg, #11307a, #050f30); }
.top .brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: #fff; min-width: 0; }
.top .brand img { width: 110px; height: auto; }
.top .brand span { font: italic 800 17px/1.05 var(--display); text-shadow: 0 1px 0 #02102e; }
.top .brand small { display: block; font: italic 700 13px/1.1 var(--display); color: var(--cyan-hi); letter-spacing: .4px; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font: italic 800 17px/1 var(--display); color: #8fb9f0; }
.nav a:hover { color: #fff; background: rgba(67,217,255,.12); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 14px; min-height: min(76vh, 640px); display: grid; align-items: center;
  border: var(--panel-edge); border-radius: 18px; box-shadow: var(--glow); background: #030a1c; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/dna/img/hero.webp) 68% center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hexgrid), linear-gradient(90deg, rgba(2,8,28,.94) 0, rgba(2,8,28,.80) 34%, rgba(2,8,28,.22) 68%, rgba(2,8,28,.05) 100%); }
.hero-copy { max-width: 660px; padding: clamp(22px, 5vw, 60px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: italic 900 13px/1.1 var(--display); letter-spacing: .8px; text-transform: uppercase;
  color: var(--gold); background: rgba(255,192,42,.16); border: 1px solid rgba(255,192,42,.6); }
.chip.cyan { color: var(--cyan-hi); background: rgba(67,217,255,.12); border-color: rgba(67,217,255,.55); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.slogan { margin: 16px 0 0; font: italic 900 clamp(58px, 10.5vw, 124px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.5px; color: #fff;
  text-shadow: 0 0 24px rgba(67,217,255,.6), 0 4px 0 #02102e; }
.slogan span { display: block; width: max-content; max-width: none; padding-right: .06em; color: transparent; background: linear-gradient(180deg, #fff3a8, #ffc02a 55%, #ff8a10); -webkit-background-clip: text; background-clip: text; text-shadow: none;
  filter: drop-shadow(0 3px 0 #4d1f00) drop-shadow(0 0 18px rgba(255,170,30,.5)); }
.lead { margin: 18px 0 0; max-width: 34em; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; color: var(--cyan-hi); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--dim); }

/* ---------- sections ---------- */
section { margin-top: clamp(40px, 7vw, 72px); }
.kicker { margin: 0; font: italic 800 16px/1.1 var(--display); letter-spacing: .8px; text-transform: uppercase; color: var(--cyan-hi); text-shadow: 0 0 8px rgba(67,217,255,.5); }
h2 { margin: 6px 0 0; font: italic 800 clamp(30px, 5vw, 46px)/1.05 var(--display); color: #fff; text-shadow: 0 0 14px rgba(67,217,255,.7), 0 2px 0 #02102e; }
.sub { margin: 10px 0 0; max-width: 40em; color: var(--cyan-hi); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.feature { overflow: hidden; display: flex; flex-direction: column; }
.feature figure { margin: 0; aspect-ratio: 16 / 9; background: #020a20; border-bottom: 2px solid rgba(60,150,230,.7); }
.feature figure img { width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: 14px 16px 18px; }
.feature h3 { margin: 0; font: italic 800 23px/1.1 var(--display); color: #fff; text-shadow: 0 1px 0 #02102e; }
.feature p { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--cyan-hi); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; padding: 0; list-style: none; }
.step { position: relative; padding: 18px 18px 20px 18px; }
.step .num { display: grid; place-items: center; width: 54px; height: 60px; clip-path: var(--hex); font: italic 900 28px/1 var(--display); color: #4d1f00;
  background: linear-gradient(180deg, #fff3a8 0, #ffc02a 50%, #ff9208 51%, #ff7000 100%); filter: drop-shadow(0 0 8px rgba(255,170,30,.6)); }
.step h3 { margin: 12px 0 0; font: italic 800 24px/1.1 var(--display); color: #fff; text-shadow: 0 1px 0 #02102e; }
.step p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.4; color: var(--cyan-hi); }
.step .btn { margin-top: 14px; }
.step code { padding: 1px 6px; border-radius: 6px; background: rgba(2,10,32,.7); border: 1px solid rgba(88,214,255,.35); font-size: 14px; color: var(--gold); }

/* the campaign band: the dashboard's gold "lucky" panel */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(20px, 4vw, 40px);
  border: 2px solid rgba(255,192,42,.8); border-radius: 16px;
  background: var(--hexgrid), linear-gradient(135deg, rgba(70,48,10,.72), rgba(8,26,76,.94)); box-shadow: 0 0 18px rgba(255,170,30,.3), inset 0 0 22px rgba(255,190,60,.14); }
.band .band-title { margin: 0; font: italic 900 clamp(34px, 6vw, 60px)/1 var(--display); text-transform: uppercase; color: var(--gold); text-shadow: 0 3px 0 #4d2a00, 0 0 18px rgba(255,190,60,.45); }
.band p { margin: 10px 0 0; max-width: 32em; font-size: 17px; color: #fff; }
.tag { display: inline-block; margin-top: 10px; font: italic 800 20px/1 var(--display); color: var(--cyan-hi); letter-spacing: .4px; }

.faq { margin-top: 22px; display: grid; gap: 10px; }
details { padding: 0; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 16px;
  font: italic 800 20px/1.15 var(--display); color: #fff; text-shadow: 0 1px 0 #02102e; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; font: 800 24px/1 var(--font); color: #fff;
  background: linear-gradient(180deg, #7fe0ff, #2f7ff0 55%, #1744b8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0; padding: 0 16px 16px; font-size: 16px; color: var(--cyan-hi); max-width: 46em; }

.final { text-align: center; }
.final .sub { margin-inline: auto; }
.final .cta { justify-content: center; }
footer { margin: clamp(40px, 7vw, 72px) 0 28px; padding-top: 18px; border-top: 1px solid rgba(88,214,255,.25); font-size: 14px; color: var(--dim); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
footer p { margin: 8px 0 0; max-width: 60em; font-size: 13px; line-height: 1.45; }

@media (max-width: 1040px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .band { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .hero::before { background-position: 74% top; }
  .hero::after { background: var(--hexgrid), linear-gradient(180deg, rgba(2,8,28,.05) 0, rgba(2,8,28,.15) 22%, rgba(2,8,28,.9) 52%, rgba(2,8,28,.97) 100%); }
  .hero { min-height: 0; }
  .hero-copy { padding-top: min(40vw, 260px); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .top .brand span { display: none; }
  .btn.big { min-height: 58px; padding: 0 22px; font-size: 21px; }
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn.primary { animation: glow 3.2s ease-in-out infinite; }
  @keyframes glow { 0%, 100% { box-shadow: 0 3px 0 #4d1f00, 0 6px 12px rgba(0,0,0,.45), 0 0 14px rgba(255,170,30,.3), inset 0 0 0 1px rgba(255,238,170,.6); }
    50% { box-shadow: 0 3px 0 #4d1f00, 0 6px 12px rgba(0,0,0,.45), 0 0 30px rgba(255,190,60,.75), inset 0 0 0 1px rgba(255,238,170,.6); } }
  .btn.primary:active { animation: none; }
}
