#notification-container {
    position: fixed;
    top: 10px;  /* 修改顶部距离 */
    left: 10px;  /* 微调左侧距离 */
    z-index: 1000;
    max-width: 90vw;
}

.notification {
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 6px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.notification.active {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 768px) {
    .notification {
        font-size: 16px;
    }
    
    #notification-container {
        left: 10px;  /* 大屏幕左侧距离稍大 */
    }
}

@media (max-width: 480px) {
    #notification-container {
        left: 5px;  /* 移动端左侧距离缩小 */
        top: 50px;   /* 移动端顶部距离减小 */
    }
}
/* 客服按钮样式 */
.floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0b75de 0%, #07427f 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
    z-index: 1000;
    animation: pulse 2s infinite;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.7);
}

.floating-btn span {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

.floating-btn i {
    color: white;
    font-size: 12px;
    margin-bottom: 5px;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* 弹窗样式 */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 15px;
    width: 380px;
    max-width: 90%;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.active .popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.close-btn:hover {
    background: #e74c3c;
    color: white;
}

.popup h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-info i {
    color: #3498db;
    font-size: 1.5rem;
}

.qq-number {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.3rem;
}

.instructions {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}