/* === Puffy 泡泡選物：Cloud Carnival Theme === */

:root {
    --momo-pink: #FB7DA0;
    --momo-orange: #FFAD7B;
    --momo-yellow: #FCE38A;
    --momo-blue: #A0E9FF;
    --momo-purple: #E0BBE4;
    --text-brown: #594A42;
    --bg-cream: #FFFEFA;
}

body {
    background-color: var(--bg-cream) !important;
    font-family: 'Zen Maru Gothic', 'Noto Sans TC', sans-serif !important;
    color: var(--text-brown) !important;
    overflow-x: hidden;
    background-image: radial-gradient(#FFF0F5 2px, transparent 2px);
    background-size: 30px 30px;
}

/* === 1. 動態背景泡泡 === */
.blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.blob {
    position: absolute;
    filter: blur(50px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}
.blob-1 { top: -10%; left: -10%; width: 60vw; height: 60vw; background: #FFE0E6; animation-duration: 12s; }
.blob-2 { bottom: 10%; right: -20%; width: 50vw; height: 50vw; background: #FFF9C4; animation-duration: 15s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 30px) scale(1.05); }
}

/* === 2. 有機形狀按鈕 === */
.blob-btn {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.blob-btn:hover {
    border-radius: 50%;
    transform: scale(1.1) rotate(10deg);
}

/* === 3. 商品卡片：拍立得拼貼風 === */
.pin-card {
    background: white;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 2px solid transparent;
    margin-bottom: 16px; /* 瀑布流間距 */
    break-inside: avoid; /* 防止瀑布流切斷卡片 */
}

/* 懸停時的可愛動效 */
.pin-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 12px 25px rgba(251, 125, 160, 0.2);
    z-index: 10;
}

/* 不同顏色的卡片邊框 (透過 nth-child 實現多樣性) */
.pin-card:nth-child(odd):hover { border-color: var(--momo-pink); }
.pin-card:nth-child(even):hover { border-color: var(--momo-blue); }

/* === 4. 跑馬燈特效 === */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 輪播點樣式 */
.swiper-pagination-bullet {
    background: #FFF !important;
    opacity: 0.8 !important;
    width: 8px !important;
    height: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.swiper-pagination-bullet-active {
    background: var(--momo-pink) !important;
    width: 24px !important;
    border-radius: 12px !important;
}
