/* Candy Cuddle Kids — page sections */
.page-hero { padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 110px; background: var(--cream); border-radius: 50% 50% 0 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: .3em; }

/* book cover with a little 3D tilt */
.book-3d { display: block; perspective: 1400px; max-width: 460px; margin: 0 auto; }
.book-3d img { border-radius: 6px 16px 16px 6px; box-shadow: -10px 0 0 rgba(0,0,0,.12) inset, 0 30px 50px rgba(0, 0, 0, .35); transform: rotateY(-14deg) rotateX(3deg); transition: transform .5s; }
.book-3d:hover img { transform: rotateY(-4deg) rotateX(0) scale(1.02); }

/* printable fan */
.print-fan { position: relative; height: 420px; max-width: 520px; margin: 0 auto; width: 100%; }
.print-fan img { position: absolute; width: 58%; border-radius: 14px; box-shadow: var(--shadow); background: #fff; border: 6px solid #fff; }
.print-fan img:nth-child(1) { left: 0; top: 40px; transform: rotate(-9deg); }
.print-fan img:nth-child(2) { left: 21%; top: 0; transform: rotate(2deg); z-index: 2; }
.print-fan img:nth-child(3) { right: 0; top: 50px; transform: rotate(10deg); }
@media (max-width: 520px) { .print-fan { height: 300px; } }
.tilt { border-radius: 16px; box-shadow: var(--shadow); transform: rotate(3deg); border: 6px solid #fff; max-width: 420px; margin: 0 auto; }

/* promise band */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise-item { display: flex; gap: 14px; align-items: flex-start; }
.promise-item > span { font-size: 2rem; line-height: 1; }
.promise-item b { font-family: var(--head); font-size: 1.2rem; }
.promise-item p { margin: 2px 0 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* coming soon friends */
.coming-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; text-align: center; }
.coming-tile .mystery { width: 110px; height: 110px; margin: 0 auto 12px; border-radius: 50%; background: repeating-conic-gradient(var(--pink) 0 15deg, var(--lemon) 15deg 30deg); display: grid; place-items: center; font-family: var(--head); font-size: 3rem; font-weight: 700; color: var(--berry); box-shadow: inset 0 0 0 6px #fff, var(--shadow-sm); }
.coming-tile h3 { margin-bottom: 6px; }
.coming-tile p { margin: 8px 0 0; color: var(--ink-soft); }

/* character detail */
.char-hero { background: var(--tile); padding: 50px 0 70px; position: relative; overflow: hidden; }
.char-hero::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: rgba(255, 255, 255, .45); left: -120px; top: -140px; }
.char-hero .wrap { position: relative; }
.char-art img { max-height: 520px; width: auto; margin: 0 auto; filter: drop-shadow(0 20px 22px rgba(60, 30, 35, .22)); }
.char-hero h1 { margin: 10px 0 .1em; font-size: clamp(2.8rem, 7vw, 4.8rem); color: var(--berry); }
.char-hero .quote { color: var(--ink); margin-bottom: 1em; }
@media (max-width: 860px) { .char-art img { max-height: 340px; } }
.friends { display: flex; gap: 14px; flex-wrap: wrap; }
.friend { display: flex; flex-direction: column; align-items: center; text-decoration: none; font-family: var(--head); font-weight: 600; color: var(--ink); }
.friend img { height: 80px; width: auto; transition: transform .2s; }
.friend:hover img { transform: translateY(-4px) rotate(-4deg); }
.char-pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* books */
.upcoming h3 { margin: 12px 0 6px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 26px 0 0; }
.facts div { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 14px; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); font-family: var(--head); }
.facts dd { margin: 0; font-weight: 700; }
.peek-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.peek { margin: 0; }
.peek img { border-radius: 18px; box-shadow: var(--shadow); transition: transform .25s; }
.peek:nth-child(odd) img { transform: rotate(-2deg); }
.peek:nth-child(even) img { transform: rotate(2deg); }
.peek img:hover { transform: rotate(0) scale(1.04); }
@media (max-width: 760px) { .peek-row { grid-template-columns: repeat(2, 1fr); } }
.note .quote { font-size: 1.3rem; color: var(--berry-dark); margin-bottom: .3em; }

/* printables */
.print-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.print-card img { border-radius: 12px; box-shadow: inset 0 0 0 2px var(--line); border: 2px solid var(--line); transition: transform .2s; }
.print-card img:hover { transform: scale(1.03); }
.print-card h3 { margin: 4px 0 6px; font-size: 1.2rem; }

/* shop */
.shop-item { text-align: center; }
.shop-emoji { font-size: 3.4rem; display: block; margin-bottom: 8px; }

/* long text */
.prose { max-width: 820px; margin: 0 auto; padding: 34px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.3em; }
