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

:root {
  /* Colors */
  --bg-primary: #0b1f1a;
  --bg-secondary: #12352d;
  --surface-glass: rgba(255, 255, 255, 0.05);
  --surface-glass-hover: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(255, 255, 255, 0.1);
  
  --accent-primary: #34d399;
  --accent-secondary: #6ee7b7;
  --accent-highlight: #fbbf24;
  --accent-lava: #fb923c;
  --accent-mist: #a7f3d0;
  
  --text-primary: #ecfdf5;
  --text-secondary: #bbf7d0;
  --text-muted: #6ee7b7;

  /* Typography */
  --font-main: 'Poppins', sans-serif;

  /* Layout */
  --max-width: 1320px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow-glow: 0 0 30px rgba(52, 211, 153, 0.15);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere */
.body-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg-secondary) 0%, var(--bg-primary) 70%);
  z-index: -2;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--accent-mist) 1px, transparent 1px),
    radial-gradient(var(--accent-highlight) 1px, transparent 1px);
  background-size: 120px 120px, 90px 90px;
  background-position: 0 0, 40px 40px;
  opacity: 0.05;
  z-index: -1;
  animation: drift 60s linear infinite;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(to right, var(--text-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

h3 {
  font-size: 1.5rem;
  color: var(--accent-secondary);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Glassmorphism Components */
.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--surface-glass-hover);
  box-shadow: var(--shadow-glow);
  border-color: rgba(52, 211, 153, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #10b981);
  color: #000;
  box-shadow: 0 4px 15px rgba(52, 211, 153, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 211, 153, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 31, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--surface-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-highlight);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

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

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

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  opacity: 0.6;
}

/* Game Section */
.game-section {
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
  text-align: center;
}

.game-container {
  max-width: 1200px;
  margin: 40px auto 0;
  background: var(--surface-glass);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-glow);
}

.game-iframe {
  width: 100%;
  height: 650px;
  border: none;
  border-radius: var(--radius-md);
  background: #000;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Content Pages (Legal, About, etc) */
.page-header {
  padding: 150px 0 60px;
  text-align: center;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.content-section {
  padding: 40px 0 100px;
}

.text-content {
  max-width: 900px;
  margin: 0 auto;
}

.text-content h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.text-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.text-content li {
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background: #071511;
  padding: 60px 0 20px;
  border-top: 1px solid var(--surface-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer {
  font-size: 0.8rem;
  color: rgba(110, 231, 183, 0.5);
  margin-top: 10px;
}