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

:root {
  --primary-orange: #ff5722;
  --secondary-charcoal: #212121;
  --accent-cyan: #00e5ff;
  --bg-black: #101010;
  --text-white: #ffffff;
  --text-gray: #b0b0b0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 87, 34, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(33, 33, 33, 0.8) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(16, 16, 16, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  filter: drop-shadow(0 0 10px rgba(255, 87, 34, 0.3));
}

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

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
   background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('/images/home-bg.webp') no-repeat center center/cover;

}

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

.hero h1 {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 87, 34, 0.5));
  animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { filter: drop-shadow(0 0 20px rgba(255, 87, 34, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.5)); }
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  color: var(--text-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 87, 34, 0.5);
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.3);
}

/* Sections */
.section {
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section h2 {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.game-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 87, 34, 0.1), rgba(0, 229, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::before {
  opacity: 1;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 229, 255, 0.3);
  border-color: var(--accent-cyan);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.game-card h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.game-card p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.play-button {
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  color: var(--text-white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.4);
}

/* Game Page Styles */
.game-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
  margin: 2rem 0;
}

.back-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.back-button:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

/* Disclaimer Section */
.disclaimer {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(0, 229, 255, 0.1));
  padding: 3rem 0;
  margin: 3rem 0;
  border-radius: 20px;
  border: 2px solid var(--primary-orange);
  position: relative;
}

.disclaimer::before {
  content: '⚠️';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-black);
  padding: 0.5rem;
  font-size: 1.5rem;
}

.disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.disclaimer h3 {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.disclaimer p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.age-warning {
  display: inline-block;
  background: var(--primary-orange);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  margin: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 87, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

/* Footer */
.footer {
  background: rgba(16, 16, 16, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 2rem;
  color: var(--text-gray);
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-white);
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-button {
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  color: var(--text-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 87, 34, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
  }

  .nav-links.active {
    display: flex;
  }

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

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

  .section {
    padding: 3rem 1rem;
  }

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

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

  .game-iframe {
    height: 400px;
  }

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

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

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .game-iframe {
    height: 300px;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 229, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-cyan);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-charcoal);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--primary-orange), var(--accent-cyan));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}