@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== CSS VARIABLES - PURE BLACK × NEON PURPLE ===== */
:root {
  --bg-primary: #000000;
  --bg-secondary: #030109;
  --bg-card: rgba(8, 0, 28, 0.72);
  --bg-card-hover: rgba(14, 0, 46, 0.9);
  --bg-glass: rgba(4, 0, 12, 0.92);
  --border: rgba(110, 56, 248, 0.35);
  --border-bright: rgba(110, 56, 248, 0.65);

  --accent: #5f22ff;
  --accent-2: #4800ff;
  --hot-pink: #5f22ff;
  --amber: #6d38ff;
  --emerald: #00ffcc;
  --accent-glow: rgba(95, 34, 255, 0.55);
  --success: #00ffc8;
  --success-bg: rgba(0, 255, 200, 0.14);
  --warning: #6d38ff;
  --warning-bg: rgba(109, 56, 255, 0.14);
  --danger: #ff4d6d;
  --danger-bg: rgba(255, 77, 109, 0.14);
  --info: #5f22ff;
  --info-bg: rgba(95, 34, 255, 0.14);

  --text-primary: #f0eaff;
  --text-secondary: #c1a8ff;
  --text-muted: #886fc4;

  --nav-height: 74px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px rgba(95, 34, 255, 0.4);
  --grad-primary: linear-gradient(135deg, #5f22ff 0%, #4800ff 100%);
  --grad-hot: linear-gradient(135deg, #5f22ff 0%, #4e00ff 100%);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL NEON GLOW PASS — pure black × electric blue ===== */
/* Subtle aurora — black dominates so the neon pops */
body::before {
  background: radial-gradient(ellipse at 15% 20%, rgba(74, 0, 255, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 10%, rgba(95, 34, 255, 0.09) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 90%, rgba(65, 0, 220, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(70, 0, 255, 0.05) 0%, transparent 50%);
}
body::after {
  background-image:
    radial-gradient(circle at 20% 25%, rgba(74, 0, 255, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(95, 34, 255, 0.07) 0%, transparent 45%);
}

/* NEW — Tron-style drifting grid over the black backdrop */
.animated-bg {
  background-image:
    linear-gradient(rgba(69, 0, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 0, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(78% 66% at 50% 38%, #000 25%, transparent 100%);
  mask-image: radial-gradient(78% 66% at 50% 38%, #000 25%, transparent 100%);
  animation: grid-drift 26s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 46px 46px, 46px 46px; }
}

/* Glowing orbs */
.animated-bg .orb { opacity: 0.26; }
.animated-bg .orb-1 { background: #4800ff; }
.animated-bg .orb-2 { background: #5f22ff; }
.animated-bg .orb-3 { background: #4400ff; }

/* Neon glow on headings, cards & primary buttons */
.section-title,
.stat-value,
.logo-text {
  text-shadow: 0 0 18px rgba(95, 34, 255, 0.55), 0 0 40px rgba(95, 34, 255, 0.25);
}

.stat-card,
.glass-card,
.catalog-card,
.product-card {
  box-shadow: 0 0 24px rgba(95, 34, 255, 0.12), inset 0 0 24px rgba(95, 34, 255, 0.05);
}
.stat-card:hover,
.catalog-card:hover,
.product-card:hover {
  box-shadow: 0 0 36px rgba(95, 34, 255, 0.3), inset 0 0 24px rgba(95, 34, 255, 0.08);
}

.btn-primary {
  background: linear-gradient(135deg, #5f22ff 0%, #4a00ff 100%);
  box-shadow: 0 0 20px rgba(95, 34, 255, 0.45), 0 4px 18px rgba(0, 0, 0, 0.35);
  text-shadow: 0 0 8px rgba(12, 0, 40, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 34px rgba(95, 34, 255, 0.75), 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* Everything neon-blue: status colors, badges, checkboxes, radios */
.badge, .status-badge { text-shadow: 0 0 10px rgba(95, 34, 255, 0.4); }
input[type="checkbox"], input[type="radio"] { accent-color: #5f22ff; }
::selection { background: rgba(95, 34, 255, 0.35); color: #fff; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5f22ff, #4c00ff);
  box-shadow: 0 0 8px rgba(95, 34, 255, 0.6);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  scrollbar-gutter: stable;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 15% 20%, rgba(75, 0, 255, 0.16) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 10%, rgba(62, 6, 212, 0.14) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 90%, rgba(65, 0, 220, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(71, 0, 255, 0.08) 0%, transparent 50%);
  animation: bg-shift 22s ease-in-out infinite;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(75, 0, 255, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(62, 6, 212, 0.12) 0%, transparent 45%);
  animation: bg-pulse 9s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes bg-shift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, -2%) rotate(1deg); }
  50% { transform: translate(-2%, 2%) rotate(-1deg); }
  75% { transform: translate(1%, 1%) rotate(0.5deg); }
}

@keyframes bg-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Floating orbs */
.animated-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.animated-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float-orb 15s ease-in-out infinite;
}

.animated-bg .orb-1 { width: 300px; height: 300px; background: #550aff; top: 10%; left: 10%; animation-delay: 0s; }
.animated-bg .orb-2 { width: 250px; height: 250px; background: #3e06d4; top: 60%; right: 10%; animation-delay: -5s; }
.animated-bg .orb-3 { width: 200px; height: 200px; background: #4600ff; bottom: 10%; left: 30%; animation-delay: -10s; }

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

/* ===== FALLING STARS / PARTICLES ===== */
.stars-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.star {
  position: absolute;
  top: -10px;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(62, 6, 212, 0.5);
  opacity: 0;
  animation: star-fall linear infinite;
}

.star::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  transform: rotate(45deg);
  transform-origin: top left;
}

.star-1 { left: 5%; animation-duration: 8s; animation-delay: 0s; }
.star-2 { left: 15%; animation-duration: 12s; animation-delay: 2s; }
.star-3 { left: 25%; animation-duration: 10s; animation-delay: 4s; }
.star-4 { left: 35%; animation-duration: 14s; animation-delay: 1s; }
.star-5 { left: 45%; animation-duration: 9s; animation-delay: 5s; }
.star-6 { left: 55%; animation-duration: 11s; animation-delay: 3s; }
.star-7 { left: 65%; animation-duration: 13s; animation-delay: 6s; }
.star-8 { left: 75%; animation-duration: 8s; animation-delay: 2s; }
.star-9 { left: 85%; animation-duration: 12s; animation-delay: 4s; }
.star-10 { left: 95%; animation-duration: 10s; animation-delay: 1s; }
.star-11 { left: 10%; animation-duration: 15s; animation-delay: 7s; }
.star-12 { left: 20%; animation-duration: 9s; animation-delay: 3s; }
.star-13 { left: 30%; animation-duration: 13s; animation-delay: 5s; }
.star-14 { left: 40%; animation-duration: 11s; animation-delay: 8s; }
.star-15 { left: 50%; animation-duration: 16s; animation-delay: 2s; }
.star-16 { left: 60%; animation-duration: 10s; animation-delay: 6s; }
.star-17 { left: 70%; animation-duration: 14s; animation-delay: 4s; }
.star-18 { left: 80%; animation-duration: 9s; animation-delay: 7s; }
.star-19 { left: 90%; animation-duration: 12s; animation-delay: 1s; }
.star-20 { left: 98%; animation-duration: 15s; animation-delay: 5s; }
.star-21 { left: 3%; animation-duration: 11s; animation-delay: 9s; }
.star-22 { left: 13%; animation-duration: 14s; animation-delay: 6s; }
.star-23 { left: 23%; animation-duration: 8s; animation-delay: 2s; }
.star-24 { left: 33%; animation-duration: 12s; animation-delay: 10s; }
.star-25 { left: 43%; animation-duration: 10s; animation-delay: 4s; }
.star-26 { left: 53%; animation-duration: 13s; animation-delay: 8s; }
.star-27 { left: 63%; animation-duration: 9s; animation-delay: 3s; }
.star-28 { left: 73%; animation-duration: 15s; animation-delay: 7s; }
.star-29 { left: 83%; animation-duration: 11s; animation-delay: 5s; }
.star-30 { left: 93%; animation-duration: 14s; animation-delay: 9s; }

@keyframes star-fall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 0.8; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Larger sparkle stars */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px #fff, 0 0 12px var(--accent);
  animation: sparkle-anim 3s ease-in-out infinite;
}

.sparkle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.sparkle-2 { top: 40%; right: 15%; animation-delay: 0.5s; }
.sparkle-3 { top: 70%; left: 20%; animation-delay: 1s; }
.sparkle-4 { top: 30%; right: 30%; animation-delay: 1.5s; }
.sparkle-5 { top: 80%; left: 50%; animation-delay: 2s; }
.sparkle-6 { top: 15%; right: 45%; animation-delay: 2.5s; }
.sparkle-7 { top: 60%; left: 85%; animation-delay: 1.2s; }
.sparkle-8 { top: 85%; right: 70%; animation-delay: 0.8s; }

@keyframes sparkle-anim {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== LAYOUT ===== */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  height: var(--nav-height);
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 0 22px var(--accent-glow);
  flex-shrink: 0;
}

.navbar-logo-text { line-height: 1.15; }
.navbar-logo-text .name {
  font-size: 16px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.navbar-logo-text .sub {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 4px 0;
}
.navbar-menu::-webkit-scrollbar { display: none; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 100px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border);
}

.nav-item.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-item .icon { font-size: 16px; }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.22), rgba(69, 0, 255, 0.14));
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
}
.navbar-wallet .wallet-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}

.badge-online {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--success); font-weight: 600;
}
.badge-online::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.navbar-user {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.navbar-user:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.avatar {
  width: 32px; height: 32px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.navbar-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 180px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.navbar-user:hover .navbar-user-dropdown,
.navbar-user:focus-within .navbar-user-dropdown { display: flex; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.dropdown-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* Mobile hamburger menu button */
.menu-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px;
  flex-shrink: 0;
}
.menu-toggle-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle-btn.active span:nth-child(2) { opacity: 0; }
.menu-toggle-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile dropdown nav menu */
.mobile-nav-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px 16px;
  border-top: 1px solid var(--border);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.mobile-nav-menu.open { display: flex; }
.mobile-nav-menu .nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 8px 4px;
}
.mobile-nav-menu .nav-item { border-radius: var(--radius-sm); padding: 12px 14px; }

/* ===== MAIN CONTENT ===== */
.main-content {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  max-width: 100%;
}

/* ===== TOPBAR (page header) ===== */
.topbar {
  height: auto;
  min-height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  position: sticky;
  top: var(--nav-height);
  z-index: 80;
  gap: 16px;
}

.topbar-title {
  font-size: 22px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.topbar-subtitle {
  font-size: 14px; color: var(--text-muted); font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.topbar > div:not(.topbar-right) { min-width: 0; flex: 1; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== PROFILE PAGE ===== */
.profile-avatar-lg {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  overflow: hidden;
  position: relative;
}

.profile-photo-edit-btn {
  position: absolute;
  bottom: 5px; right: 5px;
  width: 36px; height: 36px;
  background: var(--accent);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.profile-photo-edit-btn:hover {
  background: var(--accent-2);
  transform: scale(1.1);
}

/* ===== PAGE SECTIONS ===== */
.page-section {
  display: none;
  padding: 28px;
  flex: 1;
  animation: fadeIn 0.3s ease;
  max-width: 100%;
  margin: 0;
  width: 100%;
}
.page-section.active { display: block; }

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.section-title { font-size: 28px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 4px; font-weight: 400; }

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  min-width: 0;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.6;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), 0 0 60px rgba(146, 99, 241, 0.15);
}
.stat-card:hover::before { opacity: 1; height: 4px; }

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.stat-value {
  font-size: 28px; font-weight: 800; color: var(--text-primary); margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.stat-change { font-size: 13px; color: var(--success); margin-top: 8px; font-weight: 500; }

/* ===== CARDS ===== */
.card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.5;
}

.card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.card-title { font-size: 17px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.2px; }

/* ===== CATALOG GRID ===== */
.catalog-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-link { color: var(--accent); cursor: pointer; transition: var(--transition); font-weight: 500; }
.breadcrumb-link:hover { color: var(--accent-2); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.catalog-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.catalog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(146, 99, 241, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.catalog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow), 0 0 40px rgba(146, 99, 241, 0.2);
}

.catalog-card:hover::before { opacity: 1; }

.cat-img-wrap {
  width: 100px; height: 100px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
  position: relative;
}

.cat-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.cat-img-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(95, 34, 255, 0.2), rgba(74, 0, 255, 0.1));
  border-radius: 10px;
}

.cat-name { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.3; }
.cat-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; min-height: 34px; }

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(146, 99, 241, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow), 0 0 40px rgba(146, 99, 241, 0.2);
  transform: translateY(-3px);
}

.product-card:hover::before { opacity: 1; }

.product-img-wrap {
  width: 100%; height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}

.product-img { width: 100%; height: 100%; object-fit: cover; }

.product-name  { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.product-price { font-size: 18px; font-weight: 800; color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.product-price .currency { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.product-meta  { font-size: 11px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.discount-badge {
  display: inline-flex; align-items: center;
  background: var(--success-bg);
  color: var(--success);
  font-size: 10px; font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

/* ===== SEARCH BAR ===== */
.search-bar { position: relative; margin-bottom: 20px; }

.search-bar input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(150, 99, 255,0.15);
}

.search-bar .search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.form-label span { color: var(--danger); margin-left: 2px; }

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(146, 99, 241, 0.15);
  background: var(--bg-card);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-input::placeholder { color: var(--text-muted); }

/* ===== ADMIN FORM GRID ===== */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: end;
}

@media (max-width: 768px) {
  .admin-form-grid { grid-template-columns: 1fr; }
}

/* ===== WALLET FORM STYLING ===== */
.wallet-form-container { padding: 8px 0; }

.wallet-preview-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease;
}

.wallet-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-preview-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wallet-preview-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--success);
  font-family: 'JetBrains Mono', monospace;
}

.wallet-preview-warning {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--danger);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-wrapper .form-input {
  padding-right: 50px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
}

.amount-currency {
  position: absolute;
  right: 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.conversion-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.conversion-label { color: var(--text-muted); font-weight: 500; }
.conversion-amount {
  color: var(--accent);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.btn-icon { margin-right: 8px; font-size: 16px; }

/* ===== WALLET GRID ===== */
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 8px 0;
}

.wallet-user-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.wallet-user-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.wallet-user-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: var(--transition);
}
.wallet-user-card:hover::before { opacity: 1; }

.wallet-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wallet-card-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.wallet-card-info { flex: 1; min-width: 0; }
.wallet-card-name {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wallet-card-email {
  font-size: 12px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.wallet-card-balance {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}

.wallet-balance-label {
  font-size: 11px; color: var(--text-muted); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px;
}

.wallet-balance-amount {
  font-size: 24px; font-weight: 800; color: var(--success);
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--success), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wallet-card-actions { display: flex; gap: 8px; }
.wallet-card-actions .btn { flex: 1; font-size: 12px; padding: 8px 12px; }

.wallet-card-status {
  position: absolute; top: 16px; right: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
.wallet-card-status.inactive { background: var(--text-muted); box-shadow: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(146, 99, 241, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(146, 99, 241, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.btn-secondary:hover {
  border-color: var(--border-bright);
  color: var(--text-primary);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #059669);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: #fff;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== PAYMENT METHOD BUTTONS ===== */
.payment-method-btn {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 80px;
}

.payment-method-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.payment-method-btn.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(95, 34, 255, 0.2), rgba(74, 0, 255, 0.1));
  box-shadow: var(--shadow-glow);
}

.payment-method-btn .icon { font-size: 24px; margin-bottom: 4px; }

/* ===== PLAYER VALIDATION RESULT ===== */
.player-result {
  background: var(--success-bg);
  border: 1px solid rgba(34,211,165,0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.player-result.show { display: flex; }
.player-result.error {
  background: var(--danger-bg);
  border-color: rgba(244,63,94,0.3);
}
.player-result.warn {
  background: rgba(109, 56, 255, 0.08);
  border-color: rgba(109, 56, 255, 0.4);
}

.btn-skip-validation {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  background: rgba(109, 56, 255, 0.12);
  color: #6d38ff;
  border: 1px dashed rgba(109, 56, 255, 0.45);
}
.btn-skip-validation:hover {
  background: rgba(109, 56, 255, 0.22);
  border-color: #6d38ff;
  color: #6d38ff;
  transform: translateY(-1px);
}

.confirm-note {
  font-size: 12px;
  line-height: 1.6;
  padding: 12px;
  border-radius: 10px;
  background: rgba(109, 56, 255, 0.1);
  border: 1px solid rgba(109, 56, 255, 0.35);
  color: #6d38ff;
}

.player-avatar-lg {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--success), #16a085);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.player-info .player-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.player-info .player-meta { font-size: 12px; color: var(--text-muted); }

/* ===== ORDER PRICE DISPLAY ===== */
.price-display {
  background: linear-gradient(135deg, rgba(150, 99, 255,0.1), rgba(164, 139, 250,0.05));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-label { font-size: 13px; color: var(--text-muted); }
.price-amount { font-size: 28px; font-weight: 800; color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.price-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== ORDER SUMMARY ===== */
.order-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 16px 0;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.order-summary-row:last-child { border-bottom: none; }
.order-summary-row .key { color: var(--text-muted); }
.order-summary-row .val { color: var(--text-primary); font-weight: 600; }
.order-summary-row.total .val { color: var(--accent); font-size: 16px; font-family: 'JetBrains Mono', monospace; }

/* ===== TABLE ===== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-sm); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }

thead th {
  background: var(--bg-secondary);
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
  cursor: pointer;
}
tbody tr:hover { background: var(--bg-card-hover); }

tbody td {
  padding: 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}

tbody td strong { color: var(--text-primary); }

/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-completed { background: var(--success-bg); color: var(--success); }
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-refunded { background: var(--info-bg); color: var(--info); }
.badge-partial { background: rgba(164, 139, 250,0.1); color: var(--accent-2); }
.badge-failed { background: var(--danger-bg); color: var(--danger); }

/* ===== KIND BADGES ===== */
.kind-badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.kind-badge--sb {
  background: linear-gradient(135deg, rgba(95, 34, 255,0.18), rgba(76, 0, 255,0.18));
  color: var(--accent-2);
  border: 1px solid rgba(109, 56, 255,0.3);
}
.order-row--sb {
  background: linear-gradient(90deg, rgba(95, 34, 255,0.05), rgba(76, 0, 255,0.03) 50%, transparent);
}
.order-row--sb:hover { background: rgba(95, 34, 255,0.08); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.page-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== FILTERS BAR ===== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filters-bar .form-select,
.filters-bar .form-input {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  padding: 9px 12px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: calc(100% - 40px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.show .modal { transform: scale(1) translateY(0); }

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.modal-title { font-size: 16px; font-weight: 700; }

.modal-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--danger-bg); color: var(--danger); border-color: transparent; }

.modal-body { padding: 24px; }
.modal-footer { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.modal-footer .btn { flex: 1; justify-content: center; }

/* ===== LOADING / SPINNER ===== */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-state { text-align: center; padding: 40px; color: var(--text-muted); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 14px; }
.empty-state p { font-size: 14px; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  top: 20px; right: 20px; left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  min-width: 280px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
  border-left: 4px solid;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast-success { background: var(--bg-card); border-color: var(--success); }
.toast-error { background: var(--bg-card); border-color: var(--danger); }
.toast-info { background: var(--bg-card); border-color: var(--accent); }
.toast-warning { background: var(--bg-card); border-color: var(--warning); }

.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-text .toast-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.toast-text .toast-msg { font-size: 12px; color: var(--text-muted); }

/* ===== ORDER FORM WIZARD ===== */
.order-wizard {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

.wizard-steps { display: flex; gap: 0; margin-bottom: 24px; }

.wizard-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 0;
}

.wizard-step::before {
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  width: 100%; height: 2px;
  background: var(--border);
  z-index: 0;
}
.wizard-step:last-child::before { display: none; }

.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: var(--text-muted);
  position: relative; z-index: 1;
  transition: var(--transition);
  flex-shrink: 0;
}

.wizard-step.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.wizard-step.active .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(150, 99, 255,0.4);
}

.step-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.wizard-step.active .step-label { color: var(--accent); }

/* ===== VOUCHER DISPLAY ===== */
.voucher-grid { display: flex; flex-direction: column; gap: 8px; }
.voucher-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ===== TOPUP MODAL STYLES ===== */
#topup-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
#topup-modal-overlay.show { opacity: 1; pointer-events: all; }

#topup-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: calc(100% - 40px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}
#topup-modal-overlay.show #topup-modal { transform: scale(1) translateY(0); }

.topup-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grad-primary);
}

.topup-modal-header .modal-title {
  color: #fff;
  font-weight: 700;
}

.topup-modal-header .modal-close {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.topup-modal-header .modal-close:hover {
  background: var(--danger);
  border-color: transparent;
}

#topup-modal-body { padding: 24px; }

/* Topup steps */
#topup-steps { display: flex; gap: 0; margin-bottom: 24px; }
.topup-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 0;
}

/* Validation status */
#topup-validation-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#topup-validation-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

#topup-validation-status.success {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.4);
}
#topup-validation-status.error {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Mobile navbar responsive */
@media (max-width: 1200px) {
  .navbar-menu .nav-item { padding: 8px 10px; font-size: 12px; }
  .navbar-wallet { padding: 5px 10px; }
  .navbar-wallet .wallet-label { display: none; }
}

@media (max-width: 900px) {
  .navbar-menu { display: none; }
  .menu-toggle-btn { display: flex; }
  .mobile-nav-menu { display: none; }
  .mobile-nav-menu.open { display: flex; }
  .badge-online { display: none; }
  .navbar-wallet .wallet-label { display: inline; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .page-section { padding: 28px 32px; max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

@media (max-width: 900px) {
  .order-wizard { grid-template-columns: 1fr; }
  .page-section { padding: 24px 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .grid-2-col { grid-template-columns: 1fr; }
}

/* ===== MOBILE SHAKE FIX ===== */
@media (max-width: 768px) {
  body::before,
  body::after {
    animation: none !important;
  }
  .animated-bg .orb { animation: none !important; }
  .star, .sparkle { animation: none !important; opacity: 0.3; }
  .wallet-card::before { animation: none !important; }

  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-section { padding: 20px; }

  .topbar { padding: 12px 16px; gap: 10px; }
  .topbar-subtitle { display: none; }
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 13px; }
  .card { padding: 20px; }

  .filters-bar { flex-direction: column; align-items: stretch; }
  .filters-bar .form-select,
  .filters-bar .form-input { max-width: 100%; min-width: 0; width: 100%; }
  .section-header { flex-wrap: wrap; gap: 12px; }
  .topbar-title { font-size: 17px; }
}

@media (max-width: 480px) {
  .page-section { padding: 16px 14px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .navbar-inner { padding: 0 12px; }
  .navbar-logo-text .sub { display: none; }
  .navbar-user span { display: none; }
  .navbar-user { padding: 4px 8px; }
}

/* ===== CHATBOT STYLES ===== */
.chatbot-toggle-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(146, 99, 241, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.chatbot-toggle-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(146, 99, 241, 0.6);
}

.chatbot-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-height: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-bottom: 1px solid var(--border);
}

.chatbot-header-left { display: flex; align-items: center; gap: 12px; }
.chatbot-icon { font-size: 24px; }
.chatbot-title { font-weight: 600; font-size: 16px; color: white; }
.chatbot-header-right { display: flex; gap: 8px; }

.chatbot-header-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chatbot-header-btn:hover { background: rgba(255, 255, 255, 0.3); }

.chatbot-mode-switch {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.chatbot-mode-btn {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.chatbot-mode-btn:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.chatbot-mode-btn.active { background: var(--accent); color: white; }

.chatbot-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot-message { display: flex; gap: 10px; align-items: flex-start; }

.chatbot-message-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chatbot-message-content {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chatbot-user-message .chatbot-message-content {
  background: var(--accent);
  color: white;
  border-radius: var(--radius) var(--radius) 0 var(--radius);
}

.chatbot-ai-message .chatbot-message-content,
.chatbot-admin-message .chatbot-message-content {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: var(--radius) var(--radius) var(--radius) 0;
}

.chatbot-message.loading .chatbot-message-content { opacity: 0.7; font-style: italic; }

.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.chatbot-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(146, 99, 241, 0.1); }
.chatbot-input::placeholder { color: var(--text-muted); }

.chatbot-send-btn {
  padding: 10px 16px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-send-btn:hover { background: var(--accent-2); }

.chatbot-warning-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border: 1px solid var(--warning);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  z-index: 2000;
  max-width: 400px;
  width: 90%;
}

.warning-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.warning-icon { font-size: 48px; }
.warning-message { font-size: 16px; color: var(--text-primary); line-height: 1.5; }

.warning-close-btn {
  padding: 10px 20px;
  background: var(--warning);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.warning-close-btn:hover { background: #d97706; }

@media (max-width: 768px) {
  .chatbot-window { width: calc(100% - 48px); max-height: 70vh; bottom: 80px; }
  .chatbot-toggle-button { bottom: 80px; right: 20px; }
}

@media (max-width: 480px) {
  .section-header { flex-direction: column; align-items: stretch; margin-bottom: 20px; padding-bottom: 16px; }
  .section-header > button { width: 100%; justify-content: center; }
  .section-title { font-size: 20px; }
  .card { padding: 16px; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-header > button { width: 100%; justify-content: center; }
  .cat-img-wrap { width: 80px; height: 80px; }
  .cat-img-fallback { font-size: 24px; }
  .stat-icon { width: 40px; height: 40px; font-size: 20px; }
  .stat-value { font-size: 22px; }
  .grid-2-col { grid-template-columns: 1fr !important; }
  table { font-size: 12px; }
  thead th, tbody td { padding: 10px 8px; }
  .card .btn { width: 100%; justify-content: center; }
  .card .btn-sm { width: auto; }
  .step-circle { width: 28px; height: 28px; font-size: 12px; }
  .step-label { font-size: 10px; }
  .wizard-step::before { top: 14px; }
  .price-display { flex-direction: column; align-items: flex-start; gap: 10px; }
  .voucher-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .voucher-item .copy-btn { width: 100%; text-align: center; }
  .order-summary-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .topbar-user { padding: 4px; }
  .topbar-user span { display: none; }
  .modal-body { padding: 18px; }
  .modal-header { padding: 16px 18px; }
  .player-result { flex-direction: column; text-align: center; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
  .wallet-preview-card { padding: 12px; }
  .conversion-display { font-size: 12px; padding: 8px 12px; }
  .wizard-steps { gap: 4px; }
  .step-circle { width: 26px; height: 26px; font-size: 11px; }
  .step-label { font-size: 9px; }
  .stat-value[style*="font-size:14px"] { font-size: 12px !important; }
}

/* ===== GAME ACCOUNTS ===== */
.game-accounts-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.game-account-game-card {
  cursor: pointer;
  padding: 20px 16px 16px;
  text-align: center;
  transition: var(--transition);
}
.game-account-game-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.game-account-game-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: rgba(146, 99, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
}
.game-account-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.game-account-game-name { font-weight: 700; font-size: 15px; }
.game-account-game-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.game-account-game-meta {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  margin-top: 8px;
}

.game-account-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  flex-wrap: wrap;
}
.game-account-item-title { font-weight: 700; font-size: 15px; }
.game-account-item-details {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.game-account-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

/* Admin layout */
.admin-game-accounts-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .admin-game-accounts-layout { grid-template-columns: 1fr; }
}

.admin-games-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  max-height: 560px;
  overflow-y: auto;
}

.admin-game-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
}
.admin-game-item:hover { border-color: var(--border-bright); }
.admin-game-item.selected {
  border-color: var(--accent);
  background: rgba(146, 99, 241, 0.08);
  box-shadow: var(--shadow-glow);
}

.admin-game-thumb {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.admin-game-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.game-image-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 16px;
  border: 2px dashed var(--border-bright);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
}
.game-image-upload-box:hover {
  border-color: var(--accent);
  background: rgba(146, 99, 241, 0.06);
}
.game-image-upload-box img {
  max-width: 100%;
  max-height: 160px;
  border-radius: 8px;
  object-fit: contain;
}

.account-images-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 16px;
  border: 2px dashed var(--border-bright);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
}
.account-images-upload-box:hover {
  border-color: var(--accent);
  background: rgba(146, 99, 241, 0.06);
}

.account-images-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.account-image-thumb {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.account-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-image-remove:hover { background: var(--danger); }

.acct-images-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.acct-images-cell img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.game-account-item-thumbs {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.game-account-item-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-account-item-count {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 1px 5px;
  border-radius: 8px;
  line-height: 1.4;
}

.game-account-img-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.game-account-img-strip img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ===== TOPUP MODAL STYLES ===== */
#topup-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
#topup-modal-overlay.show { opacity: 1; pointer-events: all; }

#topup-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: calc(100% - 40px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}
#topup-modal-overlay.show #topup-modal { transform: scale(1) translateY(0); }

.topup-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grad-primary);
}

.topup-modal-header .modal-title {
  color: #fff;
  font-weight: 700;
}

.topup-modal-header .modal-close {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.topup-modal-header .modal-close:hover {
  background: var(--danger);
  border-color: transparent;
}

#topup-modal-body { padding: 24px; }

/* Topup steps */
#topup-steps { display: flex; gap: 0; margin-bottom: 24px; }
.topup-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 0;
}

/* Validation status */
#topup-validation-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#topup-validation-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

#topup-validation-status.success {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.4);
}
#topup-validation-status.error {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.4);
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 1200px) {
  .navbar-menu .nav-item { padding: 8px 10px; font-size: 12px; }
  .navbar-wallet { padding: 5px 10px; }
  .navbar-wallet .wallet-label { display: none; }
}

@media (max-width: 900px) {
  .navbar-menu { display: none; }
  .menu-toggle-btn { display: flex; }
  .mobile-nav-menu { display: none; }
  .mobile-nav-menu.open { display: flex; }
  .badge-online { display: none; }
  .navbar-wallet .wallet-label { display: inline; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .page-section { padding: 28px 32px; max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

@media (max-width: 900px) {
  .order-wizard { grid-template-columns: 1fr; }
  .page-section { padding: 24px 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .grid-2-col { grid-template-columns: 1fr; }
}

/* ===== MOBILE SHAKE FIX ===== */
@media (max-width: 768px) {
  body::before,
  body::after {
    animation: none !important;
  }
  .animated-bg .orb { animation: none !important; }
  .star, .sparkle { animation: none !important; opacity: 0.3; }
  .wallet-card::before { animation: none !important; }

  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-section { padding: 20px; }

  .topbar { padding: 12px 16px; gap: 10px; }
  .topbar-subtitle { display: none; }
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 13px; }
  .card { padding: 20px; }

  .filters-bar { flex-direction: column; align-items: stretch; }
  .filters-bar .form-select,
  .filters-bar .form-input { max-width: 100%; min-width: 0; width: 100%; }
  .section-header { flex-wrap: wrap; gap: 12px; }
  .topbar-title { font-size: 17px; }
}

@media (max-width: 480px) {
  .page-section { padding: 16px 14px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .navbar-inner { padding: 0 12px; }
  .navbar-logo-text .sub { display: none; }
  .navbar-user span { display: none; }
  .navbar-user { padding: 4px 8px; }
}

/* ===== CHATBOT STYLES ===== */
.chatbot-toggle-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(146, 99, 241, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.chatbot-toggle-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(146, 99, 241, 0.6);
}

.chatbot-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-height: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-bottom: 1px solid var(--border);
}

.chatbot-header-left { display: flex; align-items: center; gap: 12px; }
.chatbot-icon { font-size: 24px; }
.chatbot-title { font-weight: 600; font-size: 16px; color: white; }
.chatbot-header-right { display: flex; gap: 8px; }

.chatbot-header-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chatbot-header-btn:hover { background: rgba(255, 255, 255, 0.3); }

.chatbot-mode-switch {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.chatbot-mode-btn {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.chatbot-mode-btn:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.chatbot-mode-btn.active { background: var(--accent); color: white; }

.chatbot-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chatbot-message-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chatbot-message-content {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chatbot-user-message .chatbot-message-content {
  background: var(--accent);
  color: white;
  border-radius: var(--radius) var(--radius) 0 var(--radius);
}

.chatbot-ai-message .chatbot-message-content,
.chatbot-admin-message .chatbot-message-content {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: var(--radius) var(--radius) var(--radius) 0;
}

.chatbot-message.loading .chatbot-message-content { opacity: 0.7; font-style: italic; }

.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.chatbot-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(146, 99, 241, 0.1); }
.chatbot-input::placeholder { color: var(--text-muted); }

.chatbot-send-btn {
  padding: 10px 16px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-send-btn:hover { background: var(--accent-2); }

.chatbot-warning-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border: 1px solid var(--warning);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  z-index: 2000;
  max-width: 400px;
  width: 90%;
}

.warning-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.warning-icon { font-size: 48px; }
.warning-message { font-size: 16px; color: var(--text-primary); line-height: 1.5; }

.warning-close-btn {
  padding: 10px 20px;
  background: var(--warning);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.warning-close-btn:hover { background: #d97706; }

@media (max-width: 768px) {
  .chatbot-window { width: calc(100% - 48px); max-height: 70vh; bottom: 80px; }
  .chatbot-toggle-button { bottom: 80px; right: 20px; }
}

@media (max-width: 480px) {
  .section-header { flex-direction: column; align-items: stretch; margin-bottom: 20px; padding-bottom: 16px; }
  .section-header > button { width: 100%; justify-content: center; }
  .section-title { font-size: 20px; }
  .card { padding: 16px; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-header > button { width: 100%; justify-content: center; }
  .cat-img-wrap { width: 80px; height: 80px; }
  .cat-img-fallback { font-size: 24px; }
  .stat-icon { width: 40px; height: 40px; font-size: 20px; }
  .stat-value { font-size: 22px; }
  .grid-2-col { grid-template-columns: 1fr !important; }
  table { font-size: 12px; }
  thead th, tbody td { padding: 10px 8px; }
  .card .btn { width: 100%; justify-content: center; }
  .card .btn-sm { width: auto; }
  .step-circle { width: 28px; height: 28px; font-size: 12px; }
  .step-label { font-size: 10px; }
  .wizard-step::before { top: 14px; }
  .price-display { flex-direction: column; align-items: flex-start; gap: 10px; }
  .voucher-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .voucher-item .copy-btn { width: 100%; text-align: center; }
  .order-summary-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .topbar-user { padding: 4px; }
  .topbar-user span { display: none; }
  .modal-body { padding: 18px; }
  .modal-header { padding: 16px 18px; }
  .player-result { flex-direction: column; text-align: center; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
  .wallet-preview-card { padding: 12px; }
  .conversion-display { font-size: 12px; padding: 8px 12px; }
  .wizard-steps { gap: 4px; }
  .step-circle { width: 26px; height: 26px; font-size: 11px; }
  .step-label { font-size: 9px; }
  .stat-value[style*="font-size:14px"] { font-size: 12px !important; }
}

/* ===== GLOW EFFECT ===== */
.glow-accent { box-shadow: 0 0 30px var(--accent-glow); }

/* ===== CODE MONO ===== */
.mono { font-family: 'JetBrains Mono', monospace; }

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* ===== COLOR ICON BACKGROUNDS ===== */
.ic-purple { background: rgba(150, 99, 255,0.15); color: var(--accent); }
.ic-green { background: rgba(34,211,165,0.12); color: var(--success); }
.ic-yellow { background: rgba(245,158,11,0.12); color: var(--warning); }
.ic-blue { background: rgba(110, 56, 248,0.12); color: var(--info); }
.ic-pink { background: rgba(244,63,94,0.12); color: var(--danger); }

/* ===== TOUCH DEVICE FIXES ===== */
@media (hover: none) {
  .stat-card:hover,
  .card:hover,
  .catalog-card:hover,
  .product-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-success:hover,
  .btn-danger:hover {
    transform: none;
  }
  .stat-card:hover::before { height: 3px; opacity: 0.6; }
  .card:hover::before { opacity: 0.5; }
}

/* =========================================================
   GAME CATALOG HUD — neon blue reference design (example.png)
   ========================================================= */

/* HUD is the big-level view; explorer appears on drill-down */
#page-catalog.at-big-level #catalog-explorer { display: none; }

.game-catalog-hud {
  --gch-notch: 26px;
  --gch-clip: polygon(
    var(--gch-notch) 0, calc(100% - var(--gch-notch)) 0, 100% var(--gch-notch),
    100% calc(100% - var(--gch-notch)), calc(100% - var(--gch-notch)) 100%,
    var(--gch-notch) 100%, 0 calc(100% - var(--gch-notch)), 0 var(--gch-notch)
  );
  position: relative;
  margin-bottom: 30px;
}

/* Ambient glow behind the frame (not clipped) */
.game-catalog-hud::before {
  content: '';
  position: absolute;
  inset: -30px -10px;
  background: radial-gradient(55% 60% at 50% 42%, rgba(74, 0, 255, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Rotating energy beam sweeping around the clipped border */
@property --gch-beam {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes gch-beam-spin {
  to { --gch-beam: 360deg; }
}
.game-catalog-hud::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from var(--gch-beam) at 50% 50%,
      rgba(69, 0, 255, 0) 0deg,
      rgba(69, 0, 255, 0.72) 34deg,
      rgba(171, 140, 255, 0.26) 52deg,
      rgba(69, 0, 255, 0) 88deg,
      rgba(69, 0, 255, 0) 208deg,
      rgba(73, 0, 255, 0.36) 244deg,
      rgba(69, 0, 255, 0) 282deg,
      rgba(69, 0, 255, 0) 360deg),
    linear-gradient(150deg, rgba(69, 0, 255, 0.48), rgba(53, 0, 180, 0.18) 38%, rgba(14, 0, 45, 0.9) 58%, rgba(72, 0, 255, 0.32));
  clip-path: var(--gch-clip);
  z-index: 0;
  animation: gch-beam-spin 9s linear infinite;
}

.gch-inner {
  position: relative;
  z-index: 1;
  margin: 2px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(65, 0, 220, 0.16), transparent 55%),
    linear-gradient(180deg, #060110 0%, #000000 100%);
  clip-path: var(--gch-clip);
  padding-bottom: 10px;
}

/* Glowing corner brackets framing the notched corners */
.gch-corner {
  position: absolute;
  width: 62px;
  height: 62px;
  z-index: 2;
  pointer-events: none;
}
.gch-corner-tl { top: -2px; left: -2px; border-top: 2px solid #733fff; border-left: 2px solid #733fff; filter: drop-shadow(0 0 5px rgba(69, 0, 255, 0.5)); }
.gch-corner-tr { top: -2px; right: -2px; border-top: 2px solid #733fff; border-right: 2px solid #733fff; filter: drop-shadow(0 0 5px rgba(69, 0, 255, 0.5)); }
.gch-corner-bl { bottom: -2px; left: -2px; border-bottom: 2px solid #733fff; border-left: 2px solid #733fff; filter: drop-shadow(0 0 5px rgba(69, 0, 255, 0.5)); }
.gch-corner-br { bottom: -2px; right: -2px; border-bottom: 2px solid #733fff; border-right: 2px solid #733fff; filter: drop-shadow(0 0 5px rgba(69, 0, 255, 0.5)); }

/* ── HUD header ── */
.gch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(69, 0, 255, 0.18);
}

.gch-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: #f0eaff;
  text-shadow: 0 0 14px rgba(69, 0, 255, 0.45);
  white-space: nowrap;
}

.gch-title-icon {
  display: grid;
  place-items: center;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(69, 0, 255, 0.55));
}

.gch-more-btn {
  --gch-btn-notch: 10px;
  --gch-btn-clip: polygon(
    var(--gch-btn-notch) 0, 100% 0, 100% calc(100% - var(--gch-btn-notch)),
    calc(100% - var(--gch-btn-notch)) 100%, 0 100%, 0 var(--gch-btn-notch)
  );
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: linear-gradient(135deg, rgba(69, 0, 255, 0.75), rgba(65, 0, 220, 0.35));
  clip-path: var(--gch-btn-clip);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #e4d9ff;
  transition: var(--transition);
}
.gch-more-btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #0a031a, #000000);
  clip-path: var(--gch-btn-clip);
  z-index: 0;
}
.gch-more-btn > * { position: relative; z-index: 1; }
.gch-more-btn:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(69, 0, 255, 0.6);
  background: linear-gradient(135deg, rgba(68, 0, 255, 0.95), rgba(75, 0, 255, 0.5));
  box-shadow: 0 0 16px rgba(71, 0, 255, 0.28);
}
.gch-more-icon { font-size: 15px; filter: drop-shadow(0 0 5px rgba(69, 0, 255, 0.5)); }
.gch-more-arrow { font-size: 16px; line-height: 1; color: var(--accent); }

/* ── Featured banner carousel ── */
.gch-featured {
  position: relative;
  margin: 20px 24px 0;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(69, 0, 255, 0.26);
  background: linear-gradient(120deg, #050110 0%, #000000 55%, #0d0226 100%);
  box-shadow: inset 0 0 90px rgba(39, 0, 130, 0.18), 0 0 24px rgba(72, 0, 255, 0.1);
}

.gch-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.gch-slide.active { opacity: 1; visibility: visible; }

.gch-slide-art {
  position: absolute;
  top: 0; right: 0;
  width: 74%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}

.gch-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #000000 6%,
    rgba(3, 0, 10, 0.95) 30%,
    rgba(4, 0, 12, 0.45) 58%,
    rgba(5, 0, 18, 0.12) 100%);
}

.gch-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 36px 44px;
  max-width: 58%;
}

.gch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ddcfff;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.28), rgba(39, 0, 130, 0.22));
  border: 1px solid rgba(70, 0, 255, 0.5);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  text-shadow: 0 0 10px rgba(70, 0, 255, 0.6);
}
.gch-badge .star { color: var(--accent); filter: drop-shadow(0 0 5px rgba(69, 0, 255, 0.55)); }

.gch-slide-title {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 26px rgba(72, 0, 255, 0.42), 0 3px 14px rgba(0, 0, 0, 0.85);
}

.gch-slide-desc {
  font-size: 15px;
  color: var(--text-secondary);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.gch-cta {
  --gch-btn-notch: 11px;
  --gch-btn-clip: polygon(
    var(--gch-btn-notch) 0, 100% 0, 100% calc(100% - var(--gch-btn-notch)),
    calc(100% - var(--gch-btn-notch)) 100%, 0 100%, 0 var(--gch-btn-notch)
  );
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 13px 26px;
  background: linear-gradient(135deg, rgba(69, 0, 255, 0.85), rgba(65, 0, 220, 0.4));
  clip-path: var(--gch-btn-clip);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #f0eaff;
  transition: var(--transition);
}
.gch-cta::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, rgba(14, 4, 38, 0.95), rgba(3, 0, 8, 0.98));
  clip-path: var(--gch-btn-clip);
  z-index: 0;
}
.gch-cta > * { position: relative; z-index: 1; }
.gch-cta .arr { color: var(--accent); font-size: 17px; line-height: 1; }
.gch-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(68, 0, 255, 1), rgba(74, 0, 255, 0.55));
  box-shadow: 0 0 20px rgba(70, 0, 255, 0.32);
  text-shadow: 0 0 10px rgba(68, 0, 255, 0.6);
}

/* Carousel dots */
.gch-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 4px;
}
.gch-dot {
  width: 26px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: rgba(74, 0, 255, 0.22);
  cursor: pointer;
  transition: var(--transition);
}
.gch-dot:hover { background: rgba(72, 0, 255, 0.45); }
.gch-dot.active {
  background: var(--accent);
  box-shadow: 0 0 7px rgba(69, 0, 255, 0.55);
}

/* ── Game cards grid (rounded cards, reference style) ── */
.game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 18px;
  padding: 20px 24px 20px;
}

/* Inner grids — one per labelled section (Game Top-Up / Gift Cards). */
.game-card-grid-inner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 18px;
}

/* ── Catalog section labels (Game Top-Up / Gift Cards & Vouchers) ── */
.gch-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 -6px;
  padding: 4px 2px;
  font: 700 15px/1.2 'Inter', sans-serif;
  letter-spacing: 0.06em;
  color: #f0eaff;
  text-shadow: 0 0 12px rgba(72, 0, 255, 0.45);
}
.gch-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(72, 0, 255, 0.45), rgba(72, 0, 255, 0.05));
}
.gch-section-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(71, 0, 255, 0.6));
}
.gch-section-count {
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.1em;
  color: #af8fff;
  background: rgba(74, 0, 255, 0.14);
  border: 1px solid rgba(72, 0, 255, 0.35);
  border-radius: 999px;
  padding: 3px 9px;
}
.gch-more-hint {
  grid-column: 1 / -1;
  text-align: center;
  font: 500 12.5px/1.4 'Inter', sans-serif;
  color: rgba(188, 160, 255, 0.75);
  padding: 6px 0 2px;
}

/* ── Game cards grid (rounded cards, reference style) ── */
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b031d 0%, #000000 100%);
  border: 1px solid rgba(72, 0, 255, 0.24);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
  outline: none;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(69, 0, 255, 0.6);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.55), 0 0 18px rgba(72, 0, 255, 0.2);
}

.game-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(69, 0, 255, 0.26);
}

/* Shine sweep gliding across the card on hover */
.game-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(105deg,
    transparent,
    rgba(186, 160, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(186, 160, 255, 0.14) 55%,
    transparent);
  transform: rotate(8deg);
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 3;
}
.game-card:hover::after { left: 130%; }

.game-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #080216, #000000);
  overflow: hidden;
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card-img { transform: scale(1.07); }

.game-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 46%, rgba(4, 0, 14, 0.96) 100%);
  pointer-events: none;
}

.game-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(70, 0, 255, 0.55);
  background:
    radial-gradient(80% 80% at 50% 20%, rgba(65, 0, 220, 0.2), transparent 70%),
    linear-gradient(135deg, rgba(75, 0, 255, 0.16), rgba(69, 0, 255, 0.06));
  z-index: 0;
}
.game-card-img ~ .game-card-fallback { display: none; }

.game-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.game-card-badge.badge-popular {
  color: #eae2ff;
  background: rgba(70, 0, 235, 0.4);
  border: 1px solid rgba(71, 0, 255, 0.5);
  box-shadow: 0 0 8px rgba(74, 0, 255, 0.24);
}
.game-card-badge.badge-new {
  color: #baffea;
  background: rgba(0, 200, 160, 0.18);
  border: 1px solid rgba(0, 255, 190, 0.4);
}

.game-card-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 2px 16px 16px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.game-card-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #f6f2ff;
  line-height: 1.28;
  text-shadow: 0 0 14px rgba(74, 0, 255, 0.25);
}

.game-card-desc {
  font-size: 12.5px;
  color: #947fc8;
  line-height: 1.45;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}

.game-card-cta {
  --gch-btn-notch: 8px;
  --gch-btn-clip: polygon(
    var(--gch-btn-notch) 0, 100% 0, 100% calc(100% - var(--gch-btn-notch)),
    calc(100% - var(--gch-btn-notch)) 100%, 0 100%, 0 var(--gch-btn-notch)
  );
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 14px;
  background: linear-gradient(135deg, rgba(69, 0, 255, 0.6), rgba(65, 0, 220, 0.3));
  clip-path: var(--gch-btn-clip);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #d1bfff;
  white-space: nowrap;
  transition: var(--transition);
}
.game-card-cta::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #0e0426, #000000);
  clip-path: var(--gch-btn-clip);
  z-index: 0;
}
.game-card-cta > * { position: relative; z-index: 1; }
.game-card-cta .arr { color: var(--accent); font-size: 13px; line-height: 1; }
.game-card:hover .game-card-cta {
  color: #fff;
  background: linear-gradient(135deg, rgba(68, 0, 255, 0.95), rgba(74, 0, 255, 0.5));
  text-shadow: 0 0 8px rgba(68, 0, 255, 0.5);
  box-shadow: 0 0 12px rgba(70, 0, 255, 0.24);
}

/* ── GAME CATALOG HUD responsive ── */
@media (max-width: 900px) {
  .gch-featured { min-height: 360px; }
  .gch-slide-content { max-width: 100%; padding: 26px 28px; }
  .gch-slide-art {
    width: 100%;
    opacity: 0.4;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .gch-slide-shade {
    background: linear-gradient(180deg, rgba(3, 0, 10, 0.25) 30%, rgba(3, 0, 8, 0.9) 100%);
  }
}

@media (max-width: 560px) {
  .game-catalog-hud { --gch-notch: 18px; }
  .gch-corner { width: 44px; height: 44px; }
  .gch-header { padding: 14px 16px; gap: 10px; }
  .gch-title { font-size: 13px; letter-spacing: 2.5px; gap: 9px; }
  .gch-more-btn { padding: 9px 12px; letter-spacing: 1.2px; }
  .gch-more-label { display: none; }
  .gch-featured { margin: 14px 14px 0; min-height: 360px; }
  .gch-slide-content { padding: 22px 20px; gap: 12px; }
  .gch-slide-title { font-size: 26px; }
  .game-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 12px;
    padding: 14px 14px 14px;
  }
  .game-card-grid-inner {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 12px;
  }
  .gch-section-label { font-size: 13px; margin-top: 2px; }
  .game-card-body { padding: 2px 12px 12px; }
  .game-card-name { font-size: 13.5px; }
  .game-card-desc { font-size: 11px; min-height: 32px; }
  .game-card-cta { padding: 8px 10px; font-size: 9px; letter-spacing: 1px; }
}

/* =========================================================
   NEON BLUE THEME OVERRIDES — purge leftover purple/indigo
   accents so the whole app matches the neon blue reference
   ========================================================= */

.stat-card:hover { box-shadow: var(--shadow-glow), 0 0 60px rgba(72, 0, 255, 0.16); }

.catalog-card,
.product-card { border-radius: 16px; }

.catalog-card::before,
.product-card::before { background: linear-gradient(135deg, rgba(69, 0, 255, 0.08), transparent); }

.catalog-card:hover,
.product-card:hover { box-shadow: var(--shadow-glow), 0 0 40px rgba(72, 0, 255, 0.22); }

.cat-img-wrap { border-radius: 12px; border-color: rgba(72, 0, 255, 0.35); }

.cat-img-fallback { background: linear-gradient(135deg, rgba(75, 0, 255, 0.22), rgba(69, 0, 255, 0.1)); }

.form-input:focus,
.form-select:focus { box-shadow: 0 0 0 3px rgba(72, 0, 255, 0.16); }

.payment-method-btn.selected { background: linear-gradient(135deg, rgba(75, 0, 255, 0.22), rgba(69, 0, 255, 0.1)); }

.chatbot-toggle-button { box-shadow: 0 4px 20px rgba(74, 0, 255, 0.4); }
.chatbot-toggle-button:hover { box-shadow: 0 6px 30px rgba(71, 0, 255, 0.6); }

.chatbot-input:focus { box-shadow: 0 0 0 3px rgba(72, 0, 255, 0.12); }

.game-account-game-icon { background: rgba(74, 0, 255, 0.12); }

.admin-game-item.selected { background: rgba(74, 0, 255, 0.08); }

.game-image-upload-box:hover,
.account-images-upload-box:hover { background: rgba(74, 0, 255, 0.06); }

/* ══════════════════════════════════════════════════════════════
   NEON BLUE LIGHT PASS — whole-app glow + GAME PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── 1. GAME PAGE (dedicated detail page opened from the HUD) ── */
.gamepage-wrap { max-width: 1280px; margin: 0 auto; }

.gp-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 9px 18px;
  background: rgba(72, 0, 255, 0.08);
  border: 1px solid rgba(70, 0, 255, 0.35);
  border-radius: 999px;
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; cursor: pointer;
  transition: var(--transition);
}
.gp-back-btn:hover {
  background: rgba(70, 0, 255, 0.16);
  border-color: rgba(69, 0, 255, 0.7);
  box-shadow: 0 0 18px rgba(70, 0, 255, 0.35);
  transform: translateX(-3px);
}

.gamepage-hero {
  position: relative; overflow: hidden;
  border-radius: 24px;
  min-height: 300px;
  border: 1px solid rgba(70, 0, 255, 0.4);
  box-shadow: 0 0 44px rgba(72, 0, 255, 0.28), inset 0 0 90px rgba(49, 0, 160, 0.25);
  margin-bottom: 28px;
  animation: gp-fade-up 0.45s ease both;
}
.gph-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.gph-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3, 0, 9, 0.95) 0%, rgba(4, 0, 12, 0.72) 46%, rgba(3, 0, 9, 0.16) 100%),
              linear-gradient(0deg, rgba(3, 0, 9, 0.7) 0%, transparent 40%);
}
.gph-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 300px; padding: 36px 40px; max-width: 640px;
}
.gph-title {
  font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.12;
  letter-spacing: 0.01em;
  background: linear-gradient(92deg, #ffffff 0%, #cfbdff 55%, #7f4fff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 32px rgba(70, 0, 255, 0.35);
  margin: 12px 0 8px;
}
.gph-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

.gp-section-label {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(70, 0, 255, 0.55);
  margin: 26px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.gp-section-label::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 10px rgba(70, 0, 255, 0.8);
}
.gp-section-label .hl { color: var(--text-primary); text-shadow: none; }

.gp-chip-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.gp-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.12), rgba(69, 0, 255, 0.05));
  border: 1px solid rgba(70, 0, 255, 0.3);
  border-radius: 14px;
  color: var(--text-primary); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.gp-chip:hover {
  border-color: rgba(69, 0, 255, 0.8);
  background: linear-gradient(135deg, rgba(74, 0, 255, 0.22), rgba(69, 0, 255, 0.1));
  box-shadow: 0 0 22px rgba(71, 0, 255, 0.35);
  transform: translateY(-2px);
}
.gp-chip.selected {
  background: linear-gradient(135deg, rgba(72, 0, 255, 0.35), rgba(69, 0, 255, 0.16));
  border-color: #7f4fff;
  box-shadow: 0 0 26px rgba(70, 0, 255, 0.5), inset 0 0 18px rgba(70, 0, 255, 0.18);
  color: #eaffff;
}
.gp-chip-arrow { color: var(--accent); font-size: 18px; font-weight: 900; line-height: 1; }

