/* ============================================================
   Sanrio Chronicles — Main Stylesheet
   ============================================================ */

:root {
  --pink:        #ff85a1;
  --pink-light:  #ffe4ee;
  --pink-dark:   #d45f7a;
  --lavender:    #c9b1f5;
  --mint:        #b5ecd6;
  --cream:       #fffaf4;
  --text:        #3b2d3e;
  --text-muted:  #7a6080;
  --white:       #ffffff;
  --radius:      16px;
  --shadow:      0 4px 20px rgba(200, 120, 160, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Nav ─────────────────────────────────────────────────── */

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--pink-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--pink-dark);
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink-dark);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background-image: url('../images/hero-banner.png');
  background-size: cover;
  background-position: center top;
  aspect-ratio: 1983 / 793;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6%;
  text-align: center;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  display: none;
}

.hero-subtitle {
  display: none;
}

/* ── Premise Section ─────────────────────────────────────── */

.premise-section {
  background: linear-gradient(160deg, #fff0f6 0%, #f3eeff 50%, #e8f8ff 100%);
}

.premise-intro {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.premise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.premise-card {
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.premise-card:hover {
  transform: translateY(-4px);
}

.premise-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.premise-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.premise-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.premise-card--pink {
  background: #fff0f6;
  border: 2px solid #f9c5d8;
}
.premise-card--pink h3 { color: var(--pink-dark); }

.premise-card--purple {
  background: #f3eeff;
  border: 2px solid #c9b3f5;
}
.premise-card--purple h3 { color: #7c3aed; }

.premise-card--dark {
  background: #1e1b2e;
  border: 2px solid #4a3f6b;
}
.premise-card--dark h3 { color: #c084fc; }
.premise-card--dark p { color: #d4c9f0; }
.premise-card--dark .premise-card-icon { filter: brightness(1.2); }

.premise-card--blue {
  background: #e8f4ff;
  border: 2px solid #93c5fd;
}
.premise-card--blue h3 { color: #1d4ed8; }

.premise-tagline {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin: 0;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */

.page-hero {
  background: linear-gradient(135deg, var(--pink-light), var(--lavender));
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.characters-hero {
  padding: 0;
  background: none;
}

.characters-hero-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

.characters-hero p {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--pink-light), var(--lavender));
  color: var(--text-muted);
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(255, 133, 161, 0.4);
}

.btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--pink-dark);
  border: 2px solid var(--pink);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
}

/* ── Sections ────────────────────────────────────────────── */

.section {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 1.25rem;
  text-align: center;
}

.about p {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.center-link {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Cards (home character grid) ────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(200, 120, 160, 0.25);
}

.card-img-placeholder {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.card-img-placeholder.card-toca {
  width: 120px;
  height: 160px;
  margin: 0 auto 0.75rem;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.card-img-placeholder.card-toca img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 0.25rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Character list (characters page) ───────────────────── */

.character-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: visible;
}

.character-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.character-img-placeholder {
  font-size: 5rem;
  flex-shrink: 0;
  background: var(--pink-light);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.character-img-placeholder img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Toca Boca full-body illustrations — taller, no circular crop */
.character-img-placeholder.toca-img {
  background: transparent;
  border-radius: var(--radius);
  width: 160px;
  height: 220px;
  overflow: visible;
}

.character-img-placeholder.toca-img img {
  width: 160px;
  height: 220px;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.character-info h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 0.25rem;
}

.character-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lavender);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.character-info p:not(.character-role) {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.character-details {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.character-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.character-details strong {
  color: var(--text);
}

/* ── Hello Kitty card theme (red, blue & white) ─────────── */

#hello-kitty {
  background: #ffffff;
  border: 3px solid #003087;
  box-shadow: 0 6px 28px rgba(200, 16, 46, 0.18);
  position: relative;
  overflow: visible;
}

/* notebook floats off the left edge of HK card, mid-height */
.hk-deco-notebook {
  position: absolute;
  top: 50%;
  left: -55px;
  transform: translateY(-50%) rotate(-12deg);
  height: 95px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* art prints scattered around My Sweet Piano's card */
.msp-art {
  position: absolute;
  height: 72px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}
.msp-art1 { top: -28px; left: 180px; transform: rotate(-6deg); }
.msp-art2 { bottom: -28px; left: 50%; transform: translateX(-50%) rotate(4deg); }
.msp-art3 { top: -28px; right: 180px; transform: rotate(7deg); }

/* blue fedora peeks below bottom-right of Dear Daniel's card */
.dd-deco-hat {
  position: absolute;
  bottom: -28px;
  right: 28px;
  height: 80px;
  width: auto;
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 2;
}

/* locket floats off right edge of Dear Daniel's card, mid-height */
.dd-deco-locket {
  position: absolute;
  top: 50%;
  right: -52px;
  transform: translateY(-50%) rotate(8deg);
  height: 90px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* laptop floats off left edge of Dear Daniel's card */
.dd-deco-laptop {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%) rotate(-8deg);
  height: 85px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* camera floats top-right of Dear Daniel's card, diagonal */
.dd-deco-camera {
  position: absolute;
  top: -28px;
  right: 24px;
  height: 85px;
  width: auto;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 2;
}

/* skateboard peeks above top-right of Badtz-Maru's card */
.bm-deco-skateboard {
  position: absolute;
  top: -26px;
  right: 24px;
  width: 130px;
  height: auto;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
}

/* trading cards peek below bottom-left of Badtz-Maru's card */
.bm-deco-cards {
  position: absolute;
  bottom: -28px;
  left: 28px;
  height: 95px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* controller peeks below bottom-right of Badtz-Maru's card */
.bm-deco-controller {
  position: absolute;
  bottom: -28px;
  right: 28px;
  height: 90px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}

/* chibi peeks above top-left of Badtz-Maru's card */
.bm-deco-chibi {
  position: absolute;
  top: -30px;
  left: 24px;
  height: 85px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* basketball floats off left edge of Badtz-Maru's card */
.bm-deco-basketball {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-8deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* guitar floats off right edge of Badtz-Maru's card */
.bm-deco-guitar {
  position: absolute;
  top: 50%;
  right: -52px;
  transform: translateY(-50%) rotate(10deg);
  height: 120px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* Badtz-Maru card — black border */
#badtz-maru {
  border: 3px solid #1a1a1a;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

#badtz-maru .character-img-placeholder.toca-img {
  width: 240px;
  height: 330px;
}

#badtz-maru .character-img-placeholder.toca-img img {
  width: 240px;
  height: 330px;
}

/* Keroppi card — green border */
#keroppi {
  border: 3px solid #4caf50;
  box-shadow: 0 6px 28px rgba(76, 175, 80, 0.25);
}

#wish-me-mell {
  border: 3px solid #f5e27a;
  box-shadow: 0 6px 28px rgba(245, 226, 122, 0.35);
}

#wish-me-mell .character-img-placeholder.toca-img {
  width: 240px;
  height: 330px;
}

#wish-me-mell .character-img-placeholder.toca-img img {
  width: 240px;
  height: 330px;
}

#tuxedosam {
  border: 3px solid #7ee8e0;
  box-shadow: 0 6px 28px rgba(126, 232, 224, 0.3);
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow: visible !important;
}

#tuxedosam .character-img-placeholder.toca-img {
  width: 240px;
  height: 330px;
}

#tuxedosam .character-img-placeholder.toca-img img {
  width: 240px;
  height: 330px;
}

/* fan peeks above top-center of Tuxedosam's card */
.sam-deco-fan {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  height: 88px;
  width: auto;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* sewing kit floats off left edge of Tuxedosam's card */
.sam-deco-sewingkit {
  position: absolute;
  top: 50%;
  left: -56px;
  transform: translateY(-50%) rotate(-6deg);
  height: 110px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* sunglasses peek above top-right of Tuxedosam's card */
.sam-deco-sunglasses {
  position: absolute;
  top: -28px;
  right: 24px;
  height: 75px;
  width: auto;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
}

/* vest peeks above top-left of Tuxedosam's card */
.sam-deco-vest {
  position: absolute;
  top: -28px;
  left: 24px;
  height: 90px;
  width: auto;
  transform: rotate(-7deg);
  pointer-events: none;
  z-index: 2;
}

/* fur coat peeks below bottom-left of Tuxedosam's card */
.sam-deco-furcoat {
  position: absolute;
  bottom: -28px;
  left: 24px;
  height: 88px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

/* gold tuxedo peeks below bottom-right of Tuxedosam's card */
.sam-deco-tuxedo {
  position: absolute;
  bottom: -28px;
  right: 24px;
  height: 88px;
  width: auto;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 2;
}

/* duck floats off left edge of Wish Me Mell's card */
.mell-deco-duck {
  position: absolute;
  top: 50%;
  left: -56px;
  transform: translateY(-50%) rotate(-6deg);
  height: 110px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* basket peeks above top-left of Wish Me Mell's card */
.mell-deco-basket {
  position: absolute;
  top: -28px;
  left: 24px;
  height: 88px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

/* watering can peeks above top-right of Wish Me Mell's card */
.mell-deco-wateringcan {
  position: absolute;
  top: -28px;
  right: 24px;
  height: 88px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}

/* bouquet floats off right edge of Wish Me Mell's card */
.mell-deco-bouquet {
  position: absolute;
  top: 50%;
  right: -56px;
  transform: translateY(-50%) rotate(8deg);
  height: 110px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* plant peeks above top-center of Keroppi's card */
.kero-deco-plant {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%) rotate(4deg);
  height: 92px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* backpack floats off right edge of Keroppi's card */
.kero-deco-backpack {
  position: absolute;
  top: 50%;
  right: -52px;
  transform: translateY(-50%) rotate(8deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* mug peeks below bottom-right of Keroppi's card */
.kero-deco-mug {
  position: absolute;
  bottom: -28px;
  right: 24px;
  height: 85px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}

/* lily pad peeks below bottom-left of Keroppi's card */
.kero-deco-lilypad {
  position: absolute;
  bottom: -22px;
  left: 24px;
  height: 70px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

/* flower peeks above top-right of Keroppi's card */
.kero-deco-flower {
  position: absolute;
  top: -28px;
  right: 24px;
  height: 90px;
  width: auto;
  transform: rotate(7deg);
  pointer-events: none;
  z-index: 2;
}

/* note peeks above top-left of Keroppi's card */
.kero-deco-note {
  position: absolute;
  top: -28px;
  left: 24px;
  height: 90px;
  width: auto;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 2;
}

/* chibi floats off left edge of Keroppi's card */
.kero-deco-chibi {
  position: absolute;
  top: 50%;
  left: -56px;
  transform: translateY(-50%) rotate(-8deg);
  height: 110px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* backpack peeks above top-left of Pompompurin's card */
.purin-deco-backpack {
  position: absolute;
  top: -28px;
  left: 24px;
  height: 90px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* donut peeks above top-center of Pompompurin's card */
.purin-deco-donut {
  position: absolute;
  top: -30px;
  right: 80px;
  height: 88px;
  width: auto;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 2;
}

/* boxes peek below bottom-right of Pompompurin's card */
.purin-deco-boxes {
  position: absolute;
  bottom: -28px;
  right: 24px;
  height: 90px;
  width: auto;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 2;
}

/* chibi floats off right edge of Pompompurin's card */
.purin-deco-chibi {
  position: absolute;
  top: 50%;
  right: -52px;
  transform: translateY(-50%) rotate(8deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* roll cake peeks below bottom-left of Pompompurin's card */
.purin-deco-rollcake {
  position: absolute;
  bottom: -28px;
  left: 24px;
  height: 90px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* pudding floats off left edge of Pompompurin's card */
.purin-deco-pudding {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-8deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* Z z z floats above top-right of Pompompurin's card */
.purin-zzz {
  position: absolute;
  top: -22px;
  right: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #c49a00;
  letter-spacing: 4px;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}

/* Pompompurin card — yellow border */
#pompompurin {
  border: 3px solid #f5c400;
  box-shadow: 0 6px 28px rgba(245, 196, 0, 0.3);
}

/* muffin peeks above top-right of Cinnamoroll's card */
.cinn-deco-muffin {
  position: absolute;
  top: -28px;
  right: 24px;
  height: 85px;
  width: auto;
  transform: rotate(7deg);
  pointer-events: none;
  z-index: 2;
}

/* cake peeks below bottom-right of Cinnamoroll's card */
.cinn-deco-cake {
  position: absolute;
  bottom: -30px;
  right: 24px;
  height: 95px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}

/* neon peeks below bottom-left of Cinnamoroll's card */
.cinn-deco-neon {
  position: absolute;
  bottom: -28px;
  left: 24px;
  height: 85px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

/* boba floats off left edge of Cinnamoroll's card */
.cinn-deco-boba {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-8deg);
  height: 110px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* chibi peeks above top-left of Cinnamoroll's card */
.cinn-deco-chibi {
  position: absolute;
  top: -30px;
  left: 24px;
  height: 90px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* stars float off right edge of Cinnamoroll's card */
.cinn-deco-stars {
  position: absolute;
  top: 50%;
  right: -55px;
  transform: translateY(-50%) rotate(8deg);
  height: 130px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* Cinnamoroll card — teal border */
#cinnamoroll {
  border: 3px solid #2ec4b6;
  box-shadow: 0 6px 28px rgba(46, 196, 182, 0.25);
}

/* bat peeks above top-right of Kuromi's card */
.kuromi-deco-bat {
  position: absolute;
  top: -28px;
  right: 24px;
  width: 120px;
  height: auto;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 2;
}

/* potion peeks below bottom-left of Kuromi's card */
.kuromi-deco-potion {
  position: absolute;
  bottom: -30px;
  left: 24px;
  height: 90px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* chibi peeks below bottom-right of Kuromi's card */
.kuromi-deco-chibi {
  position: absolute;
  bottom: -30px;
  right: 24px;
  height: 90px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}

/* ghost peeks above top-left of Kuromi's card */
.kuromi-deco-ghost {
  position: absolute;
  top: -30px;
  left: 24px;
  height: 85px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* broom floats off right edge of Kuromi's card */
.kuromi-deco-broom {
  position: absolute;
  top: 50%;
  right: -48px;
  transform: translateY(-50%) rotate(10deg);
  height: 130px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* skull floats off left edge of Kuromi's card */
.kuromi-deco-skull {
  position: absolute;
  top: 50%;
  left: -48px;
  transform: translateY(-50%) rotate(-10deg);
  height: 90px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* Kuromi card — purple border */
#kuromi {
  border: 3px solid #9b59b6;
  box-shadow: 0 6px 28px rgba(155, 89, 182, 0.25);
}

/* crown peeks above top-left of My Melody's card */
.mm-deco-crown {
  position: absolute;
  top: -26px;
  left: 24px;
  height: 70px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

/* Pochacco heart peeks below bottom-right of My Melody's card */
.mm-deco-pochacco-heart {
  position: absolute;
  bottom: -28px;
  right: 24px;
  height: 85px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}

/* vanity tray peeks below bottom-left of My Melody's card */
.mm-deco-vanity {
  position: absolute;
  bottom: -28px;
  left: 24px;
  height: 85px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

/* makeup bag peeks above top-right of My Melody's card */
.mm-deco-makeupbag {
  position: absolute;
  top: -28px;
  right: 24px;
  height: 85px;
  width: auto;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
}

/* My Melody plushie floats off left edge of her card */
.mm-deco-plushie {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-8deg);
  height: 95px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* MM laptop floats off right edge of My Melody's card */
.mm-deco-laptop {
  position: absolute;
  top: 50%;
  right: -68px;
  transform: translateY(-50%) rotate(8deg);
  height: 110px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* My Melody card — hot pink border */
#my-melody {
  border: 3px solid #ff69b4;
  box-shadow: 0 6px 28px rgba(255, 105, 180, 0.25);
}

/* basketball floats off left edge of Pochacco's card */
.pochacco-deco-basketball {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-8deg);
  height: 78px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* soccer ball peeks below bottom-right of Pochacco's card */
.pochacco-deco-soccer {
  position: absolute;
  bottom: -32px;
  right: 28px;
  height: 78px;
  width: auto;
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 2;
}

/* ice cream peeks below bottom-left of Pochacco's card */
.pochacco-deco-icecream {
  position: absolute;
  bottom: -32px;
  left: 28px;
  height: 80px;
  width: auto;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 2;
}

/* chicks peek above the top-left of Pochacco's card */
.pochacco-deco-chicks {
  position: absolute;
  top: -30px;
  left: 24px;
  height: 70px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

/* basketball hoop floats off right edge of Pochacco's card */
.pochacco-deco-hoop {
  position: absolute;
  top: 50%;
  right: -52px;
  transform: translateY(-50%) rotate(6deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* Pochacco card — red border */
#pochacco {
  border: 3px solid #e63946;
  box-shadow: 0 6px 28px rgba(230, 57, 70, 0.2);
}

/* Dear Daniel card — sky blue border */
#dear-daniel {
  border: 3px solid #87ceeb;
  box-shadow: 0 6px 28px rgba(135, 206, 235, 0.3);
}

/* My Sweet Piano card — light pink border */
#my-sweet-piano {
  border: 3px solid #ffb6c1;
  box-shadow: 0 6px 28px rgba(255, 182, 193, 0.3);
}

/* paint palette peeks below bottom-right of MSP's card */
.msp-deco-palette {
  position: absolute;
  bottom: -30px;
  right: 30px;
  height: 80px;
  width: auto;
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 2;
}

/* plushies peek above top-left of My Sweet Piano's card */
.msp-deco-plushies {
  position: absolute;
  top: -40px;
  left: 20px;
  transform: rotate(-8deg);
  height: 80px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* pencil case floats off right edge of My Sweet Piano's card */
.msp-deco-pencilcase {
  position: absolute;
  top: 50%;
  right: -55px;
  transform: translateY(-50%) rotate(8deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
}

/* backpack floats in the top-right corner of the card */
.hk-deco-backpack {
  position: absolute;
  top: -18px;
  right: 18px;
  height: 115px;
  width: auto;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 2;
}

/* burger sits below the portrait */
.hk-deco-burger {
  width: 130px;
  height: auto;
  display: block;
  margin-top: 0.5rem;
}

/* items group floats bottom-right of card, diagonal */
.hk-deco-items-float {
  position: absolute;
  bottom: -24px;
  right: -18px;
  width: 200px;
  height: auto;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0.92;
}

/* inner layout */
.hk-body {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* left column: photo + items */
.hk-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}


/* sticker row */
.hk-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hk-stickers span {
  background: #003087;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.4px;
}

.hk-stickers span:nth-child(odd) {
  background: #c8102e;
}

#hello-kitty h2 {
  color: #c8102e;
}

#hello-kitty .character-role {
  color: #003087;
  font-weight: 800;
  letter-spacing: 0.8px;
}

#hello-kitty .character-img-placeholder {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 160px;
  height: 220px;
  overflow: visible;
}

#hello-kitty .character-img-placeholder img {
  width: 160px;
  height: 220px;
  object-fit: contain;
  border-radius: 0;
}

#hello-kitty .character-details strong {
  color: #c8102e;
}

@media (max-width: 600px) {
  .hk-body {
    flex-direction: column;
    align-items: center;
  }
  .hk-left {
    width: 100%;
  }
  .hk-plushie {
    width: 100%;
  }
}

/* star sunglasses float off right edge of Mocha's card */
.mocha-deco-sunglasses2 {
  position: absolute;
  top: 50%;
  right: -58px;
  transform: translateY(-50%) rotate(8deg);
  height: 80px;
  width: auto;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* sunglasses peek above top-left of Mocha's card */
.mocha-deco-sunglasses {
  position: absolute;
  top: -26px;
  left: 24px;
  height: 70px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* dog peeks below bottom-right of Mocha's card */
.mocha-deco-dog {
  position: absolute;
  bottom: -30px;
  right: 28px;
  height: 90px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* phone floats off left edge of Mocha's card */
.mocha-deco-phone {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-8deg);
  height: 100px;
  width: auto;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* dino peeks above top-right of Mocha's card */
.mocha-deco-dino {
  position: absolute;
  top: -30px;
  right: 24px;
  height: 90px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* bunny peeks below bottom-left of Mocha's card */
.mocha-deco-bunny {
  position: absolute;
  bottom: -32px;
  left: 28px;
  height: 90px;
  width: auto;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* Mocha card — light red border */
#mocha {
  border: 3px solid #ff8a8a;
  box-shadow: 0 6px 28px rgba(255, 138, 138, 0.25);
}

#mocha .character-img-placeholder.toca-img {
  width: 240px;
  height: 330px;
}

#mocha .character-img-placeholder.toca-img img {
  width: 240px;
  height: 330px;
}

/* Cogimyun card — light purple border */
#cogimyun {
  border: 3px solid #c9b1f5;
  box-shadow: 0 6px 28px rgba(201, 177, 245, 0.3);
}

#cogimyun .character-img-placeholder.toca-img {
  width: 240px;
  height: 330px;
}

#cogimyun .character-img-placeholder.toca-img img {
  width: 240px;
  height: 330px;
}

/* wand floats off left edge of Cogimyun's card */
.cogimyun-deco-wand {
  position: absolute;
  top: 50%;
  left: -52px;
  transform: translateY(-50%) rotate(-10deg);
  height: 120px;
  width: auto;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* bow peeks above top-right of Cogimyun's card */
.cogimyun-deco-bow {
  position: absolute;
  top: -32px;
  right: 24px;
  height: 90px;
  width: auto;
  transform: rotate(5deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* chibi peeks below bottom-left of Cogimyun's card */
.cogimyun-deco-chibi {
  position: absolute;
  bottom: -30px;
  left: 24px;
  height: 88px;
  width: auto;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: 2;
}

.cogimyun-deco-notebook {
  position: absolute;
  top: -28px;
  left: 20px;
  height: 90px;
  width: auto;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* ── Gallery ─────────────────────────────────────────────── */

.manga-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
}

.manga-grid img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.posters-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
}

.posters-grid img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.outfit-character-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.outfits-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
}

.outfits-grid img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.outfit-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.outfit-figure img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.outfit-figure figcaption {
  background: var(--pink-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-radius: 0 0 12px 12px;
}

.gallery-section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 1.5rem;
}

.limited-edition-title {
  color: #c9900c !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.gallery-placeholder {
  grid-column: 1 / -1;
  background: var(--pink-light);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.gallery-placeholder code {
  background: var(--white);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  background: var(--pink-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  line-height: 2;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 600px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .character-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .character-details {
    justify-content: center;
  }
}
