* {
  box-sizing: border-box;
}

:root {
  --pink-1: #fff6fb;
  --pink-2: #ffe7f1;
  --pink-3: #f8c3d9;
  --pink-4: #e994b8;
  --pink-5: #bd668d;
  --ink: #5f4654;
  --soft-ink: #7e6571;
  --paper: rgba(255, 252, 250, 0.93);
  --line: rgba(191, 122, 152, 0.24);
  --shadow: 0 18px 50px rgba(132, 68, 95, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.9), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,.78), transparent 30%),
    repeating-linear-gradient(45deg, rgba(180,105,135,.05) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #ffdce9 0%, #fff2f7 50%, #ffdfe9 100%);
  font-family: "Quicksand", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.6) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.55) 0 2px, transparent 2px);
  background-size: 35px 35px, 49px 49px;
  opacity: .35;
  z-index: 0;
}

a {
  color: inherit;
}

.site.locked {
  display: none;
}

.password-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.password-screen::before,
.password-screen::after {
  content: "✿  ♡  ❀  ♡";
  position: absolute;
  font-size: clamp(24px, 4vw, 44px);
  color: rgba(190, 95, 139, .22);
  letter-spacing: 20px;
  animation: drift 10s ease-in-out infinite alternate;
}

.password-screen::before { top: 9%; left: 4%; }
.password-screen::after { bottom: 10%; right: 4%; animation-delay: -4s; }

.password-card {
  width: min(540px, 100%);
  padding: 46px 32px 38px;
  text-align: center;
  background: var(--paper);
  border: 2px solid rgba(225, 151, 181, .4);
  border-radius: 34px;
  box-shadow: var(--shadow);
  position: relative;
  backdrop-filter: blur(8px);
}

.password-card h1 {
  margin: 6px 0 8px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 400;
}

.password-card p {
  margin: 0 auto 18px;
  max-width: 420px;
  line-height: 1.6;
}

.password-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 22px;
}

.password-wrap input,
.password-wrap button {
  border-radius: 16px;
  border: 1px solid rgba(195, 111, 149, .35);
  font: inherit;
}

.password-wrap input {
  min-width: 0;
  padding: 14px 16px;
  outline: none;
  background: #fff9fc;
  color: var(--ink);
}

.password-wrap input:focus {
  box-shadow: 0 0 0 4px rgba(230, 153, 182, .16);
}

.password-wrap button {
  padding: 14px 18px;
  background: linear-gradient(180deg, #eea8c6, #db87ad);
  color: white;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.password-wrap button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(175, 84, 124, .2);
}

.password-message {
  min-height: 1.3em;
  color: #b84d7e;
  font-weight: 700;
}

.hint {
  font-size: .78rem;
  color: #9f7e8d;
}

.bunny,
.hero-bunny {
  font-size: 64px;
  filter: drop-shadow(0 6px 10px rgba(153, 77, 112, .15));
  animation: bunny-bob 3.2s ease-in-out infinite;
}

.tiny-label,
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink-5);
}

.site {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: 22px 18px 60px;
  display: grid;
  place-items: center;
  position: relative;
}

.top-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 24px));
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  z-index: 30;
  background: rgba(255, 247, 251, .78);
  border: 1px solid rgba(191, 122, 152, .25);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(139, 80, 105, .1);
  backdrop-filter: blur(14px);
}

.top-nav a {
  padding: 8px 12px;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  background: #efb1cb;
  color: white;
}

.hero-card,
.paper-frame {
  width: min(1000px, calc(100% - 18px));
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,250,253,.92)),
    repeating-linear-gradient(0deg, rgba(180,110,141,.04) 0 1px, transparent 1px 5px);
  border: 1px solid rgba(183, 109, 139, .27);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: min(650px, 78svh);
  border-radius: 36px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 72px 28px 48px;
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "❀";
  position: absolute;
  color: rgba(191, 102, 141, .28);
  font-size: 50px;
}

.hero-card::before { top: 28px; left: 30px; }
.hero-card::after { bottom: 30px; right: 34px; }

.flower-corner {
  position: absolute;
  font-size: 26px;
  color: rgba(191, 102, 141, .38);
  letter-spacing: 7px;
}

.flower-corner.left { left: 26px; bottom: 28px; }
.flower-corner.right { right: 26px; top: 28px; }

.eyebrow {
  margin: 0 0 10px;
}

.hero-card h1 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .98;
  color: #674a59;
}

.hero-copy {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  margin: 20px 0 28px;
  max-width: 720px;
}

.scroll-button {
  display: inline-block;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 999px;
  background: #f1aec7;
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(181, 88, 128, .18);
  transition: transform .2s ease;
}

