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

:root {
  --sky-top: #0b0618;
  --sky-mid: #15102e;
  --sky-glow: #2a1f4e;
  --text: #f0eaf8;
  --text-muted: #b8a8d4;
  --accent: #c9a86c;
  --accent-glow: rgba(201, 168, 108, 0.35);
  --symbol: #d4c4f0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-mid) 45%,
    var(--sky-glow) 75%,
    #1a1235 100%
  );
}

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

/* Floating cosmic symbols */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.symbol {
  position: absolute;
  color: var(--symbol);
  animation: float 12s ease-in-out infinite;
}

.symbol svg {
  width: 100%;
  height: 100%;
}

.symbol--moon {
  top: 12%;
  right: 10%;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 24px rgba(212, 196, 240, 0.4));
  animation-duration: 14s;
}

.symbol--orbit {
  top: 28%;
  left: 6%;
  width: 90px;
  height: 90px;
  animation-delay: -3s;
  animation-duration: 16s;
}

.symbol--star-8 {
  top: 18%;
  left: 22%;
  width: 36px;
  height: 36px;
  animation-delay: -6s;
}

.symbol--constellation {
  top: 8%;
  left: 42%;
  width: 120px;
  height: 72px;
  animation-delay: -2s;
  animation-duration: 18s;
}

.symbol--diamond {
  bottom: 38%;
  right: 18%;
  width: 48px;
  height: 48px;
  animation-delay: -8s;
}

.symbol--planet {
  bottom: 42%;
  left: 12%;
  width: 64px;
  height: 64px;
  animation-delay: -4s;
  animation-duration: 20s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-12px) rotate(4deg); opacity: 1; }
}

/* Content */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem 1.5rem 38vh;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.content__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.content__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 40px rgba(201, 168, 108, 0.2);
}

.content__text {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.content__name {
  display: block;
  margin-top: 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.content__date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  color: var(--text);
}

.content__cta-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--sky-top);
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent) 0%, #e8d4a8 50%, var(--accent) 100%);
  border-radius: 999px;
  box-shadow:
    0 4px 24px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(201, 168, 108, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mountains */
.mountains {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 42vh;
  min-height: 200px;
  pointer-events: none;
}

.mountains__layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mountains__layer--back {
  opacity: 0.85;
  transform: translateY(8%);
}

.mountains__layer--mid {
  opacity: 0.95;
}

.mountains__layer--front {
  filter: drop-shadow(0 -4px 20px rgba(0, 0, 0, 0.5));
}

/* Nebula glow behind content */
body::before {
  content: "";
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 500px);
  height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 80, 180, 0.15) 0%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 600px) {
  .symbol--constellation,
  .symbol--orbit {
    opacity: 0.5;
  }

  .symbol--moon {
    width: 52px;
    height: 52px;
    right: 5%;
  }

  .content {
    padding-bottom: 42vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .symbol {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
