/* Hawks store — storm navy, hawk blue, eye green used only for "delivered". */
:root {
  --storm: #070b16;
  --deck: #0d1427;
  --deck-2: #121b33;
  --steel: #1f2b4a;
  --hawk: #2f7bff;
  --hawk-2: #4d93ff;
  --ice: #9fd4ff;
  --eye: #46e28c;
  --bone: #e9eef7;
  --fog: #8a99b8;
  --danger: #ff6b6b;
  --radius-lg: 14px;
  --radius-sm: 8px;
  --display: "Teko", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--storm);
  color: var(--bone);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ice); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- top bar ---------- */
.topbar { position: relative; z-index: 3; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; min-width: 0; }
.brand img { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; object-position: 45% 40%; border: 1px solid var(--steel); }
.brand span { font: 600 clamp(26px, 3.2vw, 38px)/1 var(--display); letter-spacing: .015em; padding-top: 5px; text-shadow: 0 0 24px rgba(47,123,255,.35); }

.btn-discord {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--hawk); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  white-space: nowrap;
}
.btn-discord:hover { background: var(--hawk-2); }
.btn-discord svg { width: 18px; height: 18px; flex: none; }
.btn-discord.ghost { background: transparent; border: 1px solid var(--steel); color: var(--bone); }
.btn-discord.ghost:hover { border-color: var(--hawk); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; margin-top: -88px; padding-top: 88px; }
.hero::before { /* storm glow behind the hawk */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 420px at 78% 42%, rgba(47,123,255,.32), transparent 70%),
    radial-gradient(900px 500px at 10% 0%, rgba(47,123,255,.10), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; min-height: 520px; padding-bottom: 40px; }
