/* ==========================================================================
   KUNINE — STORYBOOK ANIME PLUSH DESIGN SYSTEM
   Warm Japanese stationery, sunlit Ghibli-inspired atmosphere & tactile plush UI
   ========================================================================== */

:root {
    /* Core Storybook Palette */
    --bg-cream: #fffaf5;
    --bg-parchment: #fdf1e8;
    --bg-peach: #fce3d7;
    --bg-blush: #fae0e8;
    --bg-butter: #fff5d9;

    --terracotta: #e06d53;
    --terracotta-hover: #d15b40;
    --terracotta-deep: #b34831;
    --terracotta-soft: #fef0eb;

    --gold: #d99b38;
    --gold-soft: #fff6dc;

    --text-dark: #3e2a20;
    --text-body: #5a443a;
    --text-muted: #7f6559;

    --cocoa-night: #38251c;
    --cocoa-deep: #281912;

    /* Element Collector Palettes */
    --coral-bg: #fde2d8;
    --coral-mid: #fff2ec;
    --coral-border: #f3b8a6;
    --coral-accent: #d45d42;

    --pink-bg: #fce3ee;
    --pink-mid: #fff4f9;
    --pink-border: #f3b8d1;
    --pink-accent: #c45684;

    --sky-bg: #dff0fa;
    --sky-mid: #f2f9fe;
    --sky-border: #b4d4ea;
    --sky-accent: #44769c;

    --sage-bg: #e2f0e3;
    --sage-mid: #f4faf4;
    --sage-border: #bad7bc;
    --sage-accent: #4c7c5b;

    --lavender-bg: #ece5fa;
    --lavender-mid: #f8f5fe;
    --lavender-border: #cec0eb;
    --lavender-accent: #6e5b9c;

    --gold-bg: #fcf0cf;
    --gold-mid: #fffbf0;
    --gold-border: #ebd390;
    --gold-accent: #b38028;

    /* Shape & Elevation */
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;
    --radius-pill: 999px;

    --shadow-card: 0 14px 36px rgba(62, 42, 32, 0.07), 0 2px 8px rgba(62, 42, 32, 0.04);
    --shadow-hover: 0 22px 48px rgba(62, 42, 32, 0.12), 0 6px 16px rgba(224, 109, 83, 0.12);
    --shadow-nav: 0 10px 30px rgba(62, 42, 32, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

::-webkit-scrollbar { width: 13px; }
::-webkit-scrollbar-track { background: #fff5ee; }
::-webkit-scrollbar-thumb {
    background: #ebb0a0;
    border-radius: 10px;
    border: 3px solid #fff5ee;
}
::-webkit-scrollbar-thumb:hover { background: var(--terracotta); }

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-cream);
    background-image:
        radial-gradient(ellipse 70% 55% at 10% 8%, rgba(255, 224, 210, 0.75) 0%, transparent 65%),
        radial-gradient(ellipse 65% 50% at 92% 14%, rgba(255, 241, 200, 0.72) 0%, transparent 62%),
        radial-gradient(ellipse 60% 50% at 85% 65%, rgba(235, 226, 252, 0.55) 0%, transparent 65%),
        radial-gradient(ellipse 70% 55% at 14% 82%, rgba(225, 242, 227, 0.6) 0%, transparent 68%),
        linear-gradient(180deg, #fffaf6 0%, #fdf0e7 50%, #fff8f2 100%);
    color: var(--text-body);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Japanese Washi Paper Grain Overlay (Fixed & GPU-friendly) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* CJK Translation Font Overrides */
body.lang-jp { font-family: 'Nunito', sans-serif; }
body.lang-jp h1, body.lang-jp h2, body.lang-jp h3, body.lang-jp h4,
body.lang-jp nav a, body.lang-jp .dropbtn, body.lang-jp .dropdown-content button,
body.lang-jp .player-title, body.lang-jp .concept-text, body.lang-jp .hero-btn,
body.lang-jp .back-home-link, body.lang-jp .lore-excerpt, body.lang-jp .story-excerpt,
body.lang-jp .char-btn, body.lang-jp .copy-btn, body.lang-jp .faq-question,
body.lang-jp .coming-soon-pill {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
}

body.lang-cn { font-family: 'Nunito', sans-serif; }
body.lang-cn h1, body.lang-cn h2, body.lang-cn h3, body.lang-cn h4,
body.lang-cn nav a, body.lang-cn .dropbtn, body.lang-cn .dropdown-content button,
body.lang-cn .player-title, body.lang-cn .concept-text, body.lang-cn .hero-btn,
body.lang-cn .back-home-link, body.lang-cn .lore-excerpt, body.lang-cn .story-excerpt,
body.lang-cn .char-btn, body.lang-cn .copy-btn, body.lang-cn .faq-question,
body.lang-cn .coming-soon-pill {
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
}

body.lang-kr { font-family: 'Nunito', sans-serif; }
body.lang-kr h1, body.lang-kr h2, body.lang-kr h3, body.lang-kr h4,
body.lang-kr nav a, body.lang-kr .dropbtn, body.lang-kr .dropdown-content button,
body.lang-kr .player-title, body.lang-kr .concept-text, body.lang-kr .hero-btn,
body.lang-kr .back-home-link, body.lang-kr .lore-excerpt, body.lang-kr .story-excerpt,
body.lang-kr .char-btn, body.lang-kr .copy-btn, body.lang-kr .faq-question,
body.lang-kr .coming-soon-pill {
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
}

/* Focus-visible polish across interactive elements */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(224, 109, 83, 0.55);
    outline-offset: 3px;
}

/* ==========================================================================
   FLOATING PILL NAVIGATION BAR
   ========================================================================== */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1140px, calc(100% - 32px));
    background: rgba(255, 251, 247, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.65rem 1.25rem;
    z-index: 1000;
    border: 1.5px solid rgba(224, 109, 83, 0.22);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-nav);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 2px 10px 2px 4px;
    border-radius: var(--radius-pill);
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-brand:hover {
    color: var(--terracotta);
    transform: translateY(-1px);
}

.nav-brand::after { display: none !important; }

.nav-brand-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 2px 4px rgba(62, 42, 32, 0.1));
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-brand:hover .nav-brand-img {
    transform: scale(1.08) rotate(-4deg);
}

nav ul {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.04rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

nav ul a:hover,
nav ul a.active-nav {
    color: var(--terracotta);
    background: rgba(254, 236, 229, 0.85);
}

nav ul a.active-nav::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--terracotta);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
}

.dropbtn {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-dark);
    padding: 7px 15px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1.5px solid rgba(224, 109, 83, 0.25);
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    min-width: 104px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.dropbtn::after {
    content: '▾';
    font-size: 0.72rem;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.lang-dropdown.open .dropbtn::after {
    transform: rotate(180deg);
}

.dropbtn:hover,
.dropbtn:focus-visible,
.lang-dropdown.open .dropbtn {
    background: #fff;
    border-color: var(--terracotta);
    color: var(--terracotta);
    box-shadow: 0 4px 14px rgba(224, 109, 83, 0.16);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 252, 249, 0.98);
    backdrop-filter: blur(14px);
    min-width: 260px;
    box-shadow: 0 16px 40px rgba(62, 42, 32, 0.14);
    border: 1.5px solid rgba(224, 109, 83, 0.22);
    border-radius: 18px;
    z-index: 10;
    top: calc(100% + 10px);
    left: 0;
    overflow: hidden;
    padding: 8px;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 3px 5px;
}

