/* ============================================================
   XTRA RECHARGE — Complete UI
   Dark gaming aesthetic · Neon accents · 3-col grids
   ============================================================ */

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

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #090b10;
  --bg2:         #0e1117;
  --bg3:         #131720;
  --surface:     #161c27;
  --surface2:    #1c2333;
  --border:      #1e2840;
  --border2:     #263050;

  --neon:        #00e5ff;
  --neon-dim:    rgba(0,229,255,.12);
  --neon-glow:   0 0 20px rgba(0,229,255,.4);
  --gold:        #ffd84d;
  --gold-dim:    rgba(255,216,77,.1);
  --green:       #00ff88;
  --red:         #ff4d6d;
  --orange:      #ff8c42;

  --text:        #e8eaf0;
  --text-muted:  #7a8399;
  --text-dim:    #4a5470;

  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h: 68px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ── Layout ─────────────────────────────────────────────────── */
.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-content { flex: 1; padding: 36px 0 60px; }

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(9,11,16,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--neon), #0090ff);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #000;
  letter-spacing: .5px;
  box-shadow: 0 0 16px rgba(0,229,255,.35);
}
.brand strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--text);
  line-height: 1.1;
}
.brand small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.main-nav a.active { color: var(--neon); background: var(--neon-dim); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.user-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.user-chip span { font-size: 13px; font-weight: 600; }
.user-chip small { font-size: 11px; color: var(--text-muted); text-transform: capitalize; }

/* ── Buttons ─────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--neon) 0%, #0090ff 100%);
  color: #000;
  box-shadow: 0 4px 14px rgba(0,229,255,.3);
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,229,255,.45);
}
.button:active { transform: translateY(0); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.button.ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border2);
  box-shadow: none;
}
.button.ghost:hover { color: var(--text); border-color: var(--neon); background: var(--neon-dim); box-shadow: none; }

.button.secondary {
  background: var(--surface2);
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--border2);
}
.button.secondary:hover { border-color: var(--neon); color: var(--neon); box-shadow: none; }

.button.wide { width: 100%; }
.button.small-button { padding: 7px 14px; font-size: 12.5px; border-radius: 8px; }
.button.danger { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(255,77,109,.3); }

/* ── Alerts / Flash ─────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.alert-success { background: rgba(0,255,136,.08); border-color: rgba(0,255,136,.25); color: var(--green); }
.alert-error   { background: rgba(255,77,109,.08); border-color: rgba(255,77,109,.25); color: var(--red); }
.alert-warning { background: rgba(255,140,66,.08); border-color: rgba(255,140,66,.25); color: var(--orange); }
.alert-info    { background: var(--neon-dim); border-color: rgba(0,229,255,.2); color: var(--neon); }

/* ── Eyebrow / typography helpers ───────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .2px;
}
h1 { font-size: clamp(26px, 4vw, 42px); }
h2 { font-size: clamp(20px, 3vw, 30px); }
h3 { font-size: 18px; }
.muted { color: var(--text-muted); font-size: 13px; }

/* ── Panel / Card base ──────────────────────────────────────── */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ── Section headings ───────────────────────────────────────── */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-heading p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* ══════════════════════════════════════════════════════════════
   HOME PAGE — Hero + Game Grid
══════════════════════════════════════════════════════════════ */

/* Hero */
.store-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 56px 48px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.store-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,229,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,144,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.store-hero::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.hero-copy { position: relative; z-index: 1; max-width: 540px; }
.hero-copy h1 { color: var(--text); margin-bottom: 14px; }
.hero-copy h1 span { color: var(--neon); }
.hero-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.stat-pill {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.stat-pill strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--neon);
}
.stat-pill span { font-size: 12px; color: var(--text-muted); }

/* Search */
.search-wrap {
  margin-bottom: 36px;
}
.search-bar {
  display: flex;
  gap: 10px;
  max-width: 480px;
}
.search-bar input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,229,255,.1);
}

