/* Prospera's Vault: styles
   The page colours come from the theme variables below. They are registered with
   @property so the browser can fade smoothly from one app's gradient to the next. */

@property --bg-top    { syntax: '<color>'; inherits: true; initial-value: #3b3b41; }
@property --bg-bot    { syntax: '<color>'; inherits: true; initial-value: #000000; }
@property --glow-a    { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,.07); }
@property --glow-b    { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,.035); }
@property --accent    { syntax: '<color>'; inherits: true; initial-value: #f5d27e; }
@property --accent-2  { syntax: '<color>'; inherits: true; initial-value: #d79a45; }
@property --gold      { syntax: '<color>'; inherits: true; initial-value: #fbd678; }
@property --on-accent { syntax: '<color>'; inherits: true; initial-value: #1b1206; }

:root {
  --text: #eef0f6;
  --muted: #a7acba;
  --faint: #6f7484;
  --glass: rgba(255,255,255,.045);
  --glass-2: rgba(255,255,255,.075);
  --glass-3: rgba(255,255,255,.11);
  --line: rgba(255,255,255,.085);
  --line-2: rgba(255,255,255,.16);
  --shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 68px;
  color-scheme: dark;
  transition:
    --bg-top 1.1s var(--ease), --bg-bot 1.1s var(--ease),
    --glow-a 1.1s var(--ease), --glow-b 1.1s var(--ease),
    --accent .9s var(--ease), --accent-2 .9s var(--ease),
    --gold .9s var(--ease), --on-accent .9s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }

/* No highlighting, except where people type */
body { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }

/* Star cursor (assets/js/cursor.js). The native cursor only hides once the script runs;
   text fields keep the I-beam. */
.star-cursor-on, .star-cursor-on * { cursor: none !important; }
.star-cursor-on input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]),
.star-cursor-on textarea, .star-cursor-on [contenteditable="true"] { cursor: text !important; }
.star-cursor { position: fixed; left: 0; top: 0; z-index: 2147483647; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .15s; }
.star-cursor.in { opacity: 1; }
.star-cursor.hide { opacity: 0; }
.star-cursor svg {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; overflow: visible;
  fill: #1c1b19; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(0,0,0,.6));
  transition: scale .2s var(--ease-out), filter .2s;
}
.star-cursor.hover svg { scale: 1.25; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--gold) 55%, transparent)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ic.fill { fill: currentColor; stroke: none; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-base { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bot) 78%); }
.bg-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(42% 38% at 14% 6%, var(--glow-a), transparent 70%),
    radial-gradient(40% 40% at 92% 62%, var(--glow-b), transparent 70%),
    radial-gradient(60% 30% at 50% 110%, var(--glow-b), transparent 70%);
  animation: glowDrift 26s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translate3d(2%, -2%, 0) scale(1.05); } }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 30%, transparent 55%, rgba(0,0,0,.55)); }
