/*
  PRÝNCESS DIARY V2
  Brand colors sampled from supplied logo:
  Pink: #FE7295
  Neon yellow: #E0FE00
*/

:root {
  --pink: #fe7295;
  --pink-hot: #ff2f88;
  --pink-deep: #c70064;
  --yellow: #e0fe00;
  --paper: #fff8ee;
  --ink: #171018;
  --purple: #844bb2;
  --blue: #00b4e8;
  --soft-pink: #ffc4d6;
  --border: #2b1725;
  --shadow: 12px 14px 0 rgba(23,16,24,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--pink);
  font-family: "DM Sans", sans-serif;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.handwriting { font-family: "Gloria Hallelujah", cursive; }

.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    var(--pink);
  background-size: 42px 42px;
  transition: opacity .8s ease, visibility .8s ease;
}
.cover.opened { opacity: 0; visibility: hidden; }

.cover-book {
  position: relative;
  width: min(520px, 88vw);
  aspect-ratio: .78;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid var(--ink);
  border-radius: 12px 34px 34px 12px;
  background: var(--pink);
  box-shadow: 24px 28px 0 rgba(23,16,24,.3);
  transform: rotate(-2deg);
  transition: transform .3s ease;
}
.cover-book:hover { transform: rotate(0) translateY(-7px); }
.cover-book__grid {
  position: absolute; inset: 0;
  opacity: .28;
  background:
    linear-gradient(rgba(23,16,24,.36) 2px, transparent 2px),
    linear-gradient(90deg, rgba(23,16,24,.36) 2px, transparent 2px);
  background-size: 55px 55px;
}
.cover-book__logo-wrap {
  position: absolute;
  inset: 26% 9% auto 9%;
  display: grid;
  place-items: center;
  min-height: 27%;
  padding: 18px;
  transform: rotate(-2deg);
}
.cover-book__logo-wrap img { width: 100%; filter: drop-shadow(5px 6px 0 rgba(199,0,100,.28)); }
.cover-book__scribble {
  position: absolute; left: 11%; top: 12%;
  font-family: "Gloria Hallelujah", cursive;
  font-size: 1.3rem;
  transform: rotate(-8deg);
}
.cover-book__warning {
  position: absolute; right: 13%; bottom: 20%;
  padding: 8px 14px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 900;
  transform: rotate(5deg);
}
.cover-book__cta {
  position: absolute; left: 50%; bottom: 8%;
  transform: translateX(-50%);
  width: max-content;
  padding: 14px 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 900;
  letter-spacing: .08em;
}
.cover-book__elastic {
  position: absolute; right: 11%; top: 0; bottom: 0;
  width: 28px;
  background: var(--ink);
}
.cover-book__gem {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 48px; height: 48px;
  place-items: center;
  color: white;
  border: 3px solid var(--ink);
  background: var(--pink-deep);
  box-shadow: inset 5px 5px 0 rgba(255,255,255,.3);
  font-size: 1.25rem;
}
.gem-one { left: 9%; bottom: 20%; transform: rotate(-14deg); }
.gem-two { right: 12%; top: 11%; transform: rotate(17deg); background: var(--blue); }
.gem-three { left: 16%; top: 22%; transform: rotate(8deg); background: var(--yellow); color: var(--ink); }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  height: 110px;
  padding: 18px 5vw 10px;

  pointer-events: none;
}
.mini-logo, .menu-toggle { pointer-events: auto; }
.mini-logo { width: 170px; }
.menu-toggle {
  display: none;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--yellow);
  font-weight: 900;
}

