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

:root {
  /* Colors */
  --bg-primary: #05050A;
  --bg-secondary: #120428;
  --neon-cyan: #00f3ff;
  --neon-purple: #9d00ff;
  --neon-pink: #ff007f;
  --neon-blue: #0033ff;
  --text-primary: #ffffff;
  --text-secondary: #a0a5ba;
  
  /* Fonts */
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Glassmorphism */
  --glass-bg: rgba(20, 20, 35, 0.4);
  --glass-border: rgba(0, 243, 255, 0.2);
  --glass-blur: blur(12px);
}

/* Global Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Background Effects */
.cyber-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  z-index: -3;
}

.cyber-grid {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: 
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  opacity: 0.3;
  pointer-events: none;
}

/* Cursor Glow Trail */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: opacity 0.3s ease;
}

@media (max-width: 1024px) {
  .cursor-glow { display: none; }
}

/* Glass Panels & Neon Borders */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.neon-border-cyan {
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3), inset 0 0 10px rgba(0, 243, 255, 0.2);
}

.neon-border-purple {
  border: 1px solid var(--neon-purple);
  box-shadow: 0 0 10px rgba(157, 0, 255, 0.3), inset 0 0 10px rgba(157, 0, 255, 0.2);
}

.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.neon-text-pink {
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
}

/* Cyber Navbar */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.1);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

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

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

.nav-cta {
  display: none;
}

.cyber-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
  border: 1px solid var(--neon-cyan);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.cyber-btn:hover {
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.8);
  transform: translateY(-2px);
}

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

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 30px; height: 3px;
  background: var(--neon-cyan);
  box-shadow: 0 0 5px var(--neon-cyan);
  transition: 0.3s;
}

@media (min-width: 1024px) {
  .nav-cta { display: block; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: rgba(18, 4, 40, 0.95);
    backdrop-filter: blur(15px);
    border-left: 1px solid var(--neon-cyan);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 100;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/photo-1555680202-c86f0e12f086-hero-hero-bg.png') center/cover no-repeat;
  opacity: 0.4;
  z-index: -1;
  filter: contrast(1.2) brightness(0.8) saturate(1.5);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(5,5,10,0.3) 0%, rgba(5,5,10,1) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(50px);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--neon-cyan);
  letter-spacing: 4px;
  text-shadow: 0 0 10px var(--neon-cyan);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
}

/* Section Layouts */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
  color: #fff;
}

/* Game Section */
.game-section {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.game-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  padding: 10px;
  border-radius: 20px;
  background: rgba(10, 10, 20, 0.8);
  position: relative;
  z-index: 10;
  transition: transform 0.3s ease;
}

.game-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: #000;
}

.game-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 105%; height: 110%;
  transform: translate(-50%, -50%);
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  filter: blur(40px);
  opacity: 0.3;
  z-index: 1;
  border-radius: 20px;
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.98); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.02); }
}

@media (max-width: 768px) {
  .game-wrapper { aspect-ratio: 4/3; }
}

/* Features Grid */
.features-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cyber-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cyber-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 243, 255, 0.2), inset 0 0 15px rgba(0, 243, 255, 0.1);
  border-color: var(--neon-cyan);
}

.card-icon {
  font-size: 3rem;
  color: var(--neon-pink);
  text-shadow: 0 0 15px var(--neon-pink);
  margin-bottom: 1rem;
}

.cyber-card h3 {
  font-size: 1.5rem;
  color: #fff;
}

.cyber-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .features-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .features-container { grid-template-columns: 1fr; }
}

/* Cyber Showcase Split */
.showcase {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.showcase-cyber-image {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.1) saturate(1.2);
  transition: transform 0.5s ease;
}

.showcase-image-container:hover .showcase-cyber-image {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(157,0,255,0.4), rgba(0,243,255,0.4));
  mix-blend-mode: overlay;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .showcase { grid-template-columns: 1fr; text-align: center; }
  .showcase-content { align-items: center; }
}

/* Inner Pages Setup */
.page-header {
  padding-top: 150px;
  padding-bottom: 50px;
  text-align: center;
  position: relative;
}

.content-container {
  max-width: 900px;
  margin: 0 auto 100px auto;
  padding: 3rem;
}

.content-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
}

.content-container p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.content-container ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-secondary);
  list-style: disc;
}

/* Contact Form */
.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Footer */
footer {
  background: rgba(5, 5, 10, 0.9);
  border-top: 1px solid var(--neon-purple);
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  box-shadow: 0 -10px 30px rgba(157, 0, 255, 0.1);
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink);
  padding-left: 5px;
}

.legal-notice {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 0, 127, 0.05);
  border: 1px solid rgba(255, 0, 127, 0.2);
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.legal-notice p {
  color: #d1d5db;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links a:hover { padding-left: 0; }
}