@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── Variables folk ── */
:root {
  --bg:        #090909;
  --bg-2:      #0d0d10;
  --bg-card:   #111116;
  --bg-panel:  #15151b;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(3,252,119,0.28);
  --accent:    #03fc77;
  --accent-2:  #00c8ff;
  --accent-dim:rgba(3,252,119,0.10);
  --accent-glow:rgba(3,252,119,0.35);
  --text-hi:   #f0f0f8;
  --text:      #888899;
  --text-dim:  #50505f;
  --mono:      'JetBrains Mono', monospace;
  --font:      'Inter', sans-serif;
  --r:         6px;
  --t:         0.18s ease;
  --section-pad: 120px 0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Gradient text ── */
.grad {
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-2) 55%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section labels ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--accent);
}
.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.18;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: var(--r);
  transition: box-shadow var(--t), transform var(--t);
}
.btn-primary:hover {
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-hi);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--t), color var(--t), transform var(--t);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── Nav ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
#nav.scrolled {
  background: rgba(9,9,9,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-hi);
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text-hi); }
.nav-cta { margin-left: auto; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  margin-left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#nav.nav-menu-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.nav-menu-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav.nav-menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(3,252,119,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3,252,119,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(3,252,119,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  color: var(--text-hi);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat span {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-hi);
  font-family: var(--mono);
}
.hero-stat label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Products section ── */
#products { padding: var(--section-pad); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.product-card:hover { border-color: var(--border-hi); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.product-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.product-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 3px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1px;
}

/* ── Preview sections ── */
#preview, #launcher-preview { padding: var(--section-pad); }
.preview-wrap {
  margin: 56px auto 0;
  position: relative;
  max-width: 540px;
  width: 100%;
}
.preview-glow-ring {
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3,252,119,0.3), rgba(0,200,255,0.1), rgba(168,85,247,0.15));
  z-index: 0;
  filter: blur(1px);
}
.preview-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}

/* ── App Mockup ── */
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 40px;
  background: #0d0d12;
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.mock-logo {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-hi);
}
.mock-ver {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  margin-left: 2px;
}
.mock-spacer { flex: 1; }
.mock-wc { display: flex; gap: 8px; }
.mock-wc-btn {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  cursor: default;
}
.mock-tabbar {
  display: flex;
  gap: 2px;
  padding: 8px 12px 0;
  background: #0d0d12;
  border-bottom: 1px solid var(--border);
}
.mock-tab {
  padding: 7px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  transition: color var(--t), background var(--t), border-color var(--t);
}
.mock-tab:hover { color: var(--text-hi); }
.mock-tab.active {
  color: var(--accent);
  background: var(--bg-card);
  border-color: var(--border);
  border-bottom-color: var(--bg-card);
}
.mock-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
}
.mock-col { padding: 20px; }
.mock-col + .mock-col { border-left: 1px solid var(--border); }
.mock-section-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 12px;
  color: var(--text);
}
.mock-row span:first-child { color: var(--text); }
.mock-toggle {
  width: 30px; height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background var(--t);
  flex-shrink: 0;
}
.mock-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform var(--t), background var(--t);
}
.mock-toggle.on { background: var(--accent-dim); border-color: var(--accent); }
.mock-toggle.on::after { transform: translateX(14px); background: var(--accent); }
.mock-swatch {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.mock-slider-wrap { width: 90px; }
.mock-slider-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  position: relative;
}
.mock-slider-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.mock-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-card);
}
.mock-val {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  min-width: 32px;
  text-align: right;
}
.mock-statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 28px;
  background: #0a0a0f;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
}
.mock-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fc4a4a;
}
.mock-status-dot.ok { background: var(--accent); }
.mock-tab-panel { display: none; }
.mock-tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 390px;
  overflow-y: auto;
}

