:root {
  --bg-primary: #0f0f1a;
  --accent-mint: #00ffc3;
  --accent-pink: #ff3cac;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-neon: linear-gradient(45deg, var(--accent-mint), var(--accent-pink));
  font-family: 'Orbitron', monospace, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 255, 195, 0.2);
}

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

.logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--border-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 195, 0.5);
}

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

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--border-neon);
  transition: width 0.3s ease;
}

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

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent-mint);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0, 255, 195, 0.1) 0%, transparent 70%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 60, 172, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(0, 255, 195, 0.1) 50%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: var(--border-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 255, 195, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(0, 255, 195, 0.5)); }
  to { filter: drop-shadow(0 0 30px rgba(255, 60, 172, 0.5)); }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.cta-button {
  background: var(--border-neon);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-primary);
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 195, 0.4);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--border-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section {
  padding: 80px 0;
}

/* Games Section */
.games-section {
  background: rgba(0, 255, 195, 0.02);
}

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

.game-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 195, 0.2);
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: translateY(-10px);
  border: 1px solid var(--accent-mint);
  box-shadow: 0 20px 40px rgba(0, 255, 195, 0.2);
}

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

.game-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.play-button {
  background: transparent;
  border: 2px solid var(--accent-mint);
  color: var(--accent-mint);
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
}

.play-button:hover {
  background: var(--accent-mint);
  color: var(--bg-primary);
  box-shadow: 0 5px 15px rgba(0, 255, 195, 0.4);
}

/* About Section */
.about-section {
  background: rgba(255, 60, 172, 0.02);
}

.about-text {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 60, 172, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-pink);
  box-shadow: 0 15px 30px rgba(255, 60, 172, 0.2);
}

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

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
}

/* Disclaimer Section */
.disclaimer-section {
  background: rgba(0, 255, 195, 0.02);
}

.disclaimer-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid rgba(255, 195, 0, 0.3);
}

/* Contact Section */
.contact-section {
  background: rgba(255, 60, 172, 0.02);
}

.contact-page {
  padding-top: 100px;
  min-height: 100vh;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 255, 195, 0.3);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

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

.submit-button {
  background: var(--border-neon);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-primary);
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
}

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

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 255, 195, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: var(--accent-mint);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-link {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
}

/* Game Page Styles */
.game-page {
  padding-top: 100px;
  min-height: 100vh;
}

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

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

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 15px;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(0, 255, 195, 0.2);
}

.back-button {
  background: transparent;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
  margin-bottom: 2rem;
  text-decoration: none;
  display: inline-block;
}

.back-button:hover {
  background: var(--accent-pink);
  color: var(--bg-primary);
  box-shadow: 0 5px 15px rgba(255, 60, 172, 0.4);
}

/* Legal Pages */
.legal-page {
  padding-top: 100px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 195, 0.2);
}

.legal-content h2 {
  color: var(--accent-mint);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-primary);
    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;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .game-iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .game-iframe {
    height: 350px;
  }
}

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

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }