/* ============================================
   NEXUS GAMING - ULTRA PREMIUM DARK THEME
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:ital,wght@0,300;0,400;0,600;0,800;1,400&family=Orbitron:wght@400;700;900&display=swap');

/* === VARIABLES === */
:root {
  --bg-void: #020408;
  --bg-deep: #060c14;
  --bg-dark: #0a1628;
  --bg-card: #0d1f3c;
  --bg-glass: rgba(13, 31, 60, 0.6);
  --bg-glass2: rgba(255,255,255,0.03);

  --neon-blue: #00d4ff;
  --neon-purple: #bf00ff;
  --neon-green: #00ff88;
  --neon-orange: #ff6b00;
  --neon-pink: #ff0080;

  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --accent2: #bf00ff;
  --accent2-glow: rgba(191, 0, 255, 0.3);

  --text-primary: #e8f4ff;
  --text-secondary: #7a9cc0;
  --text-muted: #3d5a7a;

  --border: rgba(0, 212, 255, 0.15);
  --border-hover: rgba(0, 212, 255, 0.4);

  --gradient-hero: linear-gradient(135deg, #020408 0%, #0a1628 50%, #0f0a20 100%);
  --gradient-card: linear-gradient(145deg, rgba(13,31,60,0.9), rgba(6,12,20,0.95));
  --gradient-neon: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  --gradient-fire: linear-gradient(90deg, #ff6b00, #ff0080);
  --gradient-success: linear-gradient(90deg, #00ff88, #00d4ff);

  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(0, 212, 255, 0.08);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.7), 0 0 30px rgba(0, 212, 255, 0.2);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s 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: 'Exo 2', sans-serif;
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0,212,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(191,0,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,255,136,0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Scanline effect */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.font-orbitron { font-family: 'Orbitron', monospace; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--neon-green); }

img { max-width: 100%; display: block; }

/* === LAYOUT === */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(2, 4, 8, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(0,212,255,0.1);
}

.navbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  background: var(--gradient-neon);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(0,212,255,0.4);
}

.brand-name {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

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

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #0099cc, var(--neon-blue));
  color: var(--bg-void);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.5);
  color: var(--bg-void);
}

.btn-neon {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: inset 0 0 20px rgba(0,212,255,0.05), 0 0 20px rgba(0,212,255,0.1);
}

.btn-neon:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: inset 0 0 30px rgba(0,212,255,0.1), 0 0 30px rgba(0,212,255,0.3);
  transform: translateY(-2px);
  color: var(--accent);
}

.btn-fire {
  background: var(--gradient-fire);
  color: white;
  box-shadow: 0 4px 20px rgba(255,107,0,0.3);
}

.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.5);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, #00cc66, var(--neon-green));
  color: var(--bg-void);
  box-shadow: 0 4px 20px rgba(0,255,136,0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,255,136,0.5);
  color: var(--bg-void);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; border-radius: 10px; }

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-particles::before {
  background: rgba(0,212,255,0.08);
  top: -200px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.hero-particles::after {
  background: rgba(191,0,255,0.08);
  bottom: -200px; left: -100px;
  animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: 'Rajdhani', sans-serif;
}

.hero-title .line-glow {
  display: block;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.3));
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat-item {}

.stat-value {
  font-family: 'Orbitron', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.hero-game-showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-main-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  transition: var(--transition-slow);
  animation: heroCardFloat 6s ease-in-out infinite;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

.hero-main-card:hover {
  box-shadow: 0 24px 80px rgba(0,212,255,0.3);
  animation-play-state: paused;
}

.hero-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.hero-card-img-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1a3a6e 0%, #0a1628 50%, #1a0a3e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.hero-card-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(0,212,255,0.1) 50%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-card-body {
  padding: 20px 24px 24px;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-card-genre {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(0,212,255,0.1);
  color: var(--accent);
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffd700;
  font-size: 13px;
  font-weight: 600;
}

.hero-card-title {
  font-size: 22px;
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
}

.hero-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-price {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--neon-green);
}

.hero-card-price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title span {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* === CATEGORY GRID === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-neon);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-neon);
  transform: translateY(-4px);
}

.category-card:hover::before { opacity: 0.04; }

.category-icon {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.3));
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 16px rgba(0,212,255,0.5));
}

.category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.category-card:hover .category-name { color: var(--accent); }

.category-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* === GAME CARDS === */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.game-card:hover {
  border-color: rgba(0,212,255,0.4);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.game-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.game-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-deep));
  position: relative;
  overflow: hidden;
}

.game-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(191,0,255,0.05));
}

.game-card:hover .game-card-img { transform: scale(1.08); }

.game-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-featured {
  background: var(--gradient-neon);
  color: var(--bg-void);
  box-shadow: 0 0 16px rgba(0,212,255,0.4);
}

.badge-sale {
  background: var(--gradient-fire);
  color: white;
  box-shadow: 0 0 16px rgba(255,107,0,0.4);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,4,8,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-quick-buy {
  width: 100%;
}

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

.game-platform {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.game-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-price-wrap {
  display: flex;
  flex-direction: column;
}

.game-price {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-green);
  line-height: 1;
}

.game-price-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 2px;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffd700;
  font-size: 13px;
  font-weight: 600;
}

