/* ============================================================
   PURGE — Premium FiveM Cheat Storefront
   Black + white, glassmorphic, motion-rich
   ============================================================ */

:root {
  --bg: #050507;
  --bg-2: #0a0a0e;
  --surface: rgba(16, 16, 16, 0.62);
  --surface-2: rgba(24, 24, 24, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.35);
  --text: #f5f3f4;
  --text-dim: #a9a3a8;
  --text-muted: #6b656a;
  --red: #ffffff;
  --red-2: #bdbdbd;
  --red-glow: #f5f5f5;
  --red-soft: rgba(255, 255, 255, 0.12);
  --gradient: linear-gradient(135deg, #ffffff 0%, #bdbdbd 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #d8d8d8 52%, #8a8a8a 100%);
  --shadow-red: 0 20px 60px -20px rgba(255, 255, 255, 0.38);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ===== Background layers ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 80%);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.10), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 255, 255, 0.08), transparent 50%);
}

main, nav, header, section, footer { position: relative; z-index: 1; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.18));
}

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.85;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: rgba(10, 6, 8, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 999px;
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  top: 10px;
  background: rgba(8, 4, 6, 0.85);
  border-color: var(--border-strong);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

/* PURGE wordmark — pure typography, no icon */
.logo.wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.22em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.status-pill):hover { color: var(--text); }

.nav-links a:not(.status-pill):hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--red);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 220, 80, 0.08);
  border: 1px solid rgba(0, 220, 80, 0.3);
  border-radius: 999px;
  color: #5fff8f !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: 'JetBrains Mono', monospace;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ===== User pill (shown in nav when logged in) ===== */
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow:
    0 6px 18px -8px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-width: 220px;
}

.nav-user-avatar {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  border-radius: 50%;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-user-email {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}

@media (max-width: 760px) {
  .nav-user-email { display: none; }
  .nav-user { padding: 4px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow:
    0 10px 24px -6px rgba(255, 255, 255, 0.55),
    0 4px 10px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 42px -8px rgba(255, 255, 255, 0.7),
    0 8px 16px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow:
    0 6px 14px -4px rgba(255, 255, 255, 0.5),
    inset 0 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow:
    0 6px 14px -4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  color: white;
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px -8px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-lg { padding: 16px 32px; font-size: 15px; }

.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 180px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 1;
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -30%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -30%) scale(1.1); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  animation: fadeUp 1s var(--ease) 0.1s both;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.65;
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero-sub strong { color: var(--red); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  max-width: 760px;
  margin: 0 auto;
  animation: fadeUp 1s var(--ease) 0.4s both;
}

.meta-item { text-align: center; }
.meta-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.meta-div {
  width: 1px;
  height: 32px;
  background: var(--border);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Live status strip ===== */
.status-strip {
  padding: 30px 24px;
  border-block: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(0, 255, 102, 0.02), transparent),
    rgba(8, 4, 6, 0.55);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.smod {
  box-shadow:
    0 4px 10px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.status-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.status-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.status-ping {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 12px #00ff66;
}

.status-ping::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #00ff66;
  opacity: 0;
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.status-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.status-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #5fff8f;
  border-radius: 999px;
}

.status-modules {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.smod {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 255, 102, 0.04);
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.smod:hover {
  border-color: rgba(0, 255, 102, 0.35);
  background: rgba(0, 255, 102, 0.08);
}

.smod-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  animation: blink 1.6s ease-in-out infinite;
}

.smod-name {
  color: var(--text);
  font-weight: 500;
}

.smod-state {
  color: #5fff8f;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 760px) {
  .status-inner { justify-content: center; }
  .status-modules { justify-content: center; }
}

/* ===== Sections ===== */
.section {
  padding: 120px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== Features grid — bento layout for 5 modules ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(290px, auto);
  gap: 22px;
  perspective: 1400px;
}

.feature-card.span-2 { grid-column: span 2; }

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-2 { grid-column: span 2; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: span 1; }
}

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow:
    0 20px 40px -20px rgba(0, 0, 0, 0.6),
    0 4px 12px -4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--red) 50%, transparent);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.feature-card:hover {
  background: var(--surface-2);
  box-shadow:
    0 40px 70px -20px rgba(255, 255, 255, 0.35),
    0 10px 30px -10px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before { opacity: 1; }

.feature-card.highlight {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(180, 180, 180, 0.04));
  border-color: var(--border-strong);
}

/* Make all the inner content sit on the front plane so the tilt feels real */
.feature-card > * { transform: translateZ(20px); }
.feature-card .feature-icon { transform: translateZ(40px); }
.feature-card h3 { transform: translateZ(35px); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(180, 180, 180, 0.05));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--red);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.feature-tags li {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Showcase ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.showcase-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.showcase-card.big {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.25), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(180, 180, 180, 0.3), transparent 50%),
    linear-gradient(135deg, #1a0a0e, #0a0508);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-card.big .showcase-thumb { aspect-ratio: 16 / 10; }

.showcase-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s var(--ease);
  z-index: 2;
}