.site-wrap {
  width: min(1280px, calc(100% - 42px));
  margin: 96px auto 45px;
  position: relative;
}
.diary-pages {
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 18px 22px 0 rgba(23,16,24,.22);
}
.tabs {
  position: fixed;
  z-index: 90;
  top: 135px;
  left: calc(50% + 620px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab {
  width: 92px;
  padding: 15px 13px;
  border: 3px solid var(--ink);
  border-left: 0;
  border-radius: 0 13px 13px 0;
  background: var(--yellow);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .09em;
  box-shadow: 7px 7px 0 rgba(23,16,24,.14);
  transition: .25s ease;
}
.tab:nth-child(2) { background: #ffb0ce; }
.tab:nth-child(3) { background: #96e9ff; }
.tab:nth-child(4) { background: #d9b8ff; }
.tab:nth-child(5) { background: #ffcf55; }
.tab:nth-child(6) { background: #ff86c3; }
.tab:hover, .tab.active { width: 110px; transform: translateX(4px); }
.tab.active { color: var(--yellow); background: var(--ink); }

.tabs {
  perspective: 900px;
}

.tab {
  position: relative;

  transform-origin: left center;
  transform-style: preserve-3d;

  transition:
    transform 280ms ease,
    width 280ms ease,
    background 280ms ease,
    color 280ms ease;
}

.tab:hover {
  width: 110px;
  transform:
    translateX(4px)
    rotateY(-10deg);
}

.tab.active {
  width: 110px;
  color: var(--yellow);
  background: var(--ink);

  transform:
    translateX(5px)
    rotateY(-4deg);
}

.tab.is-flipping {
  animation: tab-flip 500ms ease;
}

@keyframes tab-flip {
  0% {
    transform: translateX(4px) rotateY(0deg);
  }

  40% {
    transform: translateX(10px) rotateY(-28deg);
  }

  70% {
    transform: translateX(6px) rotateY(7deg);
  }

  100% {
    transform: translateX(4px) rotateY(-4deg);
  }
}

.page {
  position: relative;
  min-height:70vh;
  padding:90px 0;
  padding: clamp(95px, 10vw, 145px) clamp(42px, 7vw, 100px);
  border-bottom: 4px solid var(--ink);
}
.page-lines {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .2;
  background:
    linear-gradient(rgba(132,75,178,.42) 2px, transparent 2px),
    linear-gradient(90deg, rgba(132,75,178,.22) 2px, transparent 2px);
  background-size: 100% 38px, 52px 100%;
}
.section-title { margin-bottom: 55px; }
.section-title h2 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(4.5rem, 11vw, 9rem);
  line-height: .8;
  letter-spacing: -.03em;
  color: var(--pink-hot);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 7px 8px 0 var(--yellow);
}
.section-title .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  transform: rotate(-1deg);
}
.section-title .handwriting { color: var(--purple); }
.section-title.light h2 { color: var(--pink); text-shadow: 7px 8px 0 var(--yellow); }
.section-title.light .handwriting { color: white; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .07em;
  box-shadow: 5px 6px 0 rgba(23,16,24,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translate(-2px,-2px); box-shadow: 8px 9px 0 rgba(23,16,24,.2); }
.button-dark { color: white; background: var(--ink); }
.button-outline { background: var(--paper); }
.button-yellow { background: var(--yellow); }

/* Home */
.home-page {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  background: var(--paper);
}
.home-copy, .home-collage { position: relative; z-index: 2; }
.sticker {
  display: inline-block;
  padding: 9px 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  transform: rotate(-5deg);
}
.sticker-yellow { background: var(--yellow); }
.intro-note { margin: 26px 0 10px; color: var(--pink-deep); font-size: 1.25rem; }
.home-copy h1 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 7vw, 7.3rem);
  letter-spacing: -.03em;
  line-height: .86;
}
.home-copy h1 span {
  display: block;
  color: var(--pink-hot);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 6px 7px 0 var(--yellow);
}
.lead { max-width: 540px; margin: 28px 0; font-size: 1.15rem; line-height: 1.75; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bottom-note { margin-top: 30px; color: var(--purple); }

.home-collage { min-height: 650px; }
.photo-card {
  position: absolute;
  margin: 0;
  border: 12px solid white;
  outline: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: white;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card-main { right: 0; top: 4%; width: 74%; aspect-ratio: 1; transform: rotate(3deg); }
.photo-card-small { left: 0; bottom: 0; width: 44%; aspect-ratio: 1; transform: rotate(-7deg); }
.tape {
  position: absolute; z-index: 4;
  width: 120px; height: 34px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,241,183,.85);
}
.tape-a { right: 22%; top: 0; transform: rotate(7deg); }
.tape-b { left: 8%; bottom: 37%; transform: rotate(-13deg); }
.floating-icon {
  position: absolute; z-index: 5;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border: 3px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(23,16,24,.18);
  font-size: 1.8rem;
}
.icon-heart { right: -2%; top: 28%; color: white; background: var(--pink-deep); transform: rotate(10deg); }
.icon-star { right: 9%; bottom: 2%; background: var(--yellow); transform: rotate(-8deg); }
.icon-crown { left: 4%; top: 10%; color: white; background: var(--purple); transform: rotate(-12deg); }
.scribble-arrow { position: absolute; left: 36%; top: 42%; z-index: 5; color: var(--pink-deep); font: 5rem "Gloria Hallelujah"; transform: rotate(25deg); }
.marquee {
  position: absolute; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
  white-space: nowrap;
}
.marquee div { width: max-content; padding: 11px 0; animation: marquee 19s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Music */
.music-page {
  background:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px),
    var(--pink);
  background-size: 48px 48px;
}
.release-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.release-card {
  padding: 13px 13px 22px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 11px 0 rgba(23,16,24,.16);
  transition: transform .25s ease;
}
.release-card:nth-child(2n) { transform: rotate(1.5deg); }
.release-card:nth-child(3n) { transform: rotate(-1deg); }
.release-card:hover { transform: translateY(-8px) rotate(0); }
.release-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); }
.release-info { padding: 16px 4px 0; }
.release-info span { color: var(--pink-deep); font-size: .72rem; font-weight: 900; }
.release-info h3 { margin: 5px 0 12px; font: 2rem "Playfair Display", serif; }
.release-info a { font-size: .75rem; font-weight: 900; }
.release-card-feature {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: white;
  background: var(--ink);
}
.feature-release { text-align: center; padding: 35px 22px; }
.feature-number { display: inline-block; padding: 8px 12px; border: 2px solid var(--ink); color: var(--ink); background: var(--yellow); font-weight: 900; }
.feature-release h3 { margin: 22px 0 10px; color: var(--pink); font: 4.2rem/.85 "Anton"; }
.feature-release p { color: rgba(255,255,255,.7); line-height: 1.6; }
.feature-release .button { margin-top: 14px; color: var(--ink); background: var(--yellow); }

/* Video */
.video-page {
  color: white;
  background: var(--ink);
}
.video-collage {
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  align-items: center;
  gap: 0;
}
.video-poster {
  position: relative;
  border: 10px solid white;
  outline: 3px solid var(--yellow);
  transform: rotate(-1deg);
}
.video-poster img { width: 100%; min-height: 360px; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 50%;
  width: 86px; height: 86px;
  transform: translate(-50%,-50%);
  cursor: pointer;
  border: none;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 1.5rem;
  box-shadow: 7px 8px 0 rgba(23,16,24,.3);
}
.video-note {
  position: relative; z-index: 2;
  margin-left: -22px;
  padding: 38px 30px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--pink);
  box-shadow: 10px 11px 0 var(--yellow);
  transform: rotate(2deg);
}
.video-note span { font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.video-note strong { display: block; margin: 10px 0; font: 3.5rem/.85 "Anton"; }
.video-note p { line-height: 1.6; }

/* Shop */
.shop-page { background: var(--paper); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.shop-card {
  padding: 15px 15px 28px;
  border: 3px solid var(--ink);
  background: white;
  box-shadow: 9px 10px 0 var(--soft-pink);
}
.shop-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: .9;
  border: 3px dashed var(--ink);
  background:
    radial-gradient(circle, var(--yellow) 0 8%, transparent 9%),
    var(--pink);
  background-size: 70px 70px;
  font-weight: 900;
  letter-spacing: .1em;
}
.shop-card > span { display: block; margin-top: 18px; color: var(--pink-deep); font-size: .72rem; font-weight: 900; }
.shop-card h3 { margin: 7px 0; font: 2rem "Playfair Display"; }
.shop-card p { color: #6b5965; line-height: 1.6; }
.shop-card a { font-size: .75rem; font-weight: 900; }

/* Tour */
.tour-page {
  background:
    linear-gradient(rgba(23,16,24,.09) 2px, transparent 2px),
    var(--yellow);
  background-size: 100% 38px;
}
.tour-table { border-top: 4px solid var(--ink); }
.tour-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 28px 8px;
  border-bottom: 4px solid var(--ink);
}
.tour-date {
  display: grid; place-items: center;
  min-height: 58px;
  border: 3px solid var(--ink);
  color: white;
  background: var(--pink-hot);
  font-weight: 900;
  transform: rotate(-3deg);
}
.tour-row div { display: flex; flex-direction: column; gap: 5px; }
.tour-row strong { font-size: 1.35rem; }
.tour-row small { color: rgba(23,16,24,.65); }
.tour-row a {
  padding: 11px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: .72rem;
  font-weight: 900;
}

/* Join */
.join-page {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, var(--yellow) 0 4%, transparent 4.5%),
    radial-gradient(circle at 85% 70%, var(--yellow) 0 5%, transparent 5.5%),
    var(--pink);
  background-size: 180px 180px, 230px 230px, auto;
}
.join-box {
  position: relative;
  width: min(820px, 100%);
  padding: clamp(42px, 7vw, 76px);
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 17px 19px 0 var(--yellow);
  text-align: center;
  transform: rotate(-1deg);
}
.join-logo { width: min(380px, 85%); margin: 0 auto 18px; filter: drop-shadow(5px 6px 0 rgba(199,0,100,.18)); }
.join-box h2 { margin: 20px 0; font: clamp(4rem, 10vw, 8rem)/.78 "Anton"; color: var(--pink-hot); -webkit-text-stroke: 2px var(--ink); }
.join-box > p:not(.handwriting) { max-width: 620px; margin: 0 auto; line-height: 1.75; }
.join-form { display: flex; gap: 10px; max-width: 650px; margin: 30px auto 0; }
.join-form input {
  flex: 1; min-width: 0; min-height: 54px;
  padding: 0 20px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  outline: none;
  background: white;
}
.form-message { min-height: 24px; margin-top: 15px; color: var(--pink-deep); font-weight: 700; }
.join-sticker {
  position: absolute; right: 8%; top: 12%;
  z-index: 3;
  padding: 15px 18px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  font-weight: 900;
  transform: rotate(11deg);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 5vw;
  color: white;
  background: var(--ink);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .07em;
}
footer img { width: 150px; }
footer div { display: flex; gap: 10px; }
footer div a { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid var(--yellow); border-radius: 50%; color: var(--yellow); }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Mailchimp submission states */

.join-form button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.form-message {
  min-height: 26px;
  margin-top: 16px;
  font-weight: 700;
}

.form-message.is-error {
  color: #b0004f;
}

.form-message.is-success {
  color: var(--pink-deep);
}


/* Royal Party popup */

.royal-popup[hidden] {
  display: none;
}

.royal-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: grid;
  place-items: center;

  padding: 22px;
}

.royal-popup__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(23, 16, 24, 0.72);
  backdrop-filter: blur(7px);
}

