:root {
  --bg-dark: #000;
  --text-light: #e0f7fa;
  --primary: #39ff14; /* Neon Green */
  --glass: rgba(0, 0, 0, 0.6);
  --font-main: 'Orbitron', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Back Button */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: var(--glass);
  padding: 10px 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 999;
  color: var(--primary);
  transition: 0.3s ease;
}
.back-btn:hover {
  background-color: var(--primary);
  color: #000;
}

/* Hero Section */
.game-hero {
  position: relative;
  height: 100vh;
  background: url('./assets/bg_game.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.85));
  z-index: 1;
}

.fog-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 300%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  mix-blend-mode: screen;
  filter: blur(60px);
  opacity: 0.2;
  z-index: 2;
}
.fog-layer-1 {
  animation: fogMove1 90s linear infinite;
}
.fog-layer-2 {
  animation: fogMove2 120s ease-in-out infinite;
  opacity: 0.1;
}
.fog-layer-3 {
  animation: fogMove3 180s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes fogMove1 {
  0% { transform: translate(0%, 0%); }
  100% { transform: translate(-50%, -50%); }
}
@keyframes fogMove2 {
  0% { transform: translate(20%, -10%); }
  50% { transform: translate(-20%, 10%); }
  100% { transform: translate(20%, -10%); }
}
@keyframes fogMove3 {
  0% { transform: translate(-30%, 30%); }
  50% { transform: translate(10%, -30%); }
  100% { transform: translate(-30%, 30%); }
}

.content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.neon-title {
  font-size: 3.5rem;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary), 0 0 30px var(--primary);
  animation: flicker 2.5s infinite alternate;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 54%, 56%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
  }
  19%, 21%, 55% {
    opacity: 0.6;
    text-shadow: none;
  }
}

.game-hero p {
  margin-top: 12px;
  font-size: 1.2rem;
  color: #ccc;
}

/* Main Section */
.game-section {
  padding: 80px 20px;
  background: radial-gradient(circle at top, rgba(57, 255, 20, 0.03), transparent 70%);
}
.container {
  max-width: 900px;
  margin: auto;
}
.game-section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}
.game-section p,
.game-section .intro {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 20px;
}
.features {
  padding-left: 20px;
  margin-bottom: 40px;
}
.features li {
  margin-bottom: 12px;
  color: #d0ffd0;
}

/* CTA Section */
.cta {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: rgba(0,0,0,0.5);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
}
.cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ccc;
}
.join-btn {
  background: transparent;
  color: var(--primary);
  padding: 14px 30px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid var(--primary);
  border-radius: 10px;
  text-shadow: 0 0 5px var(--primary);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  transition: all 0.4s ease;
  display: inline-block;
  text-decoration: none;
}
.join-btn:hover {
  background: var(--primary);
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .neon-title {
    font-size: 2.4rem;
  }
  .game-hero p {
    font-size: 1rem;
  }
  .game-section h2 {
    font-size: 1.4rem;
  }
  .join-btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}