.showcase-card:hover .play-btn { transform: scale(1.15); }

.showcase-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--red);
  border-radius: 6px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  z-index: 2;
}

.showcase-meta {
  padding: 20px 22px 24px;
}

.showcase-meta h4 {
  font-size: 17px;
  margin-bottom: 6px;
  font-weight: 600;
}

.showcase-card.big .showcase-meta h4 { font-size: 21px; }

.showcase-meta p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  transition: all 0.4s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.price-card.popular {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--red);
  box-shadow: var(--shadow-red);
  transform: scale(1.04);
}

.price-card.popular:hover { transform: scale(1.04) translateY(-6px); }

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--gradient);
  border-radius: 999px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: white;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.5);
}

.price-name {
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.price-amount {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.dollar {
  font-size: 28px;
  vertical-align: super;
  color: var(--red);
  font-weight: 700;
  margin-right: 2px;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 26px;
  position: relative;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid var(--border-strong);
}

.price-features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

/* ===== System requirements ===== */
.sysreq-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.sysreq-left .section-title { text-align: left; margin-bottom: 20px; }
.sysreq-left .section-sub { text-align: left; margin: 0 0 30px 0; }

.sysreq-right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sysreq-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
  box-shadow:
    0 16px 32px -16px rgba(0, 0, 0, 0.6),
    0 4px 10px -4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.sysreq-card > * { transform: translateZ(15px); }

.sysreq-card h4 {
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 14px;
}

.sysreq-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sysreq-card li {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ok { color: #00ff66; font-weight: 700; }
.no { color: var(--red); font-weight: 700; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-item summary {
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 56px;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item[open] summary { color: var(--red); }

.faq-item p {
  padding: 0 26px 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item p a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.faq-item p a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 24px 140px;
}

.cta-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(180, 180, 180, 0.15), transparent 50%);
  z-index: 0;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.cta-card p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
  background: rgba(5, 3, 4, 0.6);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-tag {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h5 {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover { color: var(--red); transform: translateX(4px); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Slightly different motion for cards inside grids — slide-up with a tilt */
.feature-card.reveal,
.price-card.reveal,
.tier-card.reveal,
.sysreq-card.reveal,
.faq-item.reveal,
.smod.reveal {
  transform: translateY(80px) scale(0.92) rotateX(8deg);
  transform-origin: center top;
}

.feature-card.reveal.in,
.price-card.reveal.in,
.tier-card.reveal.in,
.sysreq-card.reveal.in,
.faq-item.reveal.in,
.smod.reveal.in {
  transform: translateY(0) scale(1) rotateX(0deg);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav { padding: 10px 16px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-card.big { grid-column: span 2; grid-row: span 1; }
  .sysreq-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 140px 18px 80px; }
  .section { padding: 80px 18px; }
  .hero-meta { gap: 18px; padding: 18px; }
  .meta-div { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card.big { grid-column: span 1; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { justify-content: center; }
}

/* ===== Selection ===== */
::selection { background: var(--red); color: white; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red), var(--red-2));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--red-glow); }

/* ============================================================
   VISUAL UPGRADES — aurora, noise, spotlight, ticker, mockup
   ============================================================ */

/* ===== Aurora blobs ===== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}

.blob-1 {
  background: radial-gradient(circle, #ffffff, transparent 70%);
  top: -200px;
  left: -150px;
  animation: drift1 22s ease-in-out infinite;
}

.blob-2 {
  background: radial-gradient(circle, #b00020, transparent 70%);
  top: 30%;
  right: -200px;
  animation: drift2 28s ease-in-out infinite;
}

.blob-3 {
  background: radial-gradient(circle, #d8d8d8, transparent 70%);
  bottom: -250px;
  left: 30%;
  opacity: 0.35;
  animation: drift3 26s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(140px, 80px) scale(1.15); }
  66% { transform: translate(60px, -90px) scale(0.9); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-180px, 120px) scale(1.1); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-120px, -60px) scale(1.2); }
  80% { transform: translate(80px, 40px) scale(0.95); }
}

/* ===== Noise grain ===== */
.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.045;
  mix-blend-mode: overlay;
}

/* ===== Cursor spotlight ===== */
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 60, 90, 0.13), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.spotlight.on { opacity: 1; }

/* ===== Vouches marquee ===== */
.vouches {
  position: relative;
  z-index: 1;
  padding: 36px 0 22px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.vouches-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: vouchScroll 80s linear infinite !important;
  animation-play-state: running !important;
  padding: 0 9px;
  will-change: transform;
}

@keyframes vouchScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

.vouch {
  flex-shrink: 0;
  width: 340px;
  padding: 18px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(20, 10, 14, 0.65);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
  box-shadow:
    0 12px 28px -14px rgba(0, 0, 0, 0.7),
    0 3px 8px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.vouch-stars {
  display: inline-flex;
  gap: 2px;
}

.vouch-stars svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 200, 60, 0.45));
}

.vouch-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  font-style: italic;
}

.vouch-text::before { content: '\201C'; color: var(--red); margin-right: 2px; font-weight: 700; }
.vouch-text::after  { content: '\201D'; color: var(--red); margin-left: 2px; font-weight: 700; }

.vouch-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   IN-GAME MENU MOCKUP
   ============================================================ */

.preview { padding-block: 100px; }

.menu-mock {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  padding: 40px 20px 60px;
  perspective: 1800px;
  perspective-origin: 50% 35%;
}

.menu-mock::before {
  content: '';
  position: absolute;
  inset: 40px 0 0 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.32), transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

/* Floor reflection — sells the "menu is hovering above a surface" feel */
.menu-mock::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18px;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0.45) 30%, transparent 70%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* ============================================================
   PRICING — two-tier product cards (External / External+)
   ============================================================ */

.pricing-grid.two-up {
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
  gap: 24px;
}

.tier-card {
  position: relative;
  padding: 38px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.7),
    0 6px 14px -6px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.tier-card > * { transform: translateZ(15px); }
.tier-card .tier-head { transform: translateZ(30px); }
.tier-card .tier-options { transform: translateZ(25px); }

.tier-card:hover {
  border-color: var(--border-strong);
  box-shadow:
    0 50px 80px -25px rgba(255, 255, 255, 0.4),
    0 12px 28px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.tier-card.popular {
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--red);
  box-shadow:
    0 30px 60px -20px rgba(255, 255, 255, 0.55),
    0 8px 20px -6px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gradient);
  border-radius: 999px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: white;
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.tier-head {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.tier-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.tier-name .plus {
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin-left: 2px;
}

.tier-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  line-height: 1.4;
}

.tier-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid var(--border-strong);
}

