body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #FF4500, #6A0D83);
  color: #F9CE7D;
  font-family: 'Exo 2', sans-serif;
  overflow-x: hidden;
  position: relative;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: sepia(50%) hue-rotate(200deg) blur(1px);
  opacity: 0.6;
}

.border-left, .border-right {
  position: fixed;
  width: 120px;
  height: 100%;
  z-index: 10;
  background: rgba(26, 60, 52, 0.7);
}

.border-left { left: 0; }
.border-right { right: 0; }

.code-scroll {
  color: #00FFCC;
  font-family: 'Orbitron', sans-serif;
  font-size: 1em;
  white-space: nowrap;
  animation: codeScroll 8s linear infinite;
}

@keyframes codeScroll {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

.motion-graphic {
  animation: erraticDrift 5s infinite ease-in-out;
  filter: drop-shadow(2px 2px 5px #A62A2A); /* Occult glow */
}

.delay-1 { animation-delay: 2s; }
.delay-2 { animation-delay: 4s; }

@keyframes erraticDrift {
  0% { transform: translateY(100%) rotate(0deg) scale(1); }
  20% { transform: translateY(70%) rotate(15deg) scale(1.1); }
  40% { transform: translateY(40%) rotate(-15deg) scale(0.9); }
  60% { transform: translateY(10%) rotate(10deg) scale(1.2); }
  80% { transform: translateY(-20%) rotate(-10deg) scale(0.8); }
  100% { transform: translateY(100%) rotate(0deg) scale(1); }
}

.border-left .motion-graphic { animation-direction: reverse; }
.border-right .motion-graphic { animation-direction: normal; }

.logo-glitch {
  animation: glitchEffect 1.2s infinite;
}

header {
  text-align: center;
  padding: 40px;
  background: rgba(26, 60, 52, 0.9);
  position: relative;
  z-index: 5;
  border-bottom: 5px dashed #A62A2A;
}

.glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.5em;
  color: #A62A2A;
  text-shadow: 5px 5px #2E5984, -5px -5px #00FFCC;
  animation: glitchEffect 1.2s infinite;
}

.sub-glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: 2em;
  color: #00FFCC;
  text-shadow: 3px 3px #2E5984, -3px -3px #A62A2A;
  animation: glitchEffect 1s infinite;
}

@keyframes glitchEffect {
  0% { transform: translate(0); }
  20% { transform: translate(-7px, 7px); }
  40% { transform: translate(7px, -7px); }
  60% { transform: translate(-7px, -7px); }
  80% { transform: translate(7px, 7px); }
  100% { transform: translate(0); }
}

nav a {
  margin: 0 25px;
  color: #F9CE7D;
  text-decoration: none;
  font-size: 1.6em;
  padding: 8px 15px;
  border: 2px solid #00FFCC;
  background: rgba(46, 89, 132, 0.5);
}

nav a:hover {
  color: #A62A2A;
  background: rgba(26, 60, 52, 0.9);
  box-shadow: 0 0 20px #00FFCC;
}

.hero {
  text-align: center;
  padding: 100px;
  background: rgba(46, 89, 132, 0.7);
  margin: 50px;
  border: 4px solid #A62A2A;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transform: rotate(4deg) skewX(-6deg);
  box-shadow: 0 0 30px #2E5984;
}

.hero-art {
  animation: pulse 3s infinite alternate;
  filter: brightness(1.2) drop-shadow(0 0 10px #00FFCC); /* Occult neon edge */
}

.neon {
  font-size: 2em;
  color: #F9CE7D;
  text-shadow: 0 0 15px #00FFCC, 0 0 25px #A62A2A;
  animation: neonPulse 2.5s infinite alternate;
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 15px #00FFCC, 0 0 25px #A62A2A; }
  50% { text-shadow: 0 0 20px #2E5984, 0 0 30px #F9CE7D; }
  100% { text-shadow: 0 0 15px #00FFCC, 0 0 25px #A62A2A; }
}

.static-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/static.png');
  opacity: 0.1;
  animation: staticFlicker 0.3s infinite;
  z-index: -1;
}

@keyframes staticFlicker {
  0% { opacity: 0.1; }
  50% { opacity: 0.3; }
  100% { opacity: 0.1; }
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/noise.png');
  opacity: 0.2;
  animation: noiseShift 0.5s infinite;
  z-index: -1;
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-20px, 20px); }
  50% { transform: translate(20px, -20px); }
  75% { transform: translate(-20px, -20px); }
  100% { transform: translate(0, 0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

footer {
  text-align: center;
  padding: 25px;
  background: #1A3C34;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 3px dashed #A62A2A;
}