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

:root {
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --monster-green: #39ff14;
  --monster-purple: #9b5de5;
  --lava-orange: #ff7b00;
  --candy-pink: #ff2fd1;
  --glow-yellow: #ffe600;
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --sidebar-collapsed: 80px;
  --sidebar-expanded: 240px;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  display: flex;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bangers', cursive;
  letter-spacing: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--monster-purple); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--candy-pink); }

/* Layout */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-collapsed);
  background: var(--bg-card);
  border-right: 2px solid var(--monster-purple);
  z-index: 1000;
  transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 5px 0 15px rgba(155, 93, 229, 0.2);
}

#sidebar:hover {
  width: var(--sidebar-expanded);
}

.logo-container {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

.logo-icon {
  font-size: 32px;
  color: var(--monster-green);
  text-shadow: 0 0 10px var(--monster-green);
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.logo-text {
  font-family: 'Bangers', cursive;
  font-size: 24px;
  color: var(--candy-pink);
  opacity: 0;
  transition: opacity var(--transition-speed);
  margin-left: 10px;
  vertical-align: super;
}

#sidebar:hover .logo-text {
  opacity: 1;
}

.nav-menu {
  list-style: none;
  padding: 20px 0;
  flex-grow: 1;
}

.nav-item {
  margin: 10px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-speed);
  white-space: nowrap;
}

.nav-link i, .nav-link span.icon {
  font-size: 24px;
  min-width: 30px;
  text-align: center;
  transition: transform 0.2s;
}

.nav-link .text {
  margin-left: 20px;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

#sidebar:hover .nav-link .text {
  opacity: 1;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(155, 93, 229, 0.1);
  border-right: 4px solid var(--monster-green);
  text-shadow: 0 0 8px var(--monster-green);
}

.nav-link:hover i, .nav-link:hover span.icon {
  transform: scale(1.2) translateY(-3px);
  color: var(--monster-green);
}

#main-content {
  margin-left: var(--sidebar-collapsed);
  width: calc(100% - var(--sidebar-collapsed));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition-speed), width var(--transition-speed);
}

/* Disclaimers */
.hero-disclaimer {
  background: var(--lava-orange);
  color: var(--bg-dark);
  text-align: center;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 123, 0, 0.5);
}

.global-disclaimer {
  background: var(--bg-card);
  border-top: 2px solid var(--candy-pink);
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.age-badge {
  display: inline-block;
  background: var(--monster-purple);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin: 10px 5px;
  box-shadow: 0 0 10px var(--monster-purple);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, var(--monster-purple), var(--candy-pink));
  color: #fff;
  font-family: 'Bangers', cursive;
  font-size: 24px;
  text-decoration: none;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 47, 209, 0.5);
}

.btn:hover::before {
  left: 100%;
}

/* Sections & Cards */
.section {
  padding: 80px 5%;
  position: relative;
}

.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--glow-yellow);
  text-shadow: 3px 3px 0 var(--bg-dark), -1px -1px 0 var(--lava-orange), 0 0 20px var(--glow-yellow);
}

.card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 30px;
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--monster-green);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.2);
  transform: translateY(-10px);
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 5px;
  background: var(--monster-green);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.card:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/photo-1550745165-9bc0b252726f.png') center/cover;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 72px;
  color: var(--monster-green);
  text-shadow: 4px 4px 0 var(--bg-dark), 0 0 30px var(--monster-green);
  margin-bottom: 20px;
  line-height: 1.1;
  animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 2px 4px #000;
}

/* Dynamic Monsters */
.monster-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
  animation: floatMonster 10s infinite alternate ease-in-out;
}

.blob-1 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, var(--monster-purple), transparent);
  top: 20%; left: 10%;
  animation-duration: 12s;
}

.blob-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--monster-green), transparent);
  bottom: 10%; right: 5%;
  animation-duration: 15s;
  animation-delay: 2s;
}

.blob-3 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--candy-pink), transparent);
  top: 50%; left: 80%;
  animation-duration: 9s;
  animation-delay: 1s;
}

/* Follow-Eye Effect */
.monster-eye {
  position: absolute;
  width: 60px; height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--glow-yellow);
  z-index: 3;
}

.eye-pupil {
  width: 25px; height: 25px;
  background: var(--bg-dark);
  border-radius: 50%;
  transition: transform 0.1s ease-out;
}

#eye1 { top: 15%; right: 25%; }
#eye2 { bottom: 25%; left: 15%; }

/* Featured Game & Grid */
.game-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.game-img-wrapper {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 4px solid var(--monster-purple);
}

.game-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.game-img-wrapper:hover img {
  transform: scale(1.05);
}

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

.feature-card {
  text-align: center;
  padding: 40px 20px;
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: var(--lava-orange);
  animation: pulse 2s infinite;
}

/* Steps */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.step-item {
  width: 200px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px; height: 60px;
  background: var(--monster-green);
  color: var(--bg-dark);
  font-family: 'Bangers', cursive;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--monster-green);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  border-left: 4px solid var(--candy-pink);
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.author {
  font-weight: bold;
  color: var(--glow-yellow);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--monster-purple), var(--bg-card));
  border-radius: 30px;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--candy-pink);
}

.cta-banner h2 {
  font-size: 48px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--monster-green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* Footer */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 40px 5%;
  background: #0a0a0a;
}

.footer-col h3 {
  color: var(--candy-pink);
  margin-bottom: 20px;
  font-family: 'Bangers', cursive;
  font-size: 24px;
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-col a:hover {
  color: var(--glow-yellow);
}

/* Page Headers */
.page-header {
  padding: 100px 20px 50px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(155, 93, 229, 0.2), transparent);
}

.page-header h1 {
  font-size: 56px;
  color: var(--monster-green);
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-text h2 { margin-top: 30px; margin-bottom: 15px; color: var(--lava-orange); }
.legal-text p { margin-bottom: 15px; line-height: 1.8; color: var(--text-muted); }

/* Game Page specifics */
.game-iframe-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border: 4px solid var(--monster-green);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
  position: relative;
  background: #000;
}

.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

@keyframes floatMonster {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #sidebar {
    width: 100%;
    height: 70px;
    bottom: 0;
    top: auto;
    flex-direction: row;
    border-right: none;
    border-top: 2px solid var(--monster-purple);
  }
  
  #sidebar:hover { width: 100%; }
  
  .logo-container, .logo-text { display: none; }
  
  .nav-menu {
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .nav-item { margin: 0; }
  
  .nav-link {
    flex-direction: column;
    padding: 10px;
    font-size: 10px;
  }
  
  .nav-link .text {
    margin-left: 0;
    opacity: 1;
    font-size: 10px;
    margin-top: 5px;
  }
  
  #main-content {
    margin-left: 0;
    width: 100%;
    margin-bottom: 70px;
  }
  
  .hero h1 { font-size: 48px; }
  .section-title { font-size: 36px; }
  .monster-eye { display: none; }
}