/* VIP会员升级页面专用样式 */

:root {
    --vip-primary: #ff9800;
    --vip-secondary: #ff5722;
    --vip-light: #fff8e1;
    --vip-dark: #e65100;
    --vip-gold: #ffc107;
    --vip-text: #333;
    --vip-gray: #757575;
    --vip-border-radius: 8px;
    --vip-transition: all 0.3s ease;
}



/* 面包屑导航 */
.breadcrumb {
    background-color: white;
    padding: 15px 0;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
}

.breadcrumb li {
    font-size: 14px;
    color: #666;
}

.breadcrumb li a {
    color: var(--primary-color);
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 12px;
    color: #999;
}

/* VIP横幅 */
.vip-banner {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.8) 100%), url('../images/vip-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vip-banner:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,152,0,0.1) 0%, rgba(255,87,34,0.1) 100%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.banner-content {
    position: relative;
    z-index: 2;
}

.vip-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.vip-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-join-vip {
    background: linear-gradient(45deg, var(--vip-primary), var(--vip-secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--vip-transition);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-join-vip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.6);
}

.btn-join-vip:active {
    transform: translateY(-1px);
}

/* VIP内容区 */
.vip-content {
    padding: 40px 0;
    background-color: #f9f9f9;
}

/* 登录提示 */
.login-notice {
    background-color: var(--vip-light);
    border-radius: var(--vip-border-radius);
    padding: 15px 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notice-icon {
    font-size: 24px;
    color: var(--vip-primary);
}

.notice-text {
    flex: 1;
}

.notice-text strong {
    font-size: 16px;
    color: var(--vip-text);
    display: block;
    margin-bottom: 5px;
}

.notice-text p {
    font-size: 14px;
    color: var(--vip-gray);
    margin: 0;
}

.btn-login {
    background-color: var(--vip-primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--vip-transition);
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background-color: var(--vip-secondary);
}

/* 通用标题样式 */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--vip-text);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--vip-primary), var(--vip-secondary));
    border-radius: 3px;
}

.section-title i {
    color: var(--vip-primary);
    margin-right: 10px;
}

/* 会员特权 */
.vip-privileges {
    margin-bottom: 60px;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.privilege-item {
    background-color: white;
    border-radius: var(--vip-border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--vip-transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.privilege-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.privilege-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--vip-primary), var(--vip-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.privilege-info h3 {
    font-size: 18px;
    color: var(--vip-text);
    margin-bottom: 8px;
}

.privilege-info p {
    font-size: 14px;
    color: var(--vip-gray);
    margin: 0;
    line-height: 1.5;
}

/* 会员套餐 */
.vip-plans {
    margin-bottom: 60px;
}

.plans-intro {
    text-align: center;
    font-size: 16px;
    color: var(--vip-gray);
    margin-bottom: 30px;
}

.plans-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.plan-card {
    background-color: white;
    border-radius: var(--vip-border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: var(--vip-transition);
    width: 100%;
    max-width: 320px;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.plan-card.recommended {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.2);
    border: 2px solid var(--vip-gold);
}

.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.recommend-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--vip-gold);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    background: linear-gradient(45deg, var(--vip-primary), var(--vip-secondary));
    color: white;
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.plan-header h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 10px;
}

.plan-price .price {
    font-size: 48px;
    font-weight: 700;
}

.plan-price .unit {
    font-size: 16px;
    opacity: 0.8;
}

.plan-tag {
    font-size: 14px;
    opacity: 0.8;
}

.plan-features {
    padding: 25px 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--vip-primary);
    font-size: 16px;
}

.feature-item span {
    font-size: 14px;
    color: var(--vip-text);
}

.btn-subscribe {
    width: 100%;
    background: linear-gradient(45deg, var(--vip-primary), var(--vip-secondary));
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--vip-transition);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-subscribe:hover {
    background: linear-gradient(45deg, var(--vip-secondary), var(--vip-dark));
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.5);
    transform: translateY(-2px);
}

/* 会员对比 */
.vip-comparison {
    margin-bottom: 60px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: var(--vip-border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--vip-primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--vip-text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .fa-check {
    color: #4caf50;
    font-size: 18px;
}

.comparison-table .fa-times {
    color: #f44336;
    font-size: 18px;
}

/* 常见问题 */
.vip-faq {
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--vip-border-radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--vip-transition);
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 16px;
    color: var(--vip-text);
    margin: 0;
}

.faq-question i {
    color: var(--vip-primary);
    transition: var(--vip-transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--vip-transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--vip-gray);
    line-height: 1.6;
    margin: 0;
}

/* 登录弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--vip-primary);
}

.modal h2 {
    font-size: 22px;
    color: var(--vip-text);
    margin-bottom: 15px;
    text-align: center;
}

.modal-desc {
    font-size: 16px;
    color: var(--vip-gray);
    margin-bottom: 20px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.modal-login {
    background-color: var(--vip-primary);
    color: white;
}

.modal-login:hover {
    background-color: var(--vip-secondary);
}

.modal-join {
    background-color: #f1f1f1;
    color: var(--vip-text);
}

.modal-join:hover {
    background-color: #e5e5e5;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .privileges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-container {
        flex-wrap: wrap;
    }
    
    .plan-card {
        max-width: 45%;
    }
    
    .plan-card.recommended {
        transform: scale(1);
    }
    
    .plan-card.recommended:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .vip-banner h1 {
        font-size: 28px;
    }
    
    .vip-banner p {
        font-size: 16px;
    }
    
    .login-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .notice-text {
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .privileges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .vip-banner {
        padding: 40px 0;
    }
    
    .vip-banner h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .privilege-item {
        padding: 15px;
    }
    
    .privilege-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .privilege-info h3 {
        font-size: 16px;
    }
    
    .plan-header {
        padding: 20px 15px;
    }
    
    .plan-price .price {
        font-size: 36px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
    }
} 