/* Games section label */
.catalog-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.catalog-label h2 { font-size: 22px; }
.catalog-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Game Grid — 3 per row ───────────────────────────────────── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent, var(--neon)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
  pointer-events: none;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--neon));
  box-shadow: 0 12px 32px rgba(0,0,0,.4), 0 0 0 1px var(--accent, var(--neon));
}
.game-card:hover::before { opacity: .06; }

.game-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg3);
}
.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.game-card:hover .game-cover img { transform: scale(1.06); }
.game-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dim);
  background: linear-gradient(135deg, var(--bg3), var(--surface2));
}

.game-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.game-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pack-count {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 50px;
}
.topup-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--neon);
  background: var(--neon-dim);
  border: 1px solid rgba(0,229,255,.2);
  padding: 4px 14px;
  border-radius: 50px;
  transition: all .2s;
}
.game-card:hover .topup-btn {
  background: var(--neon);
  color: #000;
  border-color: var(--neon);
}

/* ══════════════════════════════════════════════════════════════
   GAME DETAIL PAGE — Hero + Pack Grid
══════════════════════════════════════════════════════════════ */

.game-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0;
}
.game-detail-hero::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--neon)), #0090ff);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.game-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(0,229,255,.06), transparent);
  pointer-events: none;
}
.detail-copy {
  padding: 40px 48px;
  position: relative;
  z-index: 1;
}
.detail-copy h1 { margin-bottom: 10px; }
.detail-copy p { color: var(--text-muted); font-size: 14.5px; max-width: 480px; line-height: 1.7; margin-top: 8px; }
.detail-visual {
  width: 220px;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

/* Packs section */
.packs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.packs-header h2 { font-size: 22px; }

/* ── Pack Grid — 3 per row ───────────────────────────────────── */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.pack-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.pack-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent, var(--neon));
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.pack-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg3);
  overflow: hidden;
}
.pack-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.pack-card:hover .pack-img-wrap img { transform: scale(1.05); }

.pack-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--neon);
  color: #000;
  padding: 3px 8px;
  border-radius: 4px;
}
.pack-ribbon.auto { background: var(--green); }

.pack-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pack-coins-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(255,216,77,.2);
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}
.pack-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.pack-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.pack-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.pack-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.pack-buy-btn {
  font-size: 12.5px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), #0090ff);
  color: #000;
  padding: 7px 18px;
  border-radius: 8px;
  transition: all .2s;
  box-shadow: 0 3px 10px rgba(0,229,255,.25);
}
.pack-card:hover .pack-buy-btn {
  box-shadow: 0 5px 16px rgba(0,229,255,.45);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT
══════════════════════════════════════════════════════════════ */
.checkout-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.checkout-art {
  aspect-ratio: 16/9;
  background: var(--bg3);
  overflow: hidden;
}
.checkout-art img { width: 100%; height: 100%; object-fit: cover; }
.checkout-copy {
  padding: 20px 22px 4px;
}
.checkout-copy h2 { font-size: 20px; margin-bottom: 4px; }
.checkout-copy p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.summary-row span { color: var(--text-muted); }
.summary-row strong { font-weight: 600; }
.summary-row.total {
  background: var(--bg3);
  font-size: 16px;
}
.summary-row.total strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--neon);
}

/* Form card */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
label > span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 7px;
}
input[type=text], input[type=email], input[type=password],
input[type=number], select, textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,229,255,.1);
}
select { cursor: pointer; }
textarea { resize: vertical; }

