/* ==========================================================================
   Pre-order page (preorder.html). Builds on site.css tokens.
   ========================================================================== */

.po .lead { color: var(--muted); font-size: 1.12rem; max-width: 34rem; }

/* ---- hero ---------------------------------------------------------------- */
.po-hero { position: relative; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.po-hero-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.po-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.po-ctas { justify-content: flex-start; margin: 1.4rem 0 .9rem; }
.po-fine { color: var(--muted-2); font-size: .88rem; margin: 0; }

.po-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.2rem; }
.po-price { font-family: var(--num); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--text);
  text-shadow: 0 0 24px rgba(57,213,255,.35); }
.po-was { font-family: var(--num); font-size: 1.3rem; color: var(--muted-2); text-decoration: line-through; }
.po-tag { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  padding: .3rem .8rem; border: 1px solid rgba(255,197,61,.45); border-radius: 999px; }

/* The rig */
.po-rig { position: relative; margin: 0; width: 100%; max-width: 34rem; justify-self: center; aspect-ratio: 1; }
.po-rig svg { width: 100%; height: 100%; overflow: visible; }
.rg-num { font-family: var(--num); font-size: 13px; fill: #c9d4f5; }
.rg-led { filter: drop-shadow(0 0 6px #eaf6ff) drop-shadow(0 0 16px rgba(57,213,255,.6)); }
.rg-cone { opacity: .25; animation: rgScan 1.8s ease-in-out infinite; }
@keyframes rgScan { 0%, 100% { opacity: .12; } 50% { opacity: .5; } }
.rg-dart { animation: rgLand .32s cubic-bezier(.3,0,.8,.4) both; transform-origin: 0 0; }
@keyframes rgLand { from { transform: translate(40px, -160px) scale(2.4); opacity: 0; } 70% { opacity: 1; } to { transform: none; opacity: 1; } }
.rg-hit { opacity: 0; animation: rgHit .7s ease-out .3s both; transform-origin: 0 0; }
@keyframes rgHit { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(2.6); } }

.po-call { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center;
  padding: .55rem 1.3rem .6rem; border-radius: 14px; background: rgba(4,7,22,.88); border: 2px solid var(--cyan);
  box-shadow: 0 0 28px rgba(57,213,255,.45); opacity: 0; transform: translate(-50%, -50%) scale(.6); pointer-events: none; }
.po-call.on { animation: poCall 1.1s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes poCall { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  30% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
.po-call-n { font-family: var(--num); font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--cyan); line-height: 1; }
.po-call-p { font-weight: 700; color: var(--text); font-size: .95rem; }
.po-turn { position: absolute; left: 50%; bottom: -.4rem; transform: translateX(-50%); font-family: var(--num); font-size: 1.15rem;
  color: var(--gold); letter-spacing: .04em; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.po-turn.on { opacity: 1; }

/* ---- games ---------------------------------------------------------------- */
.po-games { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--bg1); border-top: 1px solid var(--edge-soft); border-bottom: 1px solid var(--edge-soft); }
.po-game-grid { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.po-game { display: block; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; background: #060a22;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.po-game img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.po-game span { display: block; padding: .6rem .9rem .7rem; font-weight: 700; font-size: .95rem; border-top: 3px solid var(--c, var(--cyan)); }
@media (hover: hover) { .po-game:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 16px 34px -18px var(--c); } }
.po-more { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 2rem 0 0; }

/* ---- how it works ---------------------------------------------------------- */
.po-how { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.po-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.po-steps li { position: relative; padding: 1.6rem 1.5rem 1.4rem; border: 1px solid var(--edge); border-radius: var(--radius); background: rgba(234,240,255,.03); }
.po-steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.po-step-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; margin-bottom: .9rem;
  font-family: var(--num); font-size: 1.15rem; color: #051022; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.po-points { margin-top: 1.4rem; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.po-points div { color: var(--muted); font-size: .95rem; padding-left: 1rem; border-left: 3px solid var(--emerald); }
.po-points b { color: var(--text); }

/* ---- in the box + order card --------------------------------------------- */
.po-box { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--bg2); }
.po-box-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.po-items { list-style: none; margin: 1.4rem 0 1rem; padding: 0; display: grid; gap: .8rem; }
.po-items li { color: var(--muted); padding: .9rem 1.1rem; border: 1px solid var(--edge-soft); border-radius: var(--radius-sm); background: rgba(234,240,255,.03); }
.po-items b { display: block; color: var(--text); font-size: 1.02rem; }

.po-order { position: sticky; top: 84px; padding: 1.8rem 1.6rem; border-radius: 18px; border: 1px solid rgba(57,213,255,.5);
  background: linear-gradient(180deg, rgba(47,123,255,.14), rgba(4,7,22,.6)); box-shadow: 0 24px 60px -30px rgba(57,213,255,.6); scroll-margin-top: 84px; }
.po-order-kicker { font-family: var(--num); font-size: 1.3rem; margin: 0; }
.po-order .po-price-line { margin-top: .5rem; }
.po-order-cap { color: var(--gold); font-weight: 700; font-size: .92rem; margin: .5rem 0 1rem; }
.po-order-facts { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .45rem; }
.po-order-facts li { position: relative; padding-left: 1.6rem; color: var(--text); font-size: .95rem; }
.po-order-facts li::before { content: ""; position: absolute; left: .1rem; top: .35rem; width: .8rem; height: .45rem;
  border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
.po-order-btn { width: 100%; justify-content: center; }

.po-form { display: grid; gap: .8rem; scroll-margin-top: 84px; }
.po-form-note { color: var(--muted); font-size: .9rem; margin: 0; }
.po-field { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
.po-field input, .po-field select, .po-list-form input { font: inherit; font-size: 1rem; color: var(--text); min-height: 46px; padding: .55rem .9rem;
  border-radius: 12px; border: 1px solid var(--edge); background: rgba(4,7,22,.7); }
.po-field input:focus, .po-field select:focus, .po-list-form input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.po-form .cta { justify-content: center; }
.po-error { color: #ff9db3; font-weight: 600; font-size: .9rem; margin: 0; }
.po-done { margin: 0; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid rgba(46,230,160,.5); background: rgba(46,230,160,.08); }
.po-done b { color: var(--emerald); }

/* ---- promises -------------------------------------------------------------- */
.po-promise { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.po-promise-grid { margin-top: 2rem; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.po-promise-card { padding: 1.6rem 1.5rem; border: 1px solid var(--edge); border-radius: var(--radius); background: rgba(234,240,255,.03); }
.po-promise-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.po-promise-ic { display: block; width: 46px; height: 46px; color: var(--emerald); margin-bottom: .8rem; }

/* ---- launch list ----------------------------------------------------------- */
.po-list { padding: clamp(2.5rem, 6vw, 4rem) 0; background: var(--bg1); border-top: 1px solid var(--edge-soft); border-bottom: 1px solid var(--edge-soft); }
.po-list-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.po-list h2 { margin-bottom: .2rem; }
.po-list-form { display: flex; flex-wrap: wrap; gap: .7rem; }
.po-list-form input { flex: 1 1 14rem; }
.po-list-form .po-error, .po-list-form .po-done { flex-basis: 100%; }

/* ---- FAQ --------------------------------------------------------------------- */
.po-faq { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.po-faq-list { margin-top: 1.6rem; display: grid; gap: .7rem; max-width: 52rem; }
.po-faq details { border: 1px solid var(--edge); border-radius: var(--radius-sm); background: rgba(234,240,255,.03); }
.po-faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.po-faq summary::-webkit-details-marker { display: none; }
.po-faq summary::after { content: "+"; font-family: var(--num); color: var(--cyan); }
.po-faq details[open] summary::after { content: "−"; }
.po-faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--muted); }
.po-faq a { color: var(--cyan); }

.po-final { text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: var(--bg2); }
.po-final .cta { margin-top: .6rem; }

/* ---- small screens ------------------------------------------------------------ */
@media (max-width: 960px) {
  .po-hero-wrap { grid-template-columns: 1fr; }
  .po-hero-copy { text-align: center; }
  .po-hero .lead { margin-left: auto; margin-right: auto; }
  .po-price-line, .po-ctas { justify-content: center; }
  .po-hero .po-price-line { justify-content: center; }
  .po-rig { max-width: 26rem; order: -1; }
  .po-box-wrap { grid-template-columns: 1fr; }
  .po-order { position: static; }
  .po-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .po-steps, .po-points, .po-promise-grid, .po-list-wrap { grid-template-columns: 1fr; }
  .po-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po-rig { max-width: 20rem; }
}

/* ---- Founders: the first 25 ------------------------------------------------- */
.po-founders { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid rgba(255,197,61,.25);
  background: radial-gradient(ellipse at 50% 0%, rgba(255,197,61,.12), transparent 60%), var(--bg0); }
.po-founders .kicker { color: var(--gold); }
.po-founder-grid { margin-top: 2rem; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.po-founder-card { position: relative; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--radius);
  border: 1px solid rgba(255,197,61,.45); background: linear-gradient(180deg, rgba(255,197,61,.08), rgba(255,197,61,.02)); }
.po-founder-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.po-founder-n { display: block; font-family: var(--num); font-size: 1.6rem; color: var(--gold); line-height: 1; margin-bottom: .7rem; }
@media (max-width: 720px) { .po-founder-grid { grid-template-columns: 1fr; } }

/* ---- game reel under the hero: the games are the difference ------------------------------ */
.po-reel { padding: 1.6rem 0 2.2rem; border-top: 1px solid var(--edge-soft); background: var(--bg1); overflow: hidden; }
.po-reel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: 1.1rem; }
.po-reel-title { margin: 0; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); }
.po-reel-title b { font-family: var(--num); font-weight: 400; color: var(--text); }
.po-reel-all { color: var(--cyan); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.po-reel-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.po-reel-track { display: flex; gap: 1rem; width: max-content; animation: poReel 70s linear infinite; }
.po-reel-view:hover .po-reel-track { animation-play-state: paused; }
@keyframes poReel { to { transform: translateX(-50%); } }
.po-reel-card { flex: none; width: 15.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--edge); background: #060a22; }
.po-reel-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.po-reel-card b { display: block; padding: .6rem .85rem 0; font-size: .98rem; border-top: 3px solid var(--c, var(--cyan)); }
.po-reel-card span { display: block; padding: .15rem .85rem .75rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) {
  .po-reel-track { animation: none; }
  .po-reel-view { overflow-x: auto; }
}
@media (max-width: 720px) { .po-reel-card { width: 12.5rem; } }
