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

html,
body {
  height: 100%;
  background: #0a0a0a;
  color: #f5f5f5;
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bodyFade 1.2s ease-out forwards;
  opacity: 0;
}

main {
  text-align: center;
  padding: 0 1.5rem;
}

.title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: #f5f5f5;
  letter-spacing: -1px;
  opacity: 0;
  animation: titleFade 2s ease-out 0.4s forwards;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.subtitle {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: "Inter", sans-serif;
  font-weight: 200;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;

  background: linear-gradient(
    100deg,
    rgba(195, 190, 175, 0.92) 0%,
    rgba(195, 190, 175, 0.92) 30%,
    rgba(255, 232, 158, 0.95) 42%,
    #ffd770 50%,
    rgba(255, 232, 158, 0.95) 58%,
    rgba(195, 190, 175, 0.92) 70%,
    rgba(195, 190, 175, 0.92) 100%
  );
  background-size: 250% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  opacity: 0;
  animation:
    subtitleFade 1.8s ease-out 2.4s forwards,
    shimmerOnce 5s cubic-bezier(0.45, 0, 0.3, 1) 3s forwards;
}

@keyframes shimmerOnce {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

@media (max-width: 600px) {
  .title {
    font-size: 3rem;
    letter-spacing: -1px;
  }
}

@keyframes bodyFade {
  to {
    opacity: 1;
  }
}

@keyframes titleFade {
  0% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes subtitleFade {
  to {
    opacity: 1;
  }
}