.gp-cta-note {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin-top: 26px; padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(75, 0, 255, 0.14), rgba(69, 0, 255, 0.06));
  border: 1px solid rgba(70, 0, 255, 0.32);
}
.gp-cta-note .note-text { font-size: 13.5px; color: var(--text-secondary); }
.gp-cta-note .note-text strong { color: var(--text-primary); }

/* All-games tiles */
.gp-tile-img-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 14px; overflow: hidden;
  background: rgba(12, 0, 40, 0.6);
}
.gp-tile-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gp-game-tile:hover .gp-tile-img { transform: scale(1.07); }
.gp-tile-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 900; color: rgba(158, 120, 255, 0.8);
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.22), rgba(69, 0, 255, 0.08));
}
.gp-tile-name {
  margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gp-game-tile {
  cursor: pointer; padding: 12px; border-radius: 18px;
  border: 1px solid rgba(70, 0, 255, 0.18);
  background: rgba(15, 4, 40, 0.55);
  transition: var(--transition);
}
.gp-game-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 0, 255, 0.65);
  box-shadow: 0 10px 30px rgba(76, 0, 255, 0.3), 0 0 24px rgba(70, 0, 255, 0.25);
}

@keyframes gp-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .gph-content { min-height: 240px; padding: 24px; }
  .gamepage-hero { min-height: 240px; border-radius: 18px; }
  .gp-chip-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ── 2. GAME CARD GRID — hide prices (prices only on the Game Page) ── */
