:root {
  /* Strict Color System */
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --surface-glass: rgba(255, 255, 255, 0.03);
  --surface-glass-hover: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --accent-primary: #8b5cf6; /* Refined neon purple */
  --accent-secondary: #c4b5fd; /* Soft lavender glow */
  --accent-highlight: #22d3ee; /* Cool cyan laser tone */
  
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  
  --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-highlight));
  --glow-accent: rgba(139, 92, 246, 0.5);
  --glow-laser: rgba(34, 211, 238, 0.4);

  /* Spacing System */
  --space-desktop: 100px;
  --space-tablet: 70px;
  --space-mobile: 50px;
  
  --section-spacing: var(--space-desktop);
  --container-max: 1400px;
  --border-radius: 16px;
  --border-radius-game: 20px;
  
  /* Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

@media (max-width: 992px) {
  :root { --section-spacing: var(--space-tablet); }
}

@media (max-width: 576px) {
  :root { --section-spacing: var(--space-mobile); }
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

ul { list-style: none; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-panel:hover {
  background: var(--surface-glass-hover);
  border-color: rgba(139, 92, 246, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: var(--gradient-primary);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  color: #fff;
}

.btn-primary:hover::before {
  opacity: 0.8;
  filter: blur(15px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-highlight);
  color: var(--accent-highlight);
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 15px var(--glow-laser);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 10, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--accent-highlight);
  box-shadow: 0 0 8px var(--accent-highlight);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--glow-accent);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section - Vault Entry */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Offset for header */
  overflow: hidden;
  position: relative;
}

/* Security Laser Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
}

.laser {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent-highlight), transparent);
  height: 1px;
  width: 150%;
  opacity: 0.15;
  box-shadow: 0 0 10px var(--accent-highlight);
}

.laser-1 { top: 30%; left: -25%; transform: rotate(15deg); animation: laser-sweep 15s linear infinite; }
.laser-2 { top: 70%; left: -25%; transform: rotate(-10deg); animation: laser-sweep 20s linear infinite reverse; }
.laser-3 { top: 50%; left: -25%; width: 200%; background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); box-shadow: 0 0 15px var(--accent-primary); opacity: 0.1; transform: rotate(45deg); }

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero p.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.legal-badge span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-highlight);
  box-shadow: 0 0 8px var(--accent-highlight);
}

/* Game Section - The Centerpiece */
.game-section {
  padding-top: 0;
  position: relative;
  z-index: 10;
  margin-top: -10vh; /* Pull up into the hero slightly */
}

.game-vault {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--border-radius-game);
  position: relative;
  padding: 4px;
  transition: transform 0.3s ease;
}

.game-vault::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--gradient-primary);
  border-radius: calc(var(--border-radius-game) + 2px);
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
  animation: pulse-glow 4s ease-in-out infinite;
}

.game-vault:hover {
  transform: scale(1.01);
}

.game-vault iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: calc(var(--border-radius-game) - 2px);
  background: var(--bg-secondary);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

/* Features Section */
.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-highlight);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Interior Pages Content */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-glass);
}

.content-box {
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-box h2 {
  margin-top: 2rem;
  color: var(--accent-secondary);
}

.content-box p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-box ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  margin-top: var(--section-spacing);
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
  color: var(--accent-highlight);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.disclaimer-text {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
}

/* Animations */
@keyframes laser-sweep {
  0% { transform: translateY(-50px) rotate(15deg); }
  50% { transform: translateY(50px) rotate(15deg); }
  100% { transform: translateY(-50px) rotate(15deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; filter: blur(8px); }
  50% { opacity: 0.7; filter: blur(12px); box-shadow: 0 0 30px var(--glow-accent); }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .game-vault {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide for simple implementation, assume mobile menu handles */
  }
  .mobile-menu-btn {
    display: block;
  }
  .header .btn {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .game-vault {
    aspect-ratio: 1/1;
  }
  .content-box {
    padding: 1.5rem;
  }
}