/* ============================================
   GLOBAL iGAMING PLATFORM - FUTURISTIC EDITION
   Design System v2.0
   ============================================ */

/* === 1. DESIGN TOKENS === */
:root {
  /* Deep Space Colors */
  --bg-deep: #050A18;
  --bg-surface: #0A1128;
  --bg-elevated: #0F1A35;
  --bg-card: rgba(10, 17, 40, 0.8);
  --border-quantum: #1A2744;
  --border-glow: rgba(0, 240, 255, 0.2);

  /* Holographic Colors */
  --cyan-holo: #00F0FF;
  --cyan-dim: #00A8B3;
  --purple-plasma: #8B5CF6;
  --purple-dim: #6D45D0;
  --gold-solar: #FFB800;
  --gold-dim: #CC9200;
  --red-nova: #FF3366;
  --green-aurora: #00E676;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --text-glow: 0 0 10px rgba(0, 240, 255, 0.5);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #050A18 0%, #0A1128 40%, #1A0A3E 100%);
  --gradient-card: linear-gradient(145deg, rgba(15, 26, 53, 0.9) 0%, rgba(10, 17, 40, 0.95) 100%);
  --gradient-holo: linear-gradient(135deg, #00F0FF 0%, #8B5CF6 50%, #FF3366 100%);
  --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  --gradient-btn: linear-gradient(135deg, #00F0FF 0%, #00A8B3 100%);
  --gradient-btn-hover: linear-gradient(135deg, #33F5FF 0%, #00C4D4 100%);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
  --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 60px rgba(139, 92, 246, 0.1);
  --shadow-glow-gold: 0 0 20px rgba(255, 184, 0, 0.3), 0 0 60px rgba(255, 184, 0, 0.1);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --duration-page: 800ms;

  /* Layout */
  --header-height: 72px;
  --section-padding: 80px;
}

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

html {
  scroll-behavior: auto;
  overflow: hidden;
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow: hidden;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--cyan-holo); text-decoration: none; transition: color var(--duration-fast); }
a:hover { color: var(--gold-solar); }

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* === 3. TYPOGRAPHY === */
.text-display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-heading {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.text-subheading {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-body { font-size: 1rem; font-weight: 400; line-height: 1.6; }
.text-small { font-size: 0.875rem; font-weight: 400; }
.text-tiny { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

.text-glow-cyan { color: var(--cyan-holo); text-shadow: var(--text-glow); }
.text-glow-gold { color: var(--gold-solar); text-shadow: 0 0 10px rgba(255, 184, 0, 0.5); }
.text-glow-purple { color: var(--purple-plasma); text-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }

.text-gradient {
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === 4. FULLPAGE SCROLL SYSTEM === */
.fullpage-container {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.fullpage-wrapper {
  transition: transform var(--duration-page) var(--ease-smooth);
  will-change: transform;
  height: 100%;
}

.fullpage-section {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--header-height) var(--space-lg) var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section entrance animations */
.fullpage-section.active .animate-in {
  animation: fadeSlideUp 0.8s var(--ease-smooth) forwards;
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* === 5. PARTICLE CANVAS === */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* === 6. AGE GATE === */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.age-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate-card {
  text-align: center;
  padding: var(--space-3xl);
  background: var(--gradient-card);
  border: 1px solid var(--border-quantum);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-glow-cyan);
}

.age-gate-logo {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}

.age-gate-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.age-gate-desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

.age-gate-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.age-gate-buttons .btn-primary {
  min-width: 140px;
}

.age-gate-buttons .btn-ghost {
  min-width: 140px;
}

/* === 7. HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-quantum);
  transition: background var(--duration-normal);
}

.header.scrolled {
  background: rgba(5, 10, 24, 0.95);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-holo);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--cyan-holo);
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan-holo);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--cyan-holo);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-quantum);
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--duration-fast);
  line-height: 1;
}

.header-lang span:first-child {
  font-size: 0.85rem;
  line-height: 1;
}

.header-lang:hover {
  border-color: var(--cyan-holo);
  color: var(--cyan-holo);
}

/* === 8. SIDE DOT NAVIGATION === */
.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--duration-normal);
  position: relative;
}

.side-nav-dot:hover {
  background: rgba(0, 240, 255, 0.3);
  border-color: var(--cyan-holo);
}

.side-nav-dot.active {
  background: var(--cyan-holo);
  border-color: var(--cyan-holo);
  box-shadow: 0 0 12px var(--cyan-holo);
  transform: scale(1.3);
}

.side-nav-dot .dot-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity var(--duration-fast);
  pointer-events: none;
}

.side-nav-dot:hover .dot-label {
  opacity: 1;
}

/* === 9. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--duration-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-btn);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 80px rgba(0, 240, 255, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan-holo);
  border: 1px solid var(--cyan-holo);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-quantum);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm { padding: 7px 18px; font-size: 0.8rem; min-width: 72px; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* === 10. CARDS === */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-quantum);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), transparent, rgba(139, 92, 246, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

.card-glow-gold:hover {
  border-color: rgba(255, 184, 0, 0.3);
  box-shadow: var(--shadow-glow-gold);
}

/* === 11. FORMS === */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--duration-fast);
}

.form-input:focus {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.1), 0 0 4px rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.03);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input-icon {
  position: relative;
}