.game-card-footer { display: none !important; }

/* ── 3. WHOLE-APP NEON BLUE LIGHT PASS ── */
:root {
  --accent: #5d22ff;
  --accent-2: #733aff;
  --accent-glow: rgba(93, 34, 255, 0.55);
  --border: rgba(95, 34, 255, 0.38);
  --border-bright: rgba(95, 34, 255, 0.68);
  --shadow-glow: 0 0 60px rgba(95, 34, 255, 0.4);
  --grad-primary: linear-gradient(135deg, #5d22ff 0%, #6c2fff 55%, #733aff 100%);
}

body::before {
  background: radial-gradient(ellipse at 15% 20%, rgba(74, 0, 255, 0.22) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 10%, rgba(93, 34, 255, 0.18) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 90%, rgba(71, 0, 240, 0.16) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(95, 34, 255, 0.1) 0%, transparent 50%);
}

.animated-bg .orb { opacity: 0.22; filter: blur(70px); }
.animated-bg .orb-1 { background: #611eff; box-shadow: 0 0 120px 60px rgba(97, 30, 255, 0.35); }
.animated-bg .orb-2 { background: #5d22ff; box-shadow: 0 0 120px 60px rgba(93, 34, 255, 0.3); }
.animated-bg .orb-3 { background: #6e35ff; box-shadow: 0 0 110px 55px rgba(110, 53, 255, 0.3); }

::selection { background: rgba(93, 34, 255, 0.35); color: #eaffff; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5d22ff, #6c2fff);
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.35);
}
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.85); }

.navbar {
  border-bottom: 1px solid rgba(95, 34, 255, 0.3);
  box-shadow: 0 6px 30px rgba(76, 0, 255, 0.22), 0 1px 0 rgba(93, 34, 255, 0.25);
}
.nav-item.active {
  color: #cfbdff;
  text-shadow: 0 0 16px rgba(93, 34, 255, 0.85);
}

.btn-primary {
  background: var(--grad-primary);
  color: #0d0324 !important;
  font-weight: 800;
  box-shadow: 0 4px 22px rgba(72, 0, 255, 0.4), 0 0 12px rgba(93, 34, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(71, 0, 255, 0.6), 0 0 26px rgba(93, 34, 255, 0.55);
  transform: translateY(-1px);
}

.stat-card:hover,
.catalog-card:hover,
.product-card:hover,
.gp-game-tile:hover {
  box-shadow: 0 12px 36px rgba(76, 0, 255, 0.35), 0 0 30px rgba(93, 34, 255, 0.25);
}

.section-title {
  text-shadow: 0 0 22px rgba(93, 34, 255, 0.4);
}

.form-input:focus,
.form-select:focus,
#catalog-search:focus {
  border-color: rgba(93, 34, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(93, 34, 255, 0.18), 0 0 24px rgba(93, 34, 255, 0.22);
}

.spinner { border-top-color: #5d22ff; box-shadow: 0 0 22px rgba(93, 34, 255, 0.4); }

/* Featured banner CTA — attention pulse (soft, slow) */
.gch-cta, .game-card-cta {
  box-shadow: 0 0 12px rgba(93, 34, 255, 0.22);
  animation: neon-pulse 3.4s ease-in-out infinite;
}
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(93, 34, 255, 0.3); }
  50%      { box-shadow: 0 0 30px rgba(93, 34, 255, 0.65); }
}

/* HUD frame — brighter glow */
.game-catalog-hud { animation: hud-neon 4.5s ease-in-out infinite; }
@keyframes hud-neon {
  0%, 100% { box-shadow: 0 0 44px rgba(74, 0, 255, 0.22), inset 0 0 60px rgba(67, 0, 220, 0.12); }
  50%      { box-shadow: 0 0 70px rgba(95, 34, 255, 0.4), inset 0 0 80px rgba(77, 0, 255, 0.2); }
}

/* Game cards entrance */
.game-card { animation: gp-fade-up 0.45s ease both; }
.game-card:nth-child(2) { animation-delay: 0.05s; }
.game-card:nth-child(3) { animation-delay: 0.1s; }
.game-card:nth-child(4) { animation-delay: 0.15s; }
.game-card:nth-child(5) { animation-delay: 0.2s; }
.game-card:nth-child(6) { animation-delay: 0.25s; }
.game-card:nth-child(7) { animation-delay: 0.3s; }
.game-card:nth-child(8) { animation-delay: 0.35s; }

/* Game page entrance */
#page-game.active .gamepage-wrap { animation: gp-fade-up 0.4s ease both; }

/* ── 4. Warning popup re-themed to neon blue (was amber) ── */
.chatbot-warning-popup { border-color: rgba(95, 34, 255, 0.6); }
.warning-close-btn {
  background: var(--grad-primary);
  color: #0d0324 !important;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(93, 34, 255, 0.4);
}
.warning-close-btn:hover { background: var(--accent-2) !important; }



/* ═══════════════════════════════════════════════════════════
   GAME PAGE (page-game) — hero banner, package chips, products
   ═══════════════════════════════════════════════════════════ */
#page-game { display: none; }
#page-game.active { display: block; }

.gamepage-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  padding: 9px 18px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--accent);
  background: rgba(95, 34, 255, 0.08);
  border: 1px solid rgba(95, 34, 255, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.gamepage-back:hover {
  background: rgba(95, 34, 255, 0.16);
  box-shadow: 0 0 18px rgba(95, 34, 255, 0.35);
  transform: translateX(-3px);
}

/* Hero banner */
.gamepage-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  margin-bottom: 26px;
  background: linear-gradient(120deg, rgba(57, 0, 190, 0.35), rgba(24, 0, 80, 0.6));
  border: 1px solid rgba(95, 34, 255, 0.35);
  box-shadow: 0 0 40px rgba(95, 34, 255, 0.18);
}
.gph-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.gph-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 2, 26, 0.92) 0%, rgba(10, 2, 26, 0.55) 45%, rgba(10, 2, 26, 0.15) 100%);
}
.gph-content {
  position: relative; z-index: 1;
  padding: 34px 32px;
  max-width: 640px;
}
.gph-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-shadow: 0 0 22px rgba(95, 34, 255, 0.6), 0 2px 10px rgba(0, 0, 0, 0.6);
  margin: 12px 0 8px;
}
.gph-desc {
  font-size: 15px;
  color: var(--text-secondary);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Section label */
.gp-section-label {
  font-size: 13px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(95, 34, 255, 0.5);
  margin: 26px 0 14px;
}
.gp-section-label .hl { color: var(--text-primary); text-transform: none; letter-spacing: 0.3px; }

/* Package chips */
.gp-chip-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.gp-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid rgba(95, 34, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}
.gp-chip:hover {
  color: #fff;
  border-color: rgba(95, 34, 255, 0.7);
  box-shadow: 0 0 18px rgba(95, 34, 255, 0.3);
  transform: translateY(-2px);
}
.gp-chip.selected {
  color: #0a021f;
  background: linear-gradient(135deg, #5f22ff 0%, #4a00ff 100%);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(95, 34, 255, 0.55);
}
.gp-chip.selected .gp-chip-arrow { color: #0a021f; }
.gp-chip-arrow { color: var(--accent); font-weight: 900; transition: var(--transition); }
.gp-chip:hover .gp-chip-arrow { transform: translateX(3px); }

/* All-games tiles */
.gp-game-tile {
  background: var(--bg-card);
  border: 1px solid rgba(95, 34, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.gp-game-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 34, 255, 0.7);
  box-shadow: 0 0 30px rgba(95, 34, 255, 0.35);
}
.gp-tile-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(14, 0, 45, 0.7);
}
.gp-tile-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gp-game-tile:hover .gp-tile-img { transform: scale(1.06); }
.gp-tile-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 900; letter-spacing: 1px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(95, 34, 255, 0.6);
}
.gp-tile-name {
  padding: 12px 14px;
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .gph-content { padding: 24px 20px; }
  .gp-chip { padding: 10px 16px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   NEON GLOW UPGRADE — brighter electric blue, stronger glow
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg-primary: #000000;
  --bg-secondary: #030109;
  --bg-card: rgba(9, 0, 30, 0.66);
  --bg-card-hover: rgba(16, 0, 54, 0.9);
  --bg-glass: rgba(4, 0, 12, 0.92);
  --border: rgba(69, 0, 255, 0.4);
  --border-bright: rgba(68, 0, 255, 0.8);
  --accent: #571aff;
  --accent-2: #4900ff;
  --accent-glow: rgba(87, 26, 255, 0.6);
  /* legacy decorative vars → locked to the neon-blue family */
  --hot-pink: #571aff;
  --amber: #af8fff;
  --grad-hot: linear-gradient(135deg, #571aff 0%, #4b00ff 100%);
  --shadow-glow: 0 0 60px rgba(87, 26, 255, 0.45);
}

body::before {
  background: radial-gradient(ellipse at 15% 20%, rgba(74, 0, 255, 0.26) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 10%, rgba(68, 0, 255, 0.2) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 90%, rgba(76, 0, 255, 0.2) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(69, 0, 255, 0.12) 0%, transparent 50%);
}

.animated-bg .orb { opacity: 0.28; filter: blur(70px); }

/* ── GAME PAGE (page-game) ─────────────────────────────────── */
.gamepage-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30, 0, 100, 0.35);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 18px;
  font: 600 13px/1 'Inter', sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-bottom: 22px;
  transition: var(--transition);
  box-shadow: 0 0 18px rgba(72, 0, 255, 0.12);
}
.gamepage-back:hover {
  background: rgba(65, 0, 220, 0.3);
  border-color: var(--border-bright);
  box-shadow: 0 0 26px rgba(70, 0, 255, 0.35);
  text-shadow: 0 0 12px var(--accent-glow);
}
.gamepage-back .arr { font-size: 17px; line-height: 1; }

.gamepage-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
  min-height: 240px;
  display: flex;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: 0 0 44px rgba(72, 0, 255, 0.22), inset 0 0 60px rgba(42, 0, 140, 0.25);
  background: var(--bg-card);
}
.gamepage-hero .gch-corner { z-index: 3; }