.scroll-button:hover { transform: translateY(-2px); }

.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkles span {
  position: absolute;
  color: rgba(190, 102, 141, .4);
  animation: float-up 6s linear infinite;
}

.sparkles span:nth-child(1) { left: 14%; top: 28%; animation-delay: -1s; }
.sparkles span:nth-child(2) { left: 82%; top: 40%; animation-delay: -3s; }
.sparkles span:nth-child(3) { left: 24%; top: 76%; animation-delay: -2s; }
.sparkles span:nth-child(4) { left: 70%; top: 18%; animation-delay: -4s; }
.sparkles span:nth-child(5) { left: 91%; top: 68%; animation-delay: -5s; }

.journal-section {
  padding: 70px 18px 110px;
}

.journal-container {
  width: min(1120px, 100%);
  margin: auto;
}

.journal-title {
  text-align: center;
  font-family: "Sacramento", cursive;
  font-size: clamp(54px, 7vw, 86px);
  color: #8b5b6d;
  margin-bottom: 18px;
}

.journal-spread {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: stretch;
}

.journal-page {
  min-height: 720px;
  position: relative;
  padding: 58px 56px 48px;
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, var(--line) 35px 36px),
    #fffdfd;
  border: 1px solid rgba(180, 108, 138, .28);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.journal-page:first-child {
  border-radius: 18px 4px 4px 18px;
  transform: rotate(-.25deg);
}

.journal-page:last-child {
  border-radius: 4px 18px 18px 4px;
  transform: rotate(.25deg);
}

.journal-page h2 {
  margin: 0 0 28px;
  font-family: "Sacramento", cursive;
  font-size: 42px;
  font-weight: 400;
  color: #8d5c71;
}

.ruled-text p {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 19px;
  line-height: 1.9;
  color: #654d58;
}

.page-hole {
  position: absolute;
  left: 13px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f6dfe9;
  box-shadow: inset 0 2px 5px rgba(126, 74, 98, .15);
}

.hole-1 { top: 90px; }
.hole-2 { top: 245px; }
.hole-3 { top: 400px; }
.hole-4 { top: 555px; }