.form-input-icon .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 1.1rem;
}

.form-input-icon .form-input {
  padding-left: 44px;
}

.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--space-lg);
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.form-tab {
  flex: 1;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 0;
  transition: all var(--duration-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
}

.form-tab.active {
  background: transparent;
  color: var(--cyan-holo);
  font-weight: 600;
  border: none;
  border-bottom: 2px solid var(--cyan-holo);
}

.form-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.7);
}

/* === 12. HERO SECTION === */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5,10,24,0.85) 0%, rgba(5,10,24,0.5) 50%, rgba(5,10,24,0.7) 100%);
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cyan-holo);
  margin-bottom: var(--space-xl);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green-aurora);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan-holo);
  text-shadow: var(--text-glow);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* === 13. PRODUCTS SECTION === */
.products-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #080E20 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-holo);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  cursor: pointer;
  position: relative;
}

.product-card .product-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--duration-normal);
}

.product-card:hover .product-icon {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-holo);
  box-shadow: var(--shadow-glow-cyan);
  transform: scale(1.1);
}

.product-card .product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card .product-count {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.product-card .product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 8px;
  background: var(--red-nova);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* === 14. AUTH SECTION === */
.auth-section {
  background: linear-gradient(180deg, #080E20 0%, var(--bg-deep) 100%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

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

.auth-visual-orb {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.1), transparent);
  border: 1px solid rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.auth-visual-orb::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.15);
  animation: spin 20s linear infinite;
}

.auth-visual-orb::after {
  content: '';
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.1);
  animation: spin 30s linear infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

.auth-form-wrapper {
  max-width: 420px;
  width: 100%;
}

.auth-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-quantum);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(20px);
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-social {
  display: flex;
  gap: var(--space-sm);
}

.auth-social-btn {
  flex: 1;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--duration-fast);
}
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.auth-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.auth-footer a {
  color: var(--cyan-holo);
  font-weight: 500;
}

/* === 15. VIP SECTION === */
.vip-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0D0820 50%, var(--bg-deep) 100%);
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.vip-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
}

.vip-card.featured {
  border-color: rgba(255, 184, 0, 0.3);
  background: linear-gradient(145deg, rgba(255, 184, 0, 0.05), rgba(10, 17, 40, 0.95));
}

.vip-card.featured::before {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.2), transparent, rgba(255, 184, 0, 0.1));
}

.vip-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.vip-tier.bronze { color: #CD7F32; }
.vip-tier.silver { color: #C0C0C0; }
.vip-tier.gold { color: var(--gold-solar); }
.vip-tier.diamond { color: var(--cyan-holo); }

.vip-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.vip-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.vip-bonus {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.vip-perks {
  list-style: none;
  text-align: left;
}

.vip-perks li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.vip-perks li .check {
  color: var(--green-aurora);
  font-weight: bold;
}

/* === 16. PROMO SECTION === */
.promo-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0A0F20 100%);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.promo-card {
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.promo-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05), transparent);
  pointer-events: none;
}

.promo-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-holo);
  margin-bottom: var(--space-md);
}

.promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.promo-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.promo-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-solar);
  margin-bottom: var(--space-md);
}

/* === 17. FEATURES/FOOTER SECTION === */
.features-section {
  background: linear-gradient(180deg, #0A0F20 0%, var(--bg-deep) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto var(--space-2xl);
}

.feature-card {
  padding: var(--space-xl);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-quantum);
  padding: var(--space-xl) 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-badges {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer-badge {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-quantum);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-links a:hover {
  color: var(--cyan-holo);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* === 18. MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

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

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-quantum);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 480px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* === 19. TOAST === */
.toast-container {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 16px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-quantum);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s var(--ease-smooth);
  min-width: 280px;
  box-shadow: var(--shadow-card);
}

.toast.success { border-left: 3px solid var(--green-aurora); }
.toast.error { border-left: 3px solid var(--red-nova); }
.toast.info { border-left: 3px solid var(--cyan-holo); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* === 20. SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--cyan-holo);
  border-bottom: 2px solid var(--cyan-holo);
  transform: rotate(45deg);
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* === 21. MOBILE BOTTOM NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 10, 24, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-quantum);
  z-index: 1000;
  padding: 0 var(--space-sm);
}

.mobile-nav-items {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  color: var(--text-tertiary);
  font-size: 0.65rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  cursor: pointer;
}

.mobile-nav-item .nav-icon {
  font-size: 1.3rem;
}

