/* ================================
   NebulaDesk — Premium Website
   Color palette extracted from launcher
   =================================== */
:root {
  --bg: #0A0A14;
  --bg-2: #0F0F1A;
  --bg-3: #141421;
  --bg-4: #161621;
  --border: #2A2A3E;
  --border-2: #303045;
  --text: #FFFFFF;
  --text-mute: #8A8A9E;
  --text-dim: #666680;
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --accent: #00D49D;
  --danger: #FF5E7D;
  --warning: #FFB347;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.25);
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated background */
.bg-gradient {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(108, 92, 231, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 40%, rgba(162, 155, 254, 0.18), transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(0, 212, 157, 0.12), transparent 55%),
    var(--bg);
  animation: bgShift 20s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0%   { background-position: 0% 0%, 100% 50%, 50% 100%, 0 0; }
  100% { background-position: 30% 20%, 70% 30%, 30% 70%, 0 0; }
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}
@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; border: none; cursor: pointer;
  font: inherit; font-weight: 600; text-decoration: none;
  transition: all 0.25s var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 6px 20px -4px rgba(108, 92, 231, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(108, 92, 231, 0.8), 0 0 40px rgba(162, 155, 254, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--primary); background: rgba(108, 92, 231, 0.1); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: all 0.3s var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 0.5px; font-size: 18px; }
.logo span b { color: var(--primary-light); font-weight: 800; }
.logo-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 12px rgba(108, 92, 231, 0.6)); }
.logo-icon svg { width: 100%; height: 100%; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-mute); text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--primary-light);
  margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-mute);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }

.hero-stats {
  display: flex; justify-content: center; gap: 80px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 42px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 1px; }

/* Hero preview window */
.hero-preview { position: relative; max-width: 960px; margin: 0 auto; }
.preview-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse, rgba(108, 92, 231, 0.4), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.preview-window {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 80px -20px rgba(108, 92, 231, 0.5);
  text-align: left;
}
.preview-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}
.tb-dot { width: 12px; height: 12px; border-radius: 50%; }
.tb-dot.red { background: #FF5F57; } .tb-dot.yellow { background: #FEBC2E; } .tb-dot.green { background: #28C840; }
.tb-title { margin-left: auto; margin-right: auto; font-size: 12px; color: var(--text-mute); }
.preview-body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.preview-side { background: rgba(0, 0, 0, 0.2); padding: 20px; border-right: 1px solid var(--border); }
.preview-logo { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; margin-bottom: 24px; }
.preview-menu-item {
  padding: 10px 14px; margin-bottom: 4px; border-radius: 8px;
  font-size: 13px; color: var(--text-mute); cursor: pointer;
  transition: all 0.2s;
}
.preview-menu-item.active { background: rgba(108, 92, 231, 0.15); color: var(--text); border-left: 2px solid var(--primary); }
.preview-main { padding: 32px; }
.preview-hero { padding: 24px; background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(162, 155, 254, 0.05)); border: 1px solid rgba(108, 92, 231, 0.3); border-radius: 12px; margin-bottom: 20px; }
.preview-badge { display: inline-block; padding: 4px 10px; background: var(--accent); color: #000; font-size: 10px; font-weight: 700; border-radius: 4px; margin-bottom: 10px; }
.preview-hero h3 { font-size: 22px; margin-bottom: 6px; }
.preview-hero p { color: var(--text-mute); font-size: 13px; margin-bottom: 18px; }
.preview-btn { display: inline-block; padding: 10px 20px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 8px; font-weight: 600; font-size: 13px; box-shadow: 0 4px 12px rgba(108, 92, 231, 0.5); }
.preview-rows { display: flex; flex-direction: column; gap: 10px; }
.preview-row { display: flex; justify-content: space-between; padding: 10px 14px; background: rgba(0, 0, 0, 0.25); border-radius: 8px; font-size: 13px; color: var(--text-mute); }
.preview-row .ok { color: var(--accent); font-weight: 700; }

/* Section heads */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(0, 212, 157, 0.5);
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 18px;
}
.section-head p { color: var(--text-mute); font-size: 17px; }

/* Features */
.features { padding: 100px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.feature {
  padding: 32px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -15px rgba(108, 92, 231, 0.3);
}
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(162, 155, 254, 0.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--text-mute); font-size: 14px; }

/* Games */
.games { padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.04), transparent); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.game-card {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.3s var(--transition);
}
.game-card:hover { transform: translateY(-6px); border-color: var(--clr, var(--primary)); box-shadow: 0 25px 50px -15px color-mix(in srgb, var(--clr, var(--primary)) 50%, transparent); }
.game-thumb {
  aspect-ratio: 16/9; position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--clr) 40%, transparent), transparent 60%),
    linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex; align-items: flex-end; padding: 24px;
}
.game-thumb.alt {
  background:
    radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--clr) 40%, transparent), transparent 60%),
    linear-gradient(135deg, #0a2a2a, #16213e);
}
.game-thumb.alt2 {
  background:
    radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--clr) 40%, transparent), transparent 60%),
    linear-gradient(135deg, #2a1a3e, #16213e);
}
.game-thumb h3 { font-size: 26px; font-family: 'Space Grotesk', sans-serif; position: relative; z-index: 2; }
.game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 20, 0.9));
}
.game-body { padding: 24px; }
.game-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent); margin-bottom: 12px; font-weight: 600; }
.live { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }
.game-body p { color: var(--text-mute); font-size: 14px; margin-bottom: 18px; }