/* Payment choice */
.payment-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.payment-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.payment-choice:has(input:checked) {
  border-color: var(--neon);
  background: var(--neon-dim);
}
.payment-choice input { accent-color: var(--neon); width: 16px; height: 16px; }
.payment-choice span { display: flex; flex-direction: column; gap: 2px; }
.payment-choice strong { font-size: 14px; font-weight: 600; }
.payment-choice small { font-size: 11.5px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   ORDERS / DETAIL
══════════════════════════════════════════════════════════════ */
.orders-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
th {
  padding: 13px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: var(--bg3); }

/* Pills / Status badges */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid transparent;
}
.pill-success  { background: rgba(0,255,136,.1); border-color: rgba(0,255,136,.3); color: var(--green); }
.pill-error    { background: rgba(255,77,109,.1); border-color: rgba(255,77,109,.3); color: var(--red); }
.pill-warning  { background: rgba(255,140,66,.1); border-color: rgba(255,140,66,.3); color: var(--orange); }
.pill-info     { background: var(--neon-dim); border-color: rgba(0,229,255,.2); color: var(--neon); }
.pill-muted    { background: var(--bg3); border-color: var(--border); color: var(--text-muted); }

/* Order detail */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.detail-list { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.detail-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.detail-list > div:last-child { border-bottom: none; }
.detail-list strong { color: var(--text-muted); font-weight: 500; font-size: 13px; }
.detail-list span { font-weight: 600; }

.stack-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ══════════════════════════════════════════════════════════════
   WALLET
══════════════════════════════════════════════════════════════ */
.wallet-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wallet-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 20% 50%, rgba(0,229,255,.07), transparent);
  pointer-events: none;
}
.wallet-balance {
  position: relative;
  z-index: 1;
}
.wallet-balance .eyebrow { margin-bottom: 4px; }
.balance-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: var(--neon);
  line-height: 1;
  text-shadow: var(--neon-glow);
}
.wallet-topup { position: relative; z-index: 1; }

/* Topup form */
.topup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 440px;
}

/* ══════════════════════════════════════════════════════════════
   AUTH PAGES (login / register)
══════════════════════════════════════════════════════════════ */
.auth-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), #0090ff);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-card .form-group { display: flex; flex-direction: column; gap: 16px; }
.auth-footer { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--text-muted); }
.auth-footer a { color: var(--neon); }
.auth-footer a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   ADMIN
══════════════════════════════════════════════════════════════ */
.admin-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.admin-tabs {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 2px;
  padding: 0;
  height: 46px;
}
.admin-tabs a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.admin-tabs a:hover { color: var(--text); }
.admin-tabs a.active { color: var(--neon); border-bottom-color: var(--neon); }

/* Admin stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.stat-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-card .value.accent { color: var(--neon); }

/* Admin toolbar */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 64px 32px;
  background: var(--surface);
  border: 1px dashed var(--border2);
  border-radius: var(--radius-lg);
}
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 14px; max-width: 360px; margin: 0 auto 20px; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-grid h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.footer-grid p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.footer-grid strong { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════
   CALLBACK / STATUS
══════════════════════════════════════════════════════════════ */
.status-hero {
  text-align: center;
  padding: 48px 0 32px;
}
.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.status-icon.success { background: rgba(0,255,136,.12); border: 2px solid var(--green); color: var(--green); }
.status-icon.pending { background: var(--neon-dim); border: 2px solid var(--neon); color: var(--neon); }
.status-icon.failed  { background: rgba(255,77,109,.12); border: 2px solid var(--red); color: var(--red); }

/* ══════════════════════════════════════════════════════════════
   MISC UTILITIES
══════════════════════════════════════════════════════════════ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Pagination */
.pagination { display: flex; gap: 6px; margin-top: 20px; }
.pagination a, .pagination span {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--neon); color: var(--neon); }
.pagination .current { background: var(--neon); color: #000; border-color: var(--neon); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .game-grid  { grid-template-columns: repeat(2, 1fr); }
  .pack-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout  { grid-template-columns: 1fr; }
  .split-layout     { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .store-hero { flex-direction: column; padding: 36px 28px; }
  .hero-badge { flex-direction: row; flex-wrap: wrap; }
  .game-detail-hero { grid-template-columns: 1fr; }
  .detail-visual { display: none; }
}
@media (max-width: 600px) {
  .game-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pack-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .payment-choice-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-wrap { gap: 16px; }
  .detail-copy { padding: 28px 20px; }
  .wallet-hero { flex-direction: column; padding: 28px 24px; }
  .auth-card { padding: 28px 20px; }
}
