/* === Font & Color Setup === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #0b0000 0%, #1a0000 40%, #0f0000 100%);
  color: #eee;
  margin: 0;
  line-height: 1.6;
  background-attachment: fixed;
}

/* === Links === */
a {
  color: #ff5555;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff7777;
  text-decoration: underline;
}

/* === Header === */
header {
  text-align: center;
  background: radial-gradient(circle at center, #800000, #400000 70%);
  padding: 2.5rem 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
  z-index: 1;
}

header h1 {
  font-size: 3.6rem;
  margin: 0.5rem 0;
  text-shadow: 0 0 10px #ff0000, 0 0 25px #660000;
  letter-spacing: 1px;
}

header .tagline {
  font-family: 'Segoe UI', sans-serif;
  color: #f8dada;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* === Navigation Bar === */
nav {
  width: 100%;
  background: rgba(30, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: inset 0 0 12px rgba(255, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  margin-top: -0.5rem;
}

nav ul {
  margin: 0;
  padding: 0.8rem 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

nav a {
  color: #ff9999;
  font-weight: bold;
  letter-spacing: 0.7px;
  font-size: 1.05rem;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px #660000;
}

nav a:hover {
  color: #ffffff;
  background: rgba(120, 0, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.45);
  text-shadow: 0 0 8px #ff0000;
  transform: translateY(-2px);
}

/* === Main Content === */
main {
  max-width: 950px;
  margin: auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* === Sections === */
section {
  background-color: rgba(20, 0, 0, 0.6);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 0, 0, 0.15);
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

section:hover {
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
}

h2 {
  color: #ff4444;
  border-bottom: 2px solid #ff4444;
  padding-bottom: 0.3rem;
  margin-top: 1rem;
  text-shadow: 0 0 10px #800000;
}

section p, section ul, section ol {
  margin: 1rem 0;
  color: #ddd;
}

.note {
  font-style: italic;
  color: #c99;
  background: rgba(60, 0, 0, 0.3);
  border-left: 3px solid #ff3333;
  padding: 0.8rem 1rem;
  border-radius: 4px;
}

/* === Badges & Labels === */
.badge {
  display: inline-block;
  background: linear-gradient(90deg, #aa0000, #660000);
  color: #fff;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem 0.3rem;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  transition: all 0.25s ease-in-out;
}

.badge:hover {
  background: linear-gradient(90deg, #ff0000, #880000);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
  transform: scale(1.05);
}

/* Version/Status Badges */
.version-badge {
  display: inline-block;
  font-size: 0.85rem;
  background: linear-gradient(90deg, #440000, #990000);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 5px;
  padding: 0.3rem 0.7rem;
  color: #ff9999;
  text-shadow: 0 0 5px #660000;
  margin-left: 0.3rem;
}

.version-badge.alpha { color: #ff4444; }
.version-badge.beta { color: #ffaa44; }
.version-badge.release { color: #66ff66; }

/* === Lists === */
ul, ol {
  padding-left: 1.5rem;
}

li {
  margin: 0.5rem 0;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #0a0000;
  color: #999;
  position: relative;
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.1);
  z-index: 1;
}

footer a {
  color: #ff5555;
  font-weight: bold;
}

footer a:hover {
  color: #ff7777;
}

footer .version {
  margin-top: 0.5rem;
  color: #777;
  font-size: 0.9rem;
}

footer .status-note {
  margin-top: 0.5rem;
  color: #bb4444;
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== Blood Drip Animation (Responsive + Layer Fix) ===== */
.drip-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1; /* ensures it's behind all content */
}

.drip {
  position: absolute;
  background: radial-gradient(circle at 50% 30%, #ff1a1a 0%, #660000 100%);
  border-radius: 50%;
  opacity: 0.9;
  animation: bloodDrip linear forwards;
  will-change: transform, opacity;
  mix-blend-mode: multiply; /* subtle blending with dark background */
  filter: blur(0.2px);
}

/* Animation keyframes */
@keyframes bloodDrip {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(100vh) scaleY(1.3);
    opacity: 0;
  }
}

/* Responsive tuning for various devices */
@media (max-width: 1024px) {
  .drip {
    opacity: 0.85;
    animation-duration: 3s !important;
  }
}

@media (max-width: 768px) {
  .drip {
    opacity: 0.8;
    animation-duration: 3.2s !important;
  }
}

@media (max-width: 480px) {
  .drip {
    opacity: 0.75;
    animation-duration: 3.6s !important;
  }
}
