/* ===== ROOT VARIABLES ===== */
:root {
  --purple-darkest: #170a33;
  --purple-dark: #170a33;
  --purple-mid: #1e0035;
  --purple-surface: #2a0050;
  --purple-card: #320060;
  --purple-border: rgba(139, 92, 246, 0.25);
  --purple-glow: rgba(139, 92, 246, 0.15);
  
  --accent-primary: #9333ea;
  --accent-secondary: #7c3aed;
  --accent-bright: #a855f7;
  --accent-light: #c084fc;
  --accent-pale: #e9d5ff;
  
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --green: #10b981;
  --red: #ef4444;
  --cyan: #06b6d4;
  
  --text-primary: #f3e8ff;
  --text-secondary: #c4b5fd;
  --text-muted: #7c6f9e;
  --text-dim: #4a3d6e;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 30px rgba(147, 51, 234, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--purple-darkest);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--purple-darkest);
  pointer-events: none;
  z-index: 0;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--purple-darkest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loading-logo {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loading-logo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  animation: pulse-glow 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(147,51,234,0.7));
  border-radius: 20px;
}
.loading-brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 5px;
  text-transform: uppercase;
}
.loading-brand-text span { color: var(--accent-bright); }

.loading-bar {
  width: 220px;
  height: 3px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 99px;
  overflow: hidden;
}
.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-bright), var(--accent-light));
  animation: loading-fill 1.8s ease-in-out forwards;
  border-radius: 99px;
}

@keyframes loading-fill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: var(--purple-darkest);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  transition: var(--transition);
  box-shadow: 0 1px 32px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ===== LOGO ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 8px rgba(147,51,234,0.5));
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-text strong { color: var(--accent-bright); }

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  color: rgba(196, 181, 253, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.12); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--purple-border);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== NAV AUTH AREA ===== */
#nav-auth-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* ===== NAV WALLET BADGE ===== */
.nav-wallet-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(147,51,234,0.25), rgba(168,85,247,0.15));
  border: 1px solid rgba(168,85,247,0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--accent-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-wallet-badge:hover {
  background: rgba(147,51,234,0.35);
  border-color: rgba(168,85,247,0.5);
}

/* ===== NAV USER DROPDOWN ===== */
.nav-user-dropdown { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(147, 51, 234, 0.18);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--text-primary);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-user-btn:hover { background: rgba(147, 51, 234, 0.32); border-color: rgba(168,85,247,0.5); }
.nav-user-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.nav-user-avatar-img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--purple-darkest);
  backdrop-filter: blur(20px);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  min-width: 190px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(147,51,234,0.15);
  display: none;
  z-index: 200;
}
.nav-dropdown.open { display: block; animation: fadeInDown 0.2s ease; }
.nav-dropdown a, .nav-dropdown button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 12px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  background: none; border: none;
  cursor: pointer;
  transition: var(--transition);
}
.nav-dropdown a:hover, .nav-dropdown button:hover { background: rgba(139,92,246,0.15); color: var(--text-primary); }
.nav-dropdown .divider { height: 1px; background: var(--purple-border); margin: 4px 0; }

/* ===== FOOTER LOGO ===== */
.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  opacity: 0.8;
}

/* ===== PAGES ===== */
.page { display: none; min-height: calc(100vh - 64px); padding-top: 64px; position: relative; z-index: 1; }
.page.active { display: block; animation: fadeIn 0.4s ease; }

/* ===== HOME PAGE ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: var(--purple-darkest);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(147,51,234,0.3), rgba(168,85,247,0.2));
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-pale);
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 40%, #c084fc 80%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}
.hero-stat .stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .stat-label { color: var(--text-muted); font-size: 13px; margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

/* Features Section */
.features-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-desc { color: var(--text-secondary); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.7; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(50, 0, 96, 0.6) 0%, rgba(30, 0, 53, 0.8) 100%);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(168,85,247,0.5); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}
.feature-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.feature-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Games Preview on Home */
.games-preview {
  padding: 0 24px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-bright));
  color: white;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(147, 51, 234, 0.6); }

.btn-secondary {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-pale);
  border: 1px solid var(--purple-border);
}
.btn-secondary:hover:not(:disabled) { background: rgba(139, 92, 246, 0.3); border-color: rgba(168, 85, 247, 0.5); }

.btn-outline {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid var(--accent-bright);
}
.btn-outline:hover:not(:disabled) { background: rgba(168, 85, 247, 0.15); }

