/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #00f0ff;
  --primary-dark: #0099cc;
  --secondary-color: #ff00dd;
  --accent-color: #ffcc00;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --light-text: #ffffff;
  --gray-text: #cccccc;
  --card-bg: rgba(20, 20, 30, 0.8);
  --header-height: 80px;
  --transition-speed: 0.3s;
  --glow-size: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
    radial-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--light-text);
  transition: all var(--transition-speed) ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray-text);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--dark-bg);
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--primary-color);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn:hover::after {
  animation: ripple 1s ease-out;
}

.glow-btn {
  box-shadow: 0 0 var(--glow-size) var(--primary-color);
}

.play-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  font-size: 0.9rem;
  padding: 10px 20px;
}

.disabled-btn {
  background-color: #555;
  cursor: not-allowed;
}

.disabled-btn:hover {
  background-color: #555;
  transform: none;
  box-shadow: none;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  transition: all var(--transition-speed) ease;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
  text-shadow: 0 0 10px var(--primary-color);
  letter-spacing: 2px;
}

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

.nav-links a {
  position: relative;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  transition: all var(--transition-speed) ease;
}

/* 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.7), rgba(0, 0, 0, 0.7)), url('/assets/banner.png');
  background-size: cover;
  background-position: center;
  padding-top: var(--header-height);
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 70%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.glow-text {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
}

/* Games Section */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-color);
  border-color: var(--primary-color);
}

.game-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #151520;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image img {
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.game-info {
  padding: 20px;
}

.game-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.game-info p {
  color: var(--gray-text);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.coming-soon {
  background-color: #151520;
  position: relative;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
}

.coming-soon-overlay span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.5rem;
  padding: 10px 20px;
  border: 2px solid var(--accent-color);
  transform: rotate(-15deg);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--primary-color);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px var(--primary-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

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

/* Age Disclaimer */
#age-disclaimer {
  background-color: var(--darker-bg);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.age-icon {
  min-width: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff3b3b;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  border: 2px solid white;
}

.disclaimer-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-text);
}

/* Footer */
footer {
  background-color: var(--darker-bg);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.footer-logo p {
  color: var(--gray-text);
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light-text);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--gray-text);
}

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

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 5px;
}

/* Animations */
@keyframes ripple {
  0% {
    opacity: 0;
  }
  50% {
    transform: scale(50, 50);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(100, 100);
  }
}

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

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

@media (max-width: 768px) {
  #header {
    padding: 0 20px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 250px;
    height: calc(100vh - var(--header-height));
    background-color: rgba(10, 10, 10, 0.95);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 20px;
    transition: right var(--transition-speed) ease;
    align-items: center;
    border-left: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
  }
  
  .nav-active {
    right: 0;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .disclaimer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
}