.dropdown-content button {
    color: var(--text-dark);
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    padding: 8px 13px;
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s;
}

.dropdown-content button:hover,
.dropdown-content button:focus-visible,
.dropdown-content button.active-lang {
    background-color: var(--terracotta-soft);
    color: var(--terracotta);
    outline: none;
}

.lang-dropdown.open .dropdown-content {
    display: grid;
    animation: fadeInDown 0.2s ease-out;
}

@media (hover: hover) and (pointer: fine) {
    .lang-dropdown:hover .dropdown-content {
        display: grid;
        animation: fadeInDown 0.2s ease-out;
    }
}

/* Cart Pill */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ea8067 0%, var(--terracotta) 100%);
    width: 40px;
    height: 40px;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font: inherit;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 3px 0 var(--terracotta-deep), 0 6px 14px rgba(224, 109, 83, 0.3);
}

.cart-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 5px 0 var(--terracotta-deep), 0 10px 20px rgba(224, 109, 83, 0.35);
}

.cart-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 var(--terracotta-deep);
}

.cart-svg {
    width: 19px;
    height: 19px;
    fill: #ffffff;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffffff;
    color: var(--terracotta);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--terracotta);
}

/* ==========================================================================
   TACTILE PLUSHY BUTTONS & SHARED UI
   ========================================================================== */
.hero-btn {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    padding: 15px 34px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.btn-primary,
.hero-btn:not(.btn-secondary) {
    background: linear-gradient(180deg, #eb8168 0%, var(--terracotta) 100%);
    color: #ffffff;
    border-color: var(--terracotta-deep);
    box-shadow: 0 5px 0 var(--terracotta-deep), 0 12px 24px rgba(224, 109, 83, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover,
.hero-btn:not(.btn-secondary):hover {
    background: linear-gradient(180deg, #ef8b73 0%, var(--terracotta-hover) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 0 var(--terracotta-deep), 0 18px 30px rgba(224, 109, 83, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.38);
    color: #ffffff;
}

.btn-primary:active,
.hero-btn:not(.btn-secondary):active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--terracotta-deep), 0 4px 10px rgba(224, 109, 83, 0.22);
}

.btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #fff6f1 100%);
    color: var(--terracotta);
    border-color: rgba(224, 109, 83, 0.5);
    box-shadow: 0 5px 0 rgba(224, 109, 83, 0.28), 0 10px 22px rgba(62, 42, 32, 0.08);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--terracotta);
    transform: translateY(-3px);
    box-shadow: 0 8px 0 rgba(224, 109, 83, 0.32), 0 14px 28px rgba(224, 109, 83, 0.16);
    color: var(--terracotta-hover);
}

.btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(224, 109, 83, 0.28);
}

.hero-btn:disabled,
.newsletter-btn:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

/* Section Headers */
section {
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--terracotta);
    background: rgba(255, 255, 255, 0.82);
    border: 1.5px solid rgba(224, 109, 83, 0.22);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(224, 109, 83, 0.08);
}

.section-title {
    font-size: clamp(2.15rem, 4vw, 3.1rem);
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 5px;
    background: linear-gradient(90deg, #f7c3b2, var(--terracotta), #f7c3b2);
    border-radius: 99px;
}

.section-subtitle {
    font-size: 1.16rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.6rem auto;
    font-weight: 600;
}

/* Scalloped / Storybook Wave Dividers */
.wave-divider {
    position: relative;
    width: 100%;
    height: 64px;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Back Home Pill (used on Contact, Giving Back, Character Detail) */
.back-home-wrapper {
    margin-bottom: 1.4rem;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(224, 109, 83, 0.24);
    box-shadow: 0 4px 12px rgba(62, 42, 32, 0.05);
    transition: all 0.25s ease;
}

.back-home-link:hover {
    color: var(--terracotta);
    background: #ffffff;
    border-color: var(--terracotta);
    transform: translateX(-3px);
}

/* Scroll Reveal (Always visible by default so Googlebot & no-JS never see blank sections) */
.fade-in-section {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Error Banner */
.form-error {
    display: none;
    color: #a83720;
    background: #fdeae5;
    border: 1.5px solid rgba(224, 109, 83, 0.5);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 0.94rem;
    font-weight: 700;
    margin: 14px auto 0;
    max-width: 540px;
    text-align: center;
}

.hidden { display: none !important; }

/* ==========================================================================
   ANIME STORYBOOK SKY & MEADOW BACKDROP (Hero Canvas — Never Bland!)
   ========================================================================== */
.storybook-sky {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 24%, rgba(255, 245, 200, 0.95) 0%, rgba(255, 224, 185, 0.55) 26%, transparent 56%),
        radial-gradient(circle at 22% 28%, rgba(255, 212, 222, 0.65) 0%, transparent 52%),
        linear-gradient(180deg, #ffe7dc 0%, #fff2e6 38%, #fde3d6 74%, #f4cbb7 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

/* Sun Disc + Rotating Soft God-Rays */
.sun-glow {
    position: absolute;
    top: 10%;
    right: 12%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 250, 225, 0.95) 0%, rgba(255, 228, 175, 0.45) 45%, transparent 72%);
    filter: blur(2px);
    animation: sunBreathe 9s ease-in-out infinite;
}

.sun-rays {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 720px;
    height: 720px;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 248, 220, 0.22) 0deg 10deg,
        transparent 10deg 26deg
    );
    mask-image: radial-gradient(circle, black 10%, transparent 68%);
    -webkit-mask-image: radial-gradient(circle, black 10%, transparent 68%);
    animation: slowSpin 75s linear infinite;
    pointer-events: none;
}

/* Fluffy Ghibli Clouds */
.cloud {
    position: absolute;
    background: rgba(255, 252, 248, 0.84);
    border-radius: 999px;
    filter: drop-shadow(0 12px 24px rgba(212, 134, 108, 0.12));
    pointer-events: none;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud.c1 {
    width: 210px; height: 58px;
    top: 18%; left: 6%;
    animation: driftCloud 28s ease-in-out infinite alternate;
}
.cloud.c1::before { width: 92px; height: 92px; top: -42px; left: 26px; }
.cloud.c1::after { width: 70px; height: 70px; top: -28px; right: 30px; }

.cloud.c2 {
    width: 175px; height: 48px;
    top: 26%; right: 8%;
    opacity: 0.78;
    animation: driftCloud 34s ease-in-out infinite alternate-reverse;
}
.cloud.c2::before { width: 76px; height: 76px; top: -36px; left: 22px; }
.cloud.c2::after { width: 58px; height: 58px; top: -22px; right: 24px; }

.cloud.c3 {
    width: 140px; height: 40px;
    top: 48%; left: 16%;
    opacity: 0.55;
    animation: driftCloud 24s ease-in-out infinite alternate;
}
.cloud.c3::before { width: 62px; height: 62px; top: -28px; left: 18px; }
.cloud.c3::after { width: 46px; height: 46px; top: -18px; right: 20px; }

/* Layered Illustrated Hills at Hero Bottom */
.storybook-hills {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 36%;
    min-height: 190px;
    z-index: 1;
    pointer-events: none;
}

/* Floating Sakura Petals & Golden Sparkles */
.dream-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 15px;
    height: 22px;
    border-radius: 75% 25% 70% 30% / 65% 35% 65% 35%;
    opacity: 0.65;
    animation: floatPetal 15s ease-in-out infinite alternate;
}

