:root {
  --ink: #fff7fb;
  --muted: rgba(255, 247, 251, 0.72);
  --pink: #ff74b8;
  --rose: #ff9fcb;
  --violet: #8d6bff;
  --deep: #12051f;
  --card: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Montserrat, system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 116, 184, 0.36), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(141, 107, 255, 0.32), transparent 30rem),
    linear-gradient(135deg, #170522 0%, #250b38 46%, #050210 100%);
}

img,
iframe {
  max-width: 100%;
}

.start-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  padding: 2rem;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 116, 184, 0.42), transparent 18rem),
    linear-gradient(135deg, #170522 0%, #300d42 55%, #080210 100%);
  cursor: pointer;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.start-screen span {
  color: var(--rose);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.start-screen strong {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.6rem, 10vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  text-shadow: 0 0 2rem rgba(255, 116, 184, 0.65);
}

.start-screen small {
  color: var(--muted);
  font-size: 1rem;
}

.start-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.45;
  pointer-events: none;
  animation: float 8s ease-in-out infinite alternate;
}

.glow-one {
  left: -7rem;
  bottom: 8vh;
  background: rgba(255, 116, 184, 0.5);
}

.glow-two {
  right: -8rem;
  top: 12vh;
  background: rgba(141, 107, 255, 0.5);
  animation-delay: -3s;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero-card,
.message-card {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.07));
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.hero-card {
  padding: clamp(2rem, 6vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 0.9;
}

h1 {
  font-size: clamp(5rem, 16vw, 12rem);
  text-shadow: 0 0 2rem rgba(255, 116, 184, 0.58);
}

h2 {
  font-size: clamp(3.5rem, 8vw, 6rem);
}

.lead,
.message-card p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.dedication {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.3rem 0 1.6rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 159, 203, 0.38);
  border-radius: 1.1rem;
  background: rgba(255, 116, 184, 0.12);
}

.dedication span {
  color: var(--muted);
  font-size: 0.82rem;
}

.dedication strong {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.music-card {
  width: min(100%, 36rem);
  margin: 0 0 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
}

.music-card span {
  display: block;
  margin: 0 0 0.75rem;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.music-card iframe {
  display: block;
  width: 100%;
  border-radius: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  color: #26071c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #fff, var(--rose));
  box-shadow: 0 1rem 2rem rgba(255, 116, 184, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 1.2rem 2.4rem rgba(255, 116, 184, 0.36);
}

.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
}

.message-card {
  position: relative;
  min-height: 32rem;
  padding: 2rem;
  overflow: hidden;
}

.message-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -38% -20%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(255, 116, 184, 0.42), transparent 68%);
}

.message-card h2,
.message-card p {
  position: relative;
  z-index: 1;
}

.rue-gif {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 18rem);
  margin: 0 auto 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.5rem;
  box-shadow: 0 0 3rem rgba(255, 116, 184, 0.62);
}

#hearts {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.heart {
  position: absolute;
  bottom: -2rem;
  color: var(--pink);
  font-size: 1.4rem;
  animation: rise 4.8s linear forwards;
  text-shadow: 0 0 1rem rgba(255, 116, 184, 0.8);
}

@keyframes float {
  to { transform: translate3d(1.5rem, -1rem, 0) scale(1.08); }
}

@keyframes pulse {
  50% { transform: scale(1.05); }
}

@keyframes rise {
  to {
    transform: translateY(-110vh) rotate(24deg);
    opacity: 0;
  }
}

@media (max-width: 800px) {
  body {
    background:
      radial-gradient(circle at 50% 5%, rgba(255, 116, 184, 0.28), transparent 20rem),
      linear-gradient(160deg, #170522 0%, #280b3a 52%, #050210 100%);
  }

  .start-screen {
    padding: 1.25rem;
  }

  .start-screen strong {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .glow {
    width: 14rem;
    height: 14rem;
  }

  .page-shell {
    grid-template-columns: 1fr;
    width: min(100% - 1rem, 34rem);
    min-height: auto;
    padding: 0.5rem 0 2rem;
    gap: 1rem;
  }

  .hero-card,
  .message-card {
    border-radius: 1.35rem;
  }

  .hero-card {
    padding: 1.35rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(4rem, 23vw, 6.25rem);
  }

  h2 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .lead,
  .message-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .dedication,
  .music-card,
  .actions,
  .actions button {
    width: 100%;
  }

  .dedication {
    margin: 1rem 0;
    text-align: center;
  }

  .music-card {
    padding: 0.75rem;
  }

  .music-card iframe {
    height: 146px;
  }

  .actions button {
    padding: 0.85rem 1rem;
  }

  .message-card {
    min-height: auto;
    padding: 1.25rem;
    text-align: center;
  }

  .rue-gif {
    width: min(100%, 15rem);
    margin-bottom: 1.35rem;
    border-radius: 1.1rem;
  }
}

@media (min-width: 801px) and (max-width: 1080px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 2rem));
    padding: 2rem 0;
  }

  .message-card {
    min-height: auto;
    text-align: center;
  }

  .rue-gif {
    width: min(100%, 22rem);
  }
}

@media (min-width: 1081px) {
  .hero-card {
    min-height: 36rem;
  }

  .message-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