.mobile-nav-item.active {
  color: var(--cyan-holo);
}

/* === 22. RESPONSIVE === */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .side-nav { right: 12px; }
  .auth-container { grid-template-columns: 1fr; gap: var(--space-xl); }
  .auth-visual { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --section-padding: 40px;
  }

  .mobile-nav { display: block; }

  .section-content {
    padding: var(--header-height) var(--space-md) 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { gap: var(--space-lg); }
  .hero-stat-value { font-size: 1.5rem; }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .product-card { padding: var(--space-md) var(--space-sm); }
  .product-card .product-icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .product-card .product-name { font-size: 0.85rem; }

  .vip-grid { grid-template-columns: 1fr; max-width: 360px; }
  .promo-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .side-nav { display: none; }

  .auth-card { padding: var(--space-xl); }

  .btn-lg { padding: 14px 28px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .features-grid { grid-template-columns: 1fr; }
  .age-gate-card { padding: var(--space-xl); }
  .age-gate-buttons { flex-direction: column; }
}

/* === 23. UTILITY CLASSES === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.relative { position: relative; }
.z-1 { z-index: 1; }
.mt-auto { margin-top: auto; }

/* === 24. SCAN LINE EFFECT === */
.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 255, 0.008) 2px,
    rgba(0, 240, 255, 0.008) 4px
  );
}

/* === 25. GLOWING BORDER ANIMATION === */
@keyframes borderGlow {
  0%, 100% { border-color: rgba(0, 240, 255, 0.2); }
  50% { border-color: rgba(0, 240, 255, 0.5); }
}

.glow-border {
  animation: borderGlow 3s ease-in-out infinite;
}

/* === 26. LOADING SKELETON === */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === 27. CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-quantum); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dim); }

/* === 28. RESPONSIBLE GAMING BANNER === */
.rg-banner {
  background: rgba(255, 184, 0, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: var(--space-lg);
}

.rg-banner .rg-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================
   29. GATE PAGE (Login Wall)
   ============================================ */

/* Hide main app by default */
.app-hidden {
  display: none;
}

.app-visible {
  display: block;
}

/* Gate Page - Full screen login/register */
.gate-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #050A18;
}

.gate-page canvas.gate-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.gate-page.gate-hidden {
  display: none;
}

/* Background Image */
.gate-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
}

/* Overlay */
.gate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(5, 10, 24, 0.55) 0%,
    rgba(10, 17, 40, 0.4) 50%,
    rgba(5, 10, 24, 0.55) 100%
  );
  z-index: 1;
}

/* Top Bar */
.gate-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
}

.gate-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.gate-topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Center Content */
.gate-center {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  gap: var(--space-lg);
}

/* Auth Card on Gate - No frame, blended with background */
.gate-auth-card {
  width: 100%;
  max-width: 420px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: var(--space-lg);
  box-shadow: none;
}

/* Brand Title */
.gate-brand {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gate-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
}

.gate-tagline {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* Gate Responsible Gaming */
.gate-rg {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-align: center;
  opacity: 0.7;
}

.gate-rg a {
  color: var(--cyan-holo);
  text-decoration: none;
}

.gate-rg a:hover {
  text-decoration: underline;
}

/* Gate page responsive */
@media (max-width: 768px) {
  .gate-topbar {
    padding: var(--space-sm) var(--space-md);
  }

  .gate-auth-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .gate-title {
    font-size: 1.4rem;
  }

  .gate-tagline {
    font-size: 0.75rem;
  }

  .gate-center {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .gate-title {
    font-size: 1.2rem;
  }

  .gate-auth-card {
    padding: var(--space-md);
  }
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loading-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease, transform 6s ease;
}

.loading-slide.active {
  opacity: 1;
  transform: scale(1);
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(5, 10, 24, 0.7) 0%,
    rgba(10, 17, 40, 0.5) 50%,
    rgba(5, 10, 24, 0.7) 100%
  );
}

.loading-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: var(--space-xl);
}

.loading-logo {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  animation: loadingPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

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

.loading-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00F0FF 0%, #8B5CF6 50%, #FFB800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
  animation: loadingTitleGlow 3s ease-in-out infinite;
}

@keyframes loadingTitleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

.loading-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.loading-progress {
  width: min(400px, 80vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  position: relative;
}

.loading-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
  animation: loadingShimmer 2s infinite;
}

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

.loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00F0FF, #8B5CF6, #FFB800);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.loading-dots {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.loading-dot.active {
  background: #00F0FF;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transform: scale(1.3);
}

.loading-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 1.5em;
}

.loading-skip {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  letter-spacing: 0.05em;
}

.loading-skip:hover {
  border-color: rgba(0, 240, 255, 0.5);
  color: #00F0FF;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

@media (max-width: 768px) {
  .loading-logo {
    font-size: 3rem;
  }

  .loading-skip {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}