.petal.p1 { background: #f2a194; top: 20%; left: 18%; animation-duration: 14s; }
.petal.p2 { background: #a8cfb2; top: 64%; left: 12%; width: 13px; height: 19px; animation-duration: 18s; animation-delay: -4s; }
.petal.p3 { background: #f2d388; top: 28%; right: 20%; width: 14px; height: 20px; animation-duration: 16s; animation-delay: -7s; }
.petal.p4 { background: #f4b2c4; bottom: 26%; right: 16%; width: 12px; height: 18px; animation-duration: 20s; animation-delay: -2s; }
.petal.p5 { background: #cbb9ea; top: 15%; left: 48%; width: 12px; height: 18px; animation-duration: 17s; animation-delay: -10s; }
.petal.p6 { background: #f2a194; top: 52%; right: 28%; width: 10px; height: 16px; animation-duration: 19s; animation-delay: -5s; }

.sparkle-star {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff9e6;
    clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
    filter: drop-shadow(0 0 8px rgba(245, 206, 114, 0.9));
    animation: twinkleSoft 5.5s ease-in-out infinite;
}

.sparkle-star.s1 { top: 24%; left: 28%; animation-delay: 0s; }
.sparkle-star.s2 { top: 42%; right: 24%; width: 18px; height: 18px; animation-delay: -2.2s; }
.sparkle-star.s3 { bottom: 32%; left: 34%; width: 12px; height: 12px; animation-delay: -3.8s; }
.sparkle-star.s4 { top: 22%; right: 34%; width: 11px; height: 11px; animation-delay: -1.4s; }
.sparkle-star.s5 { bottom: 28%; right: 36%; width: 15px; height: 15px; animation-delay: -4.5s; }

/* ==========================================================================
   HOMEPAGE HERO & TRUST RIBBON
   ========================================================================== */
#hero {
    position: relative;
    min-height: 90vh;
    padding: 120px 24px 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.85;
    filter: brightness(1.06) contrast(1.02) saturate(1.12);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 250, 245, 0.42) 0%, rgba(253, 232, 222, 0.22) 55%, transparent 85%),
        linear-gradient(180deg, rgba(255, 248, 242, 0.22) 0%, transparent 55%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
}

.hero-seal {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 252, 248, 0.88);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(224, 109, 83, 0.28);
    border-radius: var(--radius-pill);
    padding: 7px 20px;
    margin-bottom: 1.2rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    box-shadow: 0 6px 18px rgba(62, 42, 32, 0.07);
}

.hero-jp-ruby {
    font-family: 'Shippori Mincho', serif;
    font-size: 0.95rem;
    letter-spacing: 0.35em;
    color: var(--terracotta);
    opacity: 0.85;
    margin-bottom: -4px;
    font-weight: 600;
}

#hero h1 {
    font-size: clamp(4.2rem, 11vw, 7.6rem);
    line-height: 1.02;
    color: var(--text-dark);
    text-shadow:
        0 4px 0 rgba(255, 255, 255, 0.9),
        0 14px 36px rgba(224, 109, 83, 0.22);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    animation: floatSlow 7s ease-in-out infinite;
}

#hero p {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    color: var(--terracotta);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    letter-spacing: 0.4px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.giving-line-container {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 0;
}

.giving-line-container::before,
.giving-line-container::after {
    content: '';
    width: 38px;
    height: 1.5px;
    border-radius: 2px;
    flex-shrink: 0;
}

.giving-line-container::before {
    background: linear-gradient(90deg, transparent, rgba(224, 109, 83, 0.45));
}

.giving-line-container::after {
    background: linear-gradient(90deg, rgba(224, 109, 83, 0.45), transparent);
}

#giving-line-text {
    font-size: 0.96rem;
    font-weight: 700;
    color: rgba(74, 52, 42, 0.92);
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 0.015em;
    text-shadow: 0 1px 12px rgba(255, 250, 245, 0.9);
}

.heart-icon {
    width: 15px;
    height: 15px;
    fill: var(--terracotta);
    flex-shrink: 0;
}

/* Collector Craft Trust Strip (Subtle, Boxless Whisper Strip) */
.craft-ribbon {
    padding: 0 24px 18px;
    margin-top: -6px;
    position: relative;
    z-index: 4;
}

.craft-ribbon-inner {
    max-width: 920px;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    gap: 14px 36px;
    box-shadow: none;
}

.craft-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.craft-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(224, 109, 83, 0.1);
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    flex-shrink: 0;
}

.craft-svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.craft-svg-fox {
    width: 16.5px;
    height: 16.5px;
}

.craft-svg-stroke {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
}

.craft-svg-plane {
    width: 17px;
    height: 17px;
    transform: rotate(45deg);
}

/* ==========================================================================
   DROP 01 PLUSH SHOWCASE & COLLECTOR CARDS (Built to Sell!)
   ========================================================================== */
#plushies {
    padding: 85px 24px 100px;
    background: transparent;
}

.characters-grid,
.plush-drop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    margin-top: 0.75rem;
}

.char-card {
    border-radius: var(--radius-lg);
    padding: 30px 26px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Soft diagonal collectible-card sheen on hover */
.char-card::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
    transform: translateX(-65%) rotate(12deg);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 1;
}

.char-card:hover::before {
    transform: translateX(65%) rotate(12deg);
}

/* Subtle stitched inner edge like a collectible box */
.char-card::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: calc(var(--radius-lg) - 8px);
    border: 1.5px dashed rgba(62, 42, 32, 0.09);
    pointer-events: none;
    z-index: 0;
}

.char-card > * {
    position: relative;
    z-index: 2;
}

