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

:root {
  /* Colors */
  --bg-primary: #050705;
  --bg-secondary: #0d140f;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  
  --bamboo-green: #22c55e;
  --emerald-glow: #10b981;
  --soft-jade: #6ee7b7;
  --zen-gold: #eab308;
  --mist-white: #ecfdf5;
  --text-muted: #a3b8aa;
  
  /* Gradients */
  --nature-flow: linear-gradient(135deg, #22c55e, #10b981);
  --zen-glow: linear-gradient(135deg, #6ee7b7, #eab308);
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  
  /* Effects */
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
  --glow-shadow-hover: 0 0 50px rgba(34, 197, 94, 0.3);
  
  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--mist-white);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Base Components */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.text-gradient {
  background: var(--nature-flow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  background: var(--zen-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--nature-flow);
  color: #000;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #10b981, #22c55e);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-shadow-hover);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--mist-white);
  border: 1px solid var(--bamboo-green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.1) inset;
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.1);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2) inset;
}

/* Glass UI Component */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
}

/* Header & Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 7, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mist-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--bamboo-green);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bamboo-green);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--mist-white);
}

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

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/hero-bamboo-mist-bg.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 0.4;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(5,7,5,0.2) 0%, var(--bg-primary) 100%);
  z-index: 1;
}

#particles-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}

.leaf {
  position: absolute;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2322c55e" opacity="0.6"><path d="M12,2C12,2 4,6 4,14C4,18.4 7.6,22 12,22C16.4,22 20,18.4 20,14C20,6 12,2 12,2Z"/></svg>') center/contain no-repeat;
  width: 15px;
  height: 15px;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

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

.hero-title {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-legal-box {
  padding: 32px;
  max-width: 380px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(34, 197, 94, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.hero-legal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-jade), transparent);
}

.legal-list {
  margin-bottom: 24px;
}

.legal-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--mist-white);
}

.legal-list li i {
  color: var(--bamboo-green);
}

.age-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid var(--zen-gold);
  color: var(--zen-gold);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Panda Realm Section (Immersive Split) */
.panda-realm {
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.realm-text h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.realm-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.realm-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.realm-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.realm-image-container:hover img {
  transform: scale(1);
}

.image-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: var(--emerald-glow);
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
}

/* Game Showcase */
.game-showcase {
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.game-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  padding: 10px;
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(16,185,129,0.05));
  box-shadow: var(--glow-shadow);
  transition: var(--transition-smooth);
}

.game-wrapper:hover {
  box-shadow: var(--glow-shadow-hover);
  transform: translateY(-5px);
}

.game-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.game-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

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

.feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--soft-jade);
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Parallax Nature Section */
.parallax-section {
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 120%;
  background: url('images/zen-bamboo-deep-forest.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 0.3;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.parallax-content h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Trust Section */
.trust-section {
  background: var(--bg-primary);
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.trust-item {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

.trust-item h4 {
  color: var(--mist-white);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page Headers (for internal pages) */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.page-content {
  padding: 80px 0 120px;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  margin: 40px 0 20px;
  color: var(--mist-white);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.content-block li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* Contact Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding-right: 40px;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h4 {
  color: var(--bamboo-green);
  margin-bottom: 8px;
}

.info-item p {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--mist-white);
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--bamboo-green);
  background: rgba(255,255,255,0.08);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: #020302;
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  padding: 80px 0 40px;
  position: relative;
}

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

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--mist-white);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

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

.footer-links a:hover {
  color: var(--bamboo-green);
  padding-left: 5px;
}

.global-disclaimer {
  background: rgba(255,255,255,0.02);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 40px;
  text-align: center;
}

.global-disclaimer p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.8;
}

.global-disclaimer strong {
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 0.85rem;
}

.eighteen-plus {
  width: 30px;
  height: 30px;
  border: 2px solid #6b7280;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #6b7280;
  font-size: 0.8rem;
}

/* Utilities */
.gsap-fade-up {
  opacity: 0;
  transform: translateY(40px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .split-layout, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu logic typically added in JS, hidden for pure static minimal design */
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .section {
    padding: 80px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}