/* 滚动心情模块样式 */
#mood-container {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.mood-title {
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

#mood-flip {
    height: 60px;
    overflow: hidden;
    position: relative;
    margin: 15px 0;
    perspective: 1000px;
    /* 移除左右内边距 */
    margin-left: -15px;
    margin-right: -15px;
}

#mood-flip > div {
    height: 60px;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

#mood-flip > div.active {
    display: flex;
}

.mood-item {
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    border-radius: 0;
    width: 100%;
    text-align: center;
    box-shadow: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 6种渐变色 */
.mood-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mood-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.mood-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.mood-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.mood-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.mood-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}

.mood-footer {
    margin-top: 10px;
    color: #999;
    font-size: 13px;
}

/* 翻页动画 */
@keyframes flip-out {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
}

@keyframes flip-in {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.flip-out {
    animation: flip-out 0.6s ease-in-out;
}

.flip-in {
    animation: flip-in 0.6s ease-in-out;
}