.gph-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.gph-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 2, 30, 0.92) 0%, rgba(12, 2, 34, 0.55) 45%, rgba(30, 0, 100, 0.18) 100%);
}
.gph-content {
  position: relative; z-index: 2;
  align-self: flex-end;
  padding: 30px 34px;
  max-width: 640px;
  display: flex; flex-direction: column; gap: 10px;
}
.gph-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #f0eaff;
  text-shadow: 0 0 22px rgba(69, 0, 255, 0.65), 0 2px 12px rgba(0, 0, 0, 0.6);
}
.gph-desc {
  font-size: 14px;
  color: var(--text-secondary);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.gamepage-packages { margin-bottom: 26px; }

.gp-section-label {
  font: 800 12px/1 'Inter', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow);
  margin: 0 0 14px;
}
.gp-section-label .hl { color: #f0eaff; }

.gp-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.gp-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(135deg, rgba(57, 0, 190, 0.22), rgba(24, 0, 80, 0.4));
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 13px 16px;
  font: 600 13.5px/1.3 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.gp-chip:hover {
  border-color: var(--border-bright);
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.32), rgba(36, 0, 120, 0.45));
  box-shadow: 0 0 22px rgba(71, 0, 255, 0.3);
  transform: translateY(-2px);
}
.gp-chip.selected {
  background: var(--grad-primary);
  border-color: transparent;
  color: #0a021f;
  box-shadow: 0 0 30px rgba(69, 0, 255, 0.55), 0 0 90px rgba(73, 0, 255, 0.25);
}
.gp-chip.selected .gp-chip-arrow { color: #0a021f; }
.gp-chip-arrow { color: var(--accent); font-size: 17px; line-height: 1; }

#gamepage-products { margin-top: 6px; }

/* ── ALL-GAMES BAR (MORE GAMES & CARDS expanded view) ─────── */
.gch-allgames-bar {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(65, 0, 220, 0.16), rgba(30, 0, 100, 0.3));
  box-shadow: 0 0 26px rgba(72, 0, 255, 0.16);
}
.gch-back-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  padding: 8px 16px;
  font: 600 12.5px/1 'Inter', sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}
