
/* 秋季场景样式 */

/* 建筑工人 */
/* .construction-worker {
    position: absolute;
    width: 240px;
    height: 320px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-02/U947P4T47D55838F24534DT20251202134022.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: 32%;
    bottom: 11%;
    z-index: 2;
} */

/* 对话气泡 */
.construction-worker-bubble {
    position: absolute;
    width: 130px;
    height: 70px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F24534DT20251208154921.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    right: 1%;
    bottom: 45%;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.construction-worker-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

/* 饭盒 */
.lunchbox {
    position: absolute;
    width: 95px;
    height: 195px;
    bottom: 8%;
    left: 8%;
    z-index: 8;
    cursor: grab;
    transition: transform 0.3s ease;
}

.lunchbox-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29947DT20251208154921.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.lunchbox.dragging {
    cursor: grabbing;
    transform: scale(1.05);
    z-index: 10;
}

/* 微波炉热区 */
.microwave-zone {
    position: absolute;
    width: 150px;
    height: 120px;
    left: 8%;
    top: 37%;
    z-index: 3;
    border-radius: 10px;
}

.microwave-zone.active {
    border-color: rgba(255, 193, 7, 0.8);
    background-color: rgba(255, 193, 7, 0.1);
    animation: pulse 1s infinite;
}

/* 拖动提示 */
.autumn-hint {
    position: absolute;
    bottom: 11%;
    left: 11%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.autumn-hint.show {
    opacity: 1;
}

.autumn-finger {
    width: 110px;
    height: 210px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-10/U947P4T47D55863F29950DT20251212150924.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: fingerMoveUpDown 2s infinite;
}

.autumn-hint-text {
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29948DT20251208154921.png');
    width: 100px;
    height: 40px;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

/* 加热进度条 */
.heat-progress {
    position: absolute;
    width: 120px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    padding: 10px;
    display: none;
    z-index: 10;
}

.heat-progress.show {
    display: block;
}

.autumn-scene .heating-progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
    position: relative;
}

.autumn-scene .heating-progress-inner {
    position: absolute;
    width: 0%;
    height: 100%;
    background-color: #91ff2f;
    border-radius: 5px;
    top: 0;
    left: 0;
    transition: width 3s linear;
}

.autumn-scene .heating-progress-inner.animating {
    width: 100%;
}

.heat-progress p {
    color: #91ff2f;
    text-align: center;
    font-size: 18px;
    margin: 0;
}

/* 秋季海报 */
.autumn-poster {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F977DT20251208165920.jpg');
    background-size: cover;
    background-position: center;
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.autumn-poster.show {
    display: block;
    opacity: 1;
}

/* 海报元素 */
.autumn-poster .poster-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 534px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F24533DT20251208165920.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 201;
}

.autumn-poster .poster-worker {
    position: absolute;
    top: 56%;
    left: 32%;
    transform: translate(-50%, -50%);
    width: 266px;
    height: 421px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55853F24532DT20251208170307.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 202;
}


.autumn-poster .poster-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 187px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29951DT20251208164526.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 203;
}

.autumn-poster .poster-sticker {
    position: absolute;
    bottom: 15%;
    left: 33%;
    transform: translate(-50%, 0);
    width: 70%;
    height: 111px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29952DT20251208164526.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 204;
}

.autumn-poster .poster-next-hint {
    position: absolute;
    bottom: -1.4%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    height: 333px;
    background-image: url('https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29953DT20251208165141.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 205;
    cursor: pointer;
}

.autumn-poster .poster-next-hint.show {
    opacity: 1;
    /* animation: bounce 2s infinite; */
}

.autumn-poster .click-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: 206;
    cursor: pointer;
}

/* 海报动画 */
/* steamFloat动画已删除 */


/* 微波炉背景变化 */
.autumn-bg.heating {
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
}

.autumn-bg.heated {
    background-color: rgba(255, 197, 7, 0.5);
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
}

/* 手机充电动画 */
.lunchbox.heating .lunchbox-container {
    filter: saturate(0.5);
    animation: shake 0.5s infinite;
    background: url(https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29949DT20251208161846.png)no-repeat center;
    background-size: 100% 100%;
}

.lunchbox.heated .lunchbox-container {
    filter: saturate(1.2);
    animation: glow 1s infinite alternate;
    background: url(https://www.chinanews.com.cn/fileftp/2025/12/2025-12-08/U947P4T47D55852F29950DT20251208161846.png)no-repeat center;
    background-size: 100% 100%;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes glow {
    from { filter: saturate(1.2) brightness(1); }
    to { filter: saturate(1.5) brightness(1.2); }
}

@keyframes fingerMoveUpDown {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(0px) translateY(-15px); }
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 枫叶飘落效果 */
.falling-maple-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.falling-maple-leaf {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg) scale(1.5);
        opacity: 0;
    }
}