.btn-danger { background: linear-gradient(135deg, #dc2626, #ef4444); color: white; }
.btn-success { background: linear-gradient(135deg, #059669, #10b981); color: white; }
.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 17px; padding: 15px 36px; }
.btn-block { width: 100%; }

/* ===== GAME CARDS ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.game-card {
  position: relative;
  min-width: 0;
  align-self: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--purple-card) 0%, var(--purple-surface) 100%);
  border: 1px solid var(--purple-border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 24px 60px rgba(147, 51, 234, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.2);
}

/* ===== GAME DETAIL MODAL ===== */
.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 700;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  overflow-y: auto;
}
.game-modal-overlay.active { display: flex; }

.game-modal {
  background: linear-gradient(160deg, rgba(32,0,60,0.98) 0%, rgba(15,0,28,0.98) 100%);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(147,51,234,0.15);
  animation: fadeIn 0.3s ease;
  overflow: hidden;
  position: relative;
}

.game-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(139,92,246,0.2);
}
.game-modal-img {
  width: 72px; height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #1e003a, #3b0070);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(168,85,247,0.3);
  overflow: hidden;
}
.game-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.game-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.game-modal-meta { font-size: 13px; color: var(--text-muted); }

.game-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--purple-border);
  color: var(--text-secondary);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.game-modal-close:hover { background: rgba(139,92,246,0.25); color: var(--text-primary); }

.game-modal-body { padding: 24px 28px; }

.region-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.region-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.region-btn {
  background: rgba(139, 92, 246, 0.1);
  border: 1.5px solid rgba(139, 92, 246, 0.25);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.region-btn-flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.region-btn-label {
  font-size: 13px;
  font-weight: 600;
}
.region-btn-count {
  background: rgba(139, 92, 246, 0.3);
  color: var(--accent-pale);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
  transition: var(--transition);
}
.region-btn:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(168, 85, 247, 0.55);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139,92,246,0.2);
}
.region-btn.active {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 20px rgba(147,51,234,0.5);
  transform: translateY(-2px);
}
.region-btn.active .region-btn-count {
  background: rgba(255,255,255,0.25);
  color: white;
}


.region-packages {
  display: none;
  animation: fadeIn 0.25s ease;
}
.region-packages.active { display: block; }

.region-packages-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding-top: 4px;
  border-top: 1px solid rgba(139,92,246,0.15);
  padding-top: 16px;
}

/* ===== REGION TABS (legacy kept) ===== */
.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(139,92,246,0.15);
}
.region-tab {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.region-tab:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(168, 85, 247, 0.5);
  color: var(--text-secondary);
}
.region-tab.active {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 10px rgba(147,51,234,0.4);
}

/* Match uploaded artwork aspect ratio (2304x1535 ≈ 1.501) — fills card with no side bars. */
.game-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 2304 / 1535;
  overflow: hidden;
  background: linear-gradient(135deg, #150028 0%, #2a0052 50%, #150028 100%);
}
/* Keep intrinsic image dimensions and inline baseline gaps out of card sizing. */
.game-card-image > img,
.game-card-image > .game-default-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.game-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Fill without distortion; crop excess at the edges. */
  object-position: center;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card-image img { transform: scale(1.04); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8,0,16,0.05) 0%,
    rgba(8,0,16,0.1) 40%,
    rgba(8,0,16,0.82) 100%);
  transition: background 0.35s ease;
}
.game-card:hover .game-card-overlay {
  background: linear-gradient(180deg,
    rgba(8,0,16,0.1) 0%,
    rgba(8,0,16,0.15) 35%,
    rgba(8,0,16,0.9) 100%);
}

.game-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, rgba(147,51,234,0.88), rgba(168,85,247,0.88));
  backdrop-filter: blur(8px);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

/* Text overlay at bottom of banner image */
.game-card-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 3;
}

.game-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.game-card-price-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  white-space: nowrap;
}

.game-card-sku-badge {
  background: rgba(139,92,246,0.35);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(168,85,247,0.35);
  white-space: nowrap;
}

.game-card-select-btn {
  margin-left: auto;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(147,51,234,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.game-card:hover .game-card-select-btn {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(147,51,234,0.65);
}

.game-default-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: linear-gradient(135deg, rgba(50,0,96,0.8), rgba(30,0,53,0.6));
}

/* ===== PRODUCT PAGE ===== */
.product-detail { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }

.product-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.product-image-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--purple-border);
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--purple-card), var(--purple-surface));
  display: flex; align-items: center; justify-content: center;
}
.product-image-box img { width: 100%; height: 100%; object-fit: cover; }
.product-image-box .product-default-icon { font-size: 100px; }