.hero h1 {
  font: 600 clamp(56px, 9vw, 112px)/.86 var(--display);
  margin: 0 0 16px; letter-spacing: .005em;
  text-shadow: 0 0 40px rgba(47,123,255,.35);
}
.hero p.lede { color: #c3cde0; max-width: 46ch; margin: 0 0 26px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  background: var(--bone); color: var(--storm); text-decoration: none;
  font: 600 17px/1.2 var(--body);
}
.btn-primary:hover { background: #fff; }
.servers-strip { display: flex; gap: 18px; margin-top: 28px; color: var(--fog); font-size: 15px; flex-wrap: wrap; }
.servers-strip b { color: var(--bone); font-weight: 600; }

.hero-art { position: relative; justify-self: end; width: min(560px, 100%); aspect-ratio: 700 / 560; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; filter: saturate(1.1) contrast(1.08);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}

/* The memorable bit: three claw marks torn across the hero. */
.claws { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.claws i {
  position: absolute; top: -10%; height: 130%; width: 10px; border-radius: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(159,212,255,.0) 8%, rgba(159,212,255,.55) 45%, rgba(47,123,255,.25) 80%, transparent 100%);
  box-shadow: 0 0 24px rgba(47,123,255,.45);
  transform: rotate(24deg); transform-origin: top center;
  clip-path: inset(0 0 100% 0);
  animation: scratch .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.claws i:nth-child(1) { left: 54%; animation-delay: .15s; }
.claws i:nth-child(2) { left: 60%; width: 13px; animation-delay: .25s; }
.claws i:nth-child(3) { left: 66%; animation-delay: .35s; }
@keyframes scratch { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .claws i { animation: none; clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-top: 24px; padding-bottom: 72px; }
.notice { background: #13213f; border: 1px solid #27407a; color: var(--ice); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; }

.step { margin-bottom: 44px; }
.step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.step-head .n {
  font: 600 22px/1 var(--display); color: var(--storm); background: var(--ice);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; padding-top: 3px; flex: none;
  transform: translateY(-3px);
}
.step-head h2 { font: 600 40px/1 var(--display); margin: 0; letter-spacing: .01em; }
.step-head p { margin: 0; color: var(--fog); font-size: 15px; }

/* server tiles */
.servers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.server {
  position: relative; display: block; cursor: pointer; padding: 18px 16px 16px;
  background: var(--deck); border: 1px solid var(--steel); border-radius: var(--radius-lg);
}
.server input { position: absolute; opacity: 0; pointer-events: none; }
.server .name { font: 600 34px/1 var(--display); display: block; padding-top: 4px; }
.server .size { color: var(--fog); font-size: 14px; }
.pips { display: flex; gap: 6px; margin-bottom: 14px; }
.pips span { width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid var(--steel); border-radius: 2px; }
.pips span.on { background: var(--hawk); border-color: var(--hawk); }
.server:has(input:checked) { border-color: var(--hawk); background: linear-gradient(160deg, #142450, var(--deck) 70%); box-shadow: 0 0 0 1px var(--hawk) inset; }
.server:has(input:checked) .pips span.on { background: var(--ice); border-color: var(--ice); }
.server:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 3px; }
.server.closed { cursor: not-allowed; opacity: .5; }

/* pack cards */
.packs { display: grid; gap: 14px; }
.pack {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; cursor: pointer;
  padding: 20px 22px; background: var(--deck); border: 1px solid var(--steel); border-radius: var(--radius-lg);
}
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack:has(input:checked) { border-color: var(--hawk); box-shadow: 0 0 0 1px var(--hawk) inset; background: linear-gradient(160deg, #132148, var(--deck) 60%); }
.pack:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 3px; }
.pack h3 { font: 600 34px/1 var(--display); margin: 0; padding-top: 4px; }
.pack .price { font: 600 40px/1 var(--display); color: var(--ice); text-align: right; padding-top: 4px; }
.pack .tag {
  display: inline-block; margin-left: 10px; vertical-align: 6px;
  font: 600 13px/1 var(--body); color: var(--storm); background: var(--ice); padding: 5px 8px 4px; border-radius: 999px;
}
.pack .desc { grid-column: 1 / -1; color: #b7c2d8; margin: 6px 0 0; max-width: 70ch; font-size: 16px; }
.pack ul { grid-column: 1 / -1; list-style: none; padding: 0; margin: 14px 0 0; columns: 2; column-gap: 28px; font-size: 15px; }
.pack li { break-inside: avoid; padding: 3px 0 3px 18px; position: relative; color: var(--bone); }
.pack li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; background: var(--hawk); transform: rotate(45deg); }
.pack li.more { display: none; }
.pack.open li.more { display: list-item; }
.more-btn {
  grid-column: 1 / -1; justify-self: start; margin-top: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--ice); font: 600 15px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px;
}

/* name fields */
.panel { background: var(--deck); border: 1px solid var(--steel); border-radius: var(--radius-lg); padding: 20px 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.field b { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
input[type=text] {
  width: 100%; padding: 13px 14px; font: 500 17px/1.2 var(--body); color: var(--bone);
  background: #070d1c; border: 1px solid var(--steel); border-radius: var(--radius-sm);
}
input[type=text]:focus { outline: none; border-color: var(--hawk); box-shadow: 0 0 0 3px rgba(47,123,255,.25); }
.hint { color: var(--fog); font-size: 14px; margin: 10px 0 0; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 15px; color: #b7c2d8; cursor: pointer; }
.agree input { margin-top: 3px; width: 19px; height: 19px; accent-color: var(--hawk); flex: none; }

/* loadout summary */
.loadout {
  position: sticky; top: 20px; background: var(--deck-2); border: 1px solid var(--steel); border-radius: var(--radius-lg);
  padding: 20px; overflow: hidden;
}
.loadout::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--hawk), var(--ice)); }
.loadout h2 { font: 600 32px/1 var(--display); margin: 2px 0 14px; padding-top: 4px; }
.loadout dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 15px; }
.loadout dt { color: var(--fog); }
.loadout dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.loadout dd.empty { color: var(--fog); font-weight: 400; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--steel); padding-top: 12px; margin-bottom: 16px; }
.total span { color: var(--fog); }
.total strong { font: 600 44px/1 var(--display); color: var(--bone); }
.total strong.empty { color: var(--fog); }
.pay { display: grid; gap: 10px; }
.pay .btn-primary { width: 100%; background: var(--hawk); color: #fff; }
.pay .btn-primary:hover { background: var(--hawk-2); }
.pay .btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.error { color: var(--danger); font-weight: 600; font-size: 15px; margin: 4px 0 0; min-height: 1.4em; }
.small { color: var(--fog); font-size: 13.5px; margin: 12px 0 0; }

/* post-wipe lock */
.wipe-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin-bottom: 24px; padding: 16px 20px; border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #2a1f08, #17120a 70%); border: 1px solid #6b4f12; color: #ffd98a;
}
.wipe-banner b { font: 600 26px/1 var(--display); color: #ffc14d; letter-spacing: .02em; padding-top: 3px; display: inline-block; }
.wipe-banner .clock { font: 600 40px/1 var(--display); color: #fff; letter-spacing: .03em; font-variant-numeric: tabular-nums; padding-top: 4px; }
.server.locked { border-color: #6b4f12; }
.server.locked .size { color: #ffc14d; font-variant-numeric: tabular-nums; }
.pay.locked { opacity: .35; pointer-events: none; filter: grayscale(1); }
.lock-msg { color: #ffc14d; font-weight: 600; font-size: 15px; margin: 10px 0 0; }

/* faq */
.faq { padding: 8px 0 64px; }
.faq h2 { font: 600 48px/1 var(--display); margin: 0 0 18px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.faq details { border-top: 1px solid var(--steel); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ice); font: 600 26px/0.8 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #b7c2d8; margin: 10px 0 0; max-width: 60ch; }

/* discord band */
.band { border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); background: linear-gradient(90deg, #0b1633, var(--storm)); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.band h2 { font: 600 40px/1 var(--display); margin: 0; padding-top: 4px; }
.band p { margin: 4px 0 0; color: var(--fog); }

footer { color: var(--fog); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 40px; flex-wrap: wrap; }
footer p { margin: 0 0 6px; max-width: 70ch; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; }
  .hero-art { order: -1; justify-self: center; width: min(380px, 90%); margin-bottom: -40px; }
  .claws i:nth-child(1) { left: 30%; } .claws i:nth-child(2) { left: 40%; } .claws i:nth-child(3) { left: 50%; }
  .claws i { height: 60%; }
  .shop { grid-template-columns: 1fr; }
  .loadout { position: relative; top: 0; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .servers { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .server { padding: 14px 12px 12px; }
  .server .name { font-size: 28px; }
  .server .size { font-size: 12.5px; }
  .pack { padding: 18px 16px; }
  .pack ul { columns: 1; }
  .fields { grid-template-columns: 1fr; }
  .step-head { flex-wrap: wrap; }
  .step-head p { flex-basis: 100%; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 23px; }
  .btn-discord { padding: 9px 13px; font-size: 14px; }
  .topbar .btn-discord { padding: 10px; }
  .topbar .btn-discord .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- status + terms pages ---------- */
.page { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
.status { text-align: center; padding: 40px 22px; margin-top: 24px; }
.status h1 { font: 600 clamp(40px, 7vw, 60px)/.95 var(--display); margin: 0 0 10px; }
.status p { color: #b7c2d8; max-width: 52ch; margin: 8px auto; }
.status .icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font: 600 36px/1 var(--display); }
.status .icon.ok { background: rgba(70,226,140,.12); color: var(--eye); border: 2px solid var(--eye); }
.status .icon.warn { background: rgba(255,193,77,.12); color: #ffc14d; border: 2px solid #ffc14d; }
.status .icon.bad { background: rgba(255,107,107,.12); color: var(--danger); border: 2px solid var(--danger); }
.spinner { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; border: 4px solid var(--steel); border-top-color: var(--hawk); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.terms h1 { font: 600 64px/1 var(--display); margin: 10px 0 6px; }
.terms h2 { font: 600 30px/1 var(--display); margin: 30px 0 6px; }
.terms p { color: #c3cde0; max-width: 68ch; }