.journal-binding {
  position: relative;
  display: grid;
  align-content: space-around;
  justify-items: center;
  padding: 18px 0;
  z-index: 2;
  background: linear-gradient(90deg, #f5e6ec, #f0d9e4 45%, #f9edf1);
  border-top: 1px solid rgba(173, 93, 127, .18);
  border-bottom: 1px solid rgba(173, 93, 127, .18);
}

.journal-binding span {
  width: 38px;
  height: 12px;
  border-radius: 8px;
  background: #d3b1be;
  box-shadow: inset 0 2px 4px rgba(93, 48, 68, .12);
}

.page-doodle {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: #d889ab;
  font-size: 28px;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 110px;
  padding: 70px 34px 80px;
  border-radius: 34px;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.section h2 {
  margin: 0 0 18px;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 66px);
  color: #6b4c5a;
}

.section-intro {
  font-size: 18px;
  line-height: 1.75;
}

.records {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}

.record-card {
  position: relative;
  min-height: 235px;
  padding: 18px 12px 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(195, 112, 148, .18);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.record-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 18px 30px rgba(157, 79, 111, .14);
}

.record {
  width: 148px;
  aspect-ratio: 1;
  margin: 0 auto 15px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at center, #f5d5e1 0 9%, #9a5d7b 9.5% 13%, transparent 13.5%),
    repeating-radial-gradient(circle at center, #5e4150 0 3px, #3e2e38 3px 8px, #755160 8px 10px),
    linear-gradient(135deg, #2b2329, #8f566e);
  box-shadow: 0 14px 24px rgba(86, 47, 65, .24);
  cursor: pointer;
  animation: record-spin 18s linear infinite;
  animation-play-state: paused;
}

.record-card:hover .record {
  animation-play-state: running;
}

.record::after {
  content: "";
  position: absolute;
  inset: 25% 25%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3f7 0 12%, #d786aa 13% 48%, #f3c8d9 49%);
  box-shadow: 0 0 0 1px rgba(102, 52, 72, .2);
}

.record-title {
  font-weight: 700;
  font-size: .98rem;
}

.record-artist {
  color: #9a7585;
  font-size: .82rem;
  margin-top: 4px;
}

.record-card button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  width: 100%;
}

.after-records {
  margin: 44px auto 0;
  max-width: 800px;
  text-align: center;
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.7;
}

.jar-section {
  position: relative;
}

.jar-area {
  text-align: center;
  padding-top: 20px;
}

.jar-label {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 10px;
  background: #f0b1c7;
  color: white;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(170, 78, 115, .13);
}

.jar {
  width: min(530px, 90vw);
  margin: 18px auto 0;
  position: relative;
}

.jar-lid {
  width: 52%;
  height: 30px;
  margin: 0 auto -1px;
  border-radius: 16px 16px 7px 7px;
  background: linear-gradient(180deg, #ebb1c9, #ce7fa3);
  border: 2px solid rgba(125, 61, 90, .15);
}

.jar-glass {
  min-height: 390px;
  padding: 28px 20px 34px;
  border-radius: 50px 50px 70px 70px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.55), rgba(255,241,248,.35)),
    rgba(243, 196, 214, .36);
  border: 2px solid rgba(193, 115, 145, .34);
  box-shadow:
    inset 0 0 30px rgba(255,255,255,.45),
    0 20px 35px rgba(128, 65, 88, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.jar-glass::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 40px 40px 54px 54px;
  border: 1px solid rgba(255,255,255,.35);
  pointer-events: none;
}

.paper-strip {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 7px;
  background: #fff6ba;
  color: #745c63;
  font-size: .82rem;
  box-shadow: 0 4px 7px rgba(93, 56, 66, .1);
  transform: rotate(var(--r, -2deg));
}

.paper-strip:nth-child(2n) { --r: 2deg; }
.paper-strip:nth-child(3n) { --r: -1deg; }
.paper-strip:nth-child(5n) { --r: 3deg; }

.final-section {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
}

.final-section h2 {
  font-family: "Sacramento", cursive;
  font-size: clamp(70px, 10vw, 110px);
  margin: 0;
}

.final-note {
  max-width: 720px;
  margin: 22px auto 0;
  font-family: "DM Serif Display", serif;
  font-size: 21px;
  line-height: 1.8;
}

.flowers-big {
  color: #d48aab;
  font-size: 42px;
  letter-spacing: 18px;
}

.goodbye-bunny {
  margin-top: 25px;
  font-size: 38px;
  letter-spacing: 7px;
}

footer {
  text-align: center;
  padding: 8px 20px 38px;
  color: #997381;
  font-size: .78rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 100;
}

.modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(72, 40, 53, .38);
  backdrop-filter: blur(5px);
}

.modal-card {
  width: min(440px, calc(100% - 30px));
  padding: 30px 24px 28px;
  position: relative;
  z-index: 1;
  text-align: center;
  border-radius: 28px;
  background: #fff9fc;
  box-shadow: 0 30px 60px rgba(68, 33, 48, .24);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #9a667b;
  font-size: 30px;
  cursor: pointer;
}

.modal-record {
  width: 180px;
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f8d3e0 0 9%, #a86382 9.5% 13%, transparent 13.5%),
    repeating-radial-gradient(circle at center, #5f414f 0 3px, #2b2329 3px 8px, #80586b 8px 10px),
    linear-gradient(135deg, #2b2329, #92536f);
  animation: record-spin 9s linear infinite;
}

.modal-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0;
}

.modal-card p {
  margin: 7px 0;
}

.modal-note {
  margin-top: 17px !important;
  font-size: .85rem;
  color: #9b7b89;
  line-height: 1.55;
}

@keyframes bunny-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(-2deg); }
  to { transform: translate3d(20px, -18px, 0) rotate(3deg); }
}

@keyframes float-up {
  0% { transform: translateY(18px) rotate(0); opacity: 0; }
  20% { opacity: .7; }
  75% { opacity: .45; }
  100% { transform: translateY(-100px) rotate(40deg); opacity: 0; }
}

@keyframes record-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav {
    overflow-x: auto;
    justify-content: flex-start;
    white-space: nowrap;
  }

  .journal-spread {
    grid-template-columns: 1fr;
  }

  .journal-binding {
    display: none;
  }

  .journal-page:first-child,
  .journal-page:last-child {
    border-radius: 18px;
    transform: none;
  }

  .journal-page + .journal-page {
    margin-top: 18px;
  }
}

@media (max-width: 650px) {
  .password-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-card,
  .section {
    width: min(100%, calc(100% - 10px));
  }

  .section {
    padding: 55px 18px 60px;
  }

  .journal-page {
    min-height: auto;
    padding: 45px 28px 44px;
  }

  .ruled-text p {
    font-size: 17px;
    line-height: 1.75;
  }

  .records {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .record {
    width: 118px;
  }

  .record-title {
    font-size: .9rem;
  }

  .record-artist {
    font-size: .76rem;
  }
}

@media (max-width: 430px) {
  .records {
    grid-template-columns: 1fr;
  }

  .record {
    width: 145px;
  }

  .hero-card h1 {
    font-size: 45px;
  }
}
