/* ============================================
   NEXUS TOP UP - Premium Dark Gaming Platform
   ============================================ */

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

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --border: rgba(255,255,255,0.06);
  --border-glow: rgba(139,92,246,0.4);

  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --electric: #06b6d4;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --pink: #ec4899;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --glow-purple: 0 0 20px rgba(139,92,246,0.5), 0 0 40px rgba(139,92,246,0.2);
  --glow-electric: 0 0 20px rgba(6,182,212,0.5), 0 0 40px rgba(6,182,212,0.2);
  --glow-gold: 0 0 20px rgba(245,158,11,0.5), 0 0 40px rgba(245,158,11,0.2);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

img { width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--purple), var(--electric));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--glow-purple);
}

.logo-text span { color: var(--purple-light); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(139,92,246,0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple);
}

.btn-login {
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: white;
  border: 1px solid rgba(139,92,246,0.3);
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(139,92,246,0.3);
}

.btn-login:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--electric));
  background-size: 200% 200%;
  color: white;
  border: 1px solid rgba(139,92,246,0.4);
  box-shadow: var(--glow-purple);
  animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139,92,246,0.7), 0 0 60px rgba(139,92,246,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid rgba(139,92,246,0.4);
}

.btn-outline:hover {
  background: rgba(139,92,246,0.1);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #92400e, var(--gold), var(--gold-light));
  color: #1a0f00;
  font-weight: 800;
  box-shadow: var(--glow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245,158,11,0.7);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(139,92,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(6,182,212,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(245,158,11,0.08) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes pulse-glow { 0%,100%{box-shadow:0 0 15px rgba(139,92,246,0.2)} 50%{box-shadow:0 0 25px rgba(139,92,246,0.4)} }

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .line-accent {
  display: block;
  background: linear-gradient(135deg, var(--purple-light), var(--electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hero Image */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139,92,246,0.3);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(139,92,246,0.2);
  animation: float 4s ease-in-out infinite;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.placeholder-img .ph-icon { font-size: 3rem; opacity: 0.4; }
.placeholder-img .ph-text { opacity: 0.5; font-family: 'Inter', sans-serif; }

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.2);
  animation: spin-ring 15s linear infinite;
}

.ring-1 { width: 300px; height: 300px; top: -50px; right: -50px; }
.ring-2 { width: 200px; height: 200px; bottom: -30px; right: -20px; animation-duration: 10s; animation-direction: reverse; border-color: rgba(6,182,212,0.2); }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes spin-ring { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* Floating badges */
.float-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.fb-1 {
  top: 20px; left: -40px;
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.3);
  animation-delay: 0.5s;
}

.fb-2 {
  bottom: 30px; left: -30px;
  background: rgba(6,182,212,0.2);
  border-color: rgba(6,182,212,0.3);
  animation-delay: 1s;
}

.fb-icon { font-size: 1.2rem; }

/* ══════════════════════════════════════════
   SECTIONS COMMON
══════════════════════════════════════════ */
section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title span {
  background: linear-gradient(135deg, var(--purple-light), var(--electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ══════════════════════════════════════════
   CATEGORY SECTION
══════════════════════════════════════════ */
.categories { background: var(--bg-secondary); }

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

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow-purple);
}

.game-card-img {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
}

.game-card-img .placeholder-img {
  aspect-ratio: 3/2;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9), transparent 60%);
}

.game-card-tag {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag-hot { background: rgba(239,68,68,0.9); color: white; }
.tag-new { background: rgba(16,185,129,0.9); color: white; }
.tag-popular { background: rgba(245,158,11,0.9); color: #1a0f00; }

.game-card-body { padding: 16px; }

.game-card-name {
  font-family: 'Orbitron', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.game-card-price {
  font-size: 0.82rem;
  color: var(--purple-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-card-price::before { content: '⚡'; font-size: 0.7rem; }

.game-card-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--purple-light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
}

.game-card:hover .game-card-btn {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 15px rgba(139,92,246,0.2);
}

/* ══════════════════════════════════════════
   BEST SELLER
══════════════════════════════════════════ */
.bestseller { background: var(--bg-primary); }

.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.bs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bs-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--electric), transparent);
  opacity: 0;
  transition: var(--transition);
}

.bs-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.3); }
.bs-card:hover::before { opacity: 1; }

.bs-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.bs-game-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.bs-game-icon .placeholder-img { height: 56px; }

.bs-game-name {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bs-game-cat {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bs-rank {
  margin-left: auto;
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bs-items { display: flex; flex-direction: column; gap: 10px; }

.bs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.bs-item:hover {
  background: rgba(139,92,246,0.08);
  border-color: rgba(139,92,246,0.2);
}

.bs-item-name { font-size: 0.88rem; font-weight: 500; }

.bs-item-price {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials { background: var(--bg-secondary); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}

.testi-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.25); }

.testi-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--purple);
  opacity: 0.4;
  font-family: 'Georgia', serif;
  margin-bottom: 12px;
}

.testi-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star { color: var(--gold); font-size: 0.9rem; }

.testi-user { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--electric));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.testi-game { font-size: 0.78rem; color: var(--purple-light); letter-spacing: 0.5px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-logo span { color: var(--purple-light); }

.footer-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.social-link:hover {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.3);
  color: var(--purple-light);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.footer-link:hover { color: var(--purple-light); padding-left: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.footer-bottom span { color: var(--purple-light); }

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════
   PROMO PAGE
══════════════════════════════════════════ */
.page-hero {
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(139,92,246,0.12), transparent 70%);
}

.page-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}