.bg-grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.floaters { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.floaters.fading { opacity: 0; }
.floater { position: absolute; left: 0; top: 0; will-change: transform; }
.floater svg { width: 100%; height: 100%; overflow: visible; }
.floater .s-stroke { fill: var(--accent); fill-opacity: .05; stroke: var(--accent); stroke-opacity: .42; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.floater .s-line { fill: none; stroke: var(--accent); stroke-opacity: .28; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.floater .s-fill { fill: var(--gold); fill-opacity: .3; stroke: none; }
.floater.far { filter: blur(2.5px); opacity: .55; }
.floater.mid { opacity: .8; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--accent);
}

/* ---------- Layout shell ---------- */
.shell { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; overflow-x: clip; }
.feature, .review, .faq-item, .lib-card, .admin-prod, .step-num, .spec { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.two-col > *, .phero-inner > *, .show-inner > *, .rv-layout > * { min-width: 0; }
.view { flex: 1; padding-top: var(--nav-h); transition: opacity .22s var(--ease), translate .32s var(--ease); }
.view.leaving { opacity: 0; translate: 0 10px; }
.view.entering { opacity: 0; translate: 0 -6px; transition: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,8,10,.62); border-bottom-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav .wrap { display: flex; align-items: center; gap: 28px; max-width: 1280px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-brand); font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-60deg); }
.brand span { background: linear-gradient(180deg, #fff1c9, #f2c46a 60%, #d0913f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--glass); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--line); color: var(--text); transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--glass-2); border-color: var(--line-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .ic { width: 20px; height: 20px; }
.count-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent);
  font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 12px -2px var(--accent);
  transform: scale(0); transition: transform .35s var(--ease-out);
}
.count-badge.show { transform: scale(1); }
.count-badge.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.account-btn { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 6px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
.account-btn:hover { background: var(--glass-2); border-color: var(--line-2); }
.account-btn.signed-out { padding: 0 16px; }
.burger { display: none; }

.avatar { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 72px; height: 72px; border-radius: 20px; font-size: 28px; }
.avatar.md { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 20px; border-radius: 12px; font-weight: 650; font-size: 15px; white-space: nowrap;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s, opacity .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); box-shadow: 0 10px 30px -12px var(--accent), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--accent), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--glass); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,.26); transform: translateY(-2px); }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 10px 28px -12px #5865f2; }
.btn-discord:hover { background: #6974f4; transform: translateY(-2px); }
.btn-tinted { --a: var(--accent); background: color-mix(in srgb, var(--a) 16%, transparent); border-color: color-mix(in srgb, var(--a) 40%, transparent); color: var(--text); }
.btn-tinted:hover { background: color-mix(in srgb, var(--a) 26%, transparent); transform: translateY(-2px); }
.btn-danger { background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.35); color: #fda4af; }
.btn-danger:hover { background: rgba(244,63,94,.2); }
.btn-text { height: auto; padding: 0; border: 0; color: var(--muted); font-weight: 600; }
.btn-text:hover { color: var(--text); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Common bits ---------- */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--glass); border: 1px solid var(--line); white-space: nowrap; }
.chip.accent { color: var(--gold); border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.section { position: relative; padding: 120px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.grad-text { background: linear-gradient(180deg, #fff 10%, color-mix(in srgb, var(--gold) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.divider { height: 1px; background: var(--line); margin: 24px 0; border: 0; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty .ic { width: 40px; height: 40px; color: var(--faint); margin: 0 auto 14px; display: block; stroke-width: 1.5; }
.empty h3 { color: var(--text); font-size: 20px; margin-bottom: 8px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14px; color: var(--muted); background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.notice .ic { color: var(--gold); margin-top: 2px; }
.notice b { color: var(--text); }
.notice.warn { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.3); }
.notice.warn .ic { color: #fbbf24; }

/* Stars */
.stars { position: relative; display: inline-flex; vertical-align: middle; line-height: 0; }
.stars-row { display: inline-flex; gap: 2px; }
.stars-row .ic { width: var(--ss, 16px); height: var(--ss, 16px); fill: currentColor; stroke: none; }
.stars-bg { color: rgba(255,255,255,.16); }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #fbcf5c; width: var(--v, 0%); }
.rating-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.rating-line b { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease-out), translate 1s var(--ease-out), scale 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.from-left { translate: -60px 0; }
.reveal.from-right { translate: 60px 0; }
.reveal.zoom { translate: 0 0; scale: .94; }
.reveal.in { opacity: 1; translate: 0 0; scale: 1; }
.no-reveal .reveal { transition: none; opacity: 1; translate: 0 0; scale: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; margin-top: calc(var(--nav-h) * -1); padding: calc(var(--nav-h) + 9vh) 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eyebrow .ic { color: var(--gold); }
.wordmark {
  margin-top: 26px; font-family: var(--font-brand); font-weight: 900; letter-spacing: -.015em; line-height: 1;
  font-size: clamp(46px, 9vw, 116px);
  background-image:
    linear-gradient(110deg, transparent 42%, rgba(255,255,255,.85) 50%, transparent 58%),
    linear-gradient(180deg, #fff3cf 0%, #f8d27c 45%, #e3a24c 80%, #c98b3a 100%);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 160% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(251, 214, 120, .18));
  animation: shine 7s var(--ease) 1.2s infinite;
}
@keyframes shine { 0% { background-position: 160% 0, 0 0; } 28%, 100% { background-position: -60% 0, 0 0; } }
.hero-sub { max-width: 600px; margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; color: var(--muted); font-size: 14px; flex-wrap: wrap; justify-content: center; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--text); font-weight: 750; letter-spacing: -.02em; }

/* Above the hero text: the icons rise over it while scrolling. Clicks pass through to the buttons underneath. */
.fan { position: relative; z-index: 3; flex: 1; min-height: 300px; margin-top: 30px; pointer-events: none; }
.fan-card { position: absolute; left: 50%; top: 40px; width: clamp(120px, 15vw, 190px); aspect-ratio: 1; margin-left: calc(clamp(120px, 15vw, 190px) / -2); will-change: transform; }
.fan-card .fan-inner { width: 100%; height: 100%; animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
.fan-card img { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)) drop-shadow(0 0 40px color-mix(in srgb, var(--c) 35%, transparent)); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 3; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--line-2); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(0,0,0,.18); }
.marquee + .marquee { border-top: 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-brand); font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); white-space: nowrap; }
.marquee-item .solid { color: rgba(255,255,255,.88); -webkit-text-stroke: 0; }
.marquee-item img { width: 46px; height: 46px; }
.marquee-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }

/* ---------- Product cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  --a: var(--accent); --b: var(--accent-2); --g: var(--gold);
  position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 24px; min-height: 360px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .6s var(--ease-out), border-color .35s, box-shadow .45s var(--ease);
}
.pcard.tracking { transition: transform .12s linear, border-color .35s, box-shadow .45s var(--ease); }
.pcard:hover { --lift: -6px; border-color: color-mix(in srgb, var(--a) 50%, transparent); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--a) 60%, transparent); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--a) 22%, transparent), transparent 60%); }
.pcard:hover::before { opacity: 1; }
.pcard::after { content: ""; position: absolute; left: -20%; right: -20%; top: -40%; height: 70%; z-index: -2; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%); opacity: .55; transition: opacity .4s; }
.pcard:hover::after { opacity: .9; }
.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pcard-logo { width: 96px; height: 96px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); transition: transform .6s var(--ease-out); }
.pcard:hover .pcard-logo { transform: translateY(-4px) rotate(-4deg) scale(1.04); }
.pcard h3 { margin-top: 22px; font-size: 21px; font-weight: 750; }
.pcard p { margin-top: 8px; color: var(--muted); font-size: 14.5px; flex: 1; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pcard .go { position: absolute; right: 20px; bottom: 74px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 22%, transparent); color: #fff; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease-out); }
.pcard:hover .go { opacity: 1; transform: none; }
.price { font-family: var(--font-display); font-weight: 750; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.price s { color: var(--faint); font-weight: 500; font-size: .75em; margin-right: 6px; }
.sale-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 800; background: linear-gradient(135deg, var(--a, var(--accent)), var(--b, var(--accent-2))); color: #fff; }

.bundle {
  --a: #fbd678;
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  margin-top: 28px; padding: 28px 32px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, rgba(139,92,246,.14), rgba(255,150,54,.10) 35%, rgba(44,234,172,.10) 65%, rgba(56,196,255,.14));
  border: 1px solid var(--line-2);
}
.bundle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%); background-size: 250% 100%; animation: sweep 6s linear infinite; }
@keyframes sweep { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.bundle img { width: 110px; height: 110px; filter: drop-shadow(0 16px 26px rgba(0,0,0,.55)); }
.bundle h3 { font-size: 26px; font-weight: 800; }
.bundle p { color: var(--muted); margin-top: 6px; }
.bundle-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bundle-price .price { font-size: 28px; }
.save-pill { display: inline-flex; height: 26px; padding: 0 10px; align-items: center; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: #1b1206; background: linear-gradient(135deg, #fff1c9, #f2c46a); }

/* ---------- Showcase rows ---------- */
.showcase { padding-top: 40px; }
.show-row { position: relative; padding: 70px 0; }
.show-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.show-row.flip .show-media { order: 2; }
.show-media { position: relative; display: grid; place-items: center; aspect-ratio: 1.1; }
.show-orb { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--a) 55%, transparent), color-mix(in srgb, var(--b) 20%, transparent) 50%, transparent 72%); filter: blur(10px); }
.show-ring { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--a) 40%, transparent); animation: rot 60s linear infinite; }
.show-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--a); box-shadow: 0 0 16px var(--a); }
.show-ring.r2 { width: 66%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: color-mix(in srgb, var(--b) 22%, transparent); }
.show-ring.r2::before { background: var(--g); box-shadow: 0 0 14px var(--g); }
@keyframes rot { to { transform: rotate(360deg); } }
.show-logo { position: relative; width: 52%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); will-change: transform; }
.show-title { font-family: var(--font-brand); font-size: clamp(34px, 4.2vw, 54px); font-weight: 900; letter-spacing: -.015em; background: linear-gradient(180deg, color-mix(in srgb, var(--g) 50%, #fff), var(--g) 55%, var(--a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.show-text p { margin-top: 18px; color: var(--muted); font-size: 17.5px; max-width: 520px; }
.show-text .chips { margin-top: 22px; }
.show-text .chip { color: var(--text); border-color: color-mix(in srgb, var(--a) 30%, transparent); background: color-mix(in srgb, var(--a) 10%, transparent); }
.show-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.show-text .kicker { color: var(--a); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; --p: 0; }
.steps-line { position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(var(--p)); box-shadow: 0 0 12px var(--accent); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num { position: relative; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 20px; display: grid; place-items: center; background: #111114; border: 1px solid var(--line-2); color: var(--gold); transition: border-color .5s, box-shadow .5s, color .5s; }
.step-num .ic { width: 26px; height: 26px; }
.step.lit .step-num { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 10%, transparent), 0 12px 30px -10px var(--accent); }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { padding: 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .4s var(--ease-out); }
.review:hover { border-color: var(--line-2); transform: translateY(-3px); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head .who { flex: 1; min-width: 0; }
.review-head .who b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-head .who span { font-size: 12.5px; color: var(--faint); }
.review h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.review p { color: var(--muted); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--faint); margin-top: auto; }
.verified { display: inline-flex; align-items: center; gap: 5px; color: #6ee7b7; font-weight: 600; font-size: 12.5px; }
.verified .ic { width: 14px; height: 14px; }
.review-app { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.review-app img { width: 18px; height: 18px; border-radius: 5px; }

.rv-layout { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.rv-summary { padding: 26px; position: sticky; top: calc(var(--nav-h) + 20px); }
.rv-big { display: flex; align-items: baseline; gap: 10px; }
.rv-big b { font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rv-bars { display: grid; gap: 8px; margin-top: 20px; }
.rv-bar { display: grid; grid-template-columns: 26px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.rv-bar .track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.rv-bar .fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #fbcf5c, #f59e0b); width: 0; transition: width 1.2s var(--ease-out); }
.rv-list { display: grid; gap: 14px; }
.rv-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: rgba(255,255,255,.18); transition: color .15s, transform .2s var(--ease-out); }
.star-input label .ic { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #fbcf5c; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq-item.open { border-color: var(--line-2); background: var(--glass-2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 650; font-size: 16.5px; }
.faq-q .ic { color: var(--muted); transition: transform .4s var(--ease-out); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); color: var(--gold); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 64px 32px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(88,101,242,.22), rgba(88,101,242,.05)); border: 1px solid rgba(88,101,242,.35);
}
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: -60%; margin-left: -260px; z-index: -1; background: radial-gradient(circle, rgba(88,101,242,.4), transparent 65%); }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cta p { color: var(--muted); margin: 14px auto 28px; max-width: 520px; font-size: 17px; }
.cta .cta-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 20px; display: grid; place-items: center; background: #5865f2; color: #fff; box-shadow: 0 16px 40px -12px #5865f2; }
.cta .cta-icon .ic { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; margin-top: 80px; border-top: 1px solid var(--line); background: rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-family: var(--font); font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer .brand { margin-bottom: 14px; }
.footer-about { color: var(--muted); font-size: 14.5px; max-width: 340px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* ---------- Product page ---------- */
.phero { position: relative; padding: 50px 0 40px; }
.phero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; font-weight: 600; margin-bottom: 22px; transition: color .2s, gap .3s var(--ease-out); }
.back-link:hover { color: var(--text); gap: 10px; }
.logo-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.logo-stage .halo { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), color-mix(in srgb, var(--accent-2) 18%, transparent) 45%, transparent 70%); filter: blur(20px); animation: pulse 7s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
.logo-stage .show-ring { --a: var(--accent); --b: var(--accent-2); --g: var(--gold); }
.plogo-wrap { position: relative; width: 62%; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-out); }
.plogo-wrap.tracking { transition: transform .15s linear; }
.plogo { width: 100%; filter: drop-shadow(0 50px 60px rgba(0,0,0,.65)); animation: bob 7s ease-in-out infinite; }
.plogo-shadow { position: absolute; left: 15%; right: 15%; bottom: -14%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); animation: shadowBob 7s ease-in-out infinite; }
@keyframes shadowBob { 50% { transform: scale(.88); opacity: .7; } }
.ptitle { font-family: var(--font-brand); font-weight: 900; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.015em; line-height: 1.02; margin-top: 16px; }
.ptitle .pre { display: block; font-size: .42em; letter-spacing: 0; color: var(--muted); -webkit-text-fill-color: currentColor; font-family: var(--font-display); font-weight: 650; margin-bottom: 6px; }
.ptitle .name { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 45%, #fff) 0%, var(--gold) 50%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ptag { margin-top: 16px; font-size: 20px; color: var(--text); font-weight: 550; }
.pdesc { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 560px; }
.pmeta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.buybox { margin-top: 28px; padding: 22px; display: grid; gap: 16px; max-width: 520px; }
.buybox-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.buybox-price .price { font-size: 34px; }
.buybox-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buybox-perks { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.buybox-perks span { display: inline-flex; align-items: center; gap: 6px; }
.buybox-perks .ic { color: var(--gold); width: 15px; height: 15px; }
.owned-banner { display: flex; align-items: center; gap: 10px; color: #6ee7b7; font-weight: 650; }
.owned-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 750; color: #6ee7b7; background: rgba(110,231,183,.1); border: 1px solid rgba(110,231,183,.3); white-space: nowrap; }
.owned-pill svg { width: 14px; height: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 26px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color .35s, transform .5s var(--ease-out), background .35s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-4px); background: var(--glass-2); }
.feature-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: var(--gold); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.feature-ic .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.spec { padding: 22px; background: rgba(10,10,12,.72); }
.spec span { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.spec b { display: block; margin-top: 6px; font-size: 16px; font-weight: 650; }

.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.share-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Drawer ---------- */
.drawer-back { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(440px, 100%);
  display: flex; flex-direction: column; background: rgba(14,14,17,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--line); transform: translateX(104%); transition: transform .5s var(--ease-out); box-shadow: -30px 0 60px -20px rgba(0,0,0,.7);
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-back { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; font-weight: 750; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: itemIn .45s var(--ease-out) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(16px); } }
.line-item img { width: 64px; height: 64px; }
.line-item h4 { font-size: 15.5px; font-weight: 650; }
.line-item .sub { font-size: 13px; color: var(--faint); }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { display: inline-flex; align-items: center; border-radius: 10px; border: 1px solid var(--line-2); overflow: hidden; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.qty button:hover { background: var(--glass-2); color: var(--text); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.qty .ic { width: 14px; height: 14px; }
.totals { display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .grand { color: var(--text); font-weight: 750; font-size: 19px; padding-top: 10px; border-top: 1px solid var(--line); }
.totals .disc { color: #6ee7b7; }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { height: 40px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 650; color: var(--muted); }
.field small { font-size: 12.5px; color: var(--faint); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a7acba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select option { background: #17171b; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); background: rgba(0,0,0,.5); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input.invalid { border-color: #f43f5e; box-shadow: 0 0 0 4px rgba(244,63,94,.14); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: #fda4af; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 1px 0 0; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input:checked { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.input-money { position: relative; }
.input-money .input { padding-left: 34px; }
.input-money i { position: absolute; left: 13px; top: 50%; translate: 0 -50%; font-style: normal; color: var(--faint); font-weight: 600; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 42px; height: 24px; border-radius: 12px; background: rgba(255,255,255,.12); position: relative; transition: background .3s var(--ease); }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .35s var(--ease-out); }
.switch input:checked + .track { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line); flex-wrap: wrap; }
.tabs a, .tabs button { position: relative; padding: 9px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s, background .25s; white-space: nowrap; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs .on { color: var(--text); background: var(--glass-3); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 14px 16px; background: rgba(0,0,0,.25); white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr { transition: background .2s; }
/* Admin → Orders: compact, so it fits next to the "add by hand" form without scrolling */
.table.admin-orders { font-size: 14px; }
.table.admin-orders th, .table.admin-orders td { padding: 12px 10px; }
.table.admin-orders th:first-child, .table.admin-orders td:first-child { padding-left: 16px; }
.table.admin-orders td { overflow-wrap: anywhere; }
.table.admin-orders .sub { font-size: 12.5px; color: var(--faint); margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.table.admin-orders .sub svg { width: 13px; height: 13px; flex: none; }
.table.admin-orders .icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.table.admin-orders .icon-btn:hover { color: #fca5a5; border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.08); }
.table.admin-orders .icon-btn svg { width: 16px; height: 16px; }
.table tbody tr:hover { background: rgba(255,255,255,.025); }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; }

/* ---------- Modal ---------- */
.modal-root { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal-back { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.modal {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 28px; border-radius: 26px; background: rgba(20,20,24,.94); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .3s var(--ease), transform .45s var(--ease-out);
}
.modal.wide { width: min(620px, 100%); }
.modal-root.open { pointer-events: auto; }
.modal-root.open .modal-back { opacity: 1; }
.modal-root.open .modal { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.modal-close:hover { background: var(--glass-2); color: var(--text); }
.modal h2 { font-size: 24px; font-weight: 800; }
.modal .lead { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.modal-logo { width: 54px; height: 54px; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 100; translate: -50% 0; display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(24,24,28,.94); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -14px rgba(0,0,0,.8); font-size: 14.5px; font-weight: 550; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: toastIn .5s var(--ease-out) both; pointer-events: auto; }
.toast .ic { color: var(--gold); }
.toast.ok .ic { color: #6ee7b7; }
.toast.err .ic { color: #fda4af; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Pages ---------- */
.page-head { padding: 56px 0 36px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.panel { padding: 26px; }
.panel h3 { font-size: 18px; font-weight: 750; margin-bottom: 16px; }
.panel + .panel { margin-top: 18px; }
/* Side-by-side panels: no stacking gap (it pushed the right one down), and .even makes them the same height. */
.two-col > .panel + .panel { margin-top: 0; }
.two-col.even { align-items: stretch; }
.sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.sum-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.sum-line img { width: 48px; height: 48px; }
.sum-line b { font-size: 15px; display: block; }
.sum-line span { font-size: 13px; color: var(--faint); }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; color: var(--faint); font-size: 12.5px; }
.pay-methods span { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); }

.success-hero { text-align: center; padding: 70px 0 30px; }
.check-anim { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); position: relative; }
.check-anim::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ringIn .8s var(--ease-out) both; }
.check-anim svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .35s var(--ease-out) forwards; }
@keyframes ringIn { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-hero h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.order-id { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.owned-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.owned-item:last-child { border-bottom: 0; }
.owned-item img { width: 64px; height: 64px; }
.owned-item h4 { font-size: 16.5px; font-weight: 700; }
.owned-item .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.activate-steps { counter-reset: s; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.activate-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.activate-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.activate-steps b { color: var(--text); }

.acct-head { display: flex; align-items: center; gap: 20px; padding: 48px 0 28px; flex-wrap: wrap; }
.acct-head h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.acct-head .muted { margin-top: 4px; font-size: 15px; }
.acct-head .tabs { margin-left: auto; }
.library { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.lib-card { --a: var(--accent); padding: 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); display: grid; gap: 14px; position: relative; overflow: hidden; transition: border-color .3s, transform .4s var(--ease-out); }
.lib-card::after { content: ""; position: absolute; top: -50%; right: -30%; width: 80%; height: 100%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 26%, transparent), transparent); pointer-events: none; }
.lib-card:hover { border-color: color-mix(in srgb, var(--a) 45%, transparent); transform: translateY(-3px); }
.lib-card .top { display: flex; align-items: center; gap: 14px; }
.lib-card img { width: 56px; height: 56px; }
.lib-card h4 { font-size: 16.5px; font-weight: 700; }
.lib-card .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.discord-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: rgba(88,101,242,.1); border: 1px solid rgba(88,101,242,.3); }
.discord-card .di { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #5865f2; color: #fff; flex: none; overflow: hidden; }
.discord-card .di img { width: 100%; height: 100%; }
.discord-card .info { flex: 1; min-width: 0; }
.discord-card .info b { display: block; }
.discord-card .info span { font-size: 13px; color: var(--muted); }

.admin-grid { display: grid; gap: 16px; }
.admin-prod { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.admin-prod img { width: 64px; height: 64px; }
.admin-prod .row1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-prod .row1 h4 { font-size: 17px; font-weight: 700; margin-right: auto; }
.admin-prod .fields { display: grid; grid-template-columns: 150px 150px 1fr; gap: 12px; align-items: end; }
.preview-price { font-size: 13px; color: var(--muted); margin-top: 10px; }
.save-bar { position: sticky; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 12px 12px 20px; margin-top: 20px; border-radius: 16px; background: rgba(20,20,24,.92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease-out), opacity .3s; }
.save-bar.show { transform: none; opacity: 1; pointer-events: auto; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px 20px; }
.stat span { font-size: 12.5px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--glass-2); color: var(--muted); }
.pill.ok { background: rgba(110,231,183,.12); color: #6ee7b7; }
.pill.demo { background: rgba(251,191,36,.12); color: #fcd34d; }
.code-box { width: 100%; min-height: 220px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 750; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-family: var(--font-brand); font-size: clamp(80px, 14vw, 160px); line-height: 1; background: linear-gradient(180deg, #fff3cf, #e3a24c); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: inline-grid; }
  .nav.menu-open .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 12px; right: 12px; flex-direction: column; padding: 10px; border-radius: 18px; background: rgba(16,16,20,.96); border: 1px solid var(--line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: toastIn .35s var(--ease-out); }
  .nav.menu-open .nav-links a { padding: 12px 14px; }
  .phero-inner, .show-inner, .two-col, .rv-layout { grid-template-columns: 1fr; gap: 36px; }
  .show-row.flip .show-media { order: 0; }
  .show-media { max-width: 420px; margin: 0 auto; width: 100%; }
  .logo-stage { max-width: 380px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-line { display: none; }
  .rv-summary, .sticky { position: static; }
  .bundle { grid-template-columns: auto 1fr; }
  .bundle-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .admin-prod .fields { grid-template-columns: 1fr 1fr; }
  .admin-prod .fields .wide { grid-column: 1 / -1; }
  .acct-head .tabs { margin-left: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 84px 0; }
  .grid-cards, .features, .reviews-grid, .includes { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 16px 30px; }
  .brand span { display: none; }
  .account-btn .name { display: none; }
  .account-btn { padding: 0 6px; }
  .account-btn.signed-out { padding: 0 12px; }
  .nav .btn-discord .lbl { display: none; }
  .nav .btn-discord { padding: 0 12px; }
  .form-row, .buybox-actions { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
  .bundle-price { flex-direction: column; align-items: center; text-align: center; }
  .owned-item { grid-template-columns: 52px 1fr; }
  .owned-item img { width: 52px; height: 52px; }
  .owned-item .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-prod { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
  .modal { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html:not(.motion) .reveal { opacity: 1; translate: 0 0; scale: 1; }
}
