@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

:root {
  /* Turbo/neon game palette */
  --bg-primary: #071028; /* deep navy */
  --bg-secondary: #0b1530; /* slightly lighter navy */
  --bg-accent: #071b3a; /* rich midnight blue */
  --text-primary: #e6f7ff; /* icy white-cyan for legibility */
  --text-secondary: #9fdfff; /* soft cyan for secondary text */
  --text-light: #b6e7ff; /* lighter cyan */
  --accent-primary: #00f0ff; /* neon cyan */
  --accent-secondary: #ff2dd4; /* hot magenta */
  --accent-tertiary: #9b00ff; /* electric purple */
  --border-color: rgba(0, 240, 255, 0.08);
  --shadow-light: rgba(0, 240, 255, 0.08);
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #9b00ff 100%);
  --gradient-secondary: linear-gradient(135deg, #ff2dd4 0%, #00f0ff 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.header {
  background: var(--gradient-primary);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,240,255,0.12);
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
  position: relative;
}

.logo {
  position: absolute;
  left: 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 8px;
  border: 1px solid rgba(0,240,255,0.06);
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 50px;
  display: block;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0,240,255,0.08);
  backdrop-filter: blur(6px);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(0,240,255,0.08);
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-accent) 100%
  );
  padding: 170px 0 120px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: var(--gradient-secondary);
  border-radius: 50% 0 0 50%;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.2rem;
  margin: 0 0 3rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-button {
  background: var(--gradient-primary);
  color: white;
  padding: 18px 35px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 8px 30px rgba(0,240,255,0.10);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,240,255,0.12);
}

.cta-button.secondary:hover {
  background: var(--accent-primary);
  color: white;
}

/* --- Content Sections --- */
.content-section {
  padding: 100px 0;
}

.content-section:nth-child(even) {
  background-color: var(--bg-accent);
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* About & Features */
.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.content-block {
  background: var(--bg-secondary);
  padding: 3.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 50px var(--shadow-light);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.content-block h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-accent);
  border-radius: 15px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.image-placeholder {
  width: 100%;
  min-height: 200px;
  background: var(--gradient-secondary);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  /* overlay removed to prevent blurring/dimming of contained images */
  display: none;
}

/* Features Grid */
.features-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-tile {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  border-radius: 25px;
  text-align: left;
  box-shadow: 0 10px 40px var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
  opacity: 0.05;
}

.feature-tile:hover::before {
  width: 100%;
}

.feature-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow-light);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-tile h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

.feature-tile p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Game Section */
.game-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px var(--shadow-light);
  border: 1px solid var(--border-color);
}

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

/* --- Footer --- */
.footer {
  /* use site bg variables for a consistent neon-dark footer */
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,240,255,0.06);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
}

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

.footer-brand {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand .logo {
  /* override global .logo (header) and give the footer logo a neon gradient + glow */
  position: static;
  left: auto;
  font-size: 2.2rem;
  font-weight: 800;
  text-decoration: none;
  display: block;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 30px rgba(0,240,255,0.08), 0 0 12px rgba(155,0,255,0.06);
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.footer-disclaimer-compact {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,240,255,0.06);
  padding: 1.5rem;
  border-radius: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-secondary);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--accent-secondary);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,240,255,0.04);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Age Popup --- */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,240,255,0.04);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.age-popup-content {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 25px;
  border: 1px solid var(--border-color);
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(155,0,255,0.08);
}

.age-popup-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.age-popup-content p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.age-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.age-button {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.age-button.confirm {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 25px rgba(0,240,255,0.08);
}

.age-button.confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,240,255,0.12);
}

.age-button.deny {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
}

.age-button.deny:hover {
  background: var(--bg-accent);
  color: var(--text-primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: var(--bg-secondary);
    padding: 2rem;
    box-shadow: 0 8px 30px var(--shadow-light);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    gap: 0.5rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 10px;
  }

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

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

  .hero {
    padding: 150px 0 100px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-block {
    padding: 2.5rem;
  }

  .features-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .age-buttons {
    flex-direction: column;
    align-items: center;
  }

  .age-button {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 130px 0 80px;
  }

  .content-section {
    padding: 60px 0;
  }

  .image-placeholder {
    height: 250px;
  }

  .game-iframe {
    height: 400px;
  }

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

/* About section image sizing */
.image-placeholder .about-image {
  /* Fill the placeholder and crop as needed without overlays */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional alternative: use the placeholder as a background to guarantee crisp cover. */
   /* To use: replace the <img> with an empty div and add `.image-placeholder.bg-cover` to that element. */
/* .image-placeholder.bg-cover {
  background-image: url('../assets/about.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
} */

