/* ═══════════════════════════════════════════════════════════
   MIKAMI OFFICIAL DIAS — Design System
   Theme: Volcanic Glass × Acid Neon Gaming
   Fonts: Clash Display + Outfit + Space Mono
═══════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1e1e2a;
  --bg-elevated: #1c1c26;
  --border: #2a2a3a;
  --border-bright: #3a3a50;

  --accent: #7c3aed;
  --accent-light: #9d5cf6;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --neon-cyan: #00d4ff;
  --neon-cyan-glow: rgba(0, 212, 255, 0.25);
  --neon-gold: #ffd700;
  --neon-green: #39ff14;
  --neon-pink: #ff3cac;

  --text-primary: #f0eeff;
  --text-secondary: #9090b0;
  --text-muted: #5a5a7a;

  --hot: #ff4444;
  --popular: #ff8c00;
  --best-value: #00c853;
  --new-badge: #00d4ff;
  --sale-badge: #ff3cac;

  --success: #00c853;
  --warning: #ff8c00;
  --danger: #ff4444;
  --info: #00d4ff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px var(--accent-glow);
  --shadow-neon: 0 0 30px var(--neon-cyan-glow);

  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --header-h: 60px;
  --bottom-nav-h: 65px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: var(--font-body);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  width: 100%;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
select option { background: var(--bg-elevated); }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 99px; }

/* ═══════════════════════════════════════════════════════════
   MAINTENANCE OVERLAY
═══════════════════════════════════════════════════════════ */
.maintenance-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
}
.maintenance-box {
  text-align: center; padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 400px;
}
.maintenance-icon { font-size: 4rem; margin-bottom: 1rem; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.maintenance-box h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.5rem; }
.maintenance-box p { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: calc(var(--bottom-nav-h) + 16px); left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-size: 0.9rem;
  z-index: 9000;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--success); color: var(--success); }
.toast.error { border-color: var(--danger); color: var(--danger); }
.toast.info { border-color: var(--info); color: var(--info); }

/* ═══════════════════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 420px;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.auth-modal-box { padding: 2rem; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 0.75rem; }
.auth-logo img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius-md); }
.auth-logo-text {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  text-align: center; margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-subtitle { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.5rem; }
.auth-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1.5rem;
  background: var(--bg-elevated); border-radius: var(--radius-md); padding: 4px;
}
.auth-tab {
  flex: 1; padding: 0.6rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s;
}
.auth-tab.active { background: var(--accent); color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════════════════
   APP WRAPPER
═══════════════════════════════════════════════════════════ */
.app-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ═══════════════════════════════════════════════════════════
   TOP HEADER
═══════════════════════════════════════════════════════════ */
.top-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.header-left { display: flex; align-items: center; gap: 0.75rem; }
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s;
}
.site-brand {
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
}
.header-logo-img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.brand-name {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}
.header-right { display: flex; align-items: center; gap: 0.75rem; }
.wallet-badge {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 99px; padding: 0.35rem 0.85rem;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s;
}
.wallet-badge:hover { border-color: var(--accent); }
.wallet-icon { font-size: 0.9rem; }
.avatar-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BANNER
═══════════════════════════════════════════════════════════ */
.announcement-banner {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 490;
  background: linear-gradient(90deg, var(--accent), var(--neon-pink));
  color: #fff; padding: 0.5rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; font-weight: 500;
}
.announcement-banner button { color: #fff; font-size: 1rem; opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════ */
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.sidebar-overlay.active { opacity: 1; pointer-events: all; }
.sidebar {
  position: fixed; top: 0; left: -280px; bottom: 0; z-index: 700;
  width: 280px; background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.sidebar.open { left: 0; }
.sidebar-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.25rem 1rem; border-bottom: 1px solid var(--border);
}
.sidebar-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.sidebar-brand {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  flex: 1;
}
.sidebar-close { color: var(--text-secondary); font-size: 1.1rem; }
.sidebar-user {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem; background: var(--bg-elevated);
  margin: 0.75rem; border-radius: var(--radius-md);
}
.sidebar-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.sidebar-username { font-weight: 600; font-size: 0.95rem; }
.sidebar-balance { font-size: 0.8rem; color: var(--neon-cyan); font-weight: 600; }
.sidebar-nav { list-style: none; padding: 0.5rem 0; flex: 1; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; color: var(--text-secondary);
  font-size: 0.95rem; font-weight: 500;
  transition: all 0.2s; border-left: 3px solid transparent;
}
.sidebar-nav li a:hover, .sidebar-nav li a.active {
  color: var(--text-primary); background: var(--bg-elevated);
  border-left-color: var(--accent);
}
.sidebar-nav li a span { font-size: 1.1rem; }
.sidebar-footer { padding: 1rem; border-top: 1px solid var(--border); }
.btn-logout {
  width: 100%; padding: 0.75rem; border-radius: var(--radius-md);
  background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.3);
  color: var(--danger); font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-logout:hover { background: rgba(255,68,68,0.2); }

/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════════════ */
.main-content {
  margin-top: var(--header-h);
  padding-bottom: calc(var(--bottom-nav-h) + 1rem);
  min-height: calc(100vh - var(--header-h));
}
.page { display: none; padding: 1rem; animation: fadeIn 0.25s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════
   BOTTOM NAV
═══════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  height: var(--bottom-nav-h);
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
}
.bnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 0.5rem 0;
  color: var(--text-muted); transition: color 0.2s;
  position: relative;
}
.bnav-btn.active { color: var(--accent-light); }
.bnav-btn.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px; background: var(--accent); border-radius: 0 0 4px 4px;
}
.bnav-icon { font-size: 1.3rem; }
.bnav-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.03em; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b21b6);
  color: #fff; padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md); font-weight: 700;
  font-size: 0.95rem; font-family: var(--font-body);
  transition: all 0.2s; border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full-width { width: 100%; }