/* Pricing */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  padding: 36px 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.08), var(--bg-3));
  box-shadow: 0 20px 50px -15px rgba(108, 92, 231, 0.5), var(--shadow-glow);
  transform: translateY(-8px);
}
.pricing-card.featured:hover { transform: translateY(-12px); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.5);
}
.price-title { color: var(--text-mute); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 56px; font-weight: 700; line-height: 1; margin-bottom: 24px; }
.currency { font-size: 26px; color: var(--text-mute); vertical-align: top; margin-right: 2px; }
.decimal { font-size: 22px; color: var(--text-mute); }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li { padding: 10px 0; color: var(--text-mute); font-size: 14px; border-bottom: 1px solid var(--border); position: relative; padding-left: 24px; }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-list li:last-child { border-bottom: none; }

/* FAQ */
.faq { padding: 100px 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; color: var(--primary-light); transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; color: var(--text-mute); font-size: 14px; }

/* CTA final */
.cta-final { padding: 80px 0 120px; }
.cta-box {
  text-align: center;
  padding: 60px 32px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 212, 157, 0.08));
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.2), transparent 60%);
  z-index: -1;
}
.cta-box h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 14px; }
.cta-box p { color: var(--text-mute); margin-bottom: 30px; font-size: 17px; }

/* Footer */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.3); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { color: var(--text-mute); font-size: 14px; margin-top: 12px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-mute); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-mute); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; color: var(--text-mute); font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}

/* =================================
   ANIMATIONS
   ================================= */
.fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s var(--transition); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ================================
   AUTH PAGES (login / register)
   ================================= */
.auth-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
}
.auth-card {
  width: 100%; max-width: 440px;
  padding: 44px 36px;
  background: rgba(20, 20, 33, 0.8);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 60px -20px rgba(108, 92, 231, 0.4);
  animation: fadeInUp 0.6s ease;
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.auth-logo .logo-icon { width: 60px; height: 60px; }
.auth-card h1 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; text-align: center; margin-bottom: 8px; }
.auth-sub { text-align: center; color: var(--text-mute); margin-bottom: 32px; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; text-shadow: 0 0 8px rgba(0, 212, 157, 0.4); }
.form-group input {
  width: 100%; padding: 14px 16px;
  background: var(--bg-4); color: var(--text);
  border: 1px solid var(--border-2); border-radius: 10px;
  font: inherit; font-size: 15px;
  transition: all 0.2s;
}
.form-group input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15), 0 0 20px rgba(108, 92, 231, 0.3);
}
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 13px; }
.form-options label { display: flex; align-items: center; gap: 8px; color: var(--text-mute); cursor: pointer; }
.form-options a { color: var(--accent); text-decoration: none; }
.form-options a:hover { text-decoration: underline; }
.auth-card .btn { width: 100%; padding: 15px; font-size: 15px; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-mute); }
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 600; }
.msg { padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 20px; display: none; }
.msg.error { background: rgba(255, 94, 125, 0.12); color: var(--danger); border: 1px solid rgba(255, 94, 125, 0.3); display: block; }
.msg.success { background: rgba(0, 212, 157, 0.12); color: var(--accent); border: 1px solid rgba(0, 212, 157, 0.3); display: block; }

/* Dashboard */
.dash-wrap { min-height: 100vh; padding: 100px 0 60px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.dash-header h1 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; }
.dash-header p { color: var(--text-mute); font-size: 14px; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 40px; }
.dash-card { padding: 24px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); }
.dash-card-label { color: var(--text-mute); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.dash-card-value { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; }
.dash-card-value.ok { color: var(--accent); }
.dash-section { padding: 32px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 20px; }
.dash-section h2 { font-size: 20px; margin-bottom: 20px; }
.license-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 10px; gap: 16px; flex-wrap: wrap;
}
.license-info { flex: 1; min-width: 240px; }
.license-info code { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--primary-light); background: rgba(108, 92, 231, 0.12); padding: 4px 10px; border-radius: 6px; }
.license-info .mod { display: block; color: var(--text-mute); font-size: 13px; margin-top: 6px; }
.badge { padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.badge.active { background: rgba(0, 212, 157, 0.15); color: var(--accent); }
.badge.expired { background: rgba(255, 94, 125, 0.15); color: var(--danger); }

/* ================================
   LANGUAGE SWITCHER
   ================================= */
.lang-switcher { position: relative; display: inline-block; }
.lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.lang-current::after {
  content: '▾'; margin-left: 4px; color: var(--text-mute); font-size: 10px;
}
.lang-current:hover { border-color: var(--primary); background: rgba(108, 92, 231, 0.1); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px;
  background: rgba(20, 20, 33, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s var(--transition);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px;
  background: transparent; border: none;
  color: var(--text); font: inherit; font-size: 14px;
  border-radius: 8px;
  cursor: pointer; text-align: left;
  transition: all 0.15s;
}
.lang-option:hover { background: rgba(108, 92, 231, 0.12); }
.lang-option.active { background: rgba(108, 92, 231, 0.2); color: var(--primary-light); font-weight: 600; }

/* sparkle-container is purely JS-driven, no CSS needed */

/* ================================
   TRUST BAR
   ================================= */
.trust-bar {
  background: rgba(108, 92, 231, 0.08);
  border-top: 1px solid rgba(108, 92, 231, 0.2);
  border-bottom: 1px solid rgba(108, 92, 231, 0.2);
  padding: 12px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-mute);
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; }
.trust-dot.green { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }
.trust-sep { color: var(--border-2); }

/* ================================
   GAME FEATURE TABS
   ================================= */
.game-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.gtab {
  padding: 12px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-mute); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--transition);
}
.gtab:hover { border-color: var(--primary); color: var(--text); }
.gtab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent; color: white;
  box-shadow: 0 6px 20px -4px rgba(108, 92, 231, 0.6);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.feature-icon {
  font-size: 28px; margin-bottom: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(108, 92, 231, 0.5));
}

