/* Main CSS - Base Layout, Typography, Navigation, Footer */
/* 2000s Flash Era meets Banking Vault aesthetic */

:root {
  --neon-cyan: #00ffff;
  --neon-magenta: #ff00ff;
  --neon-yellow: #ffff00;
  --neon-green: #00ff00;
  --neon-orange: #ff8800;
  --neon-pink: #ff0088;
  
  --dark-bg: #0a0a0a;
  --dark-surface: #1a1a1a;
  --dark-card: #252525;
  --dark-border: #333333;
  
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-dim: #808080;
  
  --glow-cyan: 0 0 20px rgba(0,255,255,0.8);
  --glow-magenta: 0 0 20px rgba(255,0,255,0.8);
  --glow-yellow: 0 0 20px rgba(255,255,0,0.8);
  --glow-green: 0 0 20px rgba(0,255,0,0.8);
}

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

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

body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--dark-bg);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,0,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255,255,0,0.05) 0%, transparent 50%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,255,255,0.03) 2px,
      rgba(0,255,255,0.03) 4px
    );
  pointer-events: none;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 3rem;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--neon-cyan);
  text-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    0 0 30px var(--neon-cyan);
  animation: neonFlicker 2s infinite alternate;
}

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

h2 {
  font-size: 2.5rem;
  margin-top: 2rem;
  color: var(--neon-magenta);
  text-shadow: var(--glow-magenta);
  border-bottom: 3px solid var(--neon-magenta);
  padding-bottom: 0.5rem;
  display: inline-block;
  width: 100%;
}

h3 {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--neon-magenta);
  text-shadow: var(--glow-magenta);
}

a:focus {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  background: var(--dark-surface);
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 0 4px 20px rgba(0,255,255,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--neon-green);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--neon-green);
  text-shadow: var(--glow-green);
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  transition: left 0.5s ease;
}

.logo:hover::before {
  left: 100%;
}

.logo:hover {
  box-shadow: var(--glow-green);
  transform: scale(1.05);
}

.logo:focus {
  outline: 2px solid var(--neon-yellow);
  outline-offset: 2px;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--dark-border);
  display: inline-block;
  min-width: 44px;
  min-height: 44px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  background: var(--dark-card);
}

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

nav a:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

nav a:hover::after {
  width: 100%;
}

nav a:focus {
  outline: 2px solid var(--neon-magenta);
  outline-offset: 2px;
}

/* Main Content */
main {
  min-height: calc(100vh - 300px);
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

/* Section Styling */
section {
  background: var(--dark-surface);
  border-radius: 0;
  padding: 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 0 30px rgba(0,255,255,0.2),
    inset 0 0 30px rgba(255,0,255,0.05);
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--neon-cyan) 0%, 
    var(--neon-magenta) 25%, 
    var(--neon-yellow) 50%, 
    var(--neon-green) 75%, 
    var(--neon-cyan) 100%);
  animation: slideGradient 3s linear infinite;
}

@keyframes slideGradient {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Footer */
footer {
  background: var(--dark-surface);
  color: var(--text-secondary);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 2px solid var(--neon-magenta);
  position: relative;
  z-index: 2;
  box-shadow: 0 -10px 30px rgba(255,0,255,0.3);
}

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

.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--neon-green);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--neon-cyan);
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  transform: translateX(5px);
}

.footer-links a:focus {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-dim);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    justify-content: center;
    margin-top: 1rem;
  }
  
  section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  nav a {
    width: 100%;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  header, footer {
    display: none;
  }
  
  section {
    border: 1px solid #000;
    box-shadow: none;
  }
}