/* ============================= */
/* GENERAL PAGE SETUP */
/* ============================= */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  color: #000;
  font-family: monospace;
}

/* ============================= */
/* LOGO + DROPDOWN MENU IN FLOW */
/* ============================= */
.logo-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;   /* center horizontally */
  gap: 8px;              /* spacing between logo and dropdown */
  margin-top: 10%;       /* vertical placement from top */
}

/* Logo in normal flow */
.logo {
  position: relative;    
  max-width: 25vw;       /* responsive width */
  height: auto;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;         /* initially hidden */
  flex-direction: column;
  gap: 8px;              /* spacing between links */
  text-align: center;
}

.dropdown-menu.active {
  display: flex;
}

/* Each link */
.typed-link {
  font-family: "Monument Grotesk Mono Variable", monospace;
  color: #00f;
  text-decoration: none;
  font-size: 1.3em;
  line-height: 1.6em;
  white-space: nowrap;
  font-style: normal;
  font-weight: 400;
  font-variation-settings: 'slnt' 0, 'MONO' 1;
  position: relative;
}

/* Flashing underscore */
.typed-link::before {
  content: "_";
  animation: blink 0.7s infinite;
  margin-right: 3px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.1%, 100% { opacity: 0; }
}

/* Logo fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20%); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* AUDIO PLAYER */
/* ============================= */
.audio-container {
  position: fixed;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Dropdown for track selection */
.audio-container select {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1em;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  text-align: center;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.audio-container select:hover {
  filter: blur(3px);
  opacity: 0.7;
  transform: scale(1.03);
}

/* Hide native audio element */
#audioPlayer {
  display: none;
}

/* Custom play button */
.play-btn {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  transition: all 0.3s ease;
  font-family: monospace;
}

.play-btn:hover {
  transform: scale(1.2);
  filter: blur(1px);
  opacity: 0.8;
}

/* ============================= */
/* COPYRIGHT TEXT */
/* ============================= */
.copyright {
  position: fixed;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: Messapia, monospace;
  font-size: 1em;
  color: #000;
  opacity: 0;
  animation: fadeInCopyright 2.5s ease-in-out forwards;
  animation-delay: 1.5s;
}

.copyright .typed-link {
  opacity: 1;
  position: static;
  font-size: 1em;
  color: #000;
}

@keyframes fadeInCopyright {
  from {
    opacity: 0;
    transform: translate(-50%, 20%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