.tier-features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-65%) rotate(-45deg);
  transform-origin: center;
}

.tier-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}

.opt-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  transform: translateX(2px);
}

.opt-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.opt-period {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.opt-sub {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.opt-price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}

.opt-price .dollar {
  font-size: 14px;
  vertical-align: super;
  color: var(--red);
  margin-right: 1px;
}

.opt-btn {
  padding: 9px 18px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .pricing-grid.two-up { grid-template-columns: 1fr; }
  .opt-row { grid-template-columns: 1fr auto; }
  .opt-row .opt-btn { grid-column: 1 / -1; justify-self: stretch; }
}

/* ============================================================
   SUPPORT CHAT WIDGET
   ============================================================ */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  font-family: 'Inter', sans-serif;
}

.chat-launcher {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 32px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.chat-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chat-launcher svg {
  width: 26px;
  height: 26px;
  position: absolute;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}

.chat-launcher .icon-close { opacity: 0; transform: rotate(-90deg); }

.chat-widget.open .chat-launcher .icon-chat { opacity: 0; transform: rotate(90deg); }
.chat-widget.open .chat-launcher .icon-close { opacity: 1; transform: rotate(0deg); }

.chat-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0;
  animation: chatPulse 2.2s ease-out infinite;
}

@keyframes chatPulse {
  0%   { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

.chat-widget.open .chat-pulse { display: none; }

.chat-panel {
  position: absolute;
  bottom: 78px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: 540px;
  background: linear-gradient(180deg, rgba(20, 10, 14, 0.96), rgba(12, 6, 8, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s var(--ease), opacity 0.25s var(--ease);
}

.chat-widget.open .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.14em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.chat-meta { flex: 1; min-width: 0; }

.chat-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  animation: blink 1.6s infinite;
}

.chat-close {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}

.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  animation: msgIn 0.35s var(--ease) both;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 11px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.4);
}

.chat-msg.user .msg-avatar { display: none; }

.msg-bubble {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  max-width: 78%;
}

.chat-msg.user .msg-bubble {
  background: var(--gradient);
  border-color: transparent;
  border-radius: 14px 14px 4px 14px;
  color: white;
  box-shadow: 0 6px 18px -6px rgba(255, 255, 255, 0.5);
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chip {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
  color: white;
}

/* Typing indicator */
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  align-items: center;
}

.typing span {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.chat-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.chat-input input::placeholder { color: var(--text-muted); }

.chat-send {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.chat-send:hover { transform: scale(1.08); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-foot {
  padding: 10px 14px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.chat-foot a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.chat-foot a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .chat-panel {
    width: calc(100vw - 24px);
    right: -12px;
    bottom: 72px;
  }
  .chat-widget { bottom: 16px; right: 16px; }
}

/* ============================================================
   LEGAL PAGES (Terms / Privacy)
   ============================================================ */

.legal-body { min-height: 100vh; }

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 160px 24px 60px;
  position: relative;
  z-index: 1;
}

.legal-head {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.legal-head h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
}

.legal-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px 54px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.7),
    0 6px 14px -6px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.legal-content .legal-lead {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 16px;
}

.legal-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--gradient);
  border-radius: 2px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 10px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content li strong { color: var(--text); }

.legal-content a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.legal-content a:hover {
  color: var(--red-glow);
  border-bottom-color: var(--red-glow);
}

.legal-content strong { color: var(--text); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.legal-back:hover { color: var(--red); }

@media (max-width: 640px) {
  .legal-main { padding: 130px 16px 40px; }
  .legal-content { padding: 32px 22px; }
}

/* ============================================================
   AUTH PAGES — login / register / checkout success / cancel
   ============================================================ */

.auth-body { min-height: 100vh; }

.auth-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  max-width: 520px;
  margin: 0 auto;
  padding: 150px 24px 60px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.auth-card {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(20, 6, 10, 0.85), rgba(8, 2, 4, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 38px 36px 32px;
  box-shadow:
    0 50px 100px -25px rgba(0, 0, 0, 0.85),
    0 24px 50px -16px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.auth-head {
  margin-bottom: 26px;
}

.auth-head h1 {
  font-size: 36px;
  line-height: 1.05;
  margin: 8px 0 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-sub {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.auth-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.auth-field input::placeholder { color: rgba(255, 255, 255, 0.25); }

.auth-field input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.auth-error {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f1f1f1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.4;
}

.auth-submit {
  margin-top: 4px;
  justify-content: center;
}

.auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-tos {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 6px 0 0;
  line-height: 1.5;
}

.auth-tos a {
  color: var(--text);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.auth-tos a:hover { color: var(--red); }

.auth-alt {
  margin: 22px 0 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.auth-alt a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.auth-alt a:hover { color: var(--red-glow); border-bottom-color: var(--red-glow); }

/* ===== Success card ===== */

.success-card { text-align: center; }

.success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(46, 213, 115, 0.2) 0%, transparent 65%);
  color: #2ed573;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(46, 213, 115, 0.5));
}

.success-key {
  margin: 22px 0 14px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  text-align: center;
}

.success-key-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.success-key-code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 600;
  color: var(--red-glow);
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  word-break: break-all;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.success-key-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.success-pending {
  margin: 22px 0 14px;
  padding: 22px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.success-pending p { margin: 0; }

.success-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--red);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.success-actions .btn { justify-content: center; }

/* ===== Cancel card ===== */

.cancel-card { text-align: center; }

.cancel-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
  color: var(--red);
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.5));
}

/* ============================================================
   DASHBOARD
   ============================================================ */

.dash-body { min-height: 100vh; }

.dash-main {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 150px 28px 80px;
}

.dash-head { margin-bottom: 42px; }

.dash-head h1 {
  font-size: 48px;
  line-height: 1.04;
  margin: 8px 0 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-sub {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* Legacy alias kept in case any markup still uses .dash-email */
.dash-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-right: 4px;
}

.dash-section {
  margin-bottom: 40px;
}

.dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.dash-section-head h2 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dash-hint {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 14px;
  line-height: 1.5;
}

.dash-loading,
.dash-error,
.dash-empty {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-align: center;
  color: var(--text-dim);
}

.dash-empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--text);
}

.dash-empty p {
  margin: 0 0 20px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 1.5;
}

.dash-keys {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-key {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(20, 6, 10, 0.6), rgba(8, 2, 4, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow:
    0 18px 40px -16px rgba(0, 0, 0, 0.6),
    0 8px 20px -8px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dash-key-plan {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.dash-key-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

.dash-key-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dash-key-status.active {
  background: rgba(46, 213, 115, 0.12);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.dash-key-status.expired {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-key-status.revoked {
  background: rgba(255, 255, 255, 0.1);
  color: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.dash-key-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.dash-key-value {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--red-glow);
  letter-spacing: 0.05em;
  user-select: all;
  word-break: break-all;
}

.dash-key-value.masked { color: rgba(255, 255, 255, 0.5); }

.dash-key-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.dash-key-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
}

.dash-key-btn.copied {
  background: rgba(46, 213, 115, 0.15);
  border-color: rgba(46, 213, 115, 0.5);
  color: #2ed573;
}

.dash-redeem {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-redeem input {
  flex: 1;
  min-width: 240px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  text-transform: uppercase;
}

.dash-redeem input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.dash-msg {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.4;
}

.dash-msg.success {
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.35);
  color: #2ed573;
}

.dash-msg.error {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f1f1f1;
}

.dash-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(20, 6, 10, 0.6), rgba(8, 2, 4, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  flex-wrap: wrap;
}

.dash-download-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.dash-download-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 3px;
}

.dash-locked {
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-align: center;
  color: var(--text-dim);
}

.dash-locked a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.dash-locked a:hover { color: var(--red-glow); }

/* ============================================================
   CHECKOUT MODAL — Stripe after Buy
   ============================================================ */

.co-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  animation: coFadeIn 0.22s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.co-modal.open { display: flex; }

@keyframes coFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.co-dialog {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(20, 6, 10, 0.95), rgba(8, 2, 4, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, 0.95),
    0 30px 60px -20px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 28px 28px 24px;
  animation: coDialogIn 0.28s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}

@keyframes coDialogIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.co-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.co-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.co-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

.co-close {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.co-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--text); }

.co-summary {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 18px;
}

.co-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.co-summary-name {
  font-weight: 600;
  font-size: 15px;
}

.co-summary-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--red-glow);
}

.co-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 16px 0 10px;
}

.co-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.co-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.co-option:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.co-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.co-option-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text);
}

