body {
  font-family: 'Poppins', sans-serif;
  /* Updated Background: Use a large background size to allow animation */
  background: linear-gradient(-45deg, #ED1D24, #990000, #202020, #000000);
  background-size: 400% 400%; /* Make the gradient much larger than the viewport */
  animation: gradient-shift 15s ease infinite; /* Animate the position */
  margin: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
  min-height: 100vh; /* Ensure the gradient covers the full height */
}

/* Keyframes for the Subtle Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ---------------------------------------------------------------- */
/* STAR/PARTICLE EFFECT (Optional, but adds a cool space/multiverse touch) */
/* This section creates a faux star field using multiple box-shadow layers */
/* ---------------------------------------------------------------- */

.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Place behind all content */
}

/* Mixin for creating random star positions */
@function random_star_pos($n) {
  $value: '#{random(2000)}px #{random(2000)}px #fff';
  @for $i from 2 through $n {
    $value: '#{$value} , #{random(2000)}px #{random(2000)}px #fff';
  }
  @return $value;
}

/* Generate small, distant stars */
#stars1 {
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 100px 200px #fff, 500px 300px #fff, 1500px 900px #fff; /* Initial stars for effect */
  animation: animStar 100s linear infinite;
}
/* Generate medium stars */
#stars2 {
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: 200px 400px #fff, 1000px 600px #fff, 1200px 100px #fff;
  animation: animStar 150s linear infinite;
}
/* Generate large, close stars */
#stars3 {
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow: 800px 1000px #fff, 400px 1200px #fff, 1600px 1500px #fff;
  animation: animStar 200s linear infinite;
}

/* Animate the stars by shifting their position (parallax effect) */
@keyframes animStar {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-2000px);
  }
}

/* ---------------------------------------------------------------- */
/* Existing Styles (Ensure these are correctly merged/overwritten) */
/* ---------------------------------------------------------------- */

h1 {
  font-size: 2em;
  background-color: #ED1D24;
  padding: 15px 30px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  color: white;
  text-transform: uppercase;
  position: relative; /* Ensure it stays above the stars */
  z-index: 10;
}

.phase-container {
  text-align: left;
  max-width: 600px;
  margin: 40px auto;
  background: rgba(32, 32, 32, 0.9);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative; /* Ensure container is above stars */
  z-index: 5;
}

h2 {
  background-color: #ED1D24;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  margin-top: 30px;
  font-size: 1.1em;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background-color: #2c2c2c;
  margin: 6px 0;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
  border: 1px solid #444;
}

li:hover {
  background-color: #3a3a3a;
}

label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f5f5f5;
}

input[type="checkbox"] {
  transform: scale(1.4);
  accent-color: #ED1D24;
}