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

:root {
  --neon-blue-light: #4FD8FF;
  --neon-blue-dark: #2EA8FF;
  --bg-dark: #0a0b10;
  --bg-gradient: linear-gradient(135deg, #0a0514 0%, #0d0b1a 50%, #040914 100%);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --glass-bg: rgba(16, 20, 36, 0.6);
  --glass-border: rgba(79, 216, 255, 0.2);
  --neon-shadow: 0 0 10px rgba(79, 216, 255, 0.5), 0 0 20px rgba(79, 216, 255, 0.3);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { 
  font-size: 32px; 
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(79, 216, 255, 0.4);
}
p { font-size: 16px; }

.text-gradient {
  background: linear-gradient(90deg, var(--neon-blue-light), var(--neon-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s ease;
}

/* UI Elements */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(46, 168, 255, 0.1);
  border: 1px solid var(--neon-blue-light);
  color: var(--neon-blue-light);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(79, 216, 255, 0), 0 0 10px rgba(79, 216, 255, 0);
}

.btn:hover, .btn-primary {
  background: var(--neon-blue-light);
  color: #000;
  box-shadow: var(--neon-shadow);
  transform: translateY(-2px);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  z-index: 1000;
  transition: all 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background: rgba(10, 11, 16, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.logo img {
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(79, 216, 255, 0.6));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue-light);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--neon-blue-light);
}

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

nav a:hover, nav a.active {
  color: var(--neon-blue-light);
  text-shadow: 0 0 8px rgba(79, 216, 255, 0.4);
}

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

.burger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

/* Sections */
section {
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: 150px;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,216,255,0.15) 0%, rgba(0,0,0,0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

/* About Section */
.about .about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  flex: 0 1 calc(50% - 15px);
  min-width: 280px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--neon-shadow);
  border-color: var(--neon-blue-light);
}

.feature-icon {
  font-size: 3rem;
  color: var(--neon-blue-light);
  margin-bottom: 20px;
}

/* Games Section */
.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.game-card {
  flex: 0 1 calc(33.333% - 20px);
  background: rgba(10, 11, 16, 0.6);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(79, 216, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(79, 216, 255, 0.5);
  border-color: var(--neon-blue-light);
}

.game-image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  padding: 15px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.game-info {
  padding: 15px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-info h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(79, 216, 255, 0.3);
}

/* Pricing Section */
.pricing .pricing-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 50px;
  border: 2px solid var(--neon-blue-dark);
}

.pricing h3 {
  font-size: 3rem;
  color: var(--neon-blue-light);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(79,216,255,0.5);
}

.pricing-note {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Contact Section */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  width: 100%;
  padding: 40px;
}

.email-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neon-blue-light);
  margin-top: 20px;
  display: inline-block;
  text-shadow: 0 0 10px rgba(79, 216, 255, 0.5);
  transition: all 0.3s ease;
  word-break: break-all;
}

.email-link:hover {
  text-shadow: 0 0 20px rgba(79,216,255,1);
  transform: scale(1.05);
}

/* Privacy Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--neon-blue-light);
}

.modal-body h3 {
  color: var(--neon-blue-light);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 50px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-links button:hover {
  color: var(--neon-blue-light);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

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

/* Media Queries */

/* Tablet */
@media (max-width: 1024px) {
  .game-card {
    flex: 0 1 calc(50% - 15px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 32px !important; }
  h2 { font-size: 24px !important; }
  p  { font-size: 14px !important; }
  
  section {
    padding: 60px 5%;
  }

  .hero {
    padding-top: 120px;
  }
  
  .feature-card, .game-card {
    flex: 0 1 100%;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 0;
    clip-path: circle(0% at top right);
    transition: clip-path 0.5s ease;
  }

  nav.nav-active {
    clip-path: circle(150% at top right);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .burger {
    display: flex;
  }

  .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
  .burger.toggle .line2 { opacity: 0; }
  .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
  
  /* Buttons become full-width on mobile */
  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Center align text on mobile */
  .about-content, .pricing-card, .contact-info, .hero {
    text-align: center;
  }
  
  .email-link {
    font-size: 1.1rem;
  }
  
  /* Reduce padding and margins */
  .pricing .pricing-card, .about .about-content {
    padding: 20px;
  }

  /* Keep neon glow but lighter for performance */
  .game-card:hover {
    box-shadow: 0 0 10px rgba(79, 216, 255, 0.4);
    transform: none; /* Avoid heavy animations on mobile */
  }
  
  .btn:hover, .btn-primary {
    transform: none;
    box-shadow: 0 0 8px rgba(79, 216, 255, 0.4);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  section {
    padding: 40px 5%;
  }
  .games-grid {
    gap: 15px;
  }
  .feature-card {
    padding: 15px;
  }
  .modal-content {
    padding: 20px;
  }
  .email-link {
    font-size: 0.95rem;
  }
}

