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

:root {
  --gradient-1: linear-gradient(45deg, #ff6b6b 0%, #ee5a6f 100%);
  --gradient-2: linear-gradient(45deg, #4ecdc4 0%, #44a08d 100%);
  --gradient-3: linear-gradient(45deg, #f9ca24 0%, #f0932b 100%);
  --gradient-4: linear-gradient(45deg, #a29bfe 0%, #6c5ce7 100%);
  --gradient-5: linear-gradient(45deg, #fd79a8 0%, #e84393 100%);

  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --glass-bg: rgba(26, 26, 46, 0.9);
  --glass-border: rgba(78, 205, 196, 0.3);

  --text-primary: #f8f9fa;
  --text-secondary: #4ecdc4;
  --text-muted: #78909c;
  
  --neon-cyan: #4ecdc4;
  --neon-pink: #fd79a8;
  --neon-yellow: #f9ca24;
}

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

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

body {
  font-family: 'VT323', monospace;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  font-size: 1.1rem;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(78, 205, 196, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 205, 196, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
  animation: pixelMove 20s linear infinite;
}

@keyframes pixelMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

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

/* Header - Retro Pixel */
.site-header {
  background: var(--glass-bg);
  border-bottom: 4px solid var(--neon-cyan);
  border-top: 4px solid var(--neon-pink);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 0 rgba(78, 205, 196, 0.2);
}

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

.site-logo a {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.25rem;
  color: var(--neon-yellow);
  text-decoration: none;
  text-shadow: 
    3px 3px 0 #ff6b6b,
    6px 6px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  animation: blink 2s infinite;
}

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

.site-logo a:hover {
  transform: scale(1.1);
  text-shadow: 
    3px 3px 0 #4ecdc4,
    6px 6px 0 rgba(0, 0, 0, 0.3);
}

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

.site-nav a {
  font-family: 'Press Start 2P', cursive;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  padding: 0.75rem 1rem;
  border: 3px solid transparent;
}

.site-nav a:hover {
  color: var(--neon-yellow);
  border: 3px solid var(--neon-cyan);
  background: rgba(78, 205, 196, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 0 var(--neon-pink);
}

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

.section.head h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--neon-cyan);
  text-shadow: 
    4px 4px 0 var(--neon-pink),
    8px 8px 0 rgba(0, 0, 0, 0.3);
  animation: glitchText 3s infinite;
  line-height: 1.5;
}

@keyframes glitchText {
  0%, 90%, 100% {
    transform: translate(0, 0);
  }
  92% {
    transform: translate(-2px, 2px);
  }
  94% {
    transform: translate(2px, -2px);
  }
  96% {
    transform: translate(-2px, -2px);
  }
}

.section.head p {
  font-size: 1.5rem;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

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

.section header h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--neon-yellow);
  text-shadow: 
    3px 3px 0 var(--neon-pink),
    6px 6px 0 rgba(0, 0, 0, 0.3);
  line-height: 1.5;
}

.section header p {
  font-size: 1.35rem;
  color: var(--text-primary);
  max-width: 700px;
  margin: 0 auto;
}

/* Footer - Retro Arcade */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1.5rem;
  border-top: 4px solid var(--neon-cyan);
  border-bottom: 4px solid var(--neon-pink);
  margin-top: 5rem;
  box-shadow: 0 -8px 0 rgba(249, 202, 36, 0.2);
}

.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: var(--text-primary);
  line-height: 1.8;
  font-size: 1.2rem;
}

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

.footer-links a {
  font-family: 'Press Start 2P', cursive;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-yellow);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 3px dashed var(--glass-border);
}

.copyright a {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: floatIn 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;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.25rem;
  color: var(--neon-cyan);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.6;
}