.royal-popup__card {
  position: relative;
  z-index: 1;

  width: min(560px, 100%);
  padding: 58px 42px 44px;

  border: 4px solid var(--ink);
  background: var(--paper);

  box-shadow: 15px 17px 0 var(--yellow);

  text-align: center;
  transform: rotate(-1deg);

  animation: royal-popup-enter 420ms ease both;
}

.royal-popup__sticker {
  position: absolute;
  top: -20px;
  left: 28px;

  padding: 10px 16px;

  border: 3px solid var(--ink);
  background: var(--yellow);

  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;

  transform: rotate(-5deg);
}

.royal-popup__card h3 {
  margin: 10px 0 20px;

  color: var(--pink-hot);

  font-family: "Anton", sans-serif;
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 400;
  line-height: 0.85;

  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 5px 6px 0 var(--yellow);
}

.royal-popup__card p {
  margin: 0 auto 28px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.royal-popup__close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 40px;
  height: 40px;

  cursor: pointer;
  border: 0;
  color: var(--ink);
  background: transparent;

  font-size: 2rem;
  line-height: 1;
}

@keyframes royal-popup-enter {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-3deg) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg) scale(1);
  }
}


/* Tiny confetti */

.confetti-container {
  position: fixed;
  inset: 0;
  z-index: 2100;

  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -30px;

  width: 11px;
  height: 18px;

  border: 2px solid var(--ink);
  background: var(--yellow);

  animation: confetti-fall var(--fall-time) ease-in forwards;
}

