/* Variables & Base */
:root {
  --bg-primary: #081c15;
  --bg-secondary: #0f2a21;
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --accent-primary: #22c55e;
  --accent-secondary: #4ade80;
  --accent-highlight: #facc15;
  
  --text-primary: #ecfdf5;
  --text-secondary: #bbf7d0;
  --text-muted: #6ee7b7;

  --border-radius: 16px;
  --border-radius-lg: 20px;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::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;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

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

/* Layout System */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 60px 0;
  position: relative;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 28, 21, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 28, 21, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(34, 197, 94, 0.3);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: var(--accent-primary);
  font-size: 1.8rem;
}

.nav-links {
  display: none;
}

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

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  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), #16a34a);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  filter: brightness(1.1);
  color: var(--bg-primary);
}

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

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(8,28,21,0.6), rgba(8,28,21,1)), url('images/nature-forest-bg.webp') center/cover no-repeat;
  z-index: -1;
  opacity: 0.8;
}

.hero-split {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

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

.hero-left h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--text-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.hero-right {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--border-radius-lg);
  pointer-events: none;
}

/* Glass & UI Elements */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Game Section */
.game-section {
  position: relative;
  z-index: 10;
}

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

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent-secondary);
}

.game-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 20px rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 50px rgba(0,0,0,0.7), 0 0 30px rgba(34, 197, 94, 0.4);
}

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

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(180deg, rgba(15,42,33,0.8) 0%, rgba(8,28,21,0.9) 100%);
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  margin-bottom: 16px;
  display: inline-block;
}

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

/* Inner Pages Content */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

.content-wrapper h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--accent-primary);
}

.content-wrapper p, .content-wrapper li {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-wrapper ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
}

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

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(8, 28, 21, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease-in-out;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-nav-links {
  text-align: center;
}

.mobile-nav-links li {
  margin: 24px 0;
}

.mobile-nav-links li a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

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

.close-menu-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}