/* 高档飘窗样式 */
.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    /* transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); */
    padding: 20px;
    box-sizing: border-box;
}

.premium-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.premium-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 580px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    /* transform: scale(0.8) translateY(50px); */
    /* transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); */
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.premium-modal-overlay.active .premium-modal {
    /* transform: scale(1) translateY(0); */
}

/* 关闭按钮 */
.premium-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.premium-modal-close:hover {
    background: #f97316;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.premium-modal-close i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.premium-modal-close:hover i {
    transform: rotate(90deg);
}

/* 头部装饰 */
.premium-modal-header {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 40px 30px 30px;
    position: relative;
    overflow: hidden;
}

.premium-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    /* animation: float 6s ease-in-out infinite; */
}

.premium-modal-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    /* animation: float 4s ease-in-out infinite reverse; */
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.premium-modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    /* animation: pulse 2s infinite; */
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.premium-modal-icon i {
    font-size: 36px;
    color: white;
}

.premium-modal-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

/* 内容区域 */
.premium-modal-content {
    padding: 40px 30px 20px;
    text-align: center;
    position: relative;
    flex: 1;
}

.service-announcement {
    margin-bottom: 30px;
}

.announcement-date {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    color: #92400e;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #fcd34d;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-highlights {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #fed7aa;
    position: relative;
    overflow: hidden;
}

.service-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c, #f97316);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.service-highlights h4 {
    color: #ea580c;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #374151;
    font-weight: 500;
}

.highlight-list li i {
    color: #f97316;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* 按钮区域 */
.premium-modal-actions {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-premium {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-secondary:hover {
    border-color: #f97316;
    color: #f97316;
    background: rgba(249, 115, 22, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .premium-modal {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
    }
    
    .premium-modal-header {
        padding: 30px 20px 25px;
    }
    
    .premium-modal-content {
        padding: 30px 20px 15px;
    }
    
    .premium-modal-actions {
        padding: 15px 20px 25px;
        flex-direction: column;
    }
    
    .premium-modal-title {
        font-size: 22px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .premium-modal-icon {
        width: 70px;
        height: 70px;
    }
    
    .premium-modal-icon i {
        font-size: 32px;
    }
    
    .btn-premium,
    .btn-secondary {
        width: 100%;
        margin: 5px 0;
    }
}

/* 确保按钮在小屏幕上可见 */
@media (max-height: 700px) {
    .premium-modal {
        max-height: 95vh;
    }
    
    .premium-modal-header {
        padding: 25px 30px 20px;
    }
    
    .premium-modal-content {
        padding: 25px 30px 15px;
    }
    
    .premium-modal-actions {
        padding: 15px 30px 20px;
    }
    
    .premium-modal-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .premium-modal-icon i {
        font-size: 28px;
    }
    
    .premium-modal-title {
        font-size: 22px;
    }
    
    .service-title {
        font-size: 18px;
    }
}