html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family: "DM Sans", sans-serif;
  background: #000000;
  color: #e0e0e0;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Josefin Sans", sans-serif;
}
.font-body {
  font-family: "DM Sans", sans-serif;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #e0e0e0;
}
.nav-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-decoration-color: #ffd185;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

/* HERO STAR FIELD (tsParticles) */
#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cosmic-glow {
  min-height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(217, 176, 240, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(254, 169, 194, 0.04) 0%, transparent 50%);
}

.card-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}
.card-glass:hover {
  border-color: rgba(217, 176, 240, 0.25);
  transform: translateY(-3px);
}

.btn-primary,
.btn-secondary {
  background: #fea9c2;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-primary {
  color: #fafafa;
}
.btn-secondary {
  color: #000000;
}

.btn-outline {
  background: transparent;
  color: #fafafa;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  border: 1.5px solid #fea9c2;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  background: #fea9c2;
  color: #fafafa;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 160px;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.dropdown-menu.open {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #d9b0f0;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 20, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  z-index: 99;
  backdrop-filter: blur(10px);
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu a:hover {
  color: #d9b0f0;
}
.mobile-menu .sub-link {
  padding-left: 16px;
  font-size: 14px;
  color: #aaa;
}

/* Animate hero on load */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.anim-fade-up {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}
.anim-delay-1 {
  animation-delay: 0.1s;
}
.anim-delay-2 {
  animation-delay: 0.25s;
}
.anim-delay-3 {
  animation-delay: 0.4s;
}
.anim-delay-4 {
  animation-delay: 0.55s;
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 176, 240, 0.15) 30%,
    rgba(254, 169, 194, 0.15) 70%,
    transparent
  );
  margin: 0 auto;
  max-width: 900px;
}

/* Home: astronaut image */
@keyframes astronaut-float {
  0% {
    transform: translateY(0px) rotate(-3deg);
  }
  50% {
    transform: translateY(-16px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(-3deg);
  }
}

.astronaut-float {
  animation: astronaut-float 5s ease-in-out infinite;
}

/*  Colour utilities (moved from index.html inline styles) */
.text-purple {
  color: #d9b0f0;
}
.text-gold {
  color: #ffd185;
}
.text-pink {
  color: #fea9c2;
}
.text-offwhite {
  color: #fafafa;
}
.text-muted {
  color: #bbb;
}
.text-subtle {
  color: #999;
}
.text-faint {
  color: #666;
}

/*  Hero description  */
#hero-desc {
  color: #fafafa;
  max-width: 520px;
}

/*  Button size modifier  */
.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/*  Featured event card border  */
.card-featured {
  border-color: rgba(254, 169, 194, 0.2);
}

/*  Initiative icon wrappers  */
.icon-wrap-blue {
  background: rgba(148, 190, 252, 0.12);
  border: 1px solid rgba(148, 190, 252, 0.2);
}
.icon-wrap-pink {
  background: rgba(254, 169, 194, 0.12);
  border: 1px solid rgba(254, 169, 194, 0.2);
}
.icon-wrap-gold {
  background: rgba(255, 209, 133, 0.12);
  border: 1px solid rgba(255, 209, 133, 0.2);
}

/*  Initiative icon sizes and colours  */
.initiative-icon {
  width: 22px;
  height: 22px;
}
.icon-blue {
  color: #94befc;
}
.icon-pink {
  color: #fea9c2;
}
.icon-gold {
  color: #ffd185;
}

/*  Social link buttons  */
.social-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  text-decoration: none;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.social-link-instagram:hover {
  border-color: #fea9c2;
  color: #fea9c2;
}
.social-link-linkedin:hover {
  border-color: #94befc;
  color: #94befc;
}
.social-icon {
  width: 18px;
  height: 18px;
}

/*  Footer  */
footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/*  Footer nav links  */
.footer-nav-link {
  color: #bbb;
  text-decoration: none;
}
.footer-nav-link:hover {
  color: #d9b0f0;
}

/*  Footer social links  */
.footer-social-link {
  color: #bbb;
  text-decoration: none;
}
.footer-social-instagram:hover {
  color: #fea9c2;
}
.footer-social-linkedin:hover {
  color: #94befc;
}
.footer-social-spotify:hover {
  color: #7cf2a5;
}
.footer-social-icon {
  width: 15px;
  height: 15px;
}