.confetti-piece:nth-child(3n) {
  border-radius: 50%;
  background: var(--pink-hot);
}

.confetti-piece:nth-child(4n) {
  width: 17px;
  height: 17px;
  background: var(--purple);
  transform: rotate(45deg);
}

.confetti-piece:nth-child(5n) {
  background: var(--blue);
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform:
      translate3d(0, -20px, 0)
      rotate(0deg);
  }

  100% {
    opacity: 0;
    transform:
      translate3d(var(--drift), 105vh, 0)
      rotate(var(--spin));
  }
}

@media (max-width: 1320px) {
  .tabs { right: 15px; left: auto; }
}
@media (max-width: 900px) {
  .site-wrap { width: calc(100% - 18px); margin-top: 82px; }
  .menu-toggle { display: block; }
  .tabs {
    top: 76px; right: 12px;
    display: none;
    width: 190px;
    padding: 12px;
    border: 3px solid var(--ink);
    border-radius: 16px;
    background: var(--paper);
  }
  .tabs.is-open { display: flex; }
  .tab, .tab:hover, .tab.active {
    width: 100%;
    border-left: 3px solid var(--ink);
    border-radius: 10px;
    transform: none;
  }
  .page { padding: 95px 35px; }
  .home-page { grid-template-columns: 1fr; }
  .home-collage { min-height: 610px; }
  .release-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .video-collage { grid-template-columns: 1fr; }
  .video-note { margin: -18px 20px 0; }
}
@media (max-width: 620px) {
  .mini-logo { width: 135px; }
  .page { min-height: auto; padding: 85px 22px; }
  .home-copy h1 { font-size: 4rem; }
  .home-actions, .join-form { flex-direction: column; }
  .home-actions .button, .join-form .button { width: 100%; }
  .home-collage { min-height: 470px; }
  .photo-card-main { width: 82%; }
  .photo-card-small { width: 48%; }
  .release-grid, .shop-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 5rem; }
  .tour-row { grid-template-columns: 82px 1fr; }
  .tour-row a { grid-column: 2; width: fit-content; }
  footer { align-items: flex-start; flex-direction: column; }
  .cover-book__warning { right: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 620px) {
  .royal-popup__card {
    padding: 52px 24px 34px;
  }

  .royal-popup__card .button {
    width: 100%;
  }
}