/* ================================
   PRICING UPGRADES
   ================================= */
.pricing-trust {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.pt-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 14px; flex: 1; min-width: 180px; max-width: 260px;
}
.pt-icon { font-size: 24px; flex-shrink: 0; }
.pt-item div { display: flex; flex-direction: column; }
.pt-item strong { font-size: 14px; color: var(--text); }
.pt-item span { font-size: 12px; color: var(--text-mute); }
.price-per { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.price-note { text-align: center; font-size: 12px; color: var(--text-mute); margin-top: 12px; }
.pricing-refund-note {
  text-align: center; margin-top: 36px;
  font-size: 13px; color: var(--text-mute);
  max-width: 640px; margin-left: auto; margin-right: auto;
  padding: 16px 20px;
  background: rgba(255, 183, 71, 0.07);
  border: 1px solid rgba(255, 183, 71, 0.2);
  border-radius: 10px;
}

/* ================================
   SOCIAL PROOF TICKER
   ================================= */
.social-proof {
  padding: 20px 0;
  background: rgba(0, 212, 157, 0.04);
  border-top: 1px solid rgba(0, 212, 157, 0.1);
  border-bottom: 1px solid rgba(0, 212, 157, 0.1);
}
.sp-inner { display: flex; justify-content: center; min-height: 36px; }
.sp-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-mute);
  opacity: 1; transition: opacity 0.4s;
}
.sp-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white; flex-shrink: 0;
}
.sp-time { color: var(--text-dim); font-size: 12px; margin-left: 4px; }
.sp-inner { transition: opacity 0.4s; }

/* ================================
   TRIAL SECTION
   ================================= */
.trial-section { padding: 100px 0; }
.trial-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 56px;
}
.trial-left h2 { font-size: clamp(28px, 4vw, 44px); margin: 12px 0 20px; line-height: 1.15; }
.trial-left p { color: var(--text-mute); margin-bottom: 28px; line-height: 1.7; }
.trial-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.trial-list li { display: flex; align-items: center; gap: 10px; color: var(--text-mute); font-size: 15px; }
.trial-check { color: var(--accent); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.trial-card {
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 36px;
  text-align: center;
}
.trial-card-head { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.trial-card-price { font-size: 56px; font-weight: 900; background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.trial-card-sub { font-size: 14px; color: var(--text-mute); margin-bottom: 24px; }
.trial-card-list { list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.trial-card-list li { color: var(--text-mute); font-size: 14px; padding-left: 16px; position: relative; }
.trial-card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 860px) {
  .trial-box { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}

/* ================================
   CTA UPGRADES
   ================================= */
.cta-badge {
  display: inline-block;
  padding: 6px 16px; margin-bottom: 20px;
  background: rgba(0, 212, 157, 0.15);
  border: 1px solid rgba(0, 212, 157, 0.3);
  border-radius: 100px;
  color: var(--accent); font-size: 13px; font-weight: 600;
}
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cta-micro { font-size: 13px; color: var(--text-mute); }

/* ================================
   DASHBOARD — time remaining
   ================================= */
.license-time {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 100px; font-size: 12px; font-weight: 600;
  margin-top: 8px;
}
.license-time.ok { background: rgba(0, 212, 157, 0.12); color: var(--accent); border: 1px solid rgba(0, 212, 157, 0.25); }
.license-time.warn { background: rgba(255, 183, 71, 0.12); color: var(--warning); border: 1px solid rgba(255, 183, 71, 0.25); }
.license-time.exp { background: rgba(255, 94, 125, 0.12); color: var(--danger); border: 1px solid rgba(255, 94, 125, 0.25); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 32px; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 540px) {
  .hero { padding-top: 120px; }
  .nav-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
