/* CSS Variables */
:root {
  --cyber-cyan: #00ffff;
  --neon-pink: #ff0080;
  --space-black: #000000;
  --dark-gray: #1a1a1a;
  --electric-blue: #0080ff;
  --text-white: #ffffff;
  --glass-bg: rgba(0, 255, 255, 0.1);
  --glass-border: rgba(0, 255, 255, 0.3);
  --robot-silver: #c0c0c0;
}

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

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

html {
  scroll-behavior: smooth;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--cyber-cyan) 0%, var(--neon-pink) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--electric-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.7;
  animation: trailFade 0.5s ease-out;
}

@keyframes cursorPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; }
}

@keyframes trailFade {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--space-black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 1s ease-out;
}

.robot-loader {
  text-align: center;
}

.cyber-circle {
  width: 100px;
  height: 100px;
  border: 3px solid transparent;
  border-top: 3px solid var(--cyber-cyan);
  border-right: 3px solid var(--neon-pink);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 2s linear infinite, cyberGlow 3s ease-in-out infinite;
}

.loading-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  color: var(--electric-blue);
  animation: textShimmer 2s ease-in-out infinite;
  letter-spacing: 2px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes cyberGlow {
  0%, 100% { box-shadow: 0 0 20px var(--cyber-cyan); }
  50% { box-shadow: 0 0 40px var(--neon-pink), 0 0 60px var(--electric-blue); }
}

@keyframes textShimmer {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; color: var(--cyber-cyan); }
}

/* Space Background */
.space-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.stars-layer {
  position: absolute;
  width: 200%;
  height: 200%;
  opacity: 0.8;
  animation: starsMove 30s linear infinite;
}

.stars-layer-1 {
  background: radial-gradient(2px 2px at 20px 30px, var(--cyber-cyan), transparent),
              radial-gradient(2px 2px at 40px 70px, var(--text-white), transparent),
              radial-gradient(1px 1px at 90px 40px, var(--electric-blue), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation-duration: 20s;
}

.stars-layer-2 {
  background: radial-gradient(1px 1px at 30px 60px, var(--neon-pink), transparent),
              radial-gradient(2px 2px at 80px 20px, var(--text-white), transparent),
              radial-gradient(1px 1px at 60px 80px, var(--cyber-cyan), transparent);
  background-repeat: repeat;
  background-size: 150px 80px;
  animation-duration: 35s;
  animation-delay: -5s;
}

.stars-layer-3 {
  background: radial-gradient(1px 1px at 50px 50px, var(--electric-blue), transparent),
              radial-gradient(2px 2px at 100px 10px, var(--text-white), transparent);
  background-repeat: repeat;
  background-size: 120px 60px;
  animation-duration: 45s;
  animation-delay: -10s;
}

.nebula-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 40% 80%, rgba(0, 128, 255, 0.1) 0%, transparent 50%);
  animation: nebulaFloat 40s ease-in-out infinite;
}

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

@keyframes nebulaFloat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

/* Floating Particles */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--electric-blue);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; transform: scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--neon-pink), var(--electric-blue));
  z-index: 1000;
  transition: width 0.3s ease;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  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 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.5rem;
}

.robot-symbol {
  color: var(--electric-blue);
  animation: robotPulse 3s ease-in-out infinite;
}

@keyframes robotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); color: var(--cyber-cyan); }
}

