@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&f[]=general-sans@400,500,600,700&display=swap');

:root {
  --bg: #0c1018; --bg2: #111822; --bg3: #17202e; --bg4: #1e2940;
  --accent: #22c97a; --accent-l: #3de896; --accent-d: #1aad66;
  --blue: #4da6ff; --purple: #a78bfa; --rose: #f472b6;
  --amber: #fbbf24; --orange: #fb923c;
  --border: #1f2b3d; --border-l: #2a3a52;
  --text: #edf1f7; --text-m: #8896a8; --text-d: #576779;
  --card: #151d2a; --card-hover: #1a2536;
  --radius: 12px; --radius-sm: 8px; --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'General Sans', -apple-system, sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-l); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 { font-family: 'Satoshi', sans-serif; font-weight: 700; letter-spacing: -0.3px; line-height: 1.2; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border-radius: var(--radius-sm); border: none; font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; transition: all .2s ease; text-align: center; text-decoration: none; }
.btn-primary, .btn-neon { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(34,201,122,.25); }
.btn-primary:hover, .btn-neon:hover { background: var(--accent-l); box-shadow: 0 6px 24px rgba(34,201,122,.35); transform: translateY(-1px); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border-l); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-l); background: rgba(34,201,122,.06); }
.btn-ghost { background: rgba(34,201,122,.1); color: var(--accent-l); border: 1px solid rgba(34,201,122,.2); }
.btn-danger { background: rgba(244,114,182,.1); color: var(--rose); border: 1px solid rgba(244,114,182,.2); }
.btn-danger:hover { background: rgba(244,114,182,.2); }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 15px 36px; font-size: 15px; border-radius: var(--radius); }
.btn-full { width: 100%; }

input, select, textarea { padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--bg2); color: var(--text); font-family: 'General Sans', sans-serif; font-size: 14px; outline: none; width: 100%; transition: all .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 3px rgba(34,201,122,.12); }
input::placeholder, textarea::placeholder { color: var(--text-d); }
select option { background: var(--bg3); }
label { display: block; font-family: 'Satoshi', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-m); margin-bottom: 6px; }

