/* Love-letter landing page */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0; padding: 0;
  background: #0e030a;
  color: #fce7f3;
  font-family: 'Playfair Display', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(225, 29, 72, 0.18), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(244, 63, 94, 0.12), transparent 70%),
    #0e030a;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 8vh, 80px) 16px 32px;
}

.love-headline {
  text-align: center;
  margin-bottom: 32px;
  max-width: 100%;
}

.love-big {
  font-size: clamp(72px, 17vw, 240px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fecdd3 0%, #fb7185 45%, #e11d48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(244, 63, 94, 0.35);
  animation: glow 4s ease-in-out infinite;
  margin: 0;
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(244, 63, 94, 0.35)); }
  50%      { filter: drop-shadow(0 0 40px rgba(244, 63, 94, 0.6)); }
}

.signature {
  font-style: italic;
  font-size: clamp(26px, 4.2vw, 50px);
  margin-top: 18px;
  color: #fda4af;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeIn 1.4s ease-out 0.6s forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.enter-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fda4af;
  background: transparent;
  border: 1.5px solid #fda4af;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1.4s ease-out 1.2s forwards;
  transition: background 0.2s, color 0.2s, transform 0.1s, border-color 0.2s;
}
.enter-btn:hover {
  background: #fda4af;
  color: #0e030a;
  transform: translateY(-2px);
}
.enter-btn:active { transform: translateY(0); }
.enter-btn--solid {
  background: linear-gradient(180deg, #fb7185, #e11d48);
  color: white;
  border-color: transparent;
  width: 100%;
  margin-top: 12px;
}
.enter-btn--solid:hover {
  background: linear-gradient(180deg, #fda4af, #fb7185);
  color: white;
  border-color: transparent;
}

#forever {
  position: relative;
  margin-top: 24px;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  pointer-events: none;
}
.forever-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-style: italic;
  color: #fb7185;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
  animation: rise 22s linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0)       scale(1);     opacity: 0; }
  5%   {                                              opacity: 1; }
  85%  {                                              opacity: 0.9; }
  100% { transform: translateY(-70vh)   scale(0.05);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .forever-line { animation: none; opacity: 1; position: static; }
  #forever { display: flex; flex-direction: column-reverse; align-items: center; height: auto; }
  .signature, .enter-btn { animation: none; opacity: 1; }
}

::selection { background: #fb7185; color: #0e030a; }

/* Password modal */
.pw-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pw-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}
.pw-card {
  position: relative;
  background: #1a0710;
  border: 1px solid rgba(252, 165, 165, 0.3);
  border-radius: 16px;
  padding: 28px 24px 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}
.pw-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
  text-align: center;
  font-weight: 700;
  color: #fce7f3;
  font-family: 'Playfair Display', serif;
}
.pw-card input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  background: #0e030a;
  border: 1px solid rgba(252, 165, 165, 0.3);
  border-radius: 10px;
  color: #fce7f3;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: center;
  letter-spacing: 0.04em;
}
.pw-card input:focus {
  outline: none;
  border-color: #fb7185;
}
.pw-err {
  color: #fca5a5;
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
  min-height: 18px;
  font-family: 'Inter', system-ui, sans-serif;
}