.co-option-text { flex: 1; }

.co-option-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.co-option-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 2px;
  font-weight: 400;
}

.co-option-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
}

.co-back {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.co-back:hover { color: var(--text); }

.co-error {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f1f1f1;
  border-radius: 8px;
  font-size: 13px;
}

.co-loading {
  padding: 40px 0;
  text-align: center;
}

.co-loading .success-spinner { margin-bottom: 14px; }

.co-loading-text {
  color: var(--text-dim);
  font-size: 14px;
}

.co-login-prompt {
  text-align: center;
  padding: 26px 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.co-login-prompt a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.co-login-prompt a:hover { color: var(--red-glow); }

/* ===== PURGE monochrome polish ===== */
.nav,
.hero-meta,
.feature-card,
.tier-card,
.sysreq-card,
.faq-item,
.cta-card,
.auth-card,
.dash-card,
.dash-section,
.co-dialog,
.chat-panel {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 22px 60px -28px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-primary,
.nav-user-avatar,
.sm-button-primary,
.tier-card.popular .tier-badge,
.checkout-btn,
.co-action-primary {
  color: #050507;
  background: linear-gradient(135deg, #ffffff 0%, #d8d8d8 55%, #8f8f8f 100%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 18px 42px -18px rgba(255, 255, 255, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover,
.feature-card:hover,
.sm-button:hover,
.sm-player-item:hover,
.sm-dropdown:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 14px 34px -24px rgba(255, 255, 255, 0.44);
}

.hero-glow,
.menu-mock::before,
.menu-mock::after,
.auth-card::before,
.dash-head::before,
.co-dialog::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%);
}

.webview-menu {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  height: 630px;
  min-height: 630px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 80px 150px -45px rgba(0, 0, 0, 0.95),
    0 42px 90px -45px rgba(255, 255, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.webview-menu .card-swipe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.74;
}

.webview-menu .card-swipe-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: flex;
  animation: cardSwipe 12s linear infinite;
}

.webview-menu .card-swipe-band {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #000 0%, #070707 10%, #151515 22%, #242424 38%, #151515 56%, #070707 76%, #000 100%);
}

.webview-menu .card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.webview-menu .cheat-sidebar {
  width: 210px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.34);
}

.webview-menu .cheat-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 650;
}

