/* Global Variables */
:root {
  --color-deep-purple: #2E0854;
  --color-purple: #7B2CBF;
  --color-light-purple: #9D4EDD;
  --color-black: #121212;
  --color-dark-gray: #1A1A1A;
  --color-gray: #333333;
  --color-light-gray: #AAAAAA;
  --color-electric-blue: #00FFFF;
  --color-neon-green: #39FF14;
  --color-neon-pink: #FF10F0;
  
  --glow-blue: 0 0 10px rgba(0, 255, 255, 0.7), 0 0 20px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3);
  --glow-green: 0 0 10px rgba(57, 255, 20, 0.7), 0 0 20px rgba(57, 255, 20, 0.5), 0 0 30px rgba(57, 255, 20, 0.3);
  --glow-purple: 0 0 10px rgba(157, 78, 221, 0.7), 0 0 20px rgba(157, 78, 221, 0.5), 0 0 30px rgba(157, 78, 221, 0.3);
  
  --font-pixel: 'Press Start 2P', 'VT323', monospace;
  --font-retro: 'Orbitron', 'Audiowide', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Orbitron:wght@400;700&family=Audiowide&family=Roboto:wght@300;400;700&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* CRT Overlay Effect */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 9999;
}

.crt-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

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

/* Header & Navigation */
header {
  background-color: var(--color-deep-purple);
  padding: 15px 0;
  border-bottom: 2px solid var(--color-electric-blue);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: var(--color-electric-blue);
}

.logo h1 {
  font-family: var(--font-pixel);
  font-size: 28px;
  letter-spacing: 2px;
  text-shadow: var(--glow-blue);
  transform: perspective(500px) rotateX(10deg);
}

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

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  font-family: var(--font-retro);
  text-decoration: none;
  color: var(--color-light-gray);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--color-neon-green);
  text-shadow: var(--glow-green);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-neon-green);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
  width: 100%;
  box-shadow: var(--glow-green);
}

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-electric-blue);
  margin: 3px 0;
  border-radius: 2px;
  box-shadow: var(--glow-blue);
  transition: all 0.3s ease;
}

/* Button Styles */
.btn {
  display: inline-block;
  font-family: var(--font-pixel);
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-start {
  background-color: var(--color-neon-green);
  color: var(--color-black);
  border-color: var(--color-neon-green);
  box-shadow: var(--glow-green);
}

.btn-start:hover {
  background-color: transparent;
  color: var(--color-neon-green);
}

.btn-play {
  background-color: var(--color-electric-blue);
  color: var(--color-black);
  border-color: var(--color-electric-blue);
  box-shadow: var(--glow-blue);
  padding: 8px 15px;
  font-size: 12px;
}

.btn-play:hover {
  background-color: transparent;
  color: var(--color-electric-blue);
}

.btn-back {
  background-color: var(--color-deep-purple);
  color: white;
  border-color: var(--color-light-purple);
  box-shadow: var(--glow-purple);
}

.btn-back:hover {
  background-color: var(--color-light-purple);
}

.btn-submit {
  background-color: var(--color-electric-blue);
  color: var(--color-black);
  border-color: var(--color-electric-blue);
  box-shadow: var(--glow-blue);
  width: 100%;
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--color-electric-blue);
}

.btn-soon {
  background-color: var(--color-gray);
  color: var(--color-light-gray);
  border-color: var(--color-light-gray);
  cursor: not-allowed;
}

.btn-close {
  background-color: var(--color-deep-purple);
  color: white;
  border-color: var(--color-light-purple);
  box-shadow: var(--glow-purple);
  padding: 8px 15px;
}

/* Section Styles */
section {
  padding: 60px 0;
}

.section-title {
  font-family: var(--font-retro);
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-electric-blue);
  text-shadow: var(--glow-blue);
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-neon-green);
  box-shadow: var(--glow-green);
}

/* Footer */
footer {
  background-color: var(--color-deep-purple);
  padding: 40px 0 20px;
  border-top: 2px solid var(--color-electric-blue);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo h2 {
  font-family: var(--font-pixel);
  color: var(--color-electric-blue);
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: var(--glow-blue);
}

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

.footer-links h3 {
  font-family: var(--font-retro);
  color: var(--color-electric-blue);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

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

.footer-links ul li a:hover {
  color: var(--color-neon-green);
  text-shadow: var(--glow-green);
}

.footer-disclaimer {
  width: 100%;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--color-gray);
  text-align: center;
  color: var(--color-light-gray);
  font-size: 14px;
}

.footer-disclaimer p {
  margin-bottom: 5px;
}

/* Glitch Effect */
.glitch-text {
  position: relative;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 22px;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-deep-purple);
    padding: 20px;
    border-bottom: 2px solid var(--color-electric-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .footer-content > div {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}