* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #09090d;
  --panel: rgba(19, 20, 27, 0.78);
  --panel-2: rgba(255,255,255,0.07);
  --line: rgba(255,255,255,0.12);
  --text: #f7f7fa;
  --muted: #b8bbc8;
  --soft: #878b9a;
  --red: #e50914;
  --cyan: #30d5c8;
  --gold: #f3c969;
}
body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(229,9,20,0.22), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(48,213,200,0.14), transparent 24%),
    linear-gradient(135deg, #09090d, #111119 52%, #050507);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
input, select {
  width: 100%;
  color: var(--text);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}
.shell { max-width: 1180px; margin: 0 auto; padding: 28px 20px 44px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 46px; }
.brand { color: var(--red); font-size: 28px; font-weight: 800; }
.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.nav a, .pill { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.04); }
.nav a:hover, .nav a.active { color: #fff; border-color: rgba(255,255,255,0.32); }
.hero { max-width: 780px; margin-bottom: 30px; }
.eyebrow { color: #ffb4b8; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
h1 { font-size: clamp(38px, 7vw, 82px); line-height: 0.96; letter-spacing: 0; margin-bottom: 18px; }
h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.05; }
.lead { color: #d8dae4; font-size: clamp(16px, 2vw, 20px); line-height: 1.55; max-width: 660px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card, .glass {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
  overflow: hidden;
}
.card { padding: 22px; }
.tile {
  position: relative;
  min-height: 270px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1014, #9b0710 48%, #141016);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-8px) scale(1.015); border-color: rgba(255,255,255,.34); box-shadow: 0 28px 80px rgba(0,0,0,.52); }
.tile.gift { background: linear-gradient(135deg, #101c24, #14515d 48%, #1a1510); }
.tile.soon { background: linear-gradient(135deg, #16171f, #2a2d36 48%, #0c0d12); opacity: .72; }
.tile.pdf { background: linear-gradient(135deg, #101824, #243b5d 48%, #10131a); }
.tile p, .muted { color: var(--muted); line-height: 1.55; }
.badge { position: absolute; top: 16px; right: 16px; z-index: 2; background: #fff; color: #111; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 0; border-radius: 999px; padding: 12px 17px; font-weight: 800; cursor: pointer; }
.btn.primary { color: #fff; background: var(--red); }
.btn.secondary { color: #fff; background: rgba(255,255,255,0.09); border: 1px solid var(--line); }
.drop-zone { min-height: 210px; display: grid; place-items: center; text-align: center; padding: 28px; border: 2px dashed rgba(255,255,255,.26); background: rgba(255,255,255,.05); cursor: pointer; transition: .15s; }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--red); background: rgba(229,9,20,.14); }
.drop-zone input { display: none; }
.stat { padding: 18px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; }
.stat .num { font-size: clamp(28px, 5vw, 48px); font-weight: 800; line-height: 1; }
.stat .label, .label { color: var(--soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.progress { height: 9px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--cyan)); transition: width .45s ease; }
.steps { display: grid; gap: 10px; margin-top: 18px; }
.step { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); }
.step.done, .step.active { color: #fff; border: 1px solid rgba(255,255,255,.16); }
.heatmap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.cell { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,.08); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { padding: 8px 10px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid var(--line); font-size: 13px; }
.error { color: #ffd8da; background: rgba(229,9,20,.18); border: 1px solid rgba(229,9,20,.38); padding: 14px; border-radius: 8px; margin-top: 14px; }
.form { display: grid; gap: 12px; margin-top: 18px; }
.locked { filter: blur(7px); opacity: .58; pointer-events: none; user-select: none; }
.paywall { border: 1px solid rgba(243,201,105,.35); background: rgba(243,201,105,.09); }
.qr { width: 190px; height: 190px; object-fit: cover; border-radius: 8px; background: #fff; padding: 10px; }
.table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.table th, .table td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; vertical-align: top; }
.story-card { width: min(390px, 100%); aspect-ratio: 9/16; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(160deg,#2a1014,#09090d 70%); }
@media (max-width: 820px) {
  .topbar { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
  .shell { padding-inline: 16px; }
}