.btn-primary.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-secondary {
  background: var(--bg-elevated); color: var(--text-primary);
  border: 1px solid var(--border); padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); }
.btn-secondary.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-success {
  background: linear-gradient(135deg, #00c853, #00a040);
  color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.btn-danger {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.btn-warning {
  background: linear-gradient(135deg, #ff8c00, #e67300);
  color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.back-btn {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 600;
  padding: 0.4rem 0; transition: color 0.2s;
}
.back-btn:hover { color: var(--accent-light); }

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.form-hint { font-size: 0.75rem; color: var(--text-muted); }
.required { color: var(--danger); }
.form-section-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}

/* Toggle Switch */
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--border-bright);
  border-radius: 99px; cursor: pointer; transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 20px; height: 20px;
  left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════════════════════ */
.page-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.page-header h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════════════════════ */
.hero-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 1.5rem; height: 180px;
  background: linear-gradient(135deg, #1a0a3c, #0a1a3c);
}
.hero-banner img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}
.hero-banner.no-img { background: linear-gradient(135deg, #1a0a3c 0%, #0d0d1a 50%, #0a1a3c 100%); }
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 1rem;
}
.hero-title {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  text-align: center; letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero-sub { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 0.25rem; }

.section-header { margin-bottom: 1rem; }
.section-title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
}
.section-sub { color: var(--text-secondary); font-size: 0.85rem; margin-top: 0.2rem; }

/* Game Grid */
.game-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.game-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: all 0.3s; position: relative;
}
.game-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.game-card-img-wrap { position: relative; height: 120px; overflow: hidden; }
.game-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.game-card:hover .game-card-img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.game-badge {
  position: absolute; top: 8px; right: 8px;
  padding: 2px 8px; border-radius: 99px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.game-badge.hot { background: var(--hot); color: #fff; }
.game-badge.popular { background: var(--popular); color: #fff; }
.game-badge.best-value { background: var(--best-value); color: #000; }
.game-badge.new { background: var(--new-badge); color: #000; }
.game-badge.sale { background: var(--sale-badge); color: #fff; }
.game-card-body { padding: 0.75rem; }
.game-card-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.game-card-sub { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.2rem; }
.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.5rem;
}
.game-price-from { font-size: 0.8rem; color: var(--neon-cyan); font-weight: 600; }
.game-arrow { color: var(--accent-light); font-size: 1rem; }

/* Weekly Pass special card */
.weekly-pass-card { grid-column: span 1; }

/* Popular Packages Preview */
.popular-packages {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem; margin-bottom: 1.5rem;
}

/* Features Strip */
.features-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem; margin-top: 1rem;
}
.feature-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.75rem 0.5rem;
  text-align: center;
}
.feature-item span { font-size: 1.4rem; display: block; margin-bottom: 0.3rem; }
.feature-item p { font-size: 0.7rem; color: var(--text-secondary); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   RECHARGE PAGE
═══════════════════════════════════════════════════════════ */
.game-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1rem;
  overflow-x: auto; padding-bottom: 0.25rem;
}
.game-tab {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem; border-radius: 99px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.85rem; font-weight: 600;
  white-space: nowrap; transition: all 0.2s;
}
.game-tab.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.game-info-banner {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1.25rem;
  overflow: hidden;
}
.game-info-banner img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: var(--radius-md); flex-shrink: 0;
}
.game-info-text h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.game-info-text p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.2rem; }

/* Packages Grid */
.packages-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.package-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.85rem; cursor: pointer;
  transition: all 0.25s; position: relative; overflow: hidden;
  text-align: center;
}
.package-card:hover {
  border-color: var(--accent); transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.package-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--neon-cyan));
  opacity: 0; transition: opacity 0.2s;
}
.package-card:hover::before { opacity: 1; }
.pkg-badge {
  position: absolute; top: 6px; right: 6px;
  padding: 2px 6px; border-radius: 99px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em;
}
.pkg-badge.hot { background: var(--hot); color: #fff; }
.pkg-badge.popular { background: var(--popular); color: #fff; }
.pkg-badge.best-value { background: var(--best-value); color: #000; }
.pkg-badge.new { background: var(--new-badge); color: #000; }
.pkg-badge.sale { background: var(--sale-badge); color: #fff; }
.pkg-img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 0.5rem; }
.pkg-amount { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.pkg-price { font-size: 1.1rem; font-weight: 700; color: var(--neon-cyan); margin-top: 0.3rem; }
.pkg-original { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; }

/* ═══════════════════════════════════════════════════════════
   ORDER PAGE
═══════════════════════════════════════════════════════════ */
.order-container { display: flex; flex-direction: column; gap: 1rem; }
.order-summary-card {
  display: flex; gap: 1rem; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem;
}
.order-pkg-img-wrap { flex-shrink: 0; }
.order-pkg-img-wrap img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: var(--radius-md);
}
.order-pkg-info h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.order-pkg-info p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.2rem; }
.order-pkg-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.4rem; }
.order-pkg-price span:first-child { font-size: 1.3rem; font-weight: 700; color: var(--neon-cyan); }
.original-price { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; }
.order-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-option {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.85rem; cursor: pointer;
  transition: border-color 0.2s;
}
.payment-option:has(input:checked) { border-color: var(--accent); background: rgba(124,58,237,0.1); }
.payment-option input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.payment-option-body { display: flex; align-items: center; gap: 0.75rem; }
.pay-icon { font-size: 1.4rem; }
.payment-option-body strong { display: block; font-size: 0.9rem; }
.payment-option-body small { font-size: 0.75rem; color: var(--text-secondary); }
.upi-direct-section {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
}
.upi-qr-wrap { background: #fff; padding: 8px; border-radius: var(--radius-sm); }
.upi-qr-img { width: 160px; height: 160px; object-fit: contain; }
.upi-id-display { font-size: 0.85rem; color: var(--text-secondary); }
.btn-place-order { margin-top: 0.5rem; font-size: 1rem; padding: 1rem; }

/* ═══════════════════════════════════════════════════════════
   WALLET PAGE
═══════════════════════════════════════════════════════════ */
.wallet-balance-card {
  background: linear-gradient(135deg, #1a0a3c, #0a1a3c);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl); padding: 2rem 1.5rem;
  text-align: center; margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px var(--accent-glow);
  position: relative; overflow: hidden;
}
.wallet-balance-card::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent);
}
.wallet-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.wallet-amount {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.wallet-sub { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.deposit-card, .history-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem;
}
.card-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.quick-amounts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem;
}
.quick-amt {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.6rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
  transition: all 0.2s;
}
.quick-amt:hover, .quick-amt.active {
  border-color: var(--accent); color: var(--accent-light);
  background: rgba(124,58,237,0.1);
}
.upi-payment-box {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem; text-align: center;
  margin: 1rem 0;
}
.upi-payment-box h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; }
.qr-container { display: flex; justify-content: center; margin-bottom: 0.75rem; }
.wallet-qr {
  width: 180px; height: 180px; object-fit: contain;
  background: #fff; padding: 8px; border-radius: var(--radius-sm);
}
.upi-id-text { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.upi-id-text strong { color: var(--neon-cyan); }
.upi-note { font-size: 0.75rem; color: var(--text-muted); }

/* History List */
.history-list { display: flex; flex-direction: column; gap: 0.75rem; }
.history-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.85rem;
}
.history-item-left { display: flex; flex-direction: column; gap: 0.2rem; }
.history-item-amount { font-weight: 700; font-size: 1rem; }
.history-item-amount.credit { color: var(--success); }
.history-item-amount.debit { color: var(--danger); }
.history-item-date { font-size: 0.75rem; color: var(--text-muted); }
.history-item-utr { font-size: 0.75rem; color: var(--text-secondary); font-family: var(--font-mono); }
.status-badge {
  padding: 3px 10px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
}
.status-badge.pending { background: rgba(255,140,0,0.15); color: var(--warning); border: 1px solid rgba(255,140,0,0.3); }
.status-badge.approved, .status-badge.completed { background: rgba(0,200,83,0.15); color: var(--success); border: 1px solid rgba(0,200,83,0.3); }
.status-badge.rejected, .status-badge.failed { background: rgba(255,68,68,0.15); color: var(--danger); border: 1px solid rgba(255,68,68,0.3); }
.status-badge.processing { background: rgba(0,212,255,0.15); color: var(--info); border: 1px solid rgba(0,212,255,0.3); }

/* ═══════════════════════════════════════════════════════════
   ORDERS PAGE
═══════════════════════════════════════════════════════════ */
.orders-filter {
  display: flex; gap: 0.5rem; margin-bottom: 1rem; overflow-x: auto;
}
.filter-btn {
  padding: 0.5rem 1rem; border-radius: 99px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.8rem; font-weight: 600;
  white-space: nowrap; transition: all 0.2s;
}
.filter-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.orders-list { display: flex; flex-direction: column; gap: 0.75rem; }
.order-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem; cursor: pointer;
  transition: border-color 0.2s;
}
.order-item:hover { border-color: var(--accent); }
.order-item-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem;
}
.order-item-id { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.order-item-body { display: flex; align-items: center; gap: 0.75rem; }
.order-item-img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); }
.order-item-info h4 { font-size: 0.9rem; font-weight: 600; }
.order-item-info p { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.15rem; }
.order-item-price { font-weight: 700; color: var(--neon-cyan); font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════════ */
.profile-hero {
  text-align: center; padding: 2rem 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(124,58,237,0.15), transparent);
  border-radius: var(--radius-xl); margin-bottom: 1.25rem;
}
.profile-avatar-large {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700;
  box-shadow: 0 0 30px var(--accent-glow);
}
.profile-hero h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.profile-hero p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 0.25rem; }
.profile-balance-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-elevated); border: 1px solid var(--accent);
  border-radius: 99px; padding: 0.4rem 1rem; margin-top: 0.75rem;
  font-weight: 700; color: var(--neon-cyan);
}
.profile-menu {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem;
}
.profile-menu-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; cursor: pointer;
  border-bottom: 1px solid var(--border); transition: background 0.2s;
}
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item:hover { background: var(--bg-elevated); }
.profile-menu-item.danger:hover { background: rgba(255,68,68,0.08); }
.pmenu-icon { font-size: 1.2rem; }
.pmenu-label { flex: 1; font-size: 0.95rem; font-weight: 500; }
.pmenu-arrow { color: var(--text-muted); font-size: 1.2rem; }
.profile-menu-item.danger .pmenu-label { color: var(--danger); }
.reseller-badge-section { margin-top: 1rem; }
.reseller-badge {
  display: flex; align-items: center; gap: 0.75rem;
  background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(0,212,255,0.1));
  border: 1px solid rgba(0,200,83,0.3);
  border-radius: var(--radius-md); padding: 1rem;
}
.reseller-badge span { font-size: 1.5rem; }
.reseller-badge strong { display: block; font-size: 0.9rem; }
.reseller-badge small { font-size: 0.75rem; color: var(--text-secondary); }
.referral-code-display {
  font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.75rem;
  text-align: center;
}
.referral-code-display strong { color: var(--neon-cyan); font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════════════
   RESELLER PAGE
═══════════════════════════════════════════════════════════ */
.reseller-hero {
  text-align: center; padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(0,212,255,0.05));
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: var(--radius-xl); margin-bottom: 1.5rem;
}
.reseller-hero-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.reseller-hero h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.reseller-hero p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem; max-width: 320px; margin-left: auto; margin-right: auto; }
.reseller-benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.5rem;
}
.benefit-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem; text-align: center;
}
.benefit-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.benefit-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.25rem; }
.benefit-card p { font-size: 0.75rem; color: var(--text-secondary); }
.reseller-tiers { margin-bottom: 1.5rem; }
.reseller-tiers h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.tier-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.tier-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.tier-card.gold { border-color: var(--neon-gold); }
.tier-card.silver { border-color: #c0c0c0; }
.tier-card.bronze { border-color: #cd7f32; }
.tier-name { font-weight: 700; font-size: 0.95rem; }
.tier-discount { font-size: 1.1rem; font-weight: 700; color: var(--neon-cyan); }
.tier-min { font-size: 0.75rem; color: var(--text-secondary); }
.reseller-apply-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.reseller-apply-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.reseller-active-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PAGES
═══════════════════════════════════════════════════════════ */
.admin-page { background: var(--bg-primary); }
.admin-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.admin-header h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; flex: 1; }
.admin-badge {
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  color: #fff; padding: 3px 10px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
}
.alert-banner {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,140,0,0.1); border: 1px solid rgba(255,140,0,0.3);
  border-radius: var(--radius-md); padding: 0.85rem 1rem; margin-bottom: 1.25rem;
}
.alert-banner span:first-child { font-size: 1.1rem; }
.alert-banner span:nth-child(2) { flex: 1; font-size: 0.85rem; color: var(--warning); }
.alert-banner button {
  color: var(--warning); font-size: 0.8rem; font-weight: 700;
  background: rgba(255,140,0,0.15); padding: 0.3rem 0.75rem;
  border-radius: 99px; border: 1px solid rgba(255,140,0,0.3);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-icon { font-size: 1.8rem; }
.stat-info h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--neon-cyan); }
.stat-info p { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.1rem; }
.admin-quick-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1.5rem;
}
.admin-quick-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.75rem 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-primary);
  transition: all 0.2s; text-align: center;
}
.admin-quick-btn:hover { border-color: var(--accent); color: var(--accent-light); background: var(--bg-card-hover); }
.admin-section { margin-bottom: 1.5rem; }
.admin-section h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.admin-filter-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1rem; overflow-x: auto;
}
.admin-list { display: flex; flex-direction: column; gap: 0.75rem; }
.admin-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem;
}
.admin-item-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 0.5rem; gap: 0.5rem;
}
.admin-item-title { font-weight: 600; font-size: 0.9rem; }
.admin-item-sub { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.15rem; }
.admin-item-meta { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.admin-item-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: 0.8rem;
}
.admin-table th {
  background: var(--bg-elevated); color: var(--text-secondary);
  padding: 0.6rem 0.75rem; text-align: left; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.admin-table tr:hover td { background: var(--bg-elevated); }

/* Admin Packages Grid */
.admin-packages-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.admin-pkg-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.85rem; position: relative;
}
.admin-pkg-card.inactive { opacity: 0.5; }
.admin-pkg-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.admin-pkg-game-tag {
  font-size: 0.65rem; font-weight: 700; padding: 2px 6px;
  border-radius: 99px; background: var(--bg-elevated); color: var(--text-secondary);
}
.admin-pkg-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.admin-pkg-price { font-size: 1rem; font-weight: 700; color: var(--neon-cyan); }
.admin-pkg-actions { display: flex; gap: 0.4rem; margin-top: 0.75rem; }
.admin-pkg-actions button { flex: 1; padding: 0.4rem; font-size: 0.75rem; border-radius: var(--radius-sm); }

