body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  background-color: #121212;
  color: #f5f5f5;
}

/* Animated particle canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Keep everything above the canvas */
header,
main,
footer,
#progressBar {
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1f1f1f;
  padding: 10px;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 10px;
  flex-shrink: 0; /* WHY: body is now a flex column (see body{}) — this
                     stops the header from getting squeezed if content ever
                     runs short on vertical room. */
}

.websiteLogo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.websiteName {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: 160px;
}

.catchPhrase {
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #fcd34d;
  letter-spacing: 0.3px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  width: 100%;

  /* Optional: Make it gold-gradient text */
  /* Uncomment below if you want that effect */
  /*
  background: linear-gradient(to right, #fcd34d, #ffca28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  */
}

.logo {
  width: 100px;
  height: auto;
  margin-right: 15px;
  transition: 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 8px #fcd34d);
}

/* Headings */
h1 {
  font-size: 2.5rem;
  margin: 0;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 10px;
}

/* Manifesto Wrapper — WHY this is now separate from the card itself: this
   is the flex ITEM that grows to fill whatever space is left between the
   header and footer (body is now a flex column, see body{} above), and it
   CENTERS its child (.manifesto-card) within that space. On a short window
   the card just sits flush under the header like before; on a tall window,
   leftover vertical space gets split evenly above/below the card instead
   of dumping as one big gap before the footer — see index.html, where the
   card's actual content now lives one level deeper in .manifesto-card. */
.manifesto {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Manifesto Card — the actual visual card, unchanged from before except
   it's no longer the flex-growing element itself. */
.manifesto-card {
  max-width: 800px;
  width: 100%;
  padding: 20px;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.7s ease;
  border-top: 3px solid transparent;
  border-image: linear-gradient(to right, #ffd700, #ff5a5f);
  border-image-slice: 1;
  box-sizing: border-box;
}

.manifesto-card p,
.manifesto-card ul {
  font-size: 1rem;
  line-height: 1.5;
}

.manifesto-card ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* CTA Button */
.cta-button {
  background-color: #fcd34d;
  color: #121212;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 30px;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #c8a100;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(252, 211, 77, 0.2);
  color: white;
}

/* Footer */

footer {
  color: #888;
  background-color: #1f1f1f;
  font-weight: normal;
  font-size: 12px; /* change this one number to resize everything */
  text-align: center;
  padding: 30px 40px;
  flex-shrink: 0; /* same reasoning as .header's flex-shrink: 0 above —
                     stays pinned at the bottom of the flex column, never
                     compressed. */
}

footer * {
  font-size: inherit; /* forces the year span to match */
}

/* Progress Bar */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: linear-gradient(to right, #ffd700, #ff5a5f);
  z-index: 9999;
  transition: width 0.2s ease-out;
}

/* Fade-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .manifesto {
    padding: 10px;
  }

  .manifesto-card {
    padding: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .websiteName {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  @keyframes glowText {
    0% {
      color: #fcd34d;
      text-shadow: none;
    }
    50% {
      color: #fff3a0;
      text-shadow: 0 0 15px #fcd34d;
    }
    100% {
      color: #fcd34d;
      text-shadow: none;
    }
  }

  .catchPhrase {
    animation: glowText 2.5s ease-in-out infinite;
  }
  .catchPhrase {
    font-size: 11px;
  }
}