.char-card.theme-fire {
    background: linear-gradient(175deg, var(--coral-bg) 0%, var(--coral-mid) 58%, #ffffff 100%);
    border: 2.5px solid var(--coral-border);
}

.char-card.theme-dream {
    background: linear-gradient(175deg, var(--pink-bg) 0%, var(--pink-mid) 58%, #ffffff 100%);
    border: 2.5px solid var(--pink-border);
}

.char-card.theme-water {
    background: linear-gradient(175deg, var(--sky-bg) 0%, var(--sky-mid) 58%, #ffffff 100%);
    border: 2.5px solid var(--sky-border);
}

.char-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.char-card.theme-fire:hover { transform: translateY(-10px) rotate(-0.8deg); }
.char-card.theme-dream:hover { transform: translateY(-10px) rotate(0.6deg); }
.char-card.theme-water:hover { transform: translateY(-10px) rotate(-0.6deg); }

/* Woven Plush Hangtag Number Badge */
.char-number {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 14px 5px 24px;
    border-radius: 12px;
    background: #fffdf9;
    color: var(--text-dark);
    border: 1.5px solid rgba(62, 42, 32, 0.14);
    box-shadow: 0 3px 8px rgba(62, 42, 32, 0.06);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* Tiny stitched hangtag eyelet hole */
.char-number::before {
    content: '';
    position: absolute;
    left: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bg-peach);
    border: 1.5px solid rgba(62, 42, 32, 0.25);
}

/* Portrait Pedestal */
.char-image-slot {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #ffffff 0%, rgba(255, 255, 255, 0.65) 70%, rgba(255, 255, 255, 0.35) 100%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    box-shadow:
        0 12px 26px rgba(62, 42, 32, 0.07),
        inset 0 6px 18px rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.char-slot-img,
.char-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Mystery Creature Silhouette */
.mystery-blob {
    width: 118px;
    height: 110px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatSlow 5.5s ease-in-out infinite;
}

.theme-fire .mystery-blob {
    background: linear-gradient(160deg, #e58a71 0%, #c96246 100%);
    border-radius: 52% 48% 45% 55% / 58% 58% 42% 42%;
    box-shadow: 0 12px 24px rgba(212, 93, 66, 0.32), inset 0 6px 12px rgba(255, 232, 224, 0.35);
}

.theme-dream .mystery-blob {
    background: linear-gradient(160deg, #e291b0 0%, #c3628a 100%);
    border-radius: 48% 52% 50% 50% / 54% 54% 46% 46%;
    box-shadow: 0 12px 24px rgba(196, 86, 132, 0.3), inset 0 6px 12px rgba(255, 232, 242, 0.35);
    animation-delay: -1.8s;
}

.theme-water .mystery-blob {
    background: linear-gradient(160deg, #7da8c9 0%, #4d7ea4 100%);
    border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%;
    box-shadow: 0 12px 24px rgba(68, 118, 156, 0.3), inset 0 6px 12px rgba(230, 244, 255, 0.35);
    animation-delay: -3.6s;
}

.mystery-blob::before,
.mystery-blob::after {
    content: '';
    position: absolute;
    top: -13px;
    width: 30px;
    height: 34px;
    background: inherit;
    border-radius: 50% 50% 30% 30%;
    z-index: -1;
}

.mystery-blob::before { left: 16px; transform: rotate(-18deg); }
.mystery-blob::after { right: 16px; transform: rotate(18deg); }

.glowing-eyes {
    display: flex;
    gap: 22px;
    margin-top: 4px;
}

.glowing-eyes span {
    width: 11px;
    height: 15px;
    border-radius: 50%;
    background: #fffef8;
    box-shadow: 0 0 12px 3px rgba(255, 246, 206, 0.9);
    animation: blinkSoft 5.2s ease-in-out infinite;
}

.art-soon-badge {
    position: absolute;
    bottom: 8px;
    background: rgba(255, 253, 250, 0.95);
    color: var(--text-muted);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(62, 42, 32, 0.12);
    box-shadow: 0 3px 8px rgba(62, 42, 32, 0.06);
}

.element-tag {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 15px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    display: inline-block;
}

.theme-fire .element-tag { background: rgba(212, 93, 66, 0.15); color: var(--coral-accent); }
.theme-dream .element-tag { background: rgba(196, 86, 132, 0.15); color: var(--pink-accent); }
.theme-water .element-tag { background: rgba(68, 118, 156, 0.15); color: var(--sky-accent); }

.char-name {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.char-personality {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 24px;
    flex-grow: 1;
    max-width: 260px;
    font-weight: 600;
}

.char-btn {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    background: #ffffff;
    color: var(--text-dark);
    border: 2px solid rgba(62, 42, 32, 0.14);
    box-shadow: 0 4px 0 rgba(62, 42, 32, 0.1);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 220px;
}

.theme-fire .char-btn:hover {
    background: var(--coral-accent);
    color: #fff;
    border-color: var(--coral-accent);
    box-shadow: 0 4px 0 #a33e28;
    transform: translateY(-2px);
}
.theme-dream .char-btn:hover {
    background: var(--pink-accent);
    color: #fff;
    border-color: var(--pink-accent);
    box-shadow: 0 4px 0 #943960;
    transform: translateY(-2px);
}
.theme-water .char-btn:hover {
    background: var(--sky-accent);
    color: #fff;
    border-color: var(--sky-accent);
    box-shadow: 0 4px 0 #2e5676;
    transform: translateY(-2px);
}

.drop-cta-row {
    margin-top: 38px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   HOMEPAGE STORYBOOK PATCHES (Giving Back + Creators)
   ========================================================================== */
.home-feature-band {
    padding: 70px 24px;
}

.feature-patch {
    max-width: 920px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    padding: 58px 46px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.feature-patch::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--radius-lg) - 10px);
    border: 2px dashed rgba(224, 109, 83, 0.22);
    pointer-events: none;
}

.feature-patch-giving {
    background:
        radial-gradient(circle at 85% 20%, rgba(252, 227, 238, 0.85) 0%, transparent 55%),
        linear-gradient(135deg, #fffdf9 0%, #fff0ea 100%);
    border: 2px solid rgba(224, 109, 83, 0.2);
}

.feature-patch-creators {
    background:
        radial-gradient(circle at 12% 18%, rgba(252, 240, 207, 0.9) 0%, transparent 52%),
        radial-gradient(circle at 90% 85%, rgba(253, 226, 216, 0.85) 0%, transparent 52%),
        linear-gradient(135deg, #fffdf9 0%, #fef1e6 100%);
    border: 2px solid rgba(217, 155, 56, 0.3);
}

.creator-perk-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: -1.1rem auto 2rem;
}

.perk-pill {
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(224, 109, 83, 0.28);
    color: var(--text-dark);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(62, 42, 32, 0.05);
}

.perk-pill strong {
    color: var(--terracotta);
}

/* ==========================================================================
   JAPANESE STATIONERY POSTCARD NEWSLETTER (Built to Convert!)
   ========================================================================== */
#newsletter,
#stay-close {
    padding: 85px 24px 100px;
}

.postcard-box,
.stay-close-box {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(224, 109, 83, 0.04) 0px,
            rgba(224, 109, 83, 0.04) 12px,
            transparent 12px,
            transparent 24px
        ),
        linear-gradient(180deg, #fffefb 0%, #fff6ee 100%);
    border-radius: var(--radius-lg);
    padding: 58px 46px 50px;
    border: 2.5px solid rgba(224, 109, 83, 0.28);
    box-shadow:
        0 20px 50px rgba(62, 42, 32, 0.09),
        inset 0 0 0 8px #fffdf9,
        inset 0 0 0 10px rgba(224, 109, 83, 0.16);
    position: relative;
}

.postcard-stamp {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 68px;
    height: 78px;
    background: linear-gradient(145deg, #fde2d8 0%, #fff4d9 100%);
    border: 2px dashed rgba(224, 109, 83, 0.45);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform: rotate(5deg);
    box-shadow: 0 6px 14px rgba(62, 42, 32, 0.07);
    pointer-events: none;
}

.postcard-stamp span:first-child {
    font-size: 1.35rem;
    line-height: 1;
}

.postcard-stamp span:last-child {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--terracotta);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 560px;
    margin: 1.6rem auto 0;
}

.newsletter-input {
    padding: 15px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(224, 109, 83, 0.28);
    background: #ffffff;
    color: var(--text-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    flex-grow: 1;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 6px rgba(62, 42, 32, 0.04);
}

.newsletter-input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(224, 109, 83, 0.14);
    outline: none;
}

.newsletter-btn {
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--terracotta-deep);
    background: linear-gradient(180deg, #eb8168 0%, var(--terracotta) 100%);
    color: #ffffff;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 0 var(--terracotta-deep), 0 8px 18px rgba(224, 109, 83, 0.26);
}

.newsletter-btn:hover {
    background: linear-gradient(180deg, #ef8b73 0%, var(--terracotta-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--terracotta-deep), 0 12px 22px rgba(224, 109, 83, 0.34);
}

.newsletter-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--terracotta-deep);
}

.consent-line {
    margin-top: 16px;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.consent-line a {
    color: var(--terracotta);
    text-decoration: underline;
}

.discord-sublink {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-muted);
    text-decoration: none;
}

.discord-sublink span {
    color: var(--terracotta);
    text-decoration: underline;
}

#newsletter-success,
#kw-newsletter-success {
    display: none;
    animation: fadeInDown 0.45s ease-out;
    padding: 16px 10px;
}

/* ==========================================================================
   CONCEPT DISCLAIMER RIBBON
   ========================================================================== */
#concept-disclaimer {
    padding: 36px 24px;
    background: linear-gradient(90deg, #fae2d6 0%, #fcebd8 50%, #fae2d6 100%);
    border-top: 2px dashed rgba(224, 109, 83, 0.28);
    border-bottom: 2px dashed rgba(224, 109, 83, 0.28);
    text-align: center;
}

.concept-text {
    color: #7c5643;
    font-size: 0.98rem;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 700;
}

/* ==========================================================================
   KUNINE WORLD PAGE — BENTO, STORYBOOK & ARTISTS
   ========================================================================== */
#kw-hero {
    min-height: 94vh;
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kw-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 16px;
}

.kw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    background: rgba(255, 253, 250, 0.88);
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(224, 109, 83, 0.26);
    margin-bottom: 1.4rem;
    box-shadow: 0 6px 18px rgba(62, 42, 32, 0.07);
}

#kw-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    line-height: 1.14;
    color: var(--text-dark);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.92);
    margin-bottom: 1.3rem;
    animation: floatSlow 8s ease-in-out infinite;
}

.kw-hero-sub {
    font-size: 1.24rem;
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto 2.2rem;
    font-weight: 700;
}

.scroll-cue {
    position: relative;
    z-index: 3;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    background: rgba(255, 253, 250, 0.88);
    border: 1.5px solid rgba(224, 109, 83, 0.28);
    box-shadow: 0 8px 22px rgba(62, 42, 32, 0.08);
    transition: all 0.3s ease;
    animation: gentleBounce 3.8s ease-in-out infinite;
}

.scroll-cue:hover {
    background: #ffffff;
    color: var(--terracotta);
    border-color: var(--terracotta);
}

.next-step-link {
    margin-top: 2.6rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--terracotta);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(224, 109, 83, 0.24);
    box-shadow: 0 4px 14px rgba(62, 42, 32, 0.05);
    transition: all 0.25s ease;
}