.nav { position: sticky; top: 0; z-index: 1000; background: rgba(12,16,24,.92); backdrop-filter: blur(20px) saturate(1.3); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.nav-logo svg { width: 36px; height: 36px; }
.nav-brand { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 18px; color: var(--accent-l); }
.nav-sub { font-size: 10px; color: var(--text-d); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 9px 16px; border-radius: var(--radius-sm); color: var(--text-m); font-size: 14px; font-weight: 500; border: none; background: none; cursor: pointer; transition: all .2s; font-family: 'Satoshi', sans-serif; text-decoration: none; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-link.active { color: var(--accent-l); background: rgba(34,201,122,.08); }
.nav-cart { position: relative; }
.cart-badge { position: absolute; top: -2px; right: -4px; background: var(--rose); color: #fff; border-radius: 6px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; padding: 0 4px; }
.nav-user { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-avatar { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: 'Satoshi'; font-weight: 800; font-size: 13px; color: #fff; }

.card { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: all .25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--border-l); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.card-header { position: relative; height: 160px; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.card-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(transparent, var(--card)); }
.card-body { padding: 20px; }
.tag { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 6px; font-family: 'Satoshi'; font-weight: 700; font-size: 10px; color: #fff; }
.tag-owned { left: 12px; right: auto; background: var(--accent); }
.cat-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.price { font-family: 'Satoshi'; font-weight: 900; font-size: 24px; color: var(--accent-l); }
.price-old { font-size: 14px; color: var(--text-d); text-decoration: line-through; margin-left: 8px; }

.grad-admin { background: linear-gradient(135deg, #22c97a, #4da6ff); }
.grad-dashboard { background: linear-gradient(135deg, #a78bfa, #4da6ff); }
.grad-gameplay { background: linear-gradient(135deg, #fbbf24, #fb923c); }
.grad-roleplay { background: linear-gradient(135deg, #f472b6, #fbbf24); }
.grad-bundle { background: linear-gradient(135deg, #f472b6, #a78bfa, #4da6ff); }

.hero { position: relative; padding: 90px 0 70px; text-align: center; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; opacity: .025; background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px); background-size: 48px 48px; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 45% at 50% 35%, rgba(34,201,122,.07) 0%, transparent 70%); }
.hero h1 { font-weight: 900; font-size: 52px; letter-spacing: -1px; margin-bottom: 18px; }
.hero h1 span { color: var(--accent-l); }
.hero p { font-size: 17px; color: var(--text-m); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 48px; }
.hero-stat-val { font-family: 'Satoshi'; font-weight: 900; font-size: 28px; color: var(--accent-l); }
.hero-stat-lbl { font-size: 12px; color: var(--text-d); font-weight: 500; margin-top: 2px; }
.compat-bar { display: flex; justify-content: center; gap: 24px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 56px; font-size: 13px; color: var(--text-m); font-weight: 500; }
.compat-bar span::before { content: '✓ '; color: var(--accent); font-weight: 700; }

.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.grid-2 { grid-template-columns: 1.1fr 1fr; }

.section { margin-bottom: 72px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.section-title h2 span { color: var(--accent-l); }
.section-title p { font-size: 16px; color: var(--text-m); }

.flash { padding: 14px 22px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.flash-success { background: rgba(34,201,122,.1); border: 1px solid rgba(34,201,122,.25); color: var(--accent-l); }
.flash-error { background: rgba(244,114,182,.1); border: 1px solid rgba(244,114,182,.25); color: var(--rose); }

.tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { padding: 10px 20px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: transparent; color: var(--text-m); font-family: 'Satoshi', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; text-decoration: none; }
.tab:hover { border-color: var(--border-l); color: var(--text); background: var(--bg3); }
.tab.active { border-color: var(--accent); color: var(--accent-l); background: rgba(34,201,122,.06); }

.row { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 14px 18px; border: 1px solid var(--border); margin-bottom: 8px; transition: background .2s; }
.row:hover { background: var(--card-hover); }
.row-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.row-info { flex: 1; min-width: 0; }
.row-title { font-family: 'Satoshi'; font-weight: 700; font-size: 14px; }
.row-sub { font-size: 12px; color: var(--text-d); margin-top: 1px; }

.steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 36px; }
.step-dot { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: 'Satoshi'; font-weight: 700; font-size: 14px; border: 1.5px solid var(--border); color: var(--text-d); background: var(--bg3); }
.step-dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.step-line { width: 56px; height: 2px; background: var(--border); border-radius: 1px; }
.step-line.active { background: var(--accent); }
.step-label { font-size: 11px; color: var(--text-d); margin-top: 6px; font-weight: 500; }
.step-label.active { color: var(--accent-l); }

.pay-method { flex: 1; padding: 16px 12px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg2); cursor: pointer; text-align: center; font-family: 'Satoshi'; font-weight: 600; font-size: 14px; color: var(--text-m); transition: all .2s; }
.pay-method.active, .pay-method:hover { border-color: var(--accent); color: var(--accent-l); background: rgba(34,201,122,.06); }

.progress { height: 4px; border-radius: 2px; background: var(--bg2); overflow: hidden; }
.progress-bar { height: 100%; border-radius: 2px; background: linear-gradient(135deg, var(--accent), var(--blue)); }

.footer { padding: 36px 32px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--text-d); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border-l); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: rgba(34,201,122,.2); }

.flex { display: flex; } .flex-between { justify-content: space-between; } .flex-center { justify-content: center; } .items-center { align-items: center; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.text-center { text-align: center; } .text-neon { color: var(--accent-l); } .text-neon3 { color: var(--rose); } .text-neon4 { color: var(--amber); }
.text-muted { color: var(--text-m); } .text-dim { color: var(--text-d); } .text-sm { font-size: 13px; } .text-xs { font-size: 11px; }
.font-head { font-family: 'Satoshi', sans-serif; } .fw-700 { font-weight: 700; } .fw-800 { font-weight: 900; } .ls-2 { letter-spacing: 0.5px; } .hidden { display: none; }

@media (max-width: 768px) {
  .nav-inner { height: 56px; } .nav-link { padding: 8px 10px; font-size: 12px; }
  .hero h1 { font-size: 32px; } .hero p { font-size: 15px; }
  .grid-2 { grid-template-columns: 1fr; } .compat-bar { flex-wrap: wrap; gap: 12px; }
}