.product-info { padding: 10px 0; }
.product-category-badge {
  display: inline-block;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid var(--purple-border);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.product-name {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.product-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

/* SKU List */
.sku-section { margin-top: 10px; }
.sku-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--purple-border);
}

.sku-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.sku-card {
  background: rgba(50, 0, 96, 0.4);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.sku-card:hover, .sku-card.selected {
  border-color: var(--accent-primary);
  background: rgba(147, 51, 234, 0.2);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}
.sku-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 10px;
  color: var(--accent-bright);
  font-weight: 700;
}
.sku-name { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.sku-price-mmk {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-light);
}
.sku-price-usd { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sku-unavailable { opacity: 0.4; cursor: not-allowed; }

/* Order Form */
.order-form { margin-top: 24px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input, .form-select {
  width: 100%;
  background: rgba(30, 0, 53, 0.8);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}
.form-select option { background: var(--purple-mid); }

/* ===== WALLET PAGE ===== */
.wallet-container { max-width: 800px; margin: 0 auto; padding: 40px 24px; }

.wallet-balance-card {
  background: linear-gradient(135deg, rgba(147,51,234,0.3) 0%, rgba(109,40,217,0.2) 50%, rgba(76,29,149,0.15) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.wallet-balance-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 60%);
  animation: rotate-slow 20s linear infinite;
}
.wallet-label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; position: relative; }
.wallet-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  margin-bottom: 4px;
}
.wallet-currency { font-size: 16px; color: var(--text-muted); position: relative; }

/* ===== TABLES ===== */
.table-container {
  background: rgba(30, 0, 53, 0.5);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; min-width: 600px; }
thead { background: rgba(50, 0, 96, 0.6); }
th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--purple-border);
}
td {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(139, 92, 246, 0.05); }

/* ===== STATUS BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-pending { background: rgba(245, 158, 11, 0.15); color: var(--gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-approved, .badge-completed { background: rgba(16, 185, 129, 0.15); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-rejected, .badge-failed { background: rgba(239, 68, 68, 0.15); color: var(--red); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-processing { background: rgba(6, 182, 212, 0.15); color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-cancelled { background: rgba(107, 114, 128, 0.15); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.3); }

/* ===== CARDS & SECTIONS ===== */
.card {
  background: rgba(30, 0, 53, 0.6);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== ADMIN DASHBOARD ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  background: var(--purple-darkest);
  border-right: 1px solid var(--purple-border);
  padding: 24px 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.admin-sidebar-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  padding: 0 20px;
  margin-bottom: 8px;
  margin-top: 16px;
}
.admin-sidebar-title:first-child { margin-top: 0; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.1); }
.admin-nav-item.active { color: var(--accent-bright); background: rgba(139, 92, 246, 0.15); border-left-color: var(--accent-primary); }
.admin-nav-icon { font-size: 18px; width: 22px; text-align: center; }

.admin-content { padding: 32px; overflow-y: auto; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }

.stat-card {
  background: linear-gradient(135deg, rgba(50,0,96,0.6) 0%, rgba(30,0,53,0.8) 100%);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
}

.stat-card-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.stat-card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
}
.stat-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.stat-card-icon { font-size: 28px; margin-bottom: 12px; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 600;
  background: var(--purple-mid);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.modal-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--purple-border);
  color: var(--text-secondary);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.25); }

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(30, 0, 53, 0.95);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: var(--shadow-card);
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--purple-border);
  border-left: 4px solid var(--accent-primary);
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast.warning { border-left-color: var(--gold); }

.toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.toast-text { flex: 1; }
.toast-title { font-weight: 700; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.toast-msg { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.toast.removing { animation: slideOut 0.3s ease forwards; }

/* ===== AUTH FORMS ===== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
}
.auth-card {
  background: linear-gradient(160deg, rgba(50,0,96,0.6) 0%, rgba(18,0,30,0.9) 100%);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-glow);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .big-icon { font-size: 52px; display: block; margin-bottom: 10px; }
.auth-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 0 12px rgba(147,51,234,0.6));
  display: block;
  margin: 0 auto;
}
.auth-title { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-toggle { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-toggle a { color: var(--accent-bright); text-decoration: none; font-weight: 600; }
.auth-toggle a:hover { text-decoration: underline; }
.auth-divider { text-align: center; color: var(--text-dim); font-size: 13px; margin: 16px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: calc(50% - 30px);
  height: 1px; background: var(--purple-border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ===== PAGE HEADERS ===== */
.page-header {
  padding: 40px 24px 0;
  max-width: 1300px;
  margin: 0 auto;
}
.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.page-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }

/* ===== UPLOAD BOX ===== */
.upload-box {
  border: 2px dashed var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.upload-box:hover, .upload-box.drag-over {
  border-color: var(--accent-primary);
  background: rgba(147, 51, 234, 0.08);
}
.upload-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 36px; margin-bottom: 12px; }
.upload-text { color: var(--text-secondary); font-size: 14px; }
.upload-text strong { color: var(--accent-bright); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.empty-icon { font-size: 64px; margin-bottom: 16px; display: block; opacity: 0.5; }
.empty-title { font-size: 20px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.empty-desc { font-size: 14px; line-height: 1.6; }

/* ===== SEARCH ===== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 200px;
  background: rgba(30, 0, 53, 0.8);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-full);
  padding: 11px 20px 11px 44px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c6f9e' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}
.search-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(147,51,234,0.1); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOut { to { opacity: 0; transform: translateX(120%); } }
@keyframes pulse-glow { 0%,100% { text-shadow: 0 0 20px rgba(168,85,247,0.5); } 50% { text-shadow: 0 0 40px rgba(168,85,247,0.9); } }
@keyframes pulse-slow { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; } 50% { transform: translate(-50%,-50%) scale(1.1); opacity: 0.9; } }
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--purple-dark); }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.4); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(168, 85, 247, 0.6); }

/* ===== FOOTER ===== */
.footer {
  background: var(--purple-darkest);
  border-top: 1px solid var(--purple-border);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-content { max-width: 600px; margin: 0 auto; }
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; }
.footer-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); font-size: 14px; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-bright); }
.footer-copy { color: var(--text-dim); font-size: 12px; }

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-border), transparent);
  margin: 60px 0;
}

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; background: rgba(30,0,53,0.6); border: 1px solid var(--purple-border); border-radius: var(--radius-full); padding: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.tab-btn.active { background: linear-gradient(135deg, var(--accent-primary), var(--accent-bright)); color: white; }
.tab-btn:hover:not(.active) { color: var(--text-secondary); background: rgba(139,92,246,0.1); }

/* ===== NOTIFICATIONS DOTS ===== */
.badge-dot {
  display: inline-flex;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: white;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

/* ===== ORDER DETAIL ===== */
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-item { padding: 12px 0; border-bottom: 1px solid rgba(139,92,246,0.08); }
.detail-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.detail-value { font-size: 15px; color: var(--text-primary); font-weight: 500; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--purple-darkest); border-bottom: 1px solid var(--purple-border); flex-direction: column; padding: 16px; gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  
  .product-header { grid-template-columns: 1fr; }
  .product-image-box { max-width: 200px; margin: 0 auto; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .auth-card { padding: 32px 24px; }
  .modal { padding: 28px 20px; }
}

/* ===== GLASS EFFECT ===== */
.glass {
  background: rgba(50, 0, 96, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

/* ===== NEON EFFECTS ===== */
.neon-text { text-shadow: 0 0 20px rgba(168, 85, 247, 0.8), 0 0 40px rgba(147, 51, 234, 0.4); }
.neon-border { box-shadow: 0 0 15px rgba(147, 51, 234, 0.4), inset 0 0 15px rgba(147, 51, 234, 0.05); }

/* Image upload preview */
.img-preview { width: 100%; border-radius: var(--radius-md); margin-top: 12px; max-height: 200px; object-fit: cover; display: none; }
.img-preview.visible { display: block; }

/* Profit indicator */
.profit-indicator {
  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-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* Order summary box */
.order-summary {
  background: rgba(50,0,96,0.4);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
}
.order-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.order-summary-row.total { border-top: 1px solid var(--purple-border); margin-top: 8px; padding-top: 16px; }
.order-summary .total-amount { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 900; color: var(--accent-light); }

/* Admin tabs for mobile */
.admin-mobile-tabs { display: none; }
@media (max-width: 768px) {
  .admin-mobile-tabs { display: flex; overflow-x: auto; padding: 0 16px; gap: 8px; margin-bottom: 16px; }
  .admin-content { padding: 16px; }
}