.webview-menu .cheat-brand-mark {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #fff, #a8a8a8);
  color: #050507;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.22);
}

.webview-menu .cheat-nav {
  flex: 1;
  overflow-y: hidden;
  padding: 6px 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.webview-menu .cheat-nav::-webkit-scrollbar {
  display: none;
}

.webview-menu .nav-row {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font: inherit;
  font-size: 0.93rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.webview-menu .nav-row svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.webview-menu .nav-row:hover,
.webview-menu .nav-row.active {
  color: #fff;
}

.webview-menu .sub-nav {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.webview-menu .sub-nav.open {
  max-height: 160px;
  padding-top: 6px;
  padding-bottom: 10px;
}

.webview-menu .sub-row {
  width: calc(100% - 28px);
  height: 32px;
  margin: 0 14px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.webview-menu .sub-row:hover {
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.webview-menu .sub-row.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.webview-menu .sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 2px 10px 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.webview-menu .sidebar-user__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #333, #161616);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  font-weight: 700;
}

.webview-menu .sidebar-user__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.webview-menu .sidebar-user__sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
}

.webview-menu .cheat-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 16px 20px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.webview-menu .cheat-main::-webkit-scrollbar {
  width: 5px;
  height: 0;
}

.webview-menu .cheat-main::-webkit-scrollbar-track {
  background: transparent;
}

.webview-menu .cheat-main::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.webview-menu .cheat-main::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.26);
}

.webview-menu .main-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.webview-menu .crumb-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.webview-menu .crumb-icon svg {
  width: 17px;
  height: 17px;
}

.webview-menu .crumb-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.webview-menu .crumb-main {
  color: #fff;
  font-weight: 600;
}

.webview-menu .crumb-sep,
.webview-menu .crumb-sub {
  color: rgba(255, 255, 255, 0.45);
}

.webview-menu .menu-page {
  display: none;
}

.webview-menu .menu-page.active {
  display: block;
  animation: smTabIn 0.24s var(--ease);
}

.webview-menu .aim-layout,
.webview-menu .main-grid {
  display: grid;
  gap: 12px;
}

.webview-menu .aim-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.webview-menu .feature-card {
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: none;
  transform: none;
  overflow: visible;
}

.webview-menu .feature-card::before {
  display: none;
}

.webview-menu .feature-card > * {
  transform: none;
}

.webview-menu .feature-card.wide {
  grid-column: 1 / -1;
}

.webview-menu .card-section-title {
  margin: 0 -2px 4px;
  padding: 10px 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.webview-menu .card-section-desc {
  margin-top: -2px;
  padding: 0 10px 8px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.72rem;
}

.webview-menu .aim-section-picks,
.webview-menu .aim-section-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}

.webview-menu .opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 8px;
  margin: 0 -4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.webview-menu .opt-row:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(2px);
}