/* Admin Users */
.search-bar { margin-bottom: 1rem; }
.user-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem;
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.user-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.user-info { flex: 1; }
.user-name { font-weight: 600; font-size: 0.9rem; }
.user-email { font-size: 0.75rem; color: var(--text-secondary); }
.user-stats { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.user-stat { font-size: 0.7rem; color: var(--text-muted); }
.user-stat strong { color: var(--neon-cyan); }
.user-actions { display: flex; gap: 0.4rem; }

/* Settings */
.settings-grid { display: flex; flex-direction: column; gap: 1rem; }
.settings-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.settings-card-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.settings-card small { font-size: 0.72rem; color: var(--text-muted); }

/* Reseller Tier Settings */
.tier-setting-row {
  display: flex; gap: 0.5rem; align-items: center;
}
.tier-setting-row input { flex: 1; }
.tier-setting-row button { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════════ */
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.25rem 0;
}
.modal-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.modal-close {
  color: var(--text-secondary); font-size: 1.1rem; padding: 0.25rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-primary); }
.modal-body {
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem;
}
.modal-footer {
  display: flex; gap: 0.75rem; padding: 0 1.25rem 1.25rem;
}
.modal-footer button { flex: 1; }
.modal-user-info {
  background: var(--bg-elevated); border-radius: var(--radius-sm);
  padding: 0.75rem; font-size: 0.85rem; color: var(--text-secondary);
}

