:root {
  --muted-indigo: #3A3A78;
  --black: #000000;
  --white: #FFFFFF;
  --yellow: #FFD300;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & Background */
body {
  background-color: var(--black);
  background-image: url('stardust.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;

  color: var(--white);
  font-family: 'Martel', serif;
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 4rem;
}

/* Header */
.site-header {
  text-align: center;
  margin-top: 2rem;
}

.logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

nav a {
  font-family: 'Telex', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--white);
}

/* Typewriter Section */
.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  text-align: center;
  margin-bottom: 0.5rem;
}

#loop-typewriter {
  font-family: 'Amarante', cursive;
  font-size: 1.8rem;
  color: var(--yellow);
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid var(--yellow);
  display: inline-block;
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1;
}



@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--yellow); }
}

/* Section Styling */
section {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  padding: 2rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

section h2, section h3 {
  font-family: 'Amarante', cursive;
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

section p {
  font-family: 'Martel', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2px;
  color: var(--white);
}

/* Spotify Embed */
.spotify-embed iframe {
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  border-radius: 12px;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Telex', sans-serif;
  color: var(--yellow);
  font-size: 0.9rem;
}

footer a {
  color: var(--white);
  text-decoration: underline;
}

footer a:hover {
  color: var(--yellow);
}

/* Main nav & dropdown */
.mainnav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  position: relative;
}

.mainnav a {
  font-family: 'Telex', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--yellow);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  position: relative;
  transition: color 0.3s ease;
}

.mainnav a:hover {
  color: var(--white);
}

/* Dropdown logic */
/* Dropdown logic */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropbtn {
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  font-family: 'Telex', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: var(--white);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  border: 1px solid var(--yellow);
  min-width: 160px;
  z-index: 10;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}


.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--yellow);
  color: var(--black);
}

.dropdown:hover .dropdown-content {
  display: block;
}


.song-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 0 1.5rem;
}


.song-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border: 1px solid var(--yellow);
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.song-card h3 {
  font-family: 'Amarante', cursive;
  color: var(--yellow);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.song-card p {
  font-family: 'Martel', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--white);
}



.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem auto;
  padding: 0 1.5rem;
}

.video-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border: 1px solid var(--yellow);
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.video-card h3 {
  font-family: 'Amarante', cursive;
  color: var(--yellow);
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.video-card p {
  font-family: 'Martel', serif;
  font-size: 1rem;
  color: var(--white);
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.mission {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.updates-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.update-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--yellow);
}

.update-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  background-color: var(--yellow);
  border-radius: 50%;
}

.update-date {
  font-family: 'Telex', sans-serif;
  color: var(--yellow);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  display: inline-block;
}
.logo-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 2rem auto;
  text-align: center;
}

.logo-animated {
  display: block;
  max-width: 100%;
  width: 700px;
  height: auto;
  margin-top: 0;  /* ↓ Make sure no unexpected gap from image itself */
  margin-bottom: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease, transform 1s ease;
}


.fade-in-logo.visible .logo-animated {
  opacity: 1;
  transform: scale(1);
}


.updates-box {
  background-color: rgba(255, 255, 255, 0.08); /* white-ish transparent */
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(8px); /* subtle glass effect */
}
/* Remove layout-breaking flex from .mission */
.mission {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* New utility class for centered sections */
.centered-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  justify-content: center;
}


/* Glowing effect */
.glow-up {
  animation: glow 3s ease-in-out infinite alternate;
  box-shadow: 0 0 20px rgba(255, 211, 0, 0.2), 0 0 30px rgba(58, 58, 120, 0.3);
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(255, 211, 0, 0.15), 0 0 20px rgba(58, 58, 120, 0.2);
  }
  to {
    box-shadow: 0 0 30px rgba(255, 211, 0, 0.3), 0 0 40px rgba(58, 58, 120, 0.4);
  }
}


.split-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* Left side (Featured Project) */
.about-blurb {
  flex: 1 1 60%;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Right side (Updates box) */
.smaller-box {
  flex: 1 1 35%;
  padding: 1.5rem;
}

/* Embedded video (responsive) */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.journey {
  padding: 2em;
  font-family: 'Martel', serif;
  color: #fff;
  background-color: #111;
}

.journey h2 {
  font-family: 'Amarante', cursive;
  font-size: 2em;
  margin-bottom: 1em;
}

.journey-block {
  margin-bottom: 2em;
}

.journey-block h3 {
  font-family: 'Telex', sans-serif;
  font-size: 1.5em;
  margin-bottom: 0.5em;
  color: #FFD300;
}

.journey-block p {
  margin-bottom: 1em;
  line-height: 1.6;
}

.journey-photo {
  display: block;
  max-width: 100%;
  width: 400px;
  margin: 1em auto;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}


.coming-soon {
  padding: 4em 2em;
  text-align: center;
  font-family: 'Martel', serif;
  color: #fff;
}

.coming-soon h1 {
  font-family: 'Amarante', cursive;
  font-size: 2.5em;
  color: #FFD300;
  margin-bottom: 0.5em;
}

.coming-soon p {
  font-size: 1.2em;
  color: #ccc;
}


@media (max-width: 768px) {
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1em 0;
  }

  .mainnav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0.5em 1em;
}

.mainnav a,
.dropbtn {
  font-size: 1em;
  padding: 0.3em 0.6em;
  white-space: nowrap;
}


  .logo {
    width: 180px;
    margin: 1em auto;
  }

  .journey h2,
  .mission h2 {
    font-size: 1.6em;
  }

  .journey-block p,
  .mission p {
    font-size: 1em;
    line-height: 1.5;
    padding: 0 1em;
  }

  .journey-photo {
    width: 90%;
  }

  .song-grid {
    display: flex;
    flex-direction: column;
  }
}