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

:root {
  --primary-jungle: #2d5016;
  --primary-leaf: #4a7c2a;
  --primary-forest: #1a3d0a;
  --secondary-amber: #ff8c00;
  --secondary-sunset: #ff6b35;
  --secondary-gold: #ffd700;
  --accent-river: #4a90e2;
  --neutral-white: #ffffff;
  --neutral-light-gray: #f5f5f5;
  --neutral-gray: #888888;
  --neutral-dark-gray: #333333;
  --text-primary: #2d5016;
  --text-secondary: #666666;
  --text-muted: #999999;
  --shadow: rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--neutral-white);
  overflow-x: hidden;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-jungle) 0%, var(--primary-leaf) 100%);
  color: var(--neutral-white);
  padding: 20px 0;
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.logo-container h1 {
  font-size: 28px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

nav a {
  color: var(--neutral-white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
  padding: 8px 16px;
  border-radius: 5px;
}

nav a:hover {
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.9) 0%, rgba(74, 124, 42, 0.9) 100%);
  color: var(--neutral-white);
  margin: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
  color: white;
}

.hero-image {
  max-width: 300px;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
section {
  background: var(--neutral-white);
  margin: 30px 20px;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

section h2 {
  color: var(--primary-jungle);
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--secondary-gold);
  padding-bottom: 10px;
}

section h3 {
  color: var(--primary-leaf);
  font-size: 24px;
  margin: 25px 0 15px 0;
}

section p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 16px;
}

section ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

section li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background: linear-gradient(135deg, var(--neutral-light-gray) 0%, var(--neutral-white) 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--secondary-gold);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

.feature-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.feature-card h3 {
  color: var(--primary-jungle);
  margin-bottom: 15px;
}

/* Characters Grid */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.character-card {
  background: var(--neutral-white);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s;
}

.character-card:hover {
  transform: scale(1.05);
}

.character-card img {
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  border-radius: 10px;
}

.character-card h3 {
  color: var(--primary-jungle);
  margin-bottom: 10px;
}

/* Zones Grid */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.zone-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s;
}

.zone-card:hover {
  transform: scale(1.02);
}

.zone-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.zone-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--neutral-white);
  padding: 20px;
}

.zone-overlay h3 {
  color: var(--neutral-white);
  margin-bottom: 10px;
}

.zone-overlay p {
  color: var(--neutral-white);
}

/* Footer */
footer {
  background: var(--primary-jungle);
  color: var(--neutral-white);
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

footer a {
  color: var(--secondary-gold);
  text-decoration: none;
  margin: 0 15px;
}

footer a:hover {
  text-decoration: underline;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h2 {
  margin-top: 40px;
}

.legal-content h3 {
  margin-top: 30px;
}

.last-updated {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--neutral-light-gray);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  section {
    padding: 25px;
    margin: 20px 10px;
  }

  .features-grid,
  .characters-grid,
  .zones-grid {
    grid-template-columns: 1fr;
  }
}
