:root {
  --jungle-green: #2D5016;
  --forest-green: #4A7C59;
  --earth-brown: #8B4513;
  --wood-brown: #A0522D;
  --tribal-gold: #FFD700;
  --flame-orange: #FF6B35;
  --night-blue: #1a1a2e;
  --firefly-yellow: #FFE135;
  --leaf-green: #7CB342;
  --stone-gray: #696969;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--wood-brown) 0%, var(--earth-brown) 100%);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid var(--tribal-gold);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h2 {
  color: var(--tribal-gold);
  font-family: 'Creepster', cursive;
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--jungle-green);
  color: var(--tribal-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--tribal-gold);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('/public/assets/banner.jpg') center/cover;
  background-attachment: fixed;
  z-index: -1;
}

.hero-content {
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-family: 'Creepster', cursive;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: vineUnwrap 2s ease forwards;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--tribal-gold), var(--flame-orange));
  color: var(--night-blue);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.drum-button {
  position: relative;
  overflow: hidden;
}

.drum-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.drum-button:hover::after {
  width: 200px;
  height: 200px;
}

/* Falling Leaves Animation */
.falling-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.leaf {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--leaf-green);
  border-radius: 0 100% 0 100%;
  animation: fall 8s infinite linear;
}

.leaf:nth-child(1) { left: 10%; animation-delay: 0s; }
.leaf:nth-child(2) { left: 30%; animation-delay: 2s; }
.leaf:nth-child(3) { left: 50%; animation-delay: 4s; }
.leaf:nth-child(4) { left: 70%; animation-delay: 6s; }
.leaf:nth-child(5) { left: 90%; animation-delay: 1s; }

/* Why Choose Us Section */
.why-choose-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--jungle-green) 100%);
  position: relative;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/public/assets/bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.section-title {
  text-align: center;
  font-family: 'Creepster', cursive;
  font-size: 2.5rem;
  color: var(--tribal-gold);
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: rgb(255, 255, 255);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  border: 3px solid var(--earth-brown);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--jungle-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Games Preview Section */
.games-preview {
  padding: 100px 0;
  background: linear-gradient(45deg, var(--earth-brown) 0%, var(--wood-brown) 100%);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.game-card {
  background: var(--stone-gray);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: 5px solid var(--tribal-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/public/assets/bg.jpg') center/cover;
  opacity: 0.2;
  z-index: 0;
}

.game-card > * {
  position: relative;
  z-index: 2;
}

.game-card:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.game-card:hover .game-image {
  transform: scale(1.1);
}

.game-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.game-card p {
  color: #ddd;
  margin-bottom: 1rem;
}

.play-button {
  background: linear-gradient(45deg, var(--flame-orange), var(--tribal-gold));
  color: var(--night-blue);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.view-all-games {
  text-align: center;
}

/* About Preview Section */
.about-preview {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--jungle-green) 0%, var(--forest-green) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.jungle-path {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.path-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  opacity: 0;
  animation: pathAppear 1s ease forwards;
}

.path-item:nth-child(1) { animation-delay: 0.5s; }
.path-item:nth-child(2) { animation-delay: 1s; }
.path-item:nth-child(3) { animation-delay: 1.5s; }

.path-marker {
  font-size: 2rem;
  background: var(--tribal-gold);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.path-marker1 {
  font-size: 12rem;
  background: var(--tribal-gold);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-text {
  color: white;
  animation: floatParrot 3s ease-in-out infinite;
}

.about-text h2 {
  font-family: 'Creepster', cursive;
  font-size: 2.2rem;
  color: var(--tribal-gold);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--night-blue) 0%, #0f0f23 100%);
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/public/assets/bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

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

.firefly {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--firefly-yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--firefly-yellow);
  animation: firefly 4s infinite ease-in-out;
}

.firefly:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.firefly:nth-child(2) { left: 30%; top: 60%; animation-delay: 1s; }
.firefly:nth-child(3) { left: 70%; top: 30%; animation-delay: 2s; }
.firefly:nth-child(4) { left: 80%; top: 70%; animation-delay: 3s; }
.firefly:nth-child(5) { left: 50%; top: 80%; animation-delay: 0.5s; }

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.footer-section h3,
.footer-section h4 {
  color: var(--tribal-gold);
  margin-bottom: 1rem;
  font-family: 'Creepster', cursive;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--tribal-gold);
}

.footer-bottom {
  border-top: 2px solid var(--tribal-gold);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.disclaimer {
  background: var(--flame-orange);
  color: var(--night-blue);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes vineUnwrap {
  0% {
    opacity: 0;
    transform: translateX(-100px) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

@keyframes pathAppear {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatParrot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes firefly {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-20px);
  }
}

.vine-swing {
  animation: vineSwing 0.8s ease-out;
}

@keyframes vineSwing {
  0% {
    transform: translateY(-50px) rotate(-5deg);
    opacity: 0;
  }
  50% {
    transform: translateY(10px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

/* Game Page Styles */
.game-page {
  padding-top: 80px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--jungle-green) 0%, var(--forest-green) 100%);
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.game-header {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.game-header h1 {
  font-family: 'Creepster', cursive;
  font-size: 2.5rem;
  color: var(--tribal-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.game-frame {
  width: 100%;
  height: 500px;
  border: 5px solid var(--tribal-gold);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: var(--stone-gray);
}

.game-info {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  border: 3px solid var(--earth-brown);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-info h3 {
  color: var(--jungle-green);
  margin-bottom: 1rem;
}

.back-to-games {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--wood-brown);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .game-frame {
    height: 400px;
  }
}