*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #06060a;
  color: #e7e7ee;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 3px; border-radius: 6px; }

:root {
  --bg: #06060a;
  --bg-soft: #0d0d16;
  --bg-card: #11111c;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #e7e7ee;
  --text-dim: #9b9bab;
  --text-mute: #6b6b7b;
  --accent: #8b5cf6;
  --accent-2: #ec4899;
  --accent-3: #06b6d4;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 60px -20px rgba(139,92,246,0.35);
  --container: 1240px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(139,92,246,0.04), transparent); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.orb-1 { width: 600px; height: 600px; background: #8b5cf6; top: -200px; left: -200px; animation: drift 22s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; background: #ec4899; top: 30%; right: -200px; animation: drift 28s ease-in-out infinite reverse; }
.orb-3 { width: 480px; height: 480px; background: #06b6d4; bottom: -200px; left: 30%; animation: drift 26s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
}

.announcement {
  background: linear-gradient(90deg, rgba(139,92,246,0.18), rgba(236,72,153,0.18));
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  color: #d4d4dc;
}
.announcement strong { color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(6,6,10,0.72);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease;
}
.nav.scrolled { background: rgba(6,6,10,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.logo-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff; font-weight: 900; font-size: 18px;
  box-shadow: 0 8px 24px -6px rgba(139,92,246,0.6);
}
.logo-text { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.logo-accent { background: linear-gradient(90deg, #8b5cf6, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: color .15s ease; position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff; box-shadow: 0 10px 30px -10px rgba(139,92,246,0.7);
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(236,72,153,0.7); }
.btn-outline { border-color: var(--border-strong); color: #fff; background: rgba(255,255,255,0.02); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(139,92,246,0.5); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { padding: 100px 0 80px; position: relative; }
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim); margin-bottom: 28px;
}
.hero-badge strong { color: #fff; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.hero-title { font-size: clamp(40px, 7vw, 76px); font-weight: 800; margin-bottom: 22px; }
.gradient-text {
  background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 50%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 640px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: #fff; }
.stat-num span { font-size: 16px; color: var(--text-mute); font-weight: 500; }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head.row { text-align: left; max-width: none; align-items: flex-end; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #8b5cf6; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 24px; cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  text-align: left;
}
.cat:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.4); box-shadow: var(--shadow); }
.cat-emoji { font-size: 38px; margin-bottom: 12px; }
.cat-name { font-weight: 700; font-size: 16px; color: #fff; }
.cat-count { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.cat::after {
  content: ''; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.cat:hover::after { opacity: 1; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-dim); transition: all .15s ease;
}
.chip:hover { color: #fff; border-color: var(--border-strong); }
.chip.active { background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; border-color: transparent; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.product {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.product:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.4); box-shadow: 0 24px 60px -20px rgba(139,92,246,0.4); }
.product-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: grid; place-items: center;
}
.product-img-emoji { font-size: 72px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4)); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.product-badge.hot { background: #ef4444; color: #fff; }
.product-badge.new { background: #10b981; color: #fff; }
.product-badge.sale { background: #f59e0b; color: #fff; }
.product-status {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; color: #10b981;
}
.product-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }
.product-status.down { color: #ef4444; }
.product-status.down .dot { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-game { font-size: 11px; color: #8b5cf6; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.product-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.product-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price .now { font-size: 22px; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; }
.product-price .old { font-size: 13px; color: var(--text-mute); text-decoration: line-through; }
.product-buy {
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: rgba(139,92,246,0.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.3);
  transition: all .15s ease;
}
.product-buy:hover { background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; border-color: transparent; }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feat {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.3); }
.feat-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px; border-radius: 14px; background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.2)); border: 1px solid var(--border); margin-bottom: 18px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.feat p { color: var(--text-dim); font-size: 14px; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { padding: 26px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--text-dim); margin-bottom: 18px; font-size: 14px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #ec4899); display: grid; place-items: center; font-weight: 700; color: #fff; }
.reviewer strong { display: block; color: #fff; font-size: 14px; }
.reviewer small { color: var(--text-mute); font-size: 12px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(139,92,246,0.4); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: #8b5cf6; transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-dim); font-size: 15px; }

.cta { padding: 100px 0; }
.cta-inner {
  text-align: center; padding: 70px 32px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at top, rgba(139,92,246,0.25), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-strong);
  position: relative; overflow: hidden;
}
.cta-inner h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.cta-inner p { color: var(--text-dim); font-size: 18px; margin-bottom: 32px; }

.footer { border-top: 1px solid var(--border); background: rgba(4,4,8,0.6); padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-dim); transition: all .15s ease;
}
.socials a:hover { color: #fff; border-color: rgba(139,92,246,0.5); background: rgba(139,92,246,0.1); }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 16px; font-family: 'Inter', sans-serif; letter-spacing: -0.01em; }
.footer-col a { display: block; color: var(--text-dim); font-size: 14px; padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom small { color: var(--text-mute); font-size: 13px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); color: #fff;
  display: grid; place-items: center; font-size: 14px;
  transition: background .15s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.12); }
.modal-body { padding: 32px; }
.modal-hero { aspect-ratio: 16/9; border-radius: var(--radius); background: linear-gradient(135deg, #1a1a2e, #16213e); display: grid; place-items: center; margin-bottom: 22px; font-size: 90px; }
.modal-body h3 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.modal-body .modal-game { font-size: 12px; color: #8b5cf6; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.modal-features { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.modal-features li { color: var(--text-dim); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.modal-features li::before { content: '✓'; color: #10b981; font-weight: 800; flex-shrink: 0; }
.modal-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 22px; }
.plan {
  padding: 14px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); cursor: pointer; text-align: center;
  transition: all .15s ease;
}
.plan:hover { border-color: rgba(139,92,246,0.5); }
.plan.selected { border-color: #8b5cf6; background: rgba(139,92,246,0.1); box-shadow: inset 0 0 0 1px #8b5cf6; }
.plan-duration { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.plan-price { font-size: 20px; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; }
.modal-checkout { width: 100%; justify-content: center; padding: 14px 22px; font-size: 15px; }
.modal-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--text-mute); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--bg-card); border: 1px solid var(--border-strong);
  padding: 14px 22px; border-radius: 12px;
  color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  z-index: 200; transition: transform .3s ease; max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(16,185,129,0.5); }
.toast.error { border-color: rgba(239,68,68,0.5); }

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 24px;
    background: rgba(6,6,10,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .section-head.row { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-inner { padding: 50px 22px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { padding: 20px; gap: 12px; }
  .stat-num { font-size: 24px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .modal-body { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .orb { animation: none; }
}