.diary-pages {
  position: relative;
}

.click-doodle {
  position: absolute;
  z-index: 200;

  color: var(--pink-hot);
  font-family: "Gloria Hallelujah", cursive;
  font-size: var(--doodle-size);

  pointer-events: none;

  transform:
    translate(-50%, -50%)
    rotate(var(--doodle-rotation))
    scale(0.2);

  animation: doodle-appear 1.3s ease forwards;
}

.click-doodle:nth-child(even) {
  color: var(--purple);
}

@keyframes doodle-appear {
  0% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      rotate(var(--doodle-rotation))
      scale(0.2);
  }

  25% {
    opacity: 1;
    transform:
      translate(-50%, -50%)
      rotate(var(--doodle-rotation))
      scale(1.25);
  }

  70% {
    opacity: 1;
    transform:
      translate(-50%, -62%)
      rotate(var(--doodle-rotation))
      scale(1);
  }

  100% {
    opacity: 0;
    transform:
      translate(-50%, -100%)
      rotate(var(--doodle-rotation))
      scale(0.7);
  }
}

@media (max-width: 900px) {
  .page {
    transform-origin: left center;
  }

  .page.page-turn-next {
    animation: turn-page-next 700ms ease;
  }

  .page.page-turn-previous {
    animation: turn-page-previous 700ms ease;
  }
}

@keyframes turn-page-next {
  0% {
    opacity: 0.4;
    transform:
      perspective(1200px)
      rotateY(13deg)
      translateX(30px);
  }

  100% {
    opacity: 1;
    transform:
      perspective(1200px)
      rotateY(0deg)
      translateX(0);
  }
}

@keyframes turn-page-previous {
  0% {
    opacity: 0.4;
    transform:
      perspective(1200px)
      rotateY(-13deg)
      translateX(-30px);
  }

  100% {
    opacity: 1;
    transform:
      perspective(1200px)
      rotateY(0deg)
      translateX(0);
  }
}

.boutique-coming{

display:flex;

justify-content:center;

margin-top:60px;

}

.boutique-note{

max-width:720px;

padding:60px;

background:white;

border:3px solid var(--ink);

box-shadow:12px 12px 0 rgba(0,0,0,.15);

transform:rotate(-1deg);

position:relative;

}

.boutique-sticker{

position:absolute;

top:-20px;

left:40px;

background:var(--yellow);

padding:10px 18px;

font-weight:900;

border:3px solid var(--ink);

transform:rotate(-6deg);

}

.boutique-note h3{

margin-top:20px;

font-size:4rem;

line-height:.9;

font-family:"Anton";

color:var(--pink-hot);

-webkit-text-stroke:2px var(--ink);

text-shadow:5px 5px 0 var(--yellow);

}

.boutique-note p{

font-size:1.1rem;

line-height:2;

margin:25px 0;

}

.boutique-note h4{

margin-top:35px;

margin-bottom:15px;

}

.boutique-note ul{

list-style:none;

padding:0;

margin-bottom:35px;

}

.boutique-note li{

margin:12px 0;

font-size:1rem;

}

.boutique-note .button{

margin-top:15px;

}

.tour-note {
  margin-top: 35px;
  text-align: center;
  color: var(--purple);
  font-size: 1rem;
}