.webview-menu .opt-row:last-child {
  border-bottom: 0;
}

.webview-menu .opt-row.sub-opt {
  min-height: 38px;
  padding-left: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.webview-menu .opt-row.sub-opt .opt-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.34);
}

.webview-menu .opt-row.sub-opt:has(.toggle input:checked) .opt-label {
  color: rgba(255, 255, 255, 0.72);
}

.webview-menu .opt-row.slider-row {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 8px 16px;
  min-height: 58px;
}

.webview-menu .opt-row.select-row {
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  padding: 10px 10px 12px;
  min-height: 0;
}

.webview-menu .opt-row.slider-row:hover {
  transform: none;
}

.webview-menu .opt-row.select-row:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.025);
}

.webview-menu .opt-row.select-row .opt-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}

.webview-menu .opt-row.select-row .purge-select {
  min-width: 0;
  width: 100%;
}

.webview-menu .opt-label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.webview-menu .opt-row:has(.toggle input:checked) .opt-label {
  color: rgba(255, 255, 255, 0.92);
}

.webview-menu .toggle {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.webview-menu .toggle input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.webview-menu .toggle-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.36, 0.64, 1),
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.webview-menu .toggle:hover .toggle-box {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.webview-menu .toggle input:checked + .toggle-box {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
}

.webview-menu .toggle input:checked + .toggle-box::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin-top: -1px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: checkPop 0.28s cubic-bezier(0.34, 1.36, 0.64, 1) both;
}

@keyframes checkPop {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.webview-menu .toggle input:active + .toggle-box {
  transform: scale(0.94);
}

.webview-menu .opt-row.slider-row:hover .slider-wrap {
  transform: scaleY(1.02);
}

.webview-menu .opt-row.slider-row:hover .slider-wrap::before {
  background: rgba(255, 255, 255, 0.12);
  height: 6px;
}

.webview-menu .opt-row.slider-row:hover .slider-wrap::after {
  height: 6px;
  margin-top: -3px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.webview-menu .card-section-title {
  color: rgba(255, 255, 255, 0.38);
}

.webview-menu .slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.webview-menu .slider-val {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.webview-menu .opt-row.slider-row:hover .slider-val {
  color: rgba(255, 255, 255, 0.82);
}

.webview-menu .slider-wrap {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
}

.webview-menu .slider-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.webview-menu .slider-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.95) 100%);
  pointer-events: none;
  transform: scaleX(var(--fill-ratio, 0.5));
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.webview-menu .range {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 18px;
  margin: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.webview-menu .range::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: 0;
}

.webview-menu .range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.webview-menu .slider-wrap:hover .range::-webkit-slider-thumb,
.webview-menu .range:active::-webkit-slider-thumb {
  transform: scale(1.18);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.35);
}

.webview-menu .purge-select {
  position: relative;
  min-width: 132px;
  flex-shrink: 0;
}

.webview-menu .purge-select.open {
  z-index: 80;
}

.webview-menu .opt-row:has(.purge-select.open) {
  position: relative;
  z-index: 70;
}

.webview-menu .feature-card:has(.purge-select.open) {
  position: relative;
  z-index: 60;
  overflow: visible;
}

.webview-menu .purge-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.81rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  outline: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.webview-menu .key-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  cursor: pointer;
}

.webview-menu .purge-select__trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.webview-menu .key-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.webview-menu .purge-select.open .purge-select__trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.webview-menu .purge-select__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.webview-menu .purge-select__chev {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.48);
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.webview-menu .purge-select.open .purge-select__chev {
  transform: rotate(180deg);
  opacity: 0.75;
}

.webview-menu .purge-select__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: auto;
  width: max-content;
  min-width: 100%;
  max-width: 240px;
  max-height: 196px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  transform-origin: top center;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.webview-menu .purge-select__menu::-webkit-scrollbar {
  width: 5px;
}

.webview-menu .purge-select__menu::-webkit-scrollbar-track {
  background: transparent;
}

.webview-menu .purge-select__menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.webview-menu .purge-select.open .purge-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.webview-menu .purge-select__option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.81rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

.webview-menu .purge-select__option:hover,
.webview-menu .purge-select__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.webview-menu .purge-select__option.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.webview-menu .purge-select__option.is-active::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-left: auto;
  border: solid rgba(255, 255, 255, 0.85);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-1px);
}