.gch-back-chip:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 20px rgba(70, 0, 255, 0.3);
  text-shadow: 0 0 10px var(--accent-glow);
}
.gch-allgames-count {
  font: 700 12px/1 'Inter', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ── NEON GLOW — component pass ────────────────────────────── */
.navbar {
  box-shadow: 0 4px 34px rgba(75, 0, 255, 0.16), 0 0 0 1px rgba(71, 0, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.35);
}
.btn-primary {
  box-shadow: 0 4px 22px rgba(72, 0, 255, 0.35), 0 0 46px rgba(74, 0, 255, 0.16);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(70, 0, 255, 0.5), 0 0 70px rgba(72, 0, 255, 0.3);
}
.stat-card { box-shadow: 0 0 0 1px rgba(71, 0, 255, 0.08), 0 10px 34px rgba(19, 0, 60, 0.45); }
.stat-card:hover { box-shadow: 0 0 34px rgba(71, 0, 255, 0.24), 0 14px 44px rgba(19, 0, 60, 0.5); }
.game-card:hover {
  box-shadow: 0 14px 44px rgba(24, 0, 80, 0.55), 0 0 42px rgba(71, 0, 255, 0.32);
}
.game-card.selected {
  box-shadow: 0 0 0 1.5px var(--border-bright), 0 0 40px rgba(70, 0, 255, 0.4);
}
.gch-cta {
  box-shadow: 0 0 22px rgba(72, 0, 255, 0.3), inset 0 0 14px rgba(71, 0, 255, 0.12);
}
.gch-cta:hover {
  box-shadow: 0 0 34px rgba(69, 0, 255, 0.5), inset 0 0 20px rgba(69, 0, 255, 0.2);
}
.product-card:hover {
  box-shadow: 0 12px 38px rgba(24, 0, 80, 0.5), 0 0 30px rgba(72, 0, 255, 0.26);
}
.product-price {
  text-shadow: 0 0 12px rgba(69, 0, 255, 0.45);
}
.section-title {
  text-shadow: 0 0 18px rgba(71, 0, 255, 0.35);
}
.spinner {
  border-bottom-color: var(--accent) !important;
  border-left-color: rgba(71, 0, 255, 0.25) !important;
  border-right-color: rgba(71, 0, 255, 0.25) !important;
  border-top-color: rgba(71, 0, 255, 0.25) !important;
  filter: drop-shadow(0 0 8px rgba(70, 0, 255, 0.6));
}
::selection { background: rgba(71, 0, 255, 0.35); color: #f0eaff; }

/* ── GAME PAGE responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .gamepage-hero { min-height: 200px; border-radius: 14px; }
  .gph-content { padding: 20px 18px; }
  .gp-chip-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .gp-chip { padding: 11px 13px; font-size: 12.5px; }
  .gamepage-back { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .gph-content { max-width: 100%; }
  .gp-chip-grid { grid-template-columns: 1fr 1fr; }
}
/* ═══════════════ NEON BLUE GLOW PASS 2 — example.png brightness ═══════════════ */

/* ── Reusable neon pulse ── */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(69, 0, 255, 0.22), 0 0 26px rgba(74, 0, 255, 0.1); }
  50%      { box-shadow: 0 0 18px rgba(69, 0, 255, 0.4), 0 0 40px rgba(74, 0, 255, 0.18); }
}

