/**
 * VIP介绍页面样式
 *
 * @package GoodBase
 * @since 1.0.0
 */

/* ============================================
   VIP介绍页面 - 整体样式
   ============================================ */

.vip-intro-page {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Hero区域 */
.vip-hero-section {
    background: linear-gradient(180deg, #4A90E2 0%, #357ABD 100%);
    padding: 88px 0 268px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
	margin-top: 12px;
}

.vip-hero-content {
    position: relative;
    z-index: 1;
}

/* VIP Logo */
.vip-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.vip-letter {
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
}

.vip-letter-with-crown {
    position: relative;
}

.crown-on-i {
    position: absolute;
    top: 18px;
    left: 42%;
    transform: translateX(-50%);
    z-index: 2;
}

/* 欢迎文字 */
.vip-welcome-text {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 40px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* 特权标签容器 */
.vip-privileges-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    height: 38px;
}

/* 特权标签 */
.privilege-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0 20px;
    height: 38px;
    transition: all 0.3s ease;
    cursor: default;
}

.privilege-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.star-icon {
    font-size: 18px;
    color: #FFD700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tag-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 通用区域标题 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 30px 0 40px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* VIP特权区域 */
.vip-benefits-section {
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .faq-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.benefit-item {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
}

.benefit-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
    line-height: 1.4;
}

.benefit-item p {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* VIP套餐区域 */
.vip-plans-section {
    padding: 1px 0;
    background: #f8f9fa;
    margin-top: -88px;
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 308px);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* 第一行：年卡和永久VIP（居中显示，间距更近） */
.plans-grid .plan-yearly {
    grid-column: 1;
    grid-row: 1;
    transform: translateX(164px); /* 向右移动，让两个卡片间距为20px */
}

.plans-grid .plan-permanent {
    grid-column: 3;
    grid-row: 1;
    transform: translateX(-164px); /* 向左移动，让两个卡片间距为20px */
}

/* 第二行：体验、月卡、季卡（均匀分布） */
.plans-grid .plan-experience {
    grid-column: 1;
    grid-row: 2;
}

.plans-grid .plan-monthly {
    grid-column: 2;
    grid-row: 2;
}

.plans-grid .plan-quarterly {
    grid-column: 3;
    grid-row: 2;
}

.plan-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 308px;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 第一行卡片的hover效果需要保留X轴位移 */
.plans-grid .plan-yearly:hover {
    transform: translateX(164px) translateY(-8px);
}

.plans-grid .plan-permanent:hover {
    transform: translateX(-164px) translateY(-8px);
}

/* 计划头部 - 不同颜色 */
.plan-header {
    padding: 18px 16px;
    text-align: center;
    color: #ffffff;
    margin: 0;
    border-bottom: none;
}

.plan-header-green {
    background: #10b981;
}

.plan-header-orange {
    background: #f97316;
}

.plan-header-purple {
    background: #8b5cf6;
}

.plan-header-blue {
    background: #3b82f6;
}

.plan-header-red {
    background: #ef4444;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #ffffff;
}

.plan-validity {
    font-size: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* 价格区域 */
.plan-price-section {
    padding: 24px 16px 16px;
    text-align: center;
    background: #ffffff;
    position: relative;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.price-currency {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 下载横幅 */
.plan-download-banner {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 12px;
    color: #ea580c;
    font-weight: 500;
    display: inline-block;
    margin: 0 auto;
}

/* 计划标签 */
.plan-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 价格区域内的标签居中显示 */
.plan-price-section .plan-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
    top: auto;
    left: auto;
    min-height: 24px; /* 占位高度 */
}

/* 空标签占位但不显示背景 */
.plan-price-section .plan-badge-empty {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 12px;
    min-height: 24px;
}

.plan-badge-red {
    background: #dc2626;
}

/* 推荐标识 - 三角形设计 */
.plan-badge-recommend {
    position: absolute;
    top: 0;
    left: 0;
    right: auto !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    background: none !important;
    border-style: solid;
    border-width: 70px 70px 0 0;
    border-color: #FF9800 transparent transparent transparent;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgb(255 152 0 / 0%) !important;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    overflow: visible !important;
}

.plan-badge-recommend .recommend-text {
    position: absolute;
    top: -58px;
    left: 3px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
    transform: rotate(-45deg);
    z-index: 11;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-features {
    padding: 0 16px 16px;
    margin-bottom: 0;
    flex: 1;
    text-align: center;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan-features li {
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.5;
    text-align: center;
}

.plan-features li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-action {
    padding: 0 16px 20px;
    text-align: center;
}

.btn-plan-select {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plan-select:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-plan-select:active {
    transform: translateY(0);
}

.btn-green {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-orange {
    background: #f97316;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-orange:hover {
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.btn-purple {
    background: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-purple:hover {
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.btn-blue {
    background: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-blue:hover {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-red {
    background: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-red:hover {
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* 常见问题区域 */
.vip-faq-section {
    padding: 60px 0;
}

.faq-list {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 20px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 0;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    flex: 1;
}

.faq-question i {
    color: #667eea;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .vip-hero-section {
        padding: 40px 0 30px;
    }

    .vip-letter {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .crown-on-i {
        width: 18px;
        height: 18px;
        top: -2px;
    }

    .vip-welcome-text {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .vip-privileges-tags {
        gap: 12px;
        padding: 0 20px;
    }

    .privilege-tag {
        padding: 10px 16px;
        font-size: 14px;
    }

    .star-icon {
        font-size: 16px;
    }

    .tag-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plan-card {
        width: 100%;
        max-width: 308px;
        margin: 0 auto;
    }


    .price-amount {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .vip-letter {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .crown-on-i {
        width: 14px;
        height: 14px;
        top: -2px;
    }

    .vip-welcome-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .vip-privileges-tags {
        flex-direction: column;
        gap: 10px;
    }

    .privilege-tag {
        width: 100%;
        justify-content: center;
    }
}

/* VIP支付弹窗样式 - 全新设计，紧凑布局适应468x520 */
.vip-payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.vip-payment-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.vip-payment-modal {
    background: #ffffff;
    border-radius: 20px;
    width: 468px;
    max-width: 468px;
    max-height: 520px;
    height: auto;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.96) translateY(15px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.vip-payment-overlay.show .vip-payment-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 移除顶部装饰条，因为头部已经有颜色了 */
.vip-payment-modal::before {
    display: none;
}

.vip-payment-modal-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 520px;
}

/* 头部区域 - 更紧凑 */
.vip-payment-modal-header {
    padding: 18px 20px 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-shrink: 0;
}

/* 根据会员类型设置头部颜色 */
.vip-payment-header-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vip-payment-header-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.vip-payment-header-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.vip-payment-header-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.vip-payment-header-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.vip-payment-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.vip-payment-modal-header h3 i.fa-crown {
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    color: #FFD700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.vip-payment-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vip-payment-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* 主体内容 - 优化布局 */
.vip-payment-modal-body {
    padding: 18px 20px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.vip-payment-modal-body::-webkit-scrollbar {
    width: 6px;
}

.vip-payment-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.vip-payment-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.vip-payment-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 订单信息卡片 - 更紧凑的设计 */
.vip-payment-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vip-payment-summary-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.vip-payment-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
}

.vip-payment-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vip-payment-item:nth-child(1),
.vip-payment-item:nth-child(2) {
    grid-column: span 1;
}

.vip-payment-item:nth-child(3),
.vip-payment-item:nth-child(4) {
    grid-column: span 1;
}

.vip-payment-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vip-payment-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.vip-payment-price {
    color: #ef4444;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.vip-payment-balance-ok {
    color: #10b981;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vip-payment-balance-ok::after {
    content: '✓';
    width: 16px;
    height: 16px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.vip-payment-balance-insufficient {
    color: #ef4444;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vip-payment-balance-insufficient::after {
    content: '!';
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 提示信息 - 更紧凑 */
.vip-payment-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 3px solid #f59e0b;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.vip-payment-notice-icon {
    font-size: 14px;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

.vip-payment-notice-content {
    flex: 1;
}

.vip-payment-notice-title {
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vip-payment-notice-text {
    font-size: 11px;
    color: #78350f;
    line-height: 1.4;
}

/* 支付方式 - 简化设计 */
.vip-payment-methods {
    margin-top: 0;
}

.vip-payment-methods-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.vip-payment-method-item {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.vip-payment-method-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.vip-payment-method-item input[type="radio"]:checked {
    accent-color: #3b82f6;
}

.vip-payment-method-item input[type="radio"]:checked ~ label {
    color: #3b82f6;
    font-weight: 600;
}

.vip-payment-method-item input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.vip-payment-method-item label {
    cursor: pointer;
    font-size: 13px;
    color: #1e293b;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-payment-method-item label::before {
    content: '💳';
    font-size: 15px;
}

.vip-payment-method-item input[type="radio"]:disabled + label {
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 底部按钮 - 优化布局 */
.vip-payment-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: #fafbfc;
    flex-shrink: 0;
}

.vip-payment-btn-cancel,
.vip-payment-btn-confirm {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.vip-payment-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.vip-payment-btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.vip-payment-btn-confirm {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.vip-payment-btn-confirm:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

/* 根据会员类型设置确认按钮颜色 */
.vip-payment-btn-year {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4) !important;
}

.vip-payment-btn-year:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5) !important;
}

.vip-payment-btn-lifetime {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4) !important;
}

.vip-payment-btn-lifetime:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5) !important;
}

.vip-payment-btn-trial,
.vip-payment-btn-experience {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

.vip-payment-btn-trial:hover,
.vip-payment-btn-experience:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5) !important;
}

.vip-payment-btn-month {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4) !important;
}

.vip-payment-btn-month:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5) !important;
}

.vip-payment-btn-quarter {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4) !important;
}

.vip-payment-btn-quarter:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5) !important;
}

.vip-payment-btn-confirm:active {
    transform: translateY(0);
}

.vip-payment-btn-confirm:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* VIP登录提示弹窗样式 - 全新设计，紧凑布局适应468x520 */
.vip-login-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.vip-login-prompt-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.vip-login-prompt-modal {
    background: #ffffff;
    border-radius: 20px;
    width: 468px;
    max-width: 468px;
    max-height: 520px;
    height: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.96) translateY(15px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vip-login-prompt-overlay.show .vip-login-prompt-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.vip-login-prompt-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    z-index: 1;
}

.vip-login-prompt-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 520px;
}

/* 头部区域 - 更紧凑 */
.vip-login-prompt-header {
    padding: 20px 20px 16px;
    text-align: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    flex-shrink: 0;
}

.vip-login-prompt-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    }
}

.vip-login-prompt-icon i {
    font-size: 26px;
    color: #fff;
}

.vip-login-prompt-header h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.3px;
}

.vip-login-prompt-header p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* 主体内容 - 优化布局 */
.vip-login-prompt-body {
    padding: 18px 20px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.vip-login-prompt-body::-webkit-scrollbar {
    width: 6px;
}

.vip-login-prompt-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.vip-login-prompt-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.vip-login-prompt-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.vip-login-prompt-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.vip-login-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
    transition: all 0.2s ease;
}

.vip-login-benefit-item:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.vip-login-benefit-item i {
    font-size: 15px;
    color: #10b981;
    flex-shrink: 0;
}

.vip-login-benefit-item span {
    font-size: 12px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
}

/* 底部按钮 - 优化布局 */
.vip-login-prompt-footer {
    padding: 14px 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
    flex-shrink: 0;
}

.vip-login-prompt-btn-cancel,
.vip-login-prompt-btn-login {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    flex: 1;
    max-width: 200px;
    letter-spacing: 0.3px;
}

.vip-login-prompt-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.vip-login-prompt-btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.vip-login-prompt-btn-login {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.vip-login-prompt-btn-login:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

.vip-login-prompt-btn-login:active {
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .vip-payment-modal {
        width: calc(100% - 40px);
        max-width: 468px;
        border-radius: 16px;
        margin: auto;
    }
    
    .vip-payment-modal-header {
        padding: 18px 20px 14px;
    }
    
    .vip-payment-modal-header h3 {
        font-size: 16px;
    }
    
    .vip-payment-modal-body {
        padding: 18px 20px;
    }
    
    .vip-payment-modal-footer {
        padding: 14px 20px;
        flex-direction: column;
    }
    
    .vip-payment-btn-cancel,
    .vip-payment-btn-confirm {
        width: 100%;
    }
    
    .vip-login-prompt-modal {
        width: calc(100% - 40px);
        max-width: 468px;
        border-radius: 16px;
        margin: auto;
    }
    
    .vip-login-prompt-header {
        padding: 20px 20px 16px;
    }
    
    .vip-login-prompt-icon {
        width: 56px;
        height: 56px;
    }
    
    .vip-login-prompt-icon i {
        font-size: 24px;
    }
    
    .vip-login-prompt-header h3 {
        font-size: 18px;
    }
    
    .vip-login-prompt-header p {
        font-size: 12px;
    }
    
    .vip-login-prompt-body {
        padding: 18px 20px;
    }
    
    .vip-login-prompt-footer {
        padding: 14px 20px;
        flex-direction: column;
    }
    
    .vip-login-prompt-btn-cancel,
    .vip-login-prompt-btn-login {
        width: 100%;
        max-width: 100%;
    }
    
    .vip-success-modal {
        width: calc(100% - 40px);
        max-width: 468px;
        border-radius: 16px;
        margin: auto;
    }
    
    .vip-success-modal-header {
        padding: 24px 20px 20px;
    }
    
    .vip-success-icon {
        width: 60px;
        height: 60px;
    }
    
    .vip-success-icon i {
        font-size: 40px;
    }
    
    .vip-success-modal-header h3 {
        font-size: 18px;
    }
    
    .vip-success-modal-body {
        padding: 20px;
    }
    
    .vip-success-modal-footer {
        padding: 16px 20px;
    }
    
    .vip-success-btn-confirm {
        width: 100%;
    }
}

/* VIP开通成功弹窗样式 */
.vip-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.vip-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.vip-success-modal {
    background: #ffffff;
    border-radius: 20px;
    width: 468px;
    max-width: 468px;
    max-height: 520px;
    height: auto;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.96) translateY(15px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.vip-success-overlay.show .vip-success-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.vip-success-modal-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 520px;
}

/* 头部区域 */
.vip-success-modal-header {
    padding: 28px 20px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

/* 根据会员类型设置头部颜色 */
.vip-success-header-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vip-success-header-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.vip-success-header-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.vip-success-header-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.vip-success-header-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.vip-success-icon-wrapper {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.vip-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.vip-success-icon i {
    font-size: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.vip-success-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 主体内容 */
.vip-success-modal-body {
    padding: 24px 20px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.vip-success-modal-body::-webkit-scrollbar {
    width: 6px;
}

.vip-success-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.vip-success-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.vip-success-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.vip-success-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vip-success-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 3px solid #3b82f6;
    transition: all 0.2s ease;
}

.vip-success-item:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vip-success-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vip-success-label i {
    font-size: 14px;
    color: #3b82f6;
}

.vip-success-value {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

/* 底部按钮 */
.vip-success-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    background: #fafbfc;
    flex-shrink: 0;
}

.vip-success-btn-confirm {
    padding: 10px 32px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    letter-spacing: 0.3px;
    min-width: 120px;
}

.vip-success-btn-confirm:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.vip-success-btn-confirm:active {
    transform: translateY(0);
}

/* 根据会员类型设置确认按钮颜色 */
.vip-success-header-blue ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.vip-success-header-blue ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.vip-success-header-red ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.vip-success-header-red ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

.vip-success-header-green ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.vip-success-header-green ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

.vip-success-header-orange ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.vip-success-header-orange ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
}

.vip-success-header-purple ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.vip-success-header-purple ~ .vip-success-modal-content .vip-success-modal-footer .vip-success-btn-confirm:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
}

