:root {
  /* Base Colors - Dark Navy Lux */
  --bg-primary: #0a0b10;
  --bg-secondary: #12141d;
  --bg-glass: rgba(18, 20, 29, 0.65);
  --bg-glass-hover: rgba(30, 58, 138, 0.15);
  
  /* Accent System - Navy Blue Only */
  --accent-primary: #1e3a8a; /* Deep Navy */
  --accent-secondary: #3b82f6; /* Soft Navy Glow/Highlight */
  --accent-gradient: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  --accent-glow: rgba(30, 58, 138, 0.4);
  
  /* Text Colors */
  --text-primary: #f8fafc; /* Soft White */
  --text-secondary: #94a3b8; /* Muted Grey */
  --text-dark: #cbd5e1;
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1400px;
  --spacing-section: 100px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile & Tablet Variables via Media Queries */
@media (max-width: 992px) {
  :root {
    --spacing-section: 70px;
  }
}
@media (max-width: 768px) {
  :root {
    --spacing-section: 50px;
  }
}

/* -----------------------------
   RESET & GLOBAL
----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

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

.section {
  padding: var(--spacing-section) 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

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

/* -----------------------------
   TYPOGRAPHY
----------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

/* -----------------------------
   BUTTON SYSTEM
----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* -----------------------------
   HEADER & NAVIGATION
----------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 11, 16, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 58, 138, 0.3);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px var(--accent-secondary);
}

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

.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;
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: var(--transition-smooth);
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

/* -----------------------------
   HERO SECTION
----------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* Offset for header */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(10, 11, 16, 0.7) 50%, var(--bg-primary) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Required Disclaimer Styling */
.disclaimer-box {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  backdrop-filter: blur(10px);
}

.disclaimer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.disclaimer-icon {
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
}

/* -----------------------------
   GAME SECTION - CORE PRODUCT
----------------------------- */
.game-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(30, 58, 138, 0.2);
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
}

.game-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-header {
  margin-bottom: 40px;
  text-align: center;
}

.game-header span {
  color: var(--accent-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.game-frame-container {
  width: 90%;
  max-width: 1300px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(30, 58, 138, 0.5), 0 0 30px rgba(30, 58, 138, 0.3);
  position: relative;
}

.game-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1200px) {
  .game-frame-container {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .game-frame-container {
    width: 100%;
    border-radius: var(--radius-md);
  }
}

/* -----------------------------
   CONTENT PAGES & GRIDS
----------------------------- */
.page-header {
  padding: calc(var(--spacing-section) + 80px) 0 var(--spacing-section);
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  width: 100%;
  margin-top: 40px;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: rgba(30, 58, 138, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  font-size: 1.5rem;
}

.rich-text {
  max-width: 800px;
  margin: 0 auto;
}

.rich-text h2 {
  margin-top: 48px;
  margin-bottom: 24px;
}

.rich-text p {
  margin-bottom: 16px;
}

.rich-text ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.rich-text li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  position: relative;
}

.rich-text li::before {
  content: '•';
  color: var(--accent-secondary);
  position: absolute;
  left: -20px;
  font-weight: bold;
}

/* -----------------------------
   CONTACT FORM
----------------------------- */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 16px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

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

/* -----------------------------
   FOOTER
----------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(30, 58, 138, 0.2);
  padding: 80px 0 40px;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 400px;
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

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

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

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.875rem;
  margin: 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-secondary);
}