/* ── Launcher Mockup ── */
.launcher-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  height: 390px;
}
.launcher-sidebar {
  background: #0d0d12;
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  overflow-y: auto;
}
.launcher-sidebar-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  padding: 4px 8px 10px;
  text-transform: uppercase;
}
.launcher-game-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--t);
  margin-bottom: 2px;
}
.launcher-game-item:hover { background: rgba(255,255,255,0.04); }
.launcher-game-item.active { background: var(--accent-dim); }
.launcher-game-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.launcher-game-info { flex: 1; min-width: 0; }
.launcher-game-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.launcher-game-sub {
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.launcher-game-status {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 4px;
}
.launcher-game-status.running {
  background: var(--accent-dim);
  color: var(--accent);
}
.launcher-game-status.soon {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
}
.launcher-detail {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.launcher-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.launcher-art {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3,252,119,0.15), rgba(0,200,255,0.1));
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.launcher-game-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-hi);
}
.launcher-game-tagline {
  font-size: 12px;
  color: var(--accent);
  font-family: var(--mono);
}
.launcher-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.launcher-feat-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 11px;
  color: var(--text);
}
.launcher-feat-tag.active-feat {
  background: var(--accent-dim);
  border-color: var(--border-hi);
  color: var(--accent);
}
.launcher-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.launcher-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.launcher-stat-val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 2px;
}
.launcher-stat-label {
  font-size: 10px;
  color: var(--text-dim);
}
.launcher-launch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--r);
  border: none;
  cursor: default;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.launcher-detail-panel { display: none; }
.launcher-detail-panel.active { display: flex; flex-direction: column; gap: 18px; }

/* ── Software Preview ── */
#preview { padding: var(--section-pad); }
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.preview-card {
  cursor: default;
}
.preview-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);
  transition: border-color var(--t), box-shadow var(--t);
}
.preview-card:hover .preview-card-inner {
  border-color: var(--border-hi);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 40px rgba(3,252,119,0.07);
}
.preview-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.preview-badge {
  padding: 2px 8px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.preview-badge.live {
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  color: var(--accent);
}
.preview-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-hi);
}
.preview-tag {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-left: auto;
}
.preview-img-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.preview-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.preview-card:hover .preview-img { transform: scale(1.03); }
.preview-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
@media (max-width: 860px) {
  .preview-grid { grid-template-columns: 1fr; }
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.lightbox-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  overflow: hidden;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.28s cubic-bezier(0.34,1.2,0.64,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
}
.lightbox.open .lightbox-frame { transform: scale(1); }
.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.lightbox-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-hi);
  font-family: var(--mono);
}
.lightbox-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: background var(--t), color var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); color: var(--text-hi); }
.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: calc(90vh - 54px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.preview-img-wrap { cursor: zoom-in; }

/* ── Pricing ── */
#pricing { padding: var(--section-pad); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.pricing-card.featured {
  border: none;
  background: transparent;
  transform: translateY(-8px);
  z-index: 0;
  box-shadow:
    0 0 28px rgba(3,252,119,0.18),
    0 0 56px rgba(0,200,255,0.07),
    0 16px 48px rgba(0,0,0,0.45);
  transition: transform var(--t), box-shadow var(--t);
}
.pricing-card.featured:hover {
  transform: translateY(-12px);
  box-shadow:
    0 0 38px rgba(3,252,119,0.26),
    0 0 72px rgba(0,200,255,0.1),
    0 24px 60px rgba(0,0,0,0.5);
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  background: conic-gradient(
    from var(--border-angle),
    #a8edba, #7dd4fc, #c084fc, #f9a8d4, #fde68a, #a8edba
  );
  animation: rainbowSpin 4s linear infinite;
  z-index: -1;
}
.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: var(--bg-card);
  z-index: -1;
}
@keyframes rainbowSpin {
  to { --border-angle: 360deg; }
}
.pricing-best {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 12px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.pricing-dollar { font-size: 22px; font-weight: 700; color: var(--accent); }
.pricing-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-hi);
  line-height: 1;
}
.pricing-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.pricing-access {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}
.pricing-access.active {
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  color: var(--accent);
}
.pricing-access.inactive {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.pricing-features li .check {
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-cta {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: var(--r);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all var(--t);
}
.pricing-cta.outline {
  border: 1px solid var(--border);
  color: var(--text-hi);
}
.pricing-cta.outline:hover { border-color: var(--accent); color: var(--accent); }
.pricing-cta.fill {
  background: var(--accent);
  color: #000;
}
.pricing-cta.fill:hover { box-shadow: 0 0 24px var(--accent-glow); }

/* ── About ── */
#about { padding: var(--section-pad); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.about-text { max-width: 480px; }
.about-body {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.about-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 4px;
}
.about-stat-label { font-size: 12px; color: var(--text-dim); }
.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--t);
}
.about-card:hover { border-color: var(--border-hi); }
.about-card-icon {
  font-size: 22px;
  width: 40px;
  flex-shrink: 0;
}
.about-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.about-card-desc { font-size: 13px; color: var(--text); line-height: 1.5; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-dim);
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a { font-size: 13px; color: var(--text-dim); transition: color var(--t); }
.footer-links a:hover { color: var(--text-hi); }
.footer-copy { font-size: 12px; color: var(--text-dim); font-family: var(--mono); }