.next-step-link:hover {
    background: #ffffff;
    transform: translateY(-2px);
    border-color: var(--terracotta);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 0.75rem;
}

.bento-tile {
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-card);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
    position: relative;
    overflow: hidden;
    min-height: 235px;
}

.bento-tile::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
    pointer-events: none;
}

.bento-tile:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

.tile-stories {
    grid-column: span 7;
    background: linear-gradient(135deg, var(--coral-bg) 0%, #fff4ef 100%);
    border: 2.5px solid var(--coral-border);
}
.tile-art {
    grid-column: span 5;
    background: linear-gradient(135deg, var(--lavender-bg) 0%, #f7f4fe 100%);
    border: 2.5px solid var(--lavender-border);
}
.tile-music {
    grid-column: span 5;
    background: linear-gradient(135deg, var(--gold-bg) 0%, #fffcf2 100%);
    border: 2.5px solid var(--gold-border);
}
.tile-map {
    grid-column: span 7;
    background: linear-gradient(135deg, var(--sage-bg) 0%, #f4faf4 100%);
    border: 2.5px solid var(--sage-border);
}
.tile-community {
    grid-column: span 12;
    min-height: 155px;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(135deg, var(--sky-bg) 0%, #f3f9fe 100%);
    border: 2.5px solid var(--sky-border);
}

.bento-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(62, 42, 32, 0.08);
}

.bento-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: var(--text-dark);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bento-badge {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-muted);
    border: 1px solid rgba(62, 42, 32, 0.08);
}

.bento-title {
    font-size: 1.62rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.bento-desc {
    font-size: 1.03rem;
    color: var(--text-body);
    font-weight: 600;
}

.inline-music-action {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.inline-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--terracotta-deep);
    background: linear-gradient(180deg, #eb8168 0%, var(--terracotta) 100%);
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--terracotta-deep), 0 8px 18px rgba(224, 109, 83, 0.3);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.inline-play-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.inline-track-status {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--gold-accent);
}

.community-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.community-cta {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--sky-accent);
    border: 2px solid var(--sky-border);
    box-shadow: 0 4px 0 rgba(68, 118, 156, 0.18);
    white-space: nowrap;
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.tile-community:hover .community-cta {
    background: var(--sky-accent);
    color: #ffffff;
    border-color: var(--sky-accent);
}

/* Open Storybook Card with Ribbon Bookmark */
.storybook-card,
.lore-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fffefb 0%, #fff8f2 100%);
    border-radius: var(--radius-lg);
    padding: 58px 50px;
    border: 2px solid rgba(224, 109, 83, 0.22);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.storybook-card::before,
.lore-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 38px;
    width: 26px;
    height: 44px;
    background: linear-gradient(180deg, #eb8168 0%, var(--terracotta) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
    box-shadow: 0 4px 10px rgba(224, 109, 83, 0.25);
}

.storybook-ornament,
.lore-ornament {
    font-size: 1.3rem;
    color: var(--terracotta);
    margin-bottom: 14px;
    letter-spacing: 6px;
    opacity: 0.78;
}

.story-excerpt,
.lore-excerpt {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.38rem;
    line-height: 1.85;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 auto 28px;
    max-width: 620px;
}

.lore-excerpt { margin-bottom: 0; font-size: 1.2rem; }

.story-note {
    display: none;
    margin-top: 18px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--terracotta);
    background: var(--terracotta-soft);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
}

/* Artist Sketchbook Cards */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.artist-card {
    background: #fffdfb;
    border: 2px solid rgba(224, 109, 83, 0.18);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.artist-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: var(--shadow-hover);
}

.artist-avatar-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--terracotta);
    background: var(--terracotta-soft);
    border: 2px dashed rgba(224, 109, 83, 0.42);
}

.artist-name { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 4px; }
.artist-role { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; }

.jp-accent-line {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.4rem;
    color: var(--terracotta);
    letter-spacing: 4px;
    margin-top: 8px;
    font-weight: 600;
}

/* Bring Home Mini Plush Trio */
.mini-silhouettes-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.mini-blob {
    width: 58px;
    height: 54px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 45% 55% / 58% 58% 42% 42%;
    animation: floatSlow 5s ease-in-out infinite;
}

