/* 春节氛围装饰 - 细节点缀 */

/* 飘落的红包/金币动画容器 */
.spring-festival-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 红包飘落元素 */
.red-packet {
    position: absolute;
    font-size: 14px;
    color: rgba(220, 38, 38, 0.6);
    animation: fall linear infinite;
    opacity: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 角落灯笼装饰 */
.lantern-decoration {
    position: fixed;
    width: 40px;
    height: 50px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

.lantern-decoration.left {
    top: 80px;
    left: 20px;
}

.lantern-decoration.right {
    top: 80px;
    right: 20px;
}

.lantern-body {
    width: 24px;
    height: 30px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.4), rgba(185, 28, 28, 0.3));
    border-radius: 50% 50% 45% 45%;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.lantern-top,
.lantern-bottom {
    width: 16px;
    height: 4px;
    background: rgba(180, 83, 9, 0.5);
    margin: 0 auto;
    border-radius: 2px;
}

.lantern-tassel {
    width: 2px;
    height: 12px;
    background: rgba(220, 38, 38, 0.4);
    margin: 0 auto;
    border-radius: 1px;
}

/* 梅花装饰 */
.plum-blossom {
    position: fixed;
    width: 30px;
    height: 30px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.2;
}

.plum-blossom.bottom-left {
    bottom: 100px;
    left: 30px;
}

.plum-blossom.bottom-right {
    bottom: 100px;
    right: 30px;
}

.plum-blossom svg {
    width: 100%;
    height: 100%;
    fill: rgba(220, 38, 38, 0.5);
}

/*  subtle 红色光晕效果 */
.spring-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.spring-glow.top-left {
    top: -50px;
    left: -50px;
}

.spring-glow.top-right {
    top: -50px;
    right: -50px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 悬停时的春节特效 */
.nav-link:hover {
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
    transition: text-shadow 0.3s ease;
}

.btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 20px rgba(220, 38, 38, 0.1);
}

/* 移动端简化 */
@media (max-width: 768px) {
    .lantern-decoration {
        width: 30px;
        height: 38px;
        opacity: 0.2;
    }
    
    .lantern-decoration.left {
        left: 10px;
    }
    
    .lantern-decoration.right {
        right: 10px;
    }
    
    .lantern-body {
        width: 18px;
        height: 22px;
    }
    
    .plum-blossom {
        width: 20px;
        height: 20px;
        opacity: 0.15;
    }
    
    .spring-glow {
        width: 120px;
        height: 120px;
    }
}