.page-title span {
  background: linear-gradient(135deg, var(--purple-light), var(--electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  position: relative;
}

/* Promo Banner */
.promo-banner {
  margin: 40px 0;
}

.banner-slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,158,11,0.3);
  box-shadow: var(--glow-gold);
  aspect-ratio: 16/5;
  position: relative;
}

.banner-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0f00, #2d1a00, #3d2800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
  position: relative;
  overflow: hidden;
}

.banner-bg::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.2), transparent 70%);
}

.banner-content { position: relative; z-index: 1; }
.banner-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gold);
  color: #1a0f00;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.banner-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: white;
  margin-bottom: 8px;
}

.banner-title span { color: var(--gold-light); }
.banner-sub { color: rgba(255,255,255,0.7); font-size: 0.9rem; font-family: 'Inter', sans-serif; }

.banner-cta { position: relative; z-index: 1; }

/* Promo Grid */
.promo-section { padding: 60px 0 100px; }

.promo-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
  font-family: 'Rajdhani', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.4);
  color: var(--purple-light);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(139,92,246,0.15);
}

.promo-card-img {
  aspect-ratio: 16/7;
  position: relative;
  overflow: hidden;
}

.promo-card-img .placeholder-img {
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.promo-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
}

.badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-hot { background: linear-gradient(135deg, #dc2626, #ef4444); color: white; }
.badge-limited { background: rgba(0,0,0,0.7); color: var(--gold); border: 1px solid rgba(245,158,11,0.5); }
.badge-new { background: linear-gradient(135deg, #059669, #10b981); color: white; }
.badge-flash { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: white; }

.promo-discount-badge {
  position: absolute;
  top: -4px; right: 16px;
  background: linear-gradient(180deg, var(--gold), #d97706);
  color: #1a0f00;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1rem;
  padding: 8px 12px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  min-width: 60px;
  text-align: center;
}

.promo-card-body { padding: 20px; }

.promo-game-tag {
  font-size: 0.72rem;
  color: var(--purple-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.promo-card-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  font-weight: 300;
}

.promo-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.price-new {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-save {
  font-size: 0.78rem;
  color: #10b981;
  font-weight: 600;
  margin-left: auto;
}

.promo-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timer-label { color: var(--text-muted); }

.timer-units { display: flex; gap: 4px; }

.timer-unit {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple-light);
}

.promo-card-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(6,182,212,0.1));
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  text-align: center;
}

.promo-card:hover .promo-card-btn {
  background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(6,182,212,0.2));
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}

/* ══════════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(139,92,246,0.15), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(6,182,212,0.1), transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(245,158,11,0.06), transparent 50%);
}

.login-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(19,19,31,0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(139,92,246,0.1);
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, transparent, var(--purple), var(--electric), transparent);
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.login-logo span { color: var(--purple-light); }

.login-tagline {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.login-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.login-sub {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
}

/* Form */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrapper { position: relative; }

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.form-input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.05);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
}

.form-input:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--purple-light);
}

.input-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0;
}

.input-toggle:hover { color: var(--purple-light); }

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.65rem;
}

.checkbox-wrapper input:checked + .checkbox-custom {
  background: var(--purple);
  border-color: var(--purple);
  content: '✓';
}

.checkbox-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
}

.forgot-link {
  font-size: 0.84rem;
  color: var(--purple-light);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.forgot-link:hover { color: var(--electric); }

.btn-login-full {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--electric));
  color: white;
  font-family: 'Orbitron', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow-purple);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.btn-login-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--transition);
}

.btn-login-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139,92,246,0.6), 0 0 60px rgba(139,92,246,0.2);
}

.btn-login-full:hover::before { opacity: 1; }

.btn-login-full:active { transform: scale(0.98); }

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.divider-line { flex: 1; height: 1px; background: var(--border); }

.divider-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.social-login { display: flex; gap: 12px; margin-bottom: 28px; }

.social-login-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.social-login-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.register-link {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.register-link a {
  color: var(--purple-light);
  font-weight: 600;
  transition: var(--transition);
}

.register-link a:hover { color: var(--electric); }

/* Click ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: scale(0);
  animation: ripple-anim 0.5s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .banner-bg { padding: 30px 40px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }

  .nav-menu.open { transform: translateY(0); }

  .nav-link { width: 100%; text-align: center; padding: 14px 20px; }

  .btn-login { width: 100%; text-align: center; }

  .hamburger { display: flex; }

  .hero { padding: 100px 0 60px; }

  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 24px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .bestseller-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .banner-bg { padding: 24px; flex-direction: column; gap: 20px; align-items: flex-start; }

  .promo-grid { grid-template-columns: 1fr; }

  .login-card { padding: 36px 24px; }

  section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .categories-grid { grid-template-columns: 1fr; }
  .social-login { flex-direction: column; }
  .promo-filter { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.8rem; }
}