/* ── Background lights: brighter orbs ── */
.animated-bg .orb { opacity: 0.3; filter: blur(55px); }
.animated-bg .orb-1 { box-shadow: 0 0 120px 60px rgba(85, 10, 255, 0.35); }
.animated-bg .orb-2 { box-shadow: 0 0 100px 50px rgba(62, 6, 212, 0.3); }
.animated-bg .orb-3 { box-shadow: 0 0 90px 45px rgba(70, 0, 255, 0.3); }

/* ── Topbar / navbar ── */
.topbar {
  border-bottom: 1px solid rgba(69, 0, 255, 0.28);
  box-shadow: 0 8px 30px -12px rgba(74, 0, 255, 0.3);
}
.topbar-title { text-shadow: 0 0 16px rgba(69, 0, 255, 0.5), 0 0 44px rgba(74, 0, 255, 0.28); }
.navbar {
  border-bottom: 1px solid rgba(69, 0, 255, 0.4);
  box-shadow: 0 4px 30px rgba(74, 0, 255, 0.28), 0 1px 0 rgba(69, 0, 255, 0.25);
}

/* ── Section titles ── */
.section-title { text-shadow: 0 0 14px rgba(69, 0, 255, 0.45), 0 0 38px rgba(74, 0, 255, 0.25); }