@media (max-width: 820px) {
  .webview-menu .card-content { flex-direction: column; }
  .webview-menu .cheat-sidebar { width: 100%; }
  .webview-menu .cheat-nav { display: flex; flex-wrap: wrap; }
  .webview-menu .nav-group { min-width: 190px; flex: 1; }
  .webview-menu .aim-top,
  .webview-menu .aim-section-picks,
  .webview-menu .aim-section-sliders { grid-template-columns: 1fr; }
}

/* Strong monochrome overrides for inherited crimson template pieces. */
.blob-1,
.blob-2,
.blob-3 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20), transparent 70%);
}

.spotlight {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), transparent 60%);
}

.feature-card:hover {
  box-shadow:
    0 40px 70px -24px rgba(255, 255, 255, 0.20),
    0 10px 30px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card.highlight {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.feature-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: #fff;
}

.feature-tags li {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.vouch,
.status-strip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(12, 12, 12, 0.70);
}

@media (max-width: 560px) {
  .auth-main { padding: 130px 16px 40px; }
  .auth-card { padding: 30px 24px 26px; }
  .auth-head h1 { font-size: 28px; }
  .dash-main { padding: 130px 16px 40px; }
  .dash-head h1 { font-size: 34px; }
  .dash-key-code { flex-direction: column; align-items: stretch; }
  .dash-key-value { word-break: break-all; }
  .co-dialog { padding: 22px 20px; }
}

/* ===== Final PURGE black/white cleanup ===== */
#particles,
.blob,
.chat-widget,
.chat-panel {
  display: none !important;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 18%, transparent 36%),
    linear-gradient(245deg, transparent 0%, rgba(255, 255, 255, 0.08) 24%, transparent 48%),
    radial-gradient(ellipse at 18% 12%, rgba(255, 255, 255, 0.16), transparent 38%),
    radial-gradient(ellipse at 78% 86%, rgba(255, 255, 255, 0.10), transparent 42%);
  filter: blur(34px);
  opacity: 0.88;
  animation: purgeFlow 18s ease-in-out infinite alternate;
}

body::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 12%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 12%, black 0%, transparent 72%);
  opacity: 0.72;
}

@keyframes purgeFlow {
  from { transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1); }
  to { transform: translate3d(3%, 2%, 0) rotate(3deg) scale(1.08); }
}

.aurora {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 255, 255, 0.13), transparent 46%),
    radial-gradient(ellipse at 88% 8%, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.08), transparent 50%);
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) !important;
}

.vignette {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.09), transparent 46%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.06), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.34)) !important;
}

.spotlight {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 60%) !important;
}

.logo-lockup {
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
}

.logo-text {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #fff;
}

.webview-menu .cheat-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
}

.nav,
.nav.scrolled,
.feature-card,
.feature-card.highlight,
.tier-card,
.tier-card.popular,
.cta-card,
.auth-card,
.dash-card,
.dash-section,
.co-dialog,
.sysreq-card,
.faq-item,
.vouch {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(5, 5, 5, 0.74) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 24px 70px -36px rgba(0, 0, 0, 0.95),
    0 18px 55px -42px rgba(255, 255, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.tier-card.popular,
.cta-card,
.auth-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.88), rgba(0, 0, 0, 0.94)) !important;
}

.cta-card::before {
  background:
    radial-gradient(circle at 22% 78%, rgba(255, 255, 255, 0.10), transparent 50%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.07), transparent 52%) !important;
}

.feature-card::before {
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.72) 50%, transparent) !important;
}

.feature-card:hover,
.tier-card:hover,
.faq-item:hover,
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.30) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.82) !important;
  box-shadow:
    0 34px 80px -42px rgba(255, 255, 255, 0.36),
    0 20px 58px -34px rgba(0, 0, 0, 0.96),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.feature-icon,
.tier-badge,
.price-badge,
.chat-avatar,
.nav-user-avatar {
  color: #050507 !important;
  background: linear-gradient(135deg, #fff, #bdbdbd) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 14px 30px -18px rgba(255, 255, 255, 0.72) !important;
}

.feature-tags li,
.status-pill,
.module-badge,
.dash-key-status,
.co-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

.auth-field input:focus,
.dash-redeem input:focus,
.sm-input:focus,
.webview-menu .purge-select__trigger:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10) !important;
}