.mini-blob.m-fire { background: linear-gradient(160deg, #e58a71, #c96246); box-shadow: 0 8px 18px rgba(212, 93, 66, 0.28); }
.mini-blob.m-dream { background: linear-gradient(160deg, #e291b0, #c3628a); box-shadow: 0 8px 18px rgba(196, 86, 132, 0.26); animation-delay: -1.5s; }
.mini-blob.m-water { background: linear-gradient(160deg, #7da8c9, #4d7ea4); box-shadow: 0 8px 18px rgba(68, 118, 156, 0.26); animation-delay: -3s; }

.mini-blob::before,
.mini-blob::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 14px;
    height: 16px;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
}
.mini-blob::before { left: 8px; transform: rotate(-16deg); }
.mini-blob::after { right: 8px; transform: rotate(16deg); }

.mini-eyes { display: flex; gap: 10px; }
.mini-eyes span {
    width: 5px;
    height: 7px;
    border-radius: 50%;
    background: #fffef8;
    box-shadow: 0 0 6px 2px rgba(255, 248, 214, 0.85);
}

.bring-home-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: 1.6rem;
}

.btn-shop-large {
    font-size: 1.18rem;
    padding: 17px 44px;
}

/* ==========================================================================
   CHARACTER DETAIL — COLLECTOR DOSSIER LAYOUT
   ========================================================================== */
.page-main {
    flex: 1;
    padding: 128px 24px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.char-detail-card {
    border-radius: var(--radius-lg);
    padding: 46px 42px;
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    box-shadow: var(--shadow-card);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.char-detail-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--radius-lg) - 10px);
    border: 1.5px dashed rgba(62, 42, 32, 0.1);
    pointer-events: none;
}

.char-detail-card.theme-fire {
    background: linear-gradient(145deg, var(--coral-bg) 0%, var(--coral-mid) 55%, #ffffff 100%);
    border: 2.5px solid var(--coral-border);
}
.char-detail-card.theme-dream {
    background: linear-gradient(145deg, var(--pink-bg) 0%, var(--pink-mid) 55%, #ffffff 100%);
    border: 2.5px solid var(--pink-border);
}
.char-detail-card.theme-water {
    background: linear-gradient(145deg, var(--sky-bg) 0%, var(--sky-mid) 55%, #ffffff 100%);
    border: 2.5px solid var(--sky-border);
}

.char-detail-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.detail-image-slot {
    width: 248px;
    height: 248px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #ffffff 0%, rgba(255, 255, 255, 0.72) 72%, rgba(255, 255, 255, 0.4) 100%);
    border: 4px solid rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 16px 36px rgba(62, 42, 32, 0.09);
    overflow: hidden;
}

.mystery-blob.detail-blob {
    width: 152px;
    height: 142px;
}

.mystery-blob.detail-blob::before,
.mystery-blob.detail-blob::after {
    top: -15px;
    width: 36px;
    height: 40px;
}

.mystery-blob.detail-blob::before { left: 20px; }
.mystery-blob.detail-blob::after { right: 20px; }
.mystery-blob.detail-blob .glowing-eyes { gap: 28px; }
.mystery-blob.detail-blob .glowing-eyes span { width: 14px; height: 18px; }

.char-detail-info {
    position: relative;
    z-index: 2;
}

.char-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.char-header-meta .char-number { margin-bottom: 0; }
.char-header-meta .element-tag { margin-bottom: 0; }

.detail-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.15;
}

.detail-description {
    font-size: 1.12rem;
    color: var(--text-body);
    font-weight: 600;
    margin-bottom: 24px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.meta-pill-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(62, 42, 32, 0.1);
    border-radius: 18px;
    padding: 14px 18px;
}

.meta-label {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.meta-value {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-dark);
}

.artist-profile-link {
    color: var(--terracotta);
    text-decoration: underline;
}

.sub-heading {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.editions-section {
    max-width: 800px;
    margin: 28px auto 0;
    background: rgba(255, 253, 250, 0.92);
    border-radius: var(--radius-lg);
    padding: 36px 34px;
    border: 2px solid rgba(224, 109, 83, 0.18);
    box-shadow: var(--shadow-card);
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.edition-box {
    background: #fff8f3;
    border: 1.5px solid rgba(224, 109, 83, 0.22);
    border-radius: 20px;
    padding: 20px 22px;
}

.edition-box h3 { font-size: 1.15rem; margin-bottom: 4px; }
.edition-val { font-size: 0.98rem; color: var(--text-muted); font-weight: 700; }

/* ==========================================================================
   CREATORS PAGE
   ========================================================================== */
.creator-section {
    padding: 64px 24px;
}

.creator-hero {
    padding: 148px 24px 85px;
    position: relative;
    overflow: hidden;
}

.creator-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.14;
    text-shadow: 0 4px 18px rgba(255, 255, 255, 0.9);
}

.creator-hero-lead {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 0.8rem;
}

.creator-hero-sub {
    font-size: 1.14rem;
    color: var(--text-body);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto 2.2rem;
}

.steps-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.step-card,
.benefit-card {
    background: rgba(255, 253, 250, 0.92);
    border: 2px solid rgba(224, 109, 83, 0.18);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step-card:hover,
.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 109, 83, 0.45);
    box-shadow: var(--shadow-hover);
}

.step-badge {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(145deg, #fde2d8, #fff5d9);
    color: var(--terracotta);
    border: 2px solid rgba(224, 109, 83, 0.3);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    box-shadow: 0 4px 10px rgba(224, 109, 83, 0.12);
}

.step-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.benefit-card h3 { font-size: 1.24rem; color: var(--terracotta); margin-bottom: 0.55rem; }
.step-card p, .benefit-card p { color: var(--text-body); font-size: 0.99rem; font-weight: 600; }

.who-box {
    max-width: 780px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fffdf9 0%, #fde8dd 100%);
    border: 2.5px dashed rgba(224, 109, 83, 0.42);
    border-radius: var(--radius-lg);
    padding: 2.8rem 2.4rem;
    box-shadow: var(--shadow-card);
}

.who-box h2 { font-size: 2.1rem; margin-bottom: 0.75rem; }
.who-box p { font-size: 1.12rem; color: var(--text-body); font-weight: 700; max-width: 630px; margin: 0 auto; }

/* FAQ Accordion */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.faq-item {
    background: rgba(255, 253, 250, 0.94);
    border: 2px solid rgba(224, 109, 83, 0.18);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(62, 42, 32, 0.04);
}

.faq-item[open] {
    border-color: rgba(224, 109, 83, 0.48);
    box-shadow: 0 12px 28px rgba(62, 42, 32, 0.08);
}

.faq-question {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--terracotta); }

.faq-question::after {
    content: '+';
    font-size: 1.35rem;
    color: var(--terracotta);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--terracotta-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    background: var(--terracotta);
    color: #ffffff;
}

.faq-answer {
    padding: 0.95rem 1.5rem 1.35rem;
    color: var(--text-body);
    font-size: 1rem;
    font-weight: 600;
    border-top: 1.5px dashed rgba(224, 109, 83, 0.16);
}

/* Creator Application Form Card */
.cta-section { padding: 60px 24px 100px; }

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fffefb 0%, #fff6ee 100%);
    border: 2.5px solid rgba(224, 109, 83, 0.28);
    border-radius: var(--radius-lg);
    padding: 3.2rem 2.4rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.cta-card h2 { font-size: 2.35rem; margin-bottom: 0.85rem; }
.cta-card > p { font-size: 1.12rem; color: var(--text-muted); font-weight: 600; margin-bottom: 2rem; }

.creator-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 490px;
    margin: 0 auto 1.6rem;
    text-align: left;
}

.creator-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 16px;
    border: 2px solid rgba(224, 109, 83, 0.24);
    background: #ffffff;
    color: var(--text-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.creator-input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(224, 109, 83, 0.14);
    outline: none;
}

.creator-form .hero-btn { width: 100%; margin-top: 6px; }

#creator-form-success {
    display: none;
    background: var(--terracotta-soft);
    border: 2px dashed rgba(224, 109, 83, 0.48);
    border-radius: 18px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.questions-line { font-size: 0.95rem; color: var(--text-muted); font-weight: 700; }
.questions-line a { color: var(--terracotta); text-decoration: none; font-family: 'Quicksand', sans-serif; font-weight: 800; }
.questions-line a:hover { text-decoration: underline; }

/* ==========================================================================
   CONTACT & GIVING BACK PAGES
   ========================================================================== */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.contact-card {
    background: rgba(255, 253, 250, 0.94);
    border: 2px solid rgba(224, 109, 83, 0.18);
    border-radius: var(--radius-md);
    padding: 1.55rem 1.85rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
    border-color: rgba(224, 109, 83, 0.45);
    transform: translateY(-3px);
}

.contact-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }

.email-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.email-link {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
}

.email-link:hover { text-decoration: underline; color: var(--terracotta-hover); }

.copy-btn {
    background: var(--terracotta-soft);
    color: var(--terracotta);
    border: 1.5px solid rgba(224, 109, 83, 0.35);
    border-radius: var(--radius-pill);
    padding: 5px 15px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover { background: var(--terracotta); color: #ffffff; border-color: var(--terracotta); }
.copy-btn.copied { background: var(--text-dark); color: #fffaf5; border-color: var(--text-dark); }

.contact-tip { margin-top: 0.65rem; font-size: 0.92rem; color: var(--text-muted); font-weight: 600; }
.contact-tip a { color: var(--terracotta); font-weight: 700; }

.company-card {
    padding-top: 1.8rem;
    border-top: 2px dashed rgba(224, 109, 83, 0.28);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.8;
}

.company-card strong {
    display: block;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.08rem;
    color: var(--text-dark);
}

/* Policy / Legal Pages (Shipping, Privacy, Terms) */
.policy-updated {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: -0.35rem auto 1.6rem;
}

.policy-intro {
    margin-bottom: 1.15rem;
}

.policy-intro a,
.policy-questions a,
.policy-card a {
    color: var(--terracotta);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-intro a:hover,
.policy-questions a:hover,
.policy-card a:hover {
    color: var(--terracotta-hover);
}

.policy-card p {
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 600;
    line-height: 1.65;
}

.policy-card p + p {
    margin-top: 0.85rem;
}

.policy-card strong,
.policy-list strong {
    color: var(--text-dark);
}

.policy-expect-lead {
    font-size: 1.02rem;
    color: var(--text-body);
    font-weight: 700;
    margin: 0 auto 2rem;
    max-width: 580px;
}

.policy-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
    margin-bottom: 2.2rem;
}

.policy-card {
    display: block;
    text-align: left;
    background: rgba(255, 253, 250, 0.94);
    border: 2px solid rgba(224, 109, 83, 0.18);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-card);
}

.policy-card h2 {
    font-size: 1.38rem;
    color: var(--text-dark);
    margin-bottom: 0.95rem;
}

.policy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.policy-list li {
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 600;
    line-height: 1.6;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.78;
}

.policy-questions {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.2rem;
}

/* Giving Back Card */
.giving-card {
    background:
        radial-gradient(circle at 50% 0%, rgba(252, 227, 238, 0.85) 0%, transparent 60%),
        linear-gradient(180deg, #fffefb 0%, #fff4ee 100%);
    border: 2.5px solid rgba(224, 109, 83, 0.22);
    border-radius: var(--radius-lg);
    padding: 3.6rem 2.6rem;
    box-shadow: var(--shadow-card);
    position: relative;
}

.giving-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--radius-lg) - 10px);
    border: 1.5px dashed rgba(224, 109, 83, 0.22);
    pointer-events: none;
}

.cute-heart-badge {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: var(--terracotta-soft);
    border: 2px dashed rgba(224, 109, 83, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatSlow 4s ease-in-out infinite;
}

.cute-heart-badge svg { width: 36px; height: 36px; fill: var(--terracotta); }

.coming-soon-pill {
    display: inline-block;
    margin: 0.35rem auto 1.3rem;
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    background: var(--terracotta-soft);
    border: 1.5px solid rgba(224, 109, 83, 0.35);
    color: var(--terracotta);
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

/* ==========================================================================
   FLOATING MUSIC PLAYER
   ========================================================================== */
#music-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 324px;
    background: rgba(255, 252, 249, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(224, 109, 83, 0.24);
    border-radius: 22px;
    padding: 18px;
    z-index: 2000;
    box-shadow: 0 14px 40px rgba(62, 42, 32, 0.14);
    color: var(--text-dark);
    transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed rgba(224, 109, 83, 0.22);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.player-title {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--terracotta);
    font-size: 1.12rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-title::before {
    content: '♫';
    font-size: 1.2rem;
    animation: pulse 2.4s infinite;
}

.minimize-btn {
    background: #fff;
    border: 2px solid rgba(224, 109, 83, 0.32);
    color: var(--terracotta);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 50%;
    transition: all 0.25s;
}

.minimize-btn:hover { background: var(--terracotta); color: #fff; transform: scale(1.08); }

.track-list {
    list-style: none;
    margin-bottom: 14px;
    max-height: 126px;
    overflow-y: auto;
    padding-right: 4px;
}

.track-item {
    padding: 9px 12px;
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 700;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.track-item:hover { color: var(--terracotta); background: var(--terracotta-soft); }
.track-item.active {
    color: var(--terracotta-hover);
    font-weight: 800;
    background: var(--terracotta-soft);
    border-left: 4px solid var(--terracotta);
}
.track-item.active::before { content: '▶ '; font-size: 0.78rem; margin-right: 6px; }

audio {
    width: 100%;
    height: 36px;
    border-radius: 20px;
    opacity: 0.9;
    filter: sepia(0.28) hue-rotate(330deg) saturate(1.4);
}

#music-player.minimized {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    background: linear-gradient(145deg, #fffdf9, #fef0eb);
    border: 2px solid rgba(224, 109, 83, 0.38);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(62, 42, 32, 0.16);
    animation: gentlePlayerPulse 4s ease-in-out infinite;
}

#music-player.minimized:hover {
    border-color: var(--terracotta);
    transform: translateY(-3px) scale(1.06);
}

#music-player.minimized .player-header {
    border: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#music-player.minimized .player-title { font-size: 0; gap: 0; }
#music-player.minimized .player-title::before { font-size: 1.45rem; animation: none; }
#music-player.minimized .minimize-btn,
#music-player.minimized .track-list,
#music-player.minimized audio { display: none; }

#music-player.footer-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* ==========================================================================
   STARLIT COCOA STORYBOOK FOOTER
   ========================================================================== */
.footer-wave {
    width: 100%;
    height: 54px;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

footer {
    padding: 40px 32px 44px;
    text-align: center;
    background:
        radial-gradient(2px 2px at 14% 28%, rgba(255, 245, 210, 0.55) 50%, transparent 100%),
        radial-gradient(2px 2px at 32% 18%, rgba(255, 245, 210, 0.45) 50%, transparent 100%),
        radial-gradient(2.5px 2.5px at 78% 22%, rgba(255, 245, 210, 0.6) 50%, transparent 100%),
        radial-gradient(2px 2px at 88% 48%, rgba(255, 245, 210, 0.4) 50%, transparent 100%),
        radial-gradient(2px 2px at 22% 70%, rgba(255, 245, 210, 0.35) 50%, transparent 100%),
        radial-gradient(ellipse 65% 60% at 50% 0%, #4b3327 0%, var(--cocoa-night) 55%, var(--cocoa-deep) 100%);
    color: #eadccb;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.footer-content { max-width: 920px; margin: 0 auto; }

.footer-links {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 28px;
}

.footer-column { display: flex; flex-direction: column; gap: 7px; }

.footer-column h4 {
    color: #fff3ea;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-links a {
    color: #f0957d;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    transition: color 0.25s;
}

.footer-links a:hover { color: #fffaf5; }

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-socials { margin-bottom: 22px; }

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 245, 236, 0.08);
    border: 1px solid rgba(255, 245, 236, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-links a:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    transform: translateY(-4px);
}

.social-icon {
    width: 19px;
    height: 19px;
    fill: #d7c1b4;
    transition: fill 0.25s;
}

.social-links a:hover .social-icon { fill: #ffffff; }

.footer-copyright { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; color: #fce9df; }
.company-details { font-size: 12px; color: #9c7e70; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes driftCloud {
    0% { transform: translateX(0px); }
    100% { transform: translateX(36px); }
}

@keyframes floatPetal {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(18px, -22px) rotate(26deg); }
    100% { transform: translate(-12px, -38px) rotate(-14deg); }
}

@keyframes twinkleSoft {
    0%, 100% { opacity: 0.3; transform: scale(0.75) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(18deg); }
}

@keyframes sunBreathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes blinkSoft {
    0%, 92%, 100% { transform: scaleY(1); }
    96% { transform: scaleY(0.14); }
}

@keyframes gentlePlayerPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(224, 109, 83, 0.18), 0 0 0 0 rgba(224, 109, 83, 0.28); }
    50% { box-shadow: 0 8px 28px rgba(224, 109, 83, 0.3), 0 0 0 10px rgba(224, 109, 83, 0); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.65; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.06); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDownCentered {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ==========================================================================
   CART DRAWER (PRE-LAUNCH EMPTY STATE)
   ========================================================================== */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(56, 37, 28, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 14px;
    right: 14px;
    bottom: 14px;
    width: min(380px, calc(100vw - 28px));
    background: linear-gradient(180deg, #fffefb 0%, #fff4ec 100%);
    border: 2px solid rgba(224, 109, 83, 0.24);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(56, 37, 28, 0.22);
    z-index: 2600;
    display: flex;
    flex-direction: column;
    transform: translateX(calc(100% + 28px));
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 2px dashed rgba(224, 109, 83, 0.2);
}

.cart-drawer-title {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(224, 109, 83, 0.28);
    background: #ffffff;
    color: var(--terracotta);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-close-btn:hover {
    background: var(--terracotta);
    color: #ffffff;
    border-color: var(--terracotta);
    transform: scale(1.06);
}

.cart-drawer-body {
    flex: 1;
    padding: 36px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
}

.cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--terracotta-soft);
    border: 2px dashed rgba(224, 109, 83, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.cart-empty-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--terracotta);
}

.cart-empty-title {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-empty-desc {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.cart-drawer-cta {
    width: 100%;
    max-width: 250px;
}

.cart-shipping-link {
    margin-top: 4px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-shipping-link:hover {
    color: var(--terracotta-hover);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
    nav {
        position: sticky;
        top: 10px;
        transform: none;
        left: auto;
        margin: 12px auto 0;
        border-radius: 24px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 8px;
        row-gap: 10px;
        padding: 0.75rem 1.15rem;
    }

    nav ul {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .nav-left { display: contents; }
    .nav-brand { grid-column: 1; grid-row: 1; justify-self: start; white-space: nowrap; }
    .lang-dropdown { grid-column: 2; grid-row: 1; justify-self: center; }
    .nav-right { grid-column: 3; grid-row: 1; justify-self: end; }
    .dropdown-content { left: 50%; transform: translateX(-50%); }
    .lang-dropdown.open .dropdown-content,
    .lang-dropdown:hover .dropdown-content { animation-name: fadeInDownCentered; }
    .page-main { padding-top: 48px; }
    .creator-hero { padding-top: 64px; }
    #hero, #kw-hero { min-height: 82vh; padding-top: 72px; }
}

@media (max-width: 960px) {
    .craft-ribbon-inner {
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: center;
        gap: 14px 32px;
    }
    .craft-pill {
        justify-content: flex-start;
        text-align: left;
    }
    .characters-grid,
    .plush-drop-grid,
    .steps-grid,
    .benefits-grid,
    .artists-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .bento-grid { grid-template-columns: 1fr; }
    .tile-stories, .tile-art, .tile-music, .tile-map, .tile-community { grid-column: span 1; }
    .tile-community { flex-direction: column; align-items: flex-start; gap: 18px; }
    .community-left { flex-direction: column; align-items: flex-start; gap: 14px; }
    .char-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 36px 24px;
        gap: 26px;
    }
    .char-header-meta { justify-content: center; }
    .detail-meta-grid,
    .editions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    nav { width: calc(100% - 20px); padding: 0.7rem 0.9rem; }
    .nav-brand { font-size: 1.06rem; gap: 6px; padding: 2px 4px 2px 2px; }
    .nav-brand-img { width: 28px; height: 28px; }
    .dropbtn { min-width: 92px; padding: 6px 12px; font-size: 0.86rem; white-space: nowrap; }
    .cart-btn { width: 38px; height: 38px; }
    nav ul a { font-size: 0.94rem; padding: 6px 11px; }
    section { padding: 72px 18px; }
    #hero { min-height: min(560px, 72vh); padding: 48px 18px 56px; }
    .giving-line-container { max-width: 100%; padding: 4px 10px; line-height: 1.4; }
    .giving-line-container::before,
    .giving-line-container::after { display: none; }
    .craft-ribbon { padding: 4px 18px 8px; margin-top: -8px; }
    .craft-ribbon-inner {
        grid-template-columns: minmax(0, max-content);
        justify-content: center;
        gap: 10px;
        padding: 8px 12px;
    }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 260px; }
    .hero-btn { width: 100%; }
    .feature-patch,
    .postcard-box,
    .stay-close-box,
    .storybook-card,
    .lore-card,
    .cta-card,
    .giving-card { padding: 36px 22px; }
    .postcard-stamp { display: none; }
    .newsletter-form { flex-direction: column; }
    .footer-links { flex-direction: column; align-items: center; gap: 1.4rem; }
    #music-player.minimized { width: 48px; height: 48px; bottom: 16px; right: 16px; }
    #music-player.minimized .player-title::before { font-size: 1.3rem; }
    #music-player:not(.minimized) { width: calc(100% - 30px); right: 15px; bottom: 15px; }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in-section { opacity: 1; transform: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
