/* Modal overlay styles */
.blur-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 255, 0.2); /* 蓝色背景 */
    backdrop-filter: blur(15px); /* 增强毛玻璃效果 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal active state */
.blur-background.active {
    visibility: visible;
    opacity: 1;
}

/* Popup window styles */
.popup-window {
    position: relative;
    width: 600px;
    height: auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Menu bar styles */
.popup-window .menu-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.popup-window .menu-bar .clock-wrapper {
    color: #fff;
    font-size: 18px;
}

/* Close button styles */
.popup-window .menu-bar .close-btn {
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
}

/* Popup content styles */
.popup-window .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 60px;
}

/* QR code styles */
.popup-window .content .qr-codes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.popup-window .content .qr-codes .qr-code img {
    max-height: 200px;
    max-width: 200px;
    cursor: pointer;
    transition: transform 0.3s;
}

/* QR code hover effect */
.popup-window .content .qr-codes .qr-code img:hover {
    transform: scale(1.5); /* 放大效果 */
}

/* Image styles */
.popup-window .content .images img {
    max-width: 300px;
    max-height: 150px;
    margin: 10px 0;
}

/* Close modal after countdown */
.clock-wrapper {
    color: red;
    font-weight: bold;
}
