/* 弹窗样式 */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-container.active {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 800px;
    max-width: 90%;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-container.active .popup-content {
    transform: scale(1);
}

.popup-header {
    background: #009B4C;
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.popup-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.popup-subtitle {
    font-size: 17px;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-body {
    padding: 40px 50px;
    text-align: center;
}

.notice-container {
    background: #f8fffb;
    border: 1px solid #e0f5e9;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.notice-text {
    font-size: 22px;
    line-height: 1.6;
    color: #222;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.highlight {
    color: #009B4C;
    font-weight: 600;
    background: rgba(0, 155, 76, 0.12);
    padding: 3px 10px;
    border-radius: 6px;
    margin: 0 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(0, 155, 76, 0.2);
    transform: translateY(-2px);
}

.domain-change {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px 0;
    gap: 25px;
}

.domain-box {
    padding: 20px 30px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    min-width: 240px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.old-domain {
    background: linear-gradient(to right, #fff9f0, #fff0e6);
    border: 1px solid #ffe7c6;
    color: #d46b08;
}

.new-domain {
    background: linear-gradient(to right, #f6ffed, #e6fffb);
    border: 1px solid #b7eb8f;
    color: #009B4C;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.new-domain::after {
    content: "NEW";
    position: absolute;
    top: -10px;
    right: -25px;
    background: #ff4d4f;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 20px 25px 5px;
    transform: rotate(45deg);
}

.domain-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 500;
}

.domain-box .domain {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.arrow {
    font-size: 32px;
    color: #009B4C;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.popup-footer {
    display: flex;
    justify-content: center;
    padding: 0 20px 25px;
    gap: 20px;
}

.popup-btn {
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.popup-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.confirm-btn {
    background: #009B4C;
    color: white;
}

.visit-btn {
    background: white;
    color: #009B4C;
    border: 2px solid #009B4C;
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.confirm-btn:hover {
    background: #007c3d;
}

.visit-btn:hover {
    background: #f0fffa;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 155, 76, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 155, 76, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 155, 76, 0); }
}

.brand-logo {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.brand-logo i {
    margin-right: 8px;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 850px) {
    .notice-text {
        font-size: 20px;
    }
    
    .domain-box {
        min-width: 200px;
        padding: 18px 20px;
    }
    
    .domain-box .domain {
        font-size: 20px;
    }
}

@media (max-width: 700px) {
    .popup-body {
        padding: 30px 25px;
    }
    
    .notice-text {
        font-size: 18px;
        flex-direction: column;
    }
    
    .highlight {
        margin: 8px 0;
    }
    
    .domain-change {
        flex-direction: column;
        gap: 15px;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
        animation: bounceVertical 1.5s infinite;
    }
    
    @keyframes bounceVertical {
        0%, 100% { transform: rotate(90deg) translateY(0); }
        50% { transform: rotate(90deg) translateY(10px); }
    }
    
    .popup-footer {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .popup-header {
        padding: 20px 15px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-body {
        padding: 25px 15px;
    }
    
    .notice-container {
        padding: 20px 15px;
    }
    
    .notice-text {
        font-size: 16px;
    }
    
    .domain-box {
        min-width: 180px;
        padding: 15px;
    }
}