.logo-text {
  background: linear-gradient(45deg, var(--cyber-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

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

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyber-cyan);
  background: var(--glass-bg);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 8rem 2rem 4rem;
}

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

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.glow-text {
  background: linear-gradient(45deg, var(--cyber-cyan), var(--neon-pink), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite;
  display: block;
  letter-spacing: 2px;
}

.subtitle {
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--electric-blue);
  margin-top: 0.5rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

@keyframes textGlow {
  0%, 100% { filter: drop-shadow(0 0 10px var(--cyber-cyan)); }
  50% { filter: drop-shadow(0 0 20px var(--neon-pink)); }
}

.hero-description {
  font-size: 1.2rem;
  margin: 2rem 0;
  opacity: 0.9;
  line-height: 1.8;
}

.cta-button {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--cyber-cyan), var(--neon-pink));
  border: none;
  border-radius: 50px;
  color: var(--space-black);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.button-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover .button-particles {
  opacity: 1;
  animation: buttonBurst 0.6s ease-out;
}

@keyframes buttonBurst {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.floating-robots {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.robot {
  position: absolute;
  font-size: 2rem;
  color: var(--electric-blue);
  opacity: 0.6;
  animation: robotFloat 6s ease-in-out infinite;
}

.robot:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.robot:nth-child(2) { top: 30%; right: 15%; animation-delay: 1.5s; }
.robot:nth-child(3) { bottom: 25%; left: 20%; animation-delay: 3s; }
.robot:nth-child(4) { bottom: 35%; right: 10%; animation-delay: 4.5s; }

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

/* Games Section */
.games-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--cyber-cyan), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  color: var(--neon-pink);
}

.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(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--cyber-cyan), var(--neon-pink), var(--electric-blue));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.game-card:hover .card-glow {
  opacity: 0.7;
  animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.game-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1rem;
  animation: imageFloat 4s ease-in-out infinite;
}

@keyframes imageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.card-content {
  text-align: center;
}

.game-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cyber-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-desc {
  opacity: 0.8;
  font-size: 0.9rem;
}

.cyber-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.game-card:hover .cyber-border {
  opacity: 1;
  border-color: var(--electric-blue);
  animation: borderScan 2s linear infinite;
}

@keyframes borderScan {
  0% { border-image: linear-gradient(0deg, var(--electric-blue), transparent) 1; }
  25% { border-image: linear-gradient(90deg, var(--electric-blue), transparent) 1; }
  50% { border-image: linear-gradient(180deg, var(--electric-blue), transparent) 1; }
  75% { border-image: linear-gradient(270deg, var(--electric-blue), transparent) 1; }
  100% { border-image: linear-gradient(360deg, var(--electric-blue), transparent) 1; }
}

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 0, 128, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.1); }
}

.feature-item h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Section */
.about-section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.space-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
              linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.about-content {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 2px solid var(--electric-blue);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  position: relative;
}

.about-content::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--electric-blue), var(--cyber-cyan));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.highlight {
  color: var(--cyber-cyan);
  font-weight: 600;
  text-shadow: 0 0 10px var(--cyber-cyan);
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.cyber-panel {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 3px solid var(--electric-blue);
  border-radius: 15px;
  padding: 2rem;
  max-width: 600px;
  position: relative;
  animation: panelFloat 6s ease-in-out infinite;
}

.cyber-panel::before,
.cyber-panel::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--electric-blue);
  border-radius: 50%;
  animation: edgeFlicker 2s ease-in-out infinite;
}

.cyber-panel::before {
  top: -10px;
  left: -10px;
}

.cyber-panel::after {
  bottom: -10px;
  right: -10px;
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes edgeFlicker {
  0%, 100% { opacity: 0.7; box-shadow: 0 0 10px var(--electric-blue); }
  50% { opacity: 1; box-shadow: 0 0 20px var(--electric-blue); }
}

.panel-content h3 {
  font-family: 'Orbitron', monospace;
  color: var(--electric-blue);
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.panel-content p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
  animation: textFadeIn 0.5s ease-in-out;
  animation-fill-mode: backwards;
}

.panel-content p:nth-child(2) { animation-delay: 0.2s; }
.panel-content p:nth-child(3) { animation-delay: 0.4s; }
.panel-content p:nth-child(4) { animation-delay: 0.6s; }
.panel-content p:nth-child(5) { animation-delay: 0.8s; }

@keyframes textFadeIn {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 0.9; transform: translateX(0); }
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  position: relative;
  background: var(--dark-gray);
  padding: 2rem 0;
}

