/* Shared styles for the app screens: login, sign up, pack selection, checkout, sales not available */
:root {
  --bg: #050b24; --bg-2: #0c1747; --ink: #f4f6ff; --muted: #a9b8ea; --accent: #ff6a1a;
  --line: rgba(244, 246, 255, 0.18);
  --display: 'Big Shoulders Display', sans-serif; --body: 'Space Grotesk', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* header + logo */
.site-head { height: 80px; display: flex; align-items: center; padding: 0 48px; }
.site-head.abs { position: absolute; z-index: 5; top: 0; left: 0; right: 0; }
.logo { display: flex; align-items: center; gap: 10.7px; font-family: var(--display); font-weight: 900; font-size: 22.5px; letter-spacing: .45px; text-transform: uppercase; }
.logo img { width: 30px; height: 30px; }
.logo b { color: var(--accent); font-weight: 900; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 62px; padding: 0 36px; border-radius: 6px; border: 0; font-weight: 700; font-size: 18px; white-space: nowrap; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn.primary { background: var(--accent); color: #0b0b0b; }
.btn.block { width: 100%; height: 56px; font-size: 16px; }

/* shared field styles */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input { width: 100%; height: 54px; padding: 0 16px; border-radius: 6px; border: 1px solid rgba(244,246,255,.3); background: rgba(255,255,255,.07); color: var(--ink); font: 400 16px var(--body); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,26,.25); }
.field.bad input { border-color: #ff6b6b; }
.field .err { display: none; font-size: 13px; color: #ff9a9a; }
.field.bad .err { display: block; }

/* auth screens: form left, art right */
.auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.form-side { display: flex; align-items: center; justify-content: center; padding: 120px 40px 60px; }
.auth-form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.auth-form h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 48px; line-height: 44px; }
.auth-form .sub { font-size: 16px; line-height: 24px; color: var(--muted); }
.auth-form .hint { font-size: 13px; color: var(--muted); margin-top: -8px; }
.switch { display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.switch a { color: var(--accent); font-weight: 700; text-decoration: underline; }

/* art panel with the pack composition */
.art { position: relative; overflow: hidden; background: linear-gradient(180deg, #0b2370 0%, #060d2b 55%, #03060f 100%); }
.art::before, .gridbg::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 256px 256px, 256px 256px, 64px 64px, 64px 64px; }
.glow-blue { position: absolute; left: 40%; top: -25%; width: 85%; max-width: none; pointer-events: none; }
.glow-orange { position: absolute; left: 50%; top: 38%; width: 50%; max-width: none; pointer-events: none; }
.comp { position: absolute; left: 5.5%; top: 7.8%; width: 89%; aspect-ratio: 670 / 725; max-height: 80%; }
.pack { position: absolute; }
.pack img.pk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pack .gs { position: absolute; left: 19.4%; top: 90.2%; width: 61.3%; height: 6.7%; }
.pack .gs img { position: absolute; left: -7.37%; top: -53.85%; width: 114.74%; height: 207.7%; max-width: none; }
.pack.grail { left: 16.85%; top: 11%; width: 66.3%; height: 76.7%; }
.pack-wrap { position: absolute; top: 27.35%; width: 60.5%; height: 65.85%; display: flex; align-items: center; justify-content: center; }
.pack-wrap.l { left: -7.35%; } .pack-wrap.l .pack { transform: rotate(-9deg); }
.pack-wrap.r { left: 46.8%; } .pack-wrap.r .pack { transform: rotate(9deg); }
.pack-wrap .pack { position: relative; width: 84.5%; height: 89.9%; }

/* pack selection */
.packs-page { padding-bottom: 64px; }
.packs-title { max-width: 760px; margin: 28px auto 0; padding: 0 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.packs-title h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 60px; line-height: 55px; }
.packs-title p.s { font-size: 18px; line-height: 27px; color: var(--muted); }
.offer-pill { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 6px; background: rgba(255,106,26,.14); border: 1px solid rgba(255,106,26,.55); font-size: 15px; font-weight: 700; letter-spacing: .6px; }
.offer-pill .code { padding: 4px 10px; border-radius: 3px; background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.55); letter-spacing: 1.6px; }
.pack-grid { max-width: 1304px; margin: 56px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(6, minmax(0, 204px)); gap: 16px; justify-content: center; }
.opt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 14px; border-radius: 8px; border: 1px solid rgba(244,246,255,.22); background: rgba(12,23,71,.6); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; text-align: center; color: inherit; font: inherit; }
.opt:hover { transform: translateY(-2px); }
.opt.sel { background: var(--bg-2); border: 3px solid var(--accent); padding: 18px 12px; }
.opt .pa { position: relative; width: 176px; height: 250px; }
.opt .pa img.pk { position: absolute; left: -4.25%; top: 4.2%; width: 108.5%; height: 95.5%; object-fit: contain; }
.opt .pa .gs { position: absolute; left: 19.4%; top: 90%; width: 61.3%; height: 6.7%; }
.opt .pa .gs img { position: absolute; left: -7.37%; top: -53.85%; width: 114.74%; height: 207.7%; max-width: none; }
.opt .nm { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 24px; }
.opt .price { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.opt .price .now { font-size: 28px; }
.opt .price .was { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.opt .pick { height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 6px; border: 1px solid rgba(244,246,255,.35); font-size: 13px; font-weight: 700; }
.opt.sel .pick { background: var(--accent); border-color: var(--accent); color: #0b0b0b; }
.packs-cta { display: flex; justify-content: center; margin-top: 40px; padding: 0 20px; }

/* checkout */
.checkout { max-width: 1280px; margin: 0 auto; padding: 60px 80px 80px; display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 460px); gap: 80px; justify-content: center; align-items: start; }
.checkout h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 52px; line-height: 48px; margin-bottom: 24px; }
.card-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card-box h2 { font-size: 20px; font-weight: 700; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.summary-label { font-size: 13px; font-weight: 700; letter-spacing: 1.56px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-top: 6px; }
.sum { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sum .pa { position: relative; width: 255px; height: 320px; margin: 14px 0 6px; }
.sum .pa img.pk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sum .pa .gs { position: absolute; left: 19.4%; top: 90%; width: 61.3%; height: 6.7%; }
.sum .pa .gs img { position: absolute; left: -7.37%; top: -53.85%; width: 114.74%; height: 207.7%; max-width: none; }
.sum .nm { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 28px; text-align: center; }
.sum .desc { font-size: 15px; color: var(--muted); text-align: center; }
.sum hr { width: 100%; border: 0; height: 1px; background: rgba(244,246,255,.16); }
.sum .line { width: 100%; display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.sum .line b { color: var(--ink); font-weight: 500; }
.sum .line.disc b { color: #ffb27a; }
.sum .total { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.sum .total span { font-size: 16px; color: var(--muted); }
.sum .total strong { font-size: 36px; font-weight: 700; }

/* sales not available */
.na { position: relative; overflow: hidden; min-height: 100vh; background: linear-gradient(180deg, #0b2370 0%, #060d2b 55%, #03060f 100%); }
.na .glow-blue { left: 40%; top: -25%; width: 85%; }
.na-in { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 0 80px; min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.na-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 40px; }
.na-copy .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.82px; text-transform: uppercase; color: var(--accent); }
.na-copy h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 7.8vw, 112px); line-height: .92; max-width: 600px; }
.na-copy p.s { font-size: 20px; line-height: 30px; color: var(--muted); max-width: 520px; }
.na-art { position: relative; width: 100%; aspect-ratio: 670 / 725; max-width: 670px; justify-self: center; }
.na-art .comp { left: 0; top: 0; width: 100%; max-height: none; }

@media (max-width: 1100px) {
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 204px)); }
  .checkout { padding: 48px 40px 64px; gap: 40px; }
}
@media (max-width: 980px) {
  .na-in { grid-template-columns: 1fr; padding: 0 20px 56px; align-content: start; gap: 24px; min-height: 0; }
  .na-art { max-width: 420px; }
  .na-copy { padding-bottom: 0; }
  .na-copy p.s { font-size: 17px; line-height: 26px; }
}
@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-page .art { display: none; }
  .site-head { padding: 0 20px; height: 64px; }
  .form-side { padding: 100px 20px 48px; align-items: flex-start; }
  .auth-form h1 { font-size: 40px; line-height: 38px; }
  .checkout { grid-template-columns: 1fr; padding: 28px 20px 56px; gap: 28px; }
  .checkout h1 { font-size: 40px; line-height: 38px; margin-bottom: 16px; }
  .card-box { padding: 20px; }
  .sum { padding: 20px; }
  .sum .pa { width: 200px; height: 250px; }
  .packs-title h1 { font-size: 44px; line-height: 42px; }
  .packs-title p.s { font-size: 16px; line-height: 24px; }
  .pack-grid { grid-template-columns: 1fr; margin-top: 32px; gap: 10px; }
  .opt { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "pa nm" "pa price" "pa pick"; justify-items: start; align-items: center; text-align: left; column-gap: 14px; row-gap: 4px; padding: 11px; }
  .opt.sel { padding: 9px; }
  .opt .pa { grid-area: pa; width: 96px; height: 134px; }
  .opt .nm { grid-area: nm; font-size: 22px; line-height: 20px; }
  .opt .price { grid-area: price; }
  .opt .price .now { font-size: 22px; }
  .opt .pick { grid-area: pick; margin-top: 4px; }
  .packs-cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 .field:last-child { grid-column: 1 / -1; }
}
