/* Template 30 - Neon Arcade / Retro Gaming */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Russo+One&display=swap');

:root {
  --arcade-black: #0a0a0f;
  --arcade-dark: #12121a;
  --neon-pink: #ff2d95;
  --neon-cyan: #00fff5;
  --neon-yellow: #ffff00;
  --neon-green: #39ff14;
  --neon-purple: #bf00ff;
  --neon-orange: #ff6600;
  --grid-color: rgba(0, 255, 245, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'VT323', monospace;
  line-height: 1.8;
  color: white;
  background: var(--arcade-black);
  font-size: 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--arcade-black) 70%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Arcade Cabinet Style */
.site-header {
  background: var(--arcade-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 255, 245, 0.3);
}

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

.site-logo a {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: var(--neon-pink);
  text-decoration: none;
  text-shadow: 
    0 0 10px var(--neon-pink),
    0 0 20px var(--neon-pink),
    0 0 40px var(--neon-pink);
  transition: all 0.3s ease;
  animation: textFlicker 3s ease-in-out infinite;
}

@keyframes textFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.8; }
  94% { opacity: 1; }
  95% { opacity: 0.9; }
  96% { opacity: 1; }
}

.site-logo a:hover {
  color: var(--neon-cyan);
  text-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    0 0 40px var(--neon-cyan);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-nav a {
  font-family: 'VT323', monospace;
  color: var(--neon-yellow);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.site-nav a:hover {
  border-color: var(--neon-yellow);
  background: rgba(255, 255, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.section.head::before {
  content: 'PRESS START';
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  color: var(--neon-green);
  animation: blink 1s step-end infinite;
}

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

.section.head h1 {
  font-family: 'Russo One', sans-serif;
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    3px 3px 0 var(--neon-pink);
}

.section.head p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Section Styling */
.section {
  padding: 4rem 0;
  position: relative;
}

.section::before {
  content: '';
  display: block;
  width: 200px;
  height: 4px;
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, 
    var(--neon-pink), 
    var(--neon-purple), 
    var(--neon-cyan), 
    var(--neon-green));
  box-shadow: 0 0 20px var(--neon-pink);
}

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

.section header h2 {
  font-family: 'Russo One', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  text-shadow: 
    0 0 10px var(--neon-pink),
    2px 2px 0 var(--neon-cyan);
}

.section header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'VT323', monospace;
  font-size: 1.8rem;
  color: var(--neon-green);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  text-shadow: 0 0 10px var(--neon-green);
}

body:not(.faq) h3::before,
:not(section.faq) h3::before {
  content: '> ';
  color: var(--neon-cyan);
}

/* Footer */
.footer {
  background: var(--arcade-dark);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--neon-pink);
  box-shadow: 0 -5px 30px rgba(255, 45, 149, 0.3);
}

.footer::before {
  content: 'GAME OVER';
  display: block;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
  color: var(--neon-orange);
  margin-bottom: 2rem;
  animation: blink 2s step-end infinite;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--neon-yellow);
  text-shadow: 0 0 15px var(--neon-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 245, 0.2);
}

.copyright a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

/* Animations */
@keyframes pixelFade {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.fade-in {
  opacity: 0;
  animation: pixelFade 0.5s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