.cyber-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--neon-pink), var(--electric-blue), var(--cyber-cyan));
  animation: waveMove 3s ease-in-out infinite;
}

@keyframes waveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(50px); }
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link:hover {
  color: var(--cyber-cyan);
  background: var(--glass-bg);
}

.footer-link:hover::after {
  content: '⚡';
  position: absolute;
  top: -10px;
  right: -10px;
  animation: sparkle 0.6s ease-out;
}

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0); }
}

.footer-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.robot-icon {
  animation: robotPulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .hero-section {
    padding: 6rem 1rem 4rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-content {
    padding: 2rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .floating-robots {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 5rem 1rem 3rem;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .games-section,
  .features-section {
    padding: 4rem 1rem;
  }
  
  .about-section {
    padding: 4rem 1rem;
  }
}

/* Game Page Styles */
.game-page {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
}

.game-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.game-header {
  margin-bottom: 3rem;
}

.game-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(45deg, var(--cyber-cyan), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.game-subtitle {
  color: var(--neon-pink);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-image-container {
  margin-bottom: 2rem;
}

.game-page-image {
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  animation: imageFloat 4s ease-in-out infinite;
}

.game-iframe-container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 1rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.game-iframe-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--cyber-cyan), var(--neon-pink));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 15px;
}

.game-description {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.game-description h3 {
  font-family: 'Orbitron', monospace;
  color: var(--cyber-cyan);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-button {
  font-family: 'Orbitron', monospace;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--neon-pink), var(--cyber-cyan));
  border: none;
  border-radius: 30px;
  color: var(--text-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 128, 0.4);
}

/* Contact Page Styles */
.contact-page {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  max-width: 600px;
  width: 100%;
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--cyber-cyan), var(--electric-blue));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  animation: formGlow 4s ease-in-out infinite;
}

@keyframes formGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cyber-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-white);
  font-family: inherit;
  transition: all 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(45deg, var(--cyber-cyan), var(--neon-pink));
  border: none;
  border-radius: 10px;
  color: var(--space-black);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

/* Content Page Styles */
.content-page {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.parchment-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 3px solid var(--electric-blue);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
}

.parchment-content::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--electric-blue), var(--cyber-cyan));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  animation: borderPulse 3s ease-in-out infinite;
}

.content-title {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  color: var(--electric-blue);
  text-align: center;
  margin-bottom: 2rem;
  animation: titleFlicker 3s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 3px;
}

@keyframes titleFlicker {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px var(--electric-blue); }
  50% { opacity: 0.8; text-shadow: 0 0 30px var(--electric-blue); }
}

.content-text {
  line-height: 1.8;
  font-size: 1.1rem;
}

.content-text h3 {
  color: var(--cyber-cyan);
  margin: 2rem 0 1rem;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-text p {
  margin-bottom: 1.5rem;
  animation: textFadeIn 0.8s ease-in-out;
}

.content-text ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

/* Contact Info Styles */
.contact-info {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-section {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
}

.info-section h3 {
  font-family: 'Orbitron', monospace;
  color: var(--cyber-cyan);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-section ul {
  list-style: none;
  padding: 0;
}

.info-section li {
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
  opacity: 0.9;
}

.info-section p {
  line-height: 1.7;
  opacity: 0.9;
}

/* Utility Classes */
.hidden {
  opacity: 0;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Message Popup */
.message-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 2px solid var(--cyber-cyan);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  z-index: 10000;
  animation: popupAppear 0.5s ease-out;
}

@keyframes popupAppear {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.popup-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.popup-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--electric-blue);
  border-radius: 50%;
  animation: popupParticle 2s ease-out forwards;
}

@keyframes popupParticle {
  0% { opacity: 1; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0) translateY(-50px); }
}

/* Additional Animations */
@keyframes ripple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}