/* Cover page styling */
#cover {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 100;
}

/* Cover overlay effects */
#cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 11;
}

#cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.25),
    rgba(155, 89, 182, 0.25)
  );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 12;
  opacity: 0.6;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Cover visibility states */
#cover.visible {
  opacity: 1;
}
#cover.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Profile avatar styling */
#avatar-frame {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  z-index: 20;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  animation: pulse 3s infinite;
}
  
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  }
}
  
#avatar-frame.visible {
  opacity: 1;
  transform: translateY(0);
}
  
#avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text element styling */
#name,
#slogan {
  position: relative;
  z-index: 20;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  text-align: center;
  max-width: 90vw;
  word-break: break-word;
}
  
#name.visible,
#slogan.visible {
  opacity: 1;
  transform: translateY(0);
}

#name {
  color: white;
  font-family: "CygnetRound", "Great Vibes", cursive;
  font-size: 2em;
  letter-spacing: 1px;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(52, 152, 219, 0.8);
}
  
#slogan {
  color: white;
  font-family: "Allura", cursive;
  font-size: 2.5em;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(0, 0, 0, 0.4);
}

/* Button styling */
#about-btn, #social-btn, #toolkit-btn, #schedule-btn {
  position: relative;
  z-index: 20;
  background: transparent;
  color: white;
  border: none;
  padding: 10px 24px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3),
    0 0 15px rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

#about-btn::before, #social-btn::before, #toolkit-btn::before, #schedule-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(3px);
  z-index: -1;
  border-radius: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#about-btn::after, #social-btn::after, #toolkit-btn::after, #schedule-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.6s ease;
}

#about-btn:hover, #social-btn:hover, #toolkit-btn:hover, #schedule-btn:hover {
  transform: translateY(0) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 25px rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
}

#about-btn:hover::before, #social-btn:hover::before, #toolkit-btn:hover::before, #schedule-btn:hover::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.1)
  );
}

#about-btn:active::after, #social-btn:active::after, #toolkit-btn:active::after, #schedule-btn:active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(20);
  transition: transform 0.8s ease, opacity 0.6s ease;
}

#about-btn.visible, #social-btn.visible, #toolkit-btn.visible, #schedule-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cover buttons container */
.cover-buttons {
  display: flex;
  gap: 20px;
  z-index: 20;
}