/* ── Buttons ── */
.btn-primary {
  box-shadow: 0 0 16px rgba(69, 0, 255, 0.4), 0 4px 18px rgba(76, 0, 255, 0.3);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 26px rgba(69, 0, 255, 0.75), 0 0 60px rgba(74, 0, 255, 0.4); }
.btn-secondary { border-color: rgba(69, 0, 255, 0.45); box-shadow: 0 0 12px rgba(72, 0, 255, 0.22); }
.btn-secondary:hover { box-shadow: 0 0 22px rgba(69, 0, 255, 0.5); }

/* ── Stat cards ── */
.stat-card {
  border-color: rgba(69, 0, 255, 0.35);
  box-shadow: 0 0 22px rgba(75, 0, 255, 0.16), inset 0 0 34px rgba(74, 0, 255, 0.06);
}
.stat-card:hover { box-shadow: 0 0 34px rgba(71, 0, 255, 0.42), inset 0 0 40px rgba(72, 0, 255, 0.1); }

/* ── HUD — breathing neon frame (subtle, barely perceptible) ── */
.game-catalog-hud { animation: hud-breathe 7s ease-in-out infinite; }
@keyframes hud-breathe {
  0%, 100% { box-shadow: 0 0 22px rgba(72, 0, 255, 0.14), inset 0 0 36px rgba(75, 0, 255, 0.04); }
  50%      { box-shadow: 0 0 36px rgba(70, 0, 255, 0.26), inset 0 0 52px rgba(73, 0, 255, 0.08); }
}
.gch-corner { box-shadow: 0 0 7px rgba(69, 0, 255, 0.45), 0 0 16px rgba(73, 0, 255, 0.2); }
.gch-title { text-shadow: 0 0 10px rgba(68, 0, 255, 0.5); }
.gch-title-icon { filter: drop-shadow(0 0 6px rgba(69, 0, 255, 0.55)); }
.gch-more-btn { box-shadow: 0 0 10px rgba(72, 0, 255, 0.18); }
.gch-more-btn:hover { box-shadow: 0 0 16px rgba(69, 0, 255, 0.36); }

/* ── Featured banner ── */
.gch-slide.active { box-shadow: 0 0 32px rgba(72, 0, 255, 0.2), 0 0 64px rgba(76, 0, 255, 0.1); }
.gch-badge {
  box-shadow: 0 0 10px rgba(69, 0, 255, 0.3), inset 0 0 10px rgba(72, 0, 255, 0.14);
  text-shadow: 0 0 8px rgba(68, 0, 255, 0.55);
}
.gch-slide-title { text-shadow: 0 0 14px rgba(69, 0, 255, 0.4), 0 0 34px rgba(74, 0, 255, 0.2); }
.gch-cta { animation: neon-pulse 3.4s ease-in-out infinite; }
.gch-dot.active { box-shadow: 0 0 7px rgba(69, 0, 255, 0.55), 0 0 14px rgba(73, 0, 255, 0.28); }

/* ── Game cards ── */
.game-card {
  border-color: rgba(69, 0, 255, 0.28);
  box-shadow: 0 0 12px rgba(75, 0, 255, 0.1);
}
.game-card:hover { box-shadow: 0 0 18px rgba(70, 0, 255, 0.28), 0 0 40px rgba(75, 0, 255, 0.14); }
.game-card.selected { box-shadow: 0 0 20px rgba(69, 0, 255, 0.34), 0 0 44px rgba(74, 0, 255, 0.16); }
.game-card-badge { box-shadow: 0 0 8px rgba(70, 0, 255, 0.28); text-shadow: 0 0 8px rgba(68, 0, 255, 0.55); }
.game-card-name { text-shadow: 0 0 8px rgba(70, 0, 255, 0.26); }
.game-card-cta { text-shadow: 0 0 8px rgba(68, 0, 255, 0.45); }

/* ── All-games bar ── */
.gch-allgames-bar { box-shadow: 0 0 14px rgba(73, 0, 255, 0.14); }
.gch-back-chip:hover { box-shadow: 0 0 14px rgba(69, 0, 255, 0.3); }

/* ── Game page ── */
.gamepage-hero { box-shadow: 0 0 45px rgba(72, 0, 255, 0.3), inset 0 0 70px rgba(75, 0, 255, 0.1); }
.gph-title { text-shadow: 0 0 18px rgba(68, 0, 255, 0.65), 0 0 50px rgba(74, 0, 255, 0.4); }
.gp-chip { border-color: rgba(69, 0, 255, 0.35); box-shadow: 0 0 12px rgba(73, 0, 255, 0.16); }
.gp-chip:hover { box-shadow: 0 0 22px rgba(70, 0, 255, 0.45); }
.gp-chip.selected { box-shadow: 0 0 24px rgba(69, 0, 255, 0.55), inset 0 0 20px rgba(72, 0, 255, 0.16); }
.gp-section-label { text-shadow: 0 0 12px rgba(69, 0, 255, 0.5); }
.gp-section-label .hl { color: #a27fff; text-shadow: 0 0 14px rgba(68, 0, 255, 0.7); }
.gamepage-back { box-shadow: 0 0 14px rgba(72, 0, 255, 0.25); }
.gamepage-back:hover { box-shadow: 0 0 24px rgba(69, 0, 255, 0.5); }

/* ── Product cards (Game Page) ── */
.product-card { border-color: rgba(69, 0, 255, 0.3); box-shadow: 0 0 16px rgba(75, 0, 255, 0.12); }
.product-card:hover { box-shadow: 0 0 28px rgba(70, 0, 255, 0.45); }
.product-price { color: #a27fff; text-shadow: 0 0 14px rgba(69, 0, 255, 0.55); }

/* ── Forms / search ── */
.form-input, .form-select, .search-bar input {
  border-color: rgba(70, 0, 255, 0.32);
  box-shadow: inset 0 0 18px rgba(74, 0, 255, 0.06);
}
.form-input:focus, .form-select:focus, .search-bar input:focus {
  box-shadow: 0 0 0 3px rgba(70, 0, 255, 0.18), 0 0 22px rgba(71, 0, 255, 0.35), inset 0 0 18px rgba(74, 0, 255, 0.08);
}

/* ── Modal / nav / tables / scrollbar / spinner ── */
.modal {
  border-color: rgba(69, 0, 255, 0.4);
  box-shadow: 0 0 60px rgba(73, 0, 255, 0.35), 0 0 140px rgba(76, 0, 255, 0.18);
}
.nav-item.active { box-shadow: 0 0 18px rgba(71, 0, 255, 0.35), inset 0 0 18px rgba(72, 0, 255, 0.12); }
table tbody tr:hover { background: rgba(74, 0, 255, 0.07); box-shadow: inset 0 0 24px rgba(74, 0, 255, 0.06); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4500ff, #4a00ff);
  box-shadow: 0 0 10px rgba(69, 0, 255, 0.7);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7d4dff, #5714ff); }
.spinner { box-shadow: 0 0 20px rgba(69, 0, 255, 0.6); }


/* ═══════════════════════════════════════════════════════════
   DASHBOARD REDESIGN — hero banner · stat cards · orders+profile
   ═══════════════════════════════════════════════════════════ */

/* ── Welcome hero ── */
.dash-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(95, 34, 255, 0.4);
  background:
    radial-gradient(120% 150% at 88% -10%, rgba(75, 0, 255, 0.30) 0%, transparent 55%),
    radial-gradient(120% 120% at 0% 110%, rgba(93, 34, 255, 0.16) 0%, transparent 52%),
    linear-gradient(135deg, rgba(11, 0, 38, 0.96), rgba(5, 0, 16, 0.96));
  box-shadow: 0 12px 44px rgba(42, 0, 140, 0.38), inset 0 0 70px rgba(76, 0, 255, 0.08);
  padding: 30px 34px;
}
.dash-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(69, 0, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 0, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(85% 100% at 72% 12%, #000 25%, transparent 100%);
  mask-image: radial-gradient(85% 100% at 72% 12%, #000 25%, transparent 100%);
}
.dash-hero-orb {
  position: absolute; right: -70px; top: -90px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 34, 255, 0.30) 0%, transparent 68%);
  filter: blur(8px); pointer-events: none;
}
.dash-corner {
  position: absolute; width: 20px; height: 20px; pointer-events: none;
  border: 0 solid rgba(93, 34, 255, 0.85);
}
.dash-corner-tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.dash-corner-tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.dash-corner-bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.dash-corner-br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }

.dash-hero-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.dash-hero-hi {
  font-size: 12px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-secondary);
}
.dash-hero-name {
  font-size: 36px; font-weight: 900; letter-spacing: -0.5px;
  color: var(--text-primary); margin: 8px 0 10px; line-height: 1.1;
  text-shadow: 0 0 24px rgba(93, 34, 255, 0.55), 0 0 60px rgba(93, 34, 255, 0.25);
}
.dash-hero-sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.dash-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dash-cta { white-space: nowrap; }

/* ── Stat cards (dashboard) ── */
.dash-stat { padding: 20px 22px; }
.dash-stat .stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; font-size: 22px;
  border: 1px solid var(--border);
}
.dash-stat .stat-icon.ic-purple { box-shadow: 0 0 18px rgba(150, 99, 255, 0.25); }
.dash-stat .stat-icon.ic-green  { box-shadow: 0 0 18px rgba(34, 211, 165, 0.25); }
.dash-stat .stat-icon.ic-blue   { box-shadow: 0 0 18px rgba(110, 56, 248, 0.25); }
.dash-stat .stat-icon.ic-yellow { box-shadow: 0 0 18px rgba(245, 158, 11, 0.22); }
.dash-stat--wallet {
  border-color: rgba(93, 34, 255, 0.6);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(75, 0, 255, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, rgba(26, 0, 88, 0.7), rgba(9, 0, 30, 0.9));
}
.dash-stat--wallet .stat-value {
  color: #c1a9ff;
  text-shadow: 0 0 22px rgba(93, 34, 255, 0.65), 0 0 50px rgba(93, 34, 255, 0.3);
}
.dash-stat--wallet .stat-icon.ic-purple {
  background: var(--grad-primary); color: #0d0324;
  box-shadow: 0 0 24px rgba(93, 34, 255, 0.55);
}
.dash-stat-email {
  font-size: 14px !important; font-weight: 700;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Orders + profile layout ── */
.dash-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 20px; margin-top: 20px;
  align-items: start;
}
.dash-card { overflow: hidden; }