/* === BANNER === */
.promo-banner {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a3e 50%, #0a1628 100%);
  border: 1px solid rgba(191,0,255,0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(191,0,255,0.05), transparent, rgba(0,212,255,0.05), transparent);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  to { transform: rotate(360deg); }
}

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

.promo-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-fire);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255,107,0,0.4);
}

.promo-title {
  font-size: clamp(28px, 4vw, 56px);
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.1;
}

.promo-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* === GLASS CARDS === */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

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

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-dark);
}

/* === ALERTS === */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
  margin-bottom: 16px;
}

.alert-success { background: rgba(0,255,136,0.08); border-color: rgba(0,255,136,0.3); color: var(--neon-green); }
.alert-error { background: rgba(255,0,80,0.08); border-color: rgba(255,0,80,0.3); color: #ff4080; }
.alert-info { background: rgba(0,212,255,0.08); border-color: rgba(0,212,255,0.3); color: var(--accent); }
.alert-warning { background: rgba(255,107,0,0.08); border-color: rgba(255,107,0,0.3); color: var(--neon-orange); }

/* === TAGS / BADGES === */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tag-pending { background: rgba(255,107,0,0.15); color: var(--neon-orange); border: 1px solid rgba(255,107,0,0.3); }
.tag-completed { background: rgba(0,255,136,0.1); color: var(--neon-green); border: 1px solid rgba(0,255,136,0.3); }
.tag-approved { background: rgba(0,255,136,0.1); color: var(--neon-green); border: 1px solid rgba(0,255,136,0.3); }
.tag-rejected { background: rgba(255,0,80,0.1); color: #ff4080; border: 1px solid rgba(255,0,80,0.3); }
.tag-processing { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.3); }

/* === ORDER MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  overflow: hidden;
  margin: auto;
  max-height: none;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255,0,80,0.1);
  color: #ff4080;
}

.modal-body { padding: 24px 28px; }
.modal-footer { padding: 16px 28px 24px; display: flex; gap: 12px; justify-content: flex-end; }

/* === FOOTER === */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

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

.footer-brand-name {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* === PAGE HEADER === */
.page-header {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,212,255,0.04), transparent);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
}

/* === GLITCH EFFECT === */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch::before {
  animation: glitch1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
  animation: glitch2 3s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  92% { transform: translate(-2px, 1px); opacity: 0.3; }
  94% { transform: translate(2px, -1px); opacity: 0; }
}

@keyframes glitch2 {
  0%, 92%, 100% { transform: none; opacity: 0; }
  94% { transform: translate(2px, 1px); opacity: 0.3; }
  96% { transform: translate(-2px, -1px); opacity: 0; }
}

/* === WHATSAPP BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
  animation: waBounce 4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
  color: white;
}

@keyframes waBounce {
  0%, 90%, 100% { transform: translateY(0); }
  95% { transform: translateY(-6px); }
}

/* === LOADING === */
.loading-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid rgba(0,212,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.4); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-fade { animation: fadeIn 0.6s ease both; }

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

/* === NEON LINE === */
.neon-line {
  height: 2px;
  background: var(--gradient-neon);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .games-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .promo-banner { padding: 32px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .modal { margin: 8px; border-radius: 16px; }
}

/* Mobile nav menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(2,4,8,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.nav-mobile a:hover {
  color: var(--accent);
  background: rgba(0,212,255,0.08);
}

/* === CATEGORY ICONS (no emoji) === */
.cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin: 0 auto 12px;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--bg-void);
  background: var(--gradient-neon);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
  transition: var(--transition);
}
.category-card:hover .cat-icon {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(0,212,255,0.5);
}
.cat-action  { background: linear-gradient(135deg,#ff6b00,#ff0080); }
.cat-rpg     { background: linear-gradient(135deg,#bf00ff,#6600cc); }
.cat-sports  { background: linear-gradient(135deg,#00ff88,#00cc66); color: #020408; }
.cat-racing  { background: linear-gradient(135deg,#ff6b00,#ffaa00); }
.cat-strategy{ background: linear-gradient(135deg,#00d4ff,#0066ff); }
.cat-fps     { background: linear-gradient(135deg,#ff2244,#cc0000); }

/* === MODAL MOBILE FIX === */
@media (max-width: 600px) {
  .modal-overlay {
    padding: 8px;
    align-items: flex-start;
  }
  .modal-header { padding: 16px 18px 14px; }
  .modal-body { padding: 16px 18px; }
  .modal-footer { padding: 12px 18px 18px; }
  .modal-title { font-size: 17px; }
}

/* === MODAL CLOSE BUTTON - BIGGER & VISIBLE === */
.modal-close {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  background: rgba(255,0,80,0.12) !important;
  color: #ff4080 !important;
  border: 1.5px solid rgba(255,0,80,0.3) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.modal-close:hover {
  background: rgba(255,0,80,0.25) !important;
  transform: scale(1.1);
}