/* Order Detail Modal */
.order-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.order-detail-row:last-child { border-bottom: none; }
.order-detail-label { color: var(--text-secondary); }
.order-detail-value { font-weight: 600; font-family: var(--font-mono); font-size: 0.8rem; }

/* Empty State */
.empty-state {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.5; }
.empty-state p { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (min-width: 480px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .admin-quick-links { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 768px) {
  .main-content { max-width: 768px; margin-left: auto; margin-right: auto; }
  .top-header { max-width: 768px; left: 50%; transform: translateX(-50%); }
  .bottom-nav { max-width: 768px; left: 50%; transform: translateX(-50%); }
  .announcement-banner { max-width: 768px; left: 50%; transform: translateX(-50%); }
  .hero-banner { height: 240px; }
  .hero-title { font-size: 2.2rem; }
  .order-container { flex-direction: row; align-items: flex-start; }
  .order-summary-card { flex-direction: column; width: 220px; flex-shrink: 0; }
  .order-form-card { flex: 1; }
  .settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px var(--accent-glow); }
  50% { box-shadow: 0 0 25px var(--accent-glow), 0 0 50px var(--accent-glow); }
}
.wallet-balance-card { animation: pulse-glow 3s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.loading-shimmer {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-card-hover) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Neon text effect for brand elements */
.neon-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan-glow), 0 0 20px var(--neon-cyan-glow);
}
/* ═══════════════════════════════════════════
   PLAYER VALIDATION ROW
═══════════════════════════════════════════ */
.validate-player-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: -0.25rem;
}
.validation-status {
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s;
}
.validation-status.success { color: #22c55e; }
.validation-status.error   { color: #ef4444; }
.validation-status.loading { color: var(--text-muted); }

/* ═══════════════════════════════════════════
   RAZORPAY DEPOSIT BUTTON
═══════════════════════════════════════════ */
.razorpay-deposit-btn {
  background: linear-gradient(135deg, #528ff5 0%, #3b6fd4 100%);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(82,143,245,0.35);
  margin-bottom: 0.5rem;
}
.razorpay-deposit-btn:hover {
  background: linear-gradient(135deg, #6ba0ff 0%, #4a7fe8 100%);
  box-shadow: 0 6px 24px rgba(82,143,245,0.5);
  transform: translateY(-1px);
}
.razorpay-deposit-btn.hidden { display: none; }

.manual-upi-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.manual-upi-divider::before,
.manual-upi-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════════
   API INTEGRATIONS SECTION
═══════════════════════════════════════════ */
.api-settings-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255,255,255,0.1);
}
.api-settings-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.api-settings-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.api-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.api-status-row span[id] {
  font-weight: 700;
  color: var(--text-primary);
}
.api-card {
  border: 1px solid rgba(255,255,255,0.08);
}
.api-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}
.api-test-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.api-test-status {
  font-size: 0.8rem;
  font-weight: 600;
}
.api-test-status.ok      { color: #22c55e; }
.api-test-status.err     { color: #ef4444; }
.api-test-status.loading { color: var(--text-muted); }
