@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Space+Mono:wght@400;700&display=swap');

:root {
  --text: #e0e0e0;
  --muted: #999999;
  --accent: #ffff00;
  --accent-dim: #cccc00;
  --bg: #0a0a0a;
  --border: #1a1a1a;
}

* { box-sizing: border-box; }

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: 'Space Mono', monospace;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.3px;
  font-size: 1.05rem;
  font-weight: 400;
}

#pixel-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(2px);
  min-height: 100vh;
  padding: 1rem 0;
}

.site-header {
  max-width: 70rem;
  margin: 0 auto;
  padding: 3rem 2rem 2rem 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
  margin: 0;
  animation: flicker 4s infinite;
}

.site-header nav a {
  margin-left: 2rem;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

.site-header nav a:hover { 
  color: var(--accent);
  text-shadow: 0 0 12px rgba(255, 255, 0, 0.4);
}

/* Terminal window styling */
main {
  max-width: 70rem;
  margin: 3rem auto;
  padding: 3.5rem 4rem;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 0, 0.3);
  border-top: 2px solid var(--accent);
  box-shadow: 
    0 0 40px rgba(255, 255, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 0, 0.1);
  position: relative;
  overflow: visible;
}

/* Sleek header bar with flicker */
main::before {
  content: 'FURY DRIVE';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 0, 0.05);
  color: var(--accent);
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 0, 0.2);
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.2);
  z-index: 10;
  animation: flicker 4s infinite;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
}

@keyframes flicker {
  0%, 100% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
  8% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
  9% {
    color: #cccc00;
    text-shadow: 0 0 6px rgba(204, 204, 0, 0.1);
  }
  10% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
  15% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
  18% {
    color: #cccc00;
    text-shadow: 0 0 5px rgba(204, 204, 0, 0.08);
  }
  20% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
  35% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
  38% {
    color: #cccc00;
    text-shadow: 0 0 7px rgba(204, 204, 0, 0.1);
  }
  40% {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.1);
  }
}

main {
  padding-top: 5rem;
}

main > * {
  position: relative;
  z-index: 3;
}

/* Hide first h1 since it's duplicated in header */
.prose h1:first-of-type {
  display: none;
}

/* Video container */
.video-container {
  margin: 2.5rem 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 5;
}

.video-container iframe {
  border: none;
  display: block;
}

/* Markdown-style headings */
.prose h1 {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--accent);
  margin: 0 0 1rem 0;
  padding: 0;
  text-shadow: 0 0 30px rgba(255, 255, 0, 0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: flicker 4s infinite;
}

.prose h1::before {
  content: '';
  display: none;
}

.prose h2 {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding: 0;
  text-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: flicker 4s infinite;
}

.prose h2::before {
  content: '';
  display: none;
}

.prose h3 {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dim);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  padding: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.prose h3::before {
  content: '';
  display: none;
}

.prose p {
  margin: 1.2rem 0;
  color: var(--text);
  line-height: 2;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.4px;
}

/* List styling */
.prose ul, .prose ol {
  margin: 2rem 0 2rem 4rem;
  color: var(--text);
}

.prose li {
  margin: 1rem 0;
  padding-left: 0.5rem;
  line-height: 2;
  font-size: 1.08rem;
  letter-spacing: 0.3px;
}

.prose ul li::marker {
  color: var(--accent);
  font-size: 1.3em;
}

.prose ol li::marker {
  color: var(--accent);
  font-size: 1.1em;
}

/* Code blocks and inline code */
.prose code {
  background: rgba(0, 0, 0, 0.4);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  border: none;
  font-family: 'Space Mono', monospace;
  text-shadow: 0 0 8px rgba(255, 255, 0, 0.15);
  font-size: 1rem;
  font-weight: 700;
}

.prose pre {
  background: rgba(0, 0, 0, 0.6);
  border-left: 3px solid var(--accent);
  padding: 2rem;
  margin: 2rem 0;
  overflow-x: auto;
  box-shadow: inset 0 0 15px rgba(255, 255, 0, 0.03);
  border-radius: 3px;
}

.prose pre code {
  background: none;
  color: var(--accent);
  padding: 0;
  border: none;
  text-shadow: 0 0 8px rgba(255, 255, 0, 0.15);
  font-size: 0.95rem;
  font-weight: 400;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 0, 0.3), transparent);
  margin: 3rem 0;
}

a { 
  color: var(--accent);
  transition: all 0.2s ease;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 0, 0.3);
  font-weight: 700;
}

a:hover {
  text-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
  border-bottom-color: var(--accent);
}

blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 2rem 0 2rem 2.5rem;
  color: var(--muted);
  font-style: italic;
  background: rgba(255, 255, 0, 0.03);
  line-height: 2;
}

.site-footer {
  max-width: 70rem;
  margin: 4rem auto 0;
  padding: 2.5rem 2rem 3rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-top: 1px solid var(--border);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}