.dash-profile-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.dash-avatar {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: #0d0324;
  background: var(--grad-primary);
  box-shadow: 0 0 22px rgba(93, 34, 255, 0.45);
  overflow: hidden; user-select: none;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-profile-info { min-width: 0; }
.dash-profile-name {
  font-size: 16px; font-weight: 800; color: var(--text-primary);
  margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (max-width: 1180px) {
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dash-hero { padding: 24px 20px; }
  .dash-hero-content { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dash-hero-name { font-size: 28px; }
  .dash-hero-actions { width: 100%; }
  .dash-hero-actions .dash-cta { flex: 1 1 100%; justify-content: center; display: flex; }
  .dash-stat--wallet .stat-value { font-size: 22px; }
}

/* ── Dashboard featured carousel (top of Dashboard) ── */
.dash-featured {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(95, 34, 255, 0.4);
  background:
    radial-gradient(120% 140% at 90% -20%, rgba(75, 0, 255, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(11, 0, 38, 0.96), rgba(5, 0, 16, 0.96));
  box-shadow: 0 12px 44px rgba(42, 0, 140, 0.38), inset 0 0 70px rgba(76, 0, 255, 0.08);
  padding: 18px 22px 22px;
}
.dash-featured-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.dash-featured-title {
  font-size: 15px; font-weight: 800; letter-spacing: 2.5px;
  color: #f0eaff;
  text-shadow: 0 0 14px rgba(69, 0, 255, 0.45);
}
.dash-featured .gch-featured {
  margin: 18px 0 0;
  min-height: 400px;
}
.dash-featured .gch-dots {
  padding: 12px 0 0;
}

@media (max-width: 760px) {
  .dash-featured { padding: 14px 14px 18px; }
  .dash-featured-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dash-featured .gch-more-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   NEON PURPLE LIGHT PASS — PURE BLACK × NEON PURPLE (final)
   Appended last so it wins over every earlier colour pass.
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg-primary: #000000;
  --bg-secondary: #040011;
  --bg-card: rgba(14, 4, 42, 0.72);
  --bg-card-hover: rgba(23, 8, 64, 0.9);
  --bg-glass: rgba(6, 2, 18, 0.92);

  --border: rgba(101, 38, 255, 0.32);
  --border-bright: rgba(153, 110, 255, 0.65);

  --accent: #6526ff;
  --accent-2: #622bff;
  --hot-pink: #7538ff;
  --amber: #824dff;
  --accent-glow: rgba(101, 38, 255, 0.62);

  --warning: #824dff;
  --warning-bg: rgba(130, 77, 255, 0.14);
  --info: #6526ff;
  --info-bg: rgba(101, 38, 255, 0.14);

  --shadow-glow: 0 0 50px rgba(101, 38, 255, 0.45);
  --grad-primary: linear-gradient(135deg, #773cff 0%, #622bff 100%);
  --grad-hot: linear-gradient(135deg, #773cff 0%, #3700c8 100%);
}

/* ── Ambient neon-purple lights: original orbs, boosted purple bloom ── */
.animated-bg .orb { opacity: 0.34; }
.animated-bg .orb-1 { background: #6020ff; box-shadow: 0 0 140px 70px rgba(96, 32, 255, 0.4); }
.animated-bg .orb-2 { background: #3f00e6; box-shadow: 0 0 130px 65px rgba(63, 0, 230, 0.38); }
.animated-bg .orb-3 { background: #652bff; box-shadow: 0 0 120px 60px rgba(101, 43, 255, 0.36); }

/* ── Three EXTRA drifting neon-purple lights per page ── */
.animated-bg .orb-4 {
  width: 340px; height: 340px; background: #753dff;
  top: -6%; right: 22%;
  box-shadow: 0 0 150px 75px rgba(117, 61, 255, 0.4);
  animation-duration: 18s; animation-delay: -3s;
}
.animated-bg .orb-5 {
  width: 220px; height: 220px; background: #4700ff;
  bottom: 18%; right: 30%;
  box-shadow: 0 0 120px 60px rgba(71, 0, 255, 0.4);
  animation-duration: 13s; animation-delay: -7s;
}
.animated-bg .orb-6 {
  width: 180px; height: 180px; background: #783cff;
  bottom: 4%; left: 62%;
  box-shadow: 0 0 110px 55px rgba(120, 60, 255, 0.38);
  animation-duration: 16s; animation-delay: -11s;
}

/* ── Neon purple light beams from the top corners ── */
.light-beam {
  position: fixed; top: -140px; width: 46vw; height: 320px;
  background: linear-gradient(to bottom, rgba(101, 38, 255, 0.16), transparent 75%);
  filter: blur(46px); transform: rotate(14deg);
  z-index: -1; pointer-events: none;
  animation: beam-sway 12s ease-in-out infinite;
}
.light-beam.beam-left { left: -8vw; }
.light-beam.beam-right { right: -8vw; transform: rotate(-14deg); animation-delay: -6s; }
@keyframes beam-sway {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ── Neon purple glow around the ZP logo ── */
.navbar-logo-img {
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(101, 38, 255, 0.65), 0 0 34px rgba(101, 38, 255, 0.35);
  animation: logo-neon-pulse 3.2s ease-in-out infinite;
}
@keyframes logo-neon-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(101, 38, 255, 0.65), 0 0 34px rgba(101, 38, 255, 0.35); }
  50% { box-shadow: 0 0 22px rgba(132, 80, 255, 0.9), 0 0 52px rgba(101, 38, 255, 0.5); }
}

/* ── Neon purple glow on brand text ── */
.navbar-logo-text .name,
.auth-title {
  text-shadow: 0 0 12px rgba(101, 38, 255, 0.65), 0 0 34px rgba(101, 38, 255, 0.3);
}

/* ── Ambient purple haze rising from the edges (extra light on black) ── */
body {
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -8%, rgba(101, 38, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 8% 108%, rgba(98, 43, 255, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 30% at 95% 100%, rgba(101, 38, 255, 0.08), transparent 70%);
  /* NOTE: `background-attachment: fixed` was intentionally REMOVED — on
     mobile it forces a full-viewport repaint on every scroll frame, which
     causes flicker/tearing/ghosting (Android Chrome especially). Default
     `scroll` attachment is visually indistinguishable for these edge
     gradients and costs nothing during scroll. */
}

::selection { background: rgba(101, 38, 255, 0.4); color: #fff; }

@media (max-width: 760px) {
  .light-beam { display: none; }
  .animated-bg .orb-5, .animated-bg .orb-6 { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE GPU COMPOSITING STABILITY — ROOT-CAUSE FIXES
   Appended LAST so every rule below wins the cascade. These fixes target
   the paint/repaint & compositing sources of phone flicker / tearing /
   ghosting. LAYOUT IS NOT TOUCHED.

   Verified root causes on real phones:
   1) .animated-bg `grid-drift` — animating `background-position` on a
      full-viewport `position:fixed` layer repaints the WHOLE screen every
      animation frame. This was still running on mobile (the older "mobile
      shake" blocks only killed orbs/stars/body pseudo-elements).
   2) body `background-attachment:fixed` — removed (see the body rule above).
   3) box-shadow pulses (neon-pulse/hud-neon/logo-neon-pulse/logoPulse) —
      `box-shadow` is a paint property; each frame re-rasterizes that layer.
   4) backdrop-filter on sticky navbar/topbar/auth-card — forces the browser
      to re-blur the backing store on every scroll frame.
   5) Over-sized blurred orbs + glow shadows — heavy static layer stack.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1) Freeze the full-screen grid repaint. The static grid + mask stay,
        only the per-frame background-position animation stops. */
  .animated-bg { animation: none !important; }

  /* 2) Sticky/fixed chrome: stop re-blurring the backdrop on every scroll.
        All these surfaces are already ≥92% opaque, so the blur is invisible
        headroom on small screens. */
  .navbar,
  .topbar,
  .auth-card,
  .glass-card,
  .modal,
  [class*="modal"],
  [class*="popup"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* 3) Freeze every box-shadow / glow-breathing animation — they force a
        per-frame repaint of their layer on phones. */
  .gch-cta,
  .game-card-cta,
  .game-catalog-hud,
  .navbar-logo-img,
  .auth-logo-img,
  .wallet-card::before {
    animation: none !important;
  }

  /* 4) Shrink the static orb cost: keep a soft glow, drop the expensive
        60px blur + giant box-shadow glows. */
  .animated-bg .orb {
    filter: blur(32px);
    opacity: 0.16;
    box-shadow: none !important;
  }
  .animated-bg .orb-1 { background: #6020ff; }
  .animated-bg .orb-2 { background: #3f00e6; }
  .animated-bg .orb-3 { background: #652bff; }
  .animated-bg .orb-4 { background: #753dff; }

  /* 5) Decorative full-layer animations are not worth their repaint cost
        on phones (guard against any pass re-enabling them). */
  .light-beam,
  .star,
  .sparkle,
  .gs_star {
    animation: none !important;
  }
}

/* Accessibility: respect the OS "reduce motion" setting on ALL screen
   sizes. One-shot entrances become instant; infinite glow/float loops stop. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}
/* ═══════════════════════════════════════════════════════════
   BRAND COLOR LOCK — #390b9f
   Appended last so it wins over every earlier colour pass.
   Whole-app theme colour: #390b9f (deep indigo, hue ≈258°).
   Text/accents use readable tints of the same hue so contrast
   on the pure-black backdrop stays intact.
   ═══════════════════════════════════════════════════════════ */
:root {
  --brand: #390b9f;

  --accent: #5d1fe0;
  --accent-2: #7a3bff;
  --hot-pink: #6d2ee8;

  --border: rgba(57, 11, 159, 0.45);
  --border-bright: rgba(122, 59, 255, 0.65);
  --accent-glow: rgba(93, 31, 224, 0.6);

  --shadow-glow: 0 0 50px rgba(57, 11, 159, 0.5);
  --grad-primary: linear-gradient(135deg, #390b9f 0%, #5d1fe0 100%);
  --grad-hot: linear-gradient(135deg, #5d1fe0 0%, #2a0778 100%);
}

/* ── Ambient lights locked to the #390b9f family ── */
.animated-bg .orb-1 { background: #4312b8; box-shadow: 0 0 140px 70px rgba(67, 18, 184, 0.4); }
.animated-bg .orb-2 { background: #390b9f; box-shadow: 0 0 130px 65px rgba(57, 11, 159, 0.4); }
.animated-bg .orb-3 { background: #4d16cf; box-shadow: 0 0 120px 60px rgba(77, 22, 207, 0.36); }
.animated-bg .orb-4 { background: #5419e0; box-shadow: 0 0 150px 75px rgba(84, 25, 224, 0.4); }
.animated-bg .orb-5 { background: #390b9f; box-shadow: 0 0 120px 60px rgba(57, 11, 159, 0.4); }
.animated-bg .orb-6 { background: #5a1cf0; box-shadow: 0 0 110px 55px rgba(90, 28, 240, 0.38); }

/* ── Falling-snow layer (animated by /js/snow.js) ── */
.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
/* =========================================================
   SOCIAL BOOSTING — marquee notice + platform cards
   ========================================================= */
.sb-marquee {
  overflow: hidden;
  border: 1px solid rgba(146, 99, 241, 0.35);
  background: linear-gradient(90deg, rgba(146, 99, 241, 0.16), rgba(99, 120, 255, 0.10), rgba(146, 99, 241, 0.16));
  border-radius: 10px;
  padding: 10px 0;
  margin-bottom: 20px;
  position: relative;
}
.sb-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: sb-marquee-move 55s linear infinite;
  will-change: transform;
}
.sb-marquee:hover .sb-marquee-track { animation-play-state: paused; }
.sb-marquee-item {
  display: inline-block;
  padding-right: 90px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
@keyframes sb-marquee-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Platform card fallback artwork (brand gradient + glyph) shown until the
   admin uploads a custom image for the platform. */
.plat-fallback {
  align-items: center;
  justify-content: center;
}
.plat-glyph {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}
.plat-card { cursor: pointer; }

/* Platform cards keep their BOOST NOW footer visible — the global hide rule
   (".game-card-footer { display: none !important; }") is only meant for the
   catalog game cards, and .plat-card .game-card-footer wins on specificity. */
.plat-card .game-card-footer { display: flex !important; }

@media (prefers-reduced-motion: reduce) {
  .sb-marquee-track { animation: none; }
  .sb-marquee { overflow-x: auto; }
}
