    /* 新增遮罩层样式 */
    #overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        backdrop-filter: blur(3px);
        transition: opacity 0.3s ease;
    }

    /* 修改弹出框样式 */
    #popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #f9f9f9;
        border-radius: 15px;
        padding: 35px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        max-width: 40%;
        width: 100%;
        text-align: center;
        font-family: 'ALKATIP Basma Tom', Tahoma, Geneva, Verdana, sans-serif;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-sizing: border-box; /* 新增盒子模型设置 */
    }

    #popup img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    #date {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }

    #blessing {
        font-size: 18px;
        color: #666;
        line-height: 1.5;
    }

    #close {
        position: absolute;
        top: 15px;
        right: 20px;
        cursor: pointer;
        font-size: 35px;
        color: #999;
        transition: color 0.2s ease;
    }

    #close:hover {
        color: #333;
    }

    /* 响应式设计 - 移动端适配 */
    @media screen and (max-width: 768px) {
        #popup {
            padding: 25px;
            border-radius: 12px;
            max-width: 85%;
        }

        #date {
            font-size: 16px;
        }

        #blessing {
            font-size: 16px;
            line-height: 1.4;
        }

        #close {
            font-size: 28px;
            right: 15px;
            top: 10px;
        }

        #popup img {
            margin-top: 15px;
            max-width: 95%;
        }
    }

    /* 更小的手机屏幕适配 */
    @media screen and (max-width: 480px) {
        #popup {
            padding: 20px;
            max-width: 90%;
        }

        #date {
            font-size: 15px;
        }

        #blessing {
            font-size: 15px;
            line-height: 1.3;
        }

        #close {
            font-size: 24px;
            right: 12px;
        }

        #popup img {
            margin-top: 12px;
        }
    }

    /* 当弹出框显示时的动画效果 */
    #popup.show {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    #overlay.show {
        opacity: 1;
    }