/* koomimi.com - Inflated Pastel Decoration Playground */

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

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.8;
    color: #4A4050;
    background: #FFF0F5;
    overflow-x: hidden;
}

/* Sparkle Particles */
#sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* =============================================
   HERO: Candy Box
   ============================================= */

#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFF0F5;
    position: relative;
    overflow: hidden;
}

.inflated-shape {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.8, 0.64, 1);
}

.inflated-shape.visible {
    transform: scale(1);
}

.shape-1 {
    width: 180px; height: 180px;
    background: radial-gradient(circle at 30% 30%, white 0%, #FFB8D0 60%);
    top: 12%; left: 10%;
}

.shape-2 {
    width: 120px; height: 120px;
    background: radial-gradient(circle at 30% 30%, white 0%, #B8D0FF 60%);
    top: 20%; right: 15%;
}

.shape-3 {
    width: 140px; height: 140px;
    background: radial-gradient(circle at 30% 30%, white 0%, #D0FFB8 60%);
    bottom: 25%; left: 18%;
    border-radius: 40%;
}

.shape-4 {
    width: 100px; height: 100px;
    background: radial-gradient(circle at 30% 30%, white 0%, #FFD0B8 60%);
    bottom: 15%; right: 20%;
}

.shape-5 {
    width: 80px; height: 80px;
    background: radial-gradient(circle at 30% 30%, white 0%, #FFB8D0 60%);
    top: 60%; left: 55%;
    border-radius: 40%;
}

#hero-title {
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #FFB8D0;
    text-shadow:
        1px 1px 0 #F0A0C0,
        2px 2px 0 #E890B0,
        3px 3px 0 #E080A0,
        4px 4px 0 #D87090;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-sub {
    font-weight: 600;
    font-size: 1rem;
    color: #8A80A0;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-sub.visible {
    opacity: 1;
}

/* =============================================
   Sticker Strip
   ============================================= */

.sticker-strip {
    width: 100%;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: rgba(255, 240, 245, 0.8);
}

.sticker-track {
    display: flex;
    gap: 2rem;
    animation: sticker-scroll 25s linear infinite;
}

.sticker {
    flex-shrink: 0;
}

@keyframes sticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   Masonry Grid
   ============================================= */

#masonry-grid {
    column-count: 3;
    column-gap: 20px;
    padding: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.masonry-card {
    break-inside: avoid;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(180, 140, 200, 0.15);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    cursor: pointer;
}

.masonry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
    transition: background 0.25s ease;
}

.masonry-card:hover::before {
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.15), transparent 60%);
}

.masonry-card.loaded {
    opacity: 1;
    transform: scale(1);
}

.masonry-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(180, 140, 200, 0.25);
}

.masonry-card.pink { background: #FFB8D0; }
.masonry-card.blue { background: #B8D0FF; }
.masonry-card.green { background: #D0FFB8; }
.masonry-card.peach { background: #FFD0B8; }

.masonry-card.tall { min-height: 300px; }

.card-label {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(74, 64, 80, 0.5);
    margin-bottom: 0.5rem;
}

.masonry-card h3 {
    font-weight: 700;
    font-size: 1.3rem;
    color: #4A4050;
    margin-bottom: 0.75rem;
}

.masonry-card p {
    color: #4A4050;
}

/* =============================================
   Footer
   ============================================= */

#site-footer {
    padding: 4rem 2rem;
    text-align: center;
    background: #FFF0F5;
}

.footer-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: #FFB8D0;
    text-shadow: 1px 1px 0 #F0A0C0, 2px 2px 0 #E890B0;
    margin-bottom: 0.5rem;
}

.footer-sub {
    font-weight: 400;
    font-size: 0.9rem;
    color: #8A80A0;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 768px) {
    #masonry-grid { column-count: 2; padding: 1.5rem; }
}

@media (max-width: 480px) {
    #masonry-grid { column-count: 1; }
}