.auth-error,
.dash-msg.error,
.co-error {
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

.webview-menu {
  width: min(940px, 100%);
  height: 577px;
  min-height: 577px;
  border-radius: 22px;
  transform-style: preserve-3d;
}

.webview-menu .card-content {
  height: 100%;
  min-height: 0;
}

.webview-menu .feature-card {
  background: rgba(0, 0, 0, 0.38) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

.webview-menu .feature-card:hover {
  background: rgba(0, 0, 0, 0.38) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: none !important;
  transform: none !important;
}

.webview-menu .feature-card::before {
  display: none !important;
}

.webview-menu .feature-card > *,
.webview-menu .feature-card h3,
.webview-menu .feature-card .feature-icon {
  transform: none !important;
}

.footer-col a:focus,
.footer-col a:focus-visible {
  outline: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.64);
}

.webview-menu .cheat-sidebar {
  background: rgba(0, 0, 0, 0.36) !important;
}

.webview-menu .nav-row.active {
  background: transparent !important;
  color: #fff !important;
}

.webview-menu .sub-row.active {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}

.webview-menu .sub-row:hover:not(.active) {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.webview-menu .sub-nav.open {
  max-height: 320px;
}

.webview-menu .color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.webview-menu .color-picker-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.webview-menu .color-picker-hex {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.webview-menu .aim-engine-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.webview-menu .aim-engine-section {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 2px 6px 4px;
  overflow: visible;
}

.webview-menu .aim-engine-section:has(.purge-select.open) {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.webview-menu .aim-section-head {
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  padding: 8px 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2px;
}

.pricing-grid.one-up {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-grid.one-up .tier-card {
  min-height: auto;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-ghost:hover,
.opt-btn:hover,
.co-action-primary:hover,
.co-close:hover {
  box-shadow:
    0 18px 42px -24px rgba(255, 255, 255, 0.50),
    0 8px 20px -10px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.btn-primary:hover,
.btn-ghost:hover,
.opt-btn:hover,
.co-action-primary:hover,
.co-close:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(190, 190, 190, 0.95)) !important;
  color: #050507 !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #fff !important;
}

.pricing-grid.one-up .tier-options > .opt-row:hover {
  background: rgba(255, 255, 255, 0.065) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 16px 38px -28px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.pricing-grid.one-up .opt-price .dollar,
.tier-features li::after {
  border-color: #fff !important;
  color: #fff !important;
}

.webview-menu .config-panel,
.webview-menu .kb-panel,
.webview-menu .purge-chat-panel {
  min-height: 0;
}

.webview-menu .config-header {
  margin-bottom: 14px;
}

.webview-menu .config-header__title {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
}

.webview-menu .config-header__desc {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 4px;
}

.webview-menu .config-create,
.webview-menu .player-list-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.webview-menu .text-input {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 12, 0.92);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.82rem;
  outline: none;
}

.webview-menu .config-name-input {
  flex: 1;
  min-width: 0;
}

.webview-menu .config-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.07);
}

.webview-menu .config-list-head {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.webview-menu .config-list,
.webview-menu .player-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.webview-menu .config-list-item,
.webview-menu .action-btn,
.webview-menu .keybind-pill,
.webview-menu .keybind-mode-btn,
.webview-menu .player-friend-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.webview-menu .config-list-item {
  width: 100%;
  text-align: left;
}

.webview-menu .config-list-item:hover,
.webview-menu .config-list-item.is-active,
.webview-menu .action-btn:hover,
.webview-menu .keybind-pill:hover,
.webview-menu .keybind-mode-btn:hover,
.webview-menu .player-friend-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.webview-menu .action-btn {
  width: auto;
  margin: 0;
}

.webview-menu .action-btn--primary {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  color: #0a0a0a;
}

.webview-menu .action-btn--danger:hover {
  border-color: rgba(255, 140, 140, 0.35);
}

.webview-menu .player-list-count {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.webview-menu .player-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.webview-menu .player-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.webview-menu .player-stat {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  margin-top: 3px;
}

.webview-menu .player-friend-btn.is-friend {
  color: rgba(190, 255, 210, 0.98);
  background: rgba(80, 200, 120, 0.12);
  border-color: rgba(120, 255, 160, 0.28);
}

.webview-menu .purge-chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
}

.webview-menu .purge-chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.webview-menu .purge-chat-status,
.webview-menu .purge-chat-online {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.webview-menu .purge-chat-status.is-live {
  color: rgba(140, 255, 180, 0.88);
}

.webview-menu .purge-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.webview-menu .purge-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.webview-menu .purge-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.webview-menu .purge-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.webview-menu .purge-chat-empty {
  display: none;
}

.webview-menu .purge-chat-bubble {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 82%;
  align-self: flex-start;
}

.webview-menu .purge-chat-bubble.is-self {
  align-self: flex-end;
  align-items: flex-end;
}

.webview-menu .purge-chat-bubble__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.webview-menu .purge-chat-bubble.is-self .purge-chat-bubble__meta {
  flex-direction: row-reverse;
}

.webview-menu .purge-chat-bubble__name {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.webview-menu .purge-chat-bubble__body {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
}

.webview-menu .purge-chat-bubble.is-self .purge-chat-bubble__body {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.webview-menu .purge-chat-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.webview-menu .purge-chat-input {
  flex: 1;
  min-height: 40px;
  padding: 10px 12px;
  line-height: 1.45;
  resize: none;
}

.webview-menu .purge-chat-emoji-btn,
.webview-menu .purge-chat-send-btn {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.webview-menu .purge-chat-send-btn svg {
  width: 16px;
  height: 16px;
}

.webview-menu .kb-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.webview-menu .kb-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.webview-menu .keybind-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
}

.webview-menu .keybind-mode-btn {
  min-width: 72px;
}

.webview-menu .keybind-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.webview-menu .keybind-pill.is-set .keybind-pill__dot {
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