/* ── FA icon sizing in icon boxes ── */
.product-icon i { font-size: 18px; color: var(--accent); }
.about-card-icon i { font-size: 20px; color: var(--accent); }
.launcher-game-icon i { font-size: 14px; color: var(--text); }
.launcher-art i { font-size: 26px; color: var(--accent); }
.launcher-game-item.active .launcher-game-icon i { color: var(--accent); }
.pricing-support a:hover { text-decoration: underline; }

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── Responsive ── */
/* ── Available Games Section ── */
#games { padding: var(--section-pad); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.games-placeholder {
  grid-column: 1 / -1;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 12px;
  padding: 40px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--border-hi);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65), 0 0 0 1px var(--border-hi);
}
.game-card-img {
  width: 100%;
  height: 100%;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.game-card:hover .game-card-img img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,8,0.92) 0%, rgba(5,5,8,0.4) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.game-card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.game-card-status.live {
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  color: var(--accent);
}
.game-card-status.soon {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
}
.game-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.2;
}
.game-card-module {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* ── Module Loader Section ── */
#modules { padding: var(--section-pad); }
.modules-panel {
  display: grid;
  grid-template-columns: 264px 1fr;
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.module-sidebar {
  background: #0d0d12;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  max-height: 580px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.module-sidebar::-webkit-scrollbar { width: 4px; }
.module-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.module-game-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  border-left: 2px solid transparent;
}
.module-game-item:hover { background: rgba(255,255,255,0.03); }
.module-game-item.active {
  background: var(--accent-dim);
  border-left-color: var(--accent);
}
.module-game-thumb {
  width: 46px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-panel);
}
.module-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.module-game-info { flex: 1; min-width: 0; }
.module-game-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-game-mod {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-game-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.module-game-badge.live {
  background: var(--accent-dim);
  color: var(--accent);
}
.module-game-badge.soon {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
}
.module-detail {
  overflow-y: auto;
  max-height: 580px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.module-detail::-webkit-scrollbar { width: 4px; }
.module-detail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.module-detail-panel { display: none; padding: 32px 36px; flex-direction: column; gap: 22px; }
.module-detail-panel.active { display: flex; }
.module-detail-header {
  display: flex;
  gap: 20px;
  align-items: center;
}
.module-detail-img {
  width: 128px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-panel);
}
.module-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.module-detail-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 4px;
  line-height: 1.1;
}
.module-detail-module {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 3px;
}
.module-detail-tagline {
  font-size: 12px;
  color: var(--text-dim);
}
.module-detail-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  border-left: 2px solid var(--border-hi);
  padding-left: 16px;
}
.module-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.module-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.module-feat i { font-size: 9px; }
.module-feat.active {
  background: var(--accent-dim);
  border-color: var(--border-hi);
  color: var(--accent);
}
.module-ver-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 6px;
}
.product-ver {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 6px;
}
.module-coming-soon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.module-coming-soon i { color: var(--accent-2); }

