@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800;900&display=swap');

:root {
  /* Base Colors */
  --bg-primary: #0b1f14;
  --bg-secondary: #132a1c;
  
  /* Accent Colors */
  --neon-green: #22c55e;
  --banana-yellow: #facc15;
  --tropical-orange: #fb923c;
  --neon-purple: #a855f7;
  --energy-red: #ef4444;
  
  /* Typography Colors */
  --text-primary: #ecfdf5;
  --text-secondary: #bbf7d0;
  --text-muted: #4ade80;
  --text-dark: #0b1f14;
  
  /* Gradients */
  --grad-banana-pop: linear-gradient(135deg, var(--banana-yellow), var(--tropical-orange));
  --grad-jungle-neon: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  --grad-chaos-blend: linear-gradient(135deg, var(--energy-red), var(--banana-yellow), var(--neon-green));
  
  /* Glows */
  --glow-green: rgba(34, 197, 94, 0.45);
  --glow-yellow: rgba(250, 204, 21, 0.45);
  --glow-purple: rgba(168, 85, 247, 0.45);
  
  /* Glass Surface */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(18px);
  --glass-border: 1px solid var(--glow-green);
  
  /* Spacing */
  --container-max: 1280px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(34, 197, 94, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 25%);
}

/* Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.text-center { text-align: center; }
.text-banana { color: var(--banana-yellow); text-shadow: 0 0 10px var(--glow-yellow); }
.text-neon { color: var(--neon-green); text-shadow: 0 0 10px var(--glow-green); }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px 0 var(--glow-green);
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.2;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 20px; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 30px; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 20px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-banana-pop);
  color: var(--text-dark);
  box-shadow: 0 0 20px var(--glow-yellow);
}

.btn-primary:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.8);
}

.btn-secondary {
  background: var(--grad-jungle-neon);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-purple);
}

.btn-secondary:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

/* Header Navbar */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--container-max);
  background: rgba(11, 31, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glow-green);
  border-radius: 40px;
  z-index: 1000;
  padding: 10px 24px;
  box-shadow: 0 5px 20px rgba(34, 197, 94, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-yellow);
  animation: bounce 3s infinite;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--neon-green);
  border-radius: 5px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--glow-green);
}

.nav-links a:hover {
  color: var(--neon-green);
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15) 0%, rgba(11, 31, 20, 1) 70%),
              url('images/hero-crazy-monkey-jungle-4k.jpg') center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 31, 20, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  background: var(--grad-chaos-blend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseNeon 2s infinite alternate;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.floating-bananas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.banana-icon {
  position: absolute;
  font-size: 2rem;
  filter: drop-shadow(0 0 10px var(--glow-yellow));
}

.b1 { top: 20%; left: 15%; animation: floatAround 6s infinite ease-in-out alternate; }
.b2 { top: 30%; right: 15%; animation: floatAround 8s infinite ease-in-out alternate-reverse; font-size: 3rem; }
.b3 { bottom: 20%; left: 25%; animation: floatAround 7s infinite ease-in-out alternate; font-size: 2.5rem; }
.b4 { bottom: 30%; right: 25%; animation: floatAround 5s infinite ease-in-out alternate-reverse; }

/* Game Section */
.game-section {
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 10;
}

.game-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.game-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--neon-purple);
  box-shadow: 0 0 40px var(--glow-purple), inset 0 0 20px var(--glow-purple);
  background: #000;
}

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

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

.feature-card {
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-img-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 5px;
  background: var(--grad-banana-pop);
  box-shadow: 0 0 20px var(--glow-yellow);
}

.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
}

/* About Section */
.about-section {
  background: url('images/cartoon-jungle-adventure-world-neon.jpg') center/cover no-repeat;
  position: relative;
  background-attachment: fixed;
}

.about-section::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(11, 31, 20, 0.85);
}

.about-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  padding: 40px;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 30px var(--glow-green);
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.1);
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--text-muted);
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 15px var(--glow-green);
}

.contact-img {
  border-radius: 20px;
  overflow: hidden;
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background: #06120b;
  padding: 60px 0 20px;
  text-align: center;
  border-top: 2px solid var(--neon-green);
  box-shadow: 0 -10px 30px var(--glow-green);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--banana-yellow);
}

.legal-text {
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copyright {
  color: var(--text-muted);
  font-weight: 800;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Internal Pages Formatting */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glow-green);
}

.content-block {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  text-align: left;
  margin-top: 40px;
  color: var(--banana-yellow);
}

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

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

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatAround {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -20px) rotate(15deg); }
  100% { transform: translate(-10px, 15px) rotate(-10deg); }
}

@keyframes pulseNeon {
  0% { text-shadow: 0 0 10px var(--glow-green); }
  100% { text-shadow: 0 0 30px var(--neon-green), 0 0 50px var(--banana-yellow); }
}

/* Responsive */
@media (max-width: 992px) {
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header {
    border-radius: 20px;
    padding: 15px 20px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 5%;
    width: 90%;
    background: var(--bg-secondary);
    flex-direction: column;
    text-align: center;
    padding: 30px 0;
    border-radius: 20px;
    border: 1px solid var(--glow-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    clip-path: circle(0% at top right);
    transition: clip-path 0.5s ease-in-out;
  }
  
  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-actions {
    display: none;
  }
  
  h1 { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; gap: 15px; }
  
  .feature-card { padding: 20px; }
}