nav {
  background: transparent;
}

#navbar ul li #discovernav {
  color: var(--gold);
  font-weight: bold;
}
#discover-hero-section {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 60px 20px;
  text-align: center;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

#stars-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ********* HEADLINE ********** */

#discover-headline {
  font-family: Orbitron;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

#headline-first {
  animation-name: slideInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-in;
}

#cosmos {
  color: var(--gold);
  opacity: 0%;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

#the {
  color: var(--white);
  opacity: 0%;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

/* ********* CARDS SECTION ********** */

#discover-cards {
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.discover-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}

.discover-card-header {
  display: flex;
  color: var(--white);
  align-items: center;
  gap: 20px;
}

.discover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.5);
}

.discover-card-emoji {
  font-size: 2rem;
}

.discover-card h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.discover-card p {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ************** CONSTELLATION BG**************** */

#discover-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ************** ANIMATIONS **************** */

@keyframes slideInLeft {
  from {
    transform: translateX(-300px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}