/* ── Legal Pages ── */
.legal-hero {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}
.legal-content {
  padding: 64px 0 100px;
}
.legal-body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.legal-loading {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 0;
}
.legal-title-block {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.legal-title-block h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 8px;
}
.legal-title-block p {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.legal-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t);
}
.legal-section:hover { border-color: rgba(255,255,255,0.12); }
.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.legal-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.legal-section p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.75;
}
.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 4px;
}
.legal-section ul li {
  font-size: 13px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Popups ── */
.popup-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 42px 22px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  transform: translateX(calc(100% + 40px));
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  overflow: hidden;
}
.popup-toast.popup-tos {
  bottom: 160px;
  border-left-color: var(--accent-2);
}
.popup-toast.popup-welcome {
  bottom: 296px;
  border-left-color: #a855f7;
}
.popup-icon.welcome { background: rgba(168,85,247,0.12); color: #a855f7; }
.popup-toast.show { transform: translateX(0); }
.popup-icon {
  width: 32px; height: 32px;
  background: var(--accent-dim);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.popup-icon.tos { background: rgba(0,200,255,0.1); color: var(--accent-2); }
.popup-body { flex: 1; min-width: 0; }
.popup-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.popup-msg {
  font-size: 12px;
  color: var(--text);
  line-height: 1.55;
}
.popup-msg a { color: var(--accent); text-decoration: underline; }
.popup-close {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color var(--t);
}
.popup-close:hover { color: var(--text-hi); }
.popup-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: left center;
  width: 100%;
}
.popup-bar.tos-bar { background: var(--accent-2); }

/* ── Responsive ── */

/* Tablet */
@media (max-width: 900px) {
  :root { --section-pad: 80px 0; }
  .products-grid, .pricing-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .pricing-card.featured { transform: none; }
  .modules-panel { grid-template-columns: 1fr; }
  .module-sidebar { max-height: 260px; border-right: none; border-bottom: 1px solid var(--border); overflow-y: auto; }
  .module-detail { max-height: none; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .preview-grid { grid-template-columns: 1fr; }
  .about-left { max-width: 100%; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --section-pad: 60px 0; }

  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(9,9,9,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 4px 0 16px;
    gap: 0;
    z-index: 99;
  }
  #nav.nav-menu-open .nav-links { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    color: var(--text-hi);
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }

  /* Hero */
  .hero-content { padding: 100px 0 56px; }
  .hero-sub { max-width: 100%; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { justify-content: center; text-align: center; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 28px;
    justify-content: flex-start;
  }
  .hero-stat span { font-size: 22px; }

  /* Sections */
  .container { padding: 0 18px; }
  .product-card { padding: 28px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-card-title { font-size: 11px; }
  .module-detail-panel { padding: 18px 16px; }
  .module-detail-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .module-detail-features { grid-template-columns: 1fr 1fr; }
  .legal-section { padding: 18px 16px; }
  .section-heading { letter-spacing: -1px; }

  /* Popups: stack closer together on small screens */
  .popup-toast { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  .popup-toast.popup-tos { bottom: 130px; }
  .popup-toast.popup-welcome { bottom: 244px; }

  /* Preview */
  .preview-tag { display: none; }
}

/* Small phones */
@media (max-width: 400px) {
  .games-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stats { gap: 12px 20px; }
  .hero-stat span { font-size: 20px; }
  .container { padding: 0 14px; }
  .pricing-card { padding: 28px 18px; }
}
