/* VIP功能相关样式 */

/* 免费内容后的"还有更多"提示符 */
.content-more-indicator {
    text-align: center;
    /* padding: 24px 0; */
    color: #2196F3;
    font-size: 52px;
    letter-spacing: 16px;
    user-select: none;
}

.content-more-indicator span {
    display: inline-block;
    animation: pulse-dots 2s ease-in-out infinite;
}

@keyframes pulse-dots {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.vip-content-barrier {
    position: relative;
    margin: 40px 0;
    min-height: 500px;
}

.vip-fade-overlay {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 100%);
    z-index: 1;
}

.vip-promotion-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.vip-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800, #E91E63);
}

.vip-header {
    margin-bottom: 30px;
}

.vip-icon {
    font-size: 48px;
    color: #FF6B35;
    margin-bottom: 16px;
}

.vip-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-subtitle {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.vip-benefits-section {
    margin-bottom: 40px;
}

.benefits-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.vip-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vip-benefits-list li {
    padding: 12px 0;
    font-size: 15px;
    color: #495057;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.vip-benefits-list li::before {
    /* content: ' '; */
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 16px;
}

.action-buttons {
    margin-bottom: 24px;
}

.btn-vip-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    margin: 0 8px 12px 8px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    min-width: 200px;
}

.btn-vip-primary:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-vip-secondary {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    margin: 0 8px 12px 8px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    min-width: 200px;
}

.btn-vip-secondary:hover {
    background: linear-gradient(135deg, #1976D2, #2196F3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    color: white;
}

.vip-contact-section {
    margin-top: 20px;
}

.vip-contact-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.vip-contact-link:hover {
    color: #495057;
    text-decoration: none;
}

.vip-contact-link i {
    margin-right: 6px;
}

.vip-security-notice {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.vip-security-notice small {
    color: #6c757d;
    font-size: 13px;
}

.vip-security-notice i {
    color: #28a745;
    margin-right: 6px;
}

/* ===== VIP隐藏标题样式 ===== */
.vip-hidden-heading {
    /* 完全隐藏但保留在DOM中，以便目录生成器能够识别 */
    display: none !important;
    
    /* 额外的隐藏方式，确保在各种情况下都不显示 */
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* 确保不占用任何空间 */
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    
    /* 注意：aria-hidden 需要在 HTML 中设置，不能在 CSS 中使用 */
    /* 如需隐藏屏幕阅读器，请在 HTML 标签上添加 aria-hidden="true" */
}

/* 为了确保目录生成功能正常，我们可以为VIP用户提供一个可见版本 */
.vip-user .vip-hidden-heading {
    /* VIP用户时，隐藏的标题应该完全不存在 */
    display: none !important;
}

/* VIP区域的特殊处理 */
.vip-content-area .vip-hidden-heading {
    /* 在VIP内容区域中，隐藏标题保持隐藏但可被DOM遍历 */
    display: none !important;
    visibility: hidden !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .vip-card {
        padding: 30px 20px;
    }
    
    .vip-title {
        font-size: 24px;
    }
    
    .btn-vip-primary,
    .btn-vip-secondary {
        display: block;
        width: 100%;
        margin: 0 0 12px 0;
        min-width: auto;
    }
    
    .vip-promotion-section {
        padding: 40px 0;
    }
    
    /* 移动设备上确保隐藏标题不影响布局 */
    .vip-hidden-heading {
        display: none !important;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vip-card {
    animation: fadeInUp 0.6s ease-out;
}

/* VIP状态指示器 */
.vip-status-indicator {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.vip-status-indicator::before {
    content: '👑';
    margin-right: 4px;
}

/* VIP文章保护提示 */
.vip-protected-content {
    position: relative;
}

.vip-protected-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
    pointer-events: none;
}

/* ===== 调试模式（开发时使用） ===== */
.debug-vip .vip-hidden-heading {
    /* 调试模式下显示隐藏的标题，方便开发调试 */
    display: block !important;
    visibility: visible !important;
    opacity: 0.5 !important;
    background: #ffe6e6 !important;
    border: 1px dashed #ff0000 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
}

.debug-vip .vip-hidden-heading::before {
    content: '🔍 [HIDDEN] ';
    color: #ff0000;
    font-weight: bold;
} 

/* VIP页面特定样式 */
.vip-page-container {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vip-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px 0;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.vip-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.vip-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.pricing-card.popular {
    border: 3px solid #28a745;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.price-period {
    color: #6c757d;
    font-size: 1rem;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.2rem;
    margin-right: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feature-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.feature-item.available .feature-icon {
    color: #388E3C; /* 绿色勾号 */
}

.feature-item.unavailable .feature-icon {
    color: #C53030; /* 红色叉号 */
}

.feature-item.unavailable .feature-text {
    color: rgba(0, 0, 0, 0.5); /* 不可用功能文字变淡 */
    text-decoration: line-through; /* 添加删除线 */
}

.feature-text {
    flex: 1;
}

.btn-vip {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-vip-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-vip-primary:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.btn-vip-secondary {
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: white;
}

.btn-vip-secondary:hover {
    background: linear-gradient(135deg, #6610f2, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.login-prompt {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.login-prompt h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.login-prompt p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.trial-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.trial-info h3 {
    margin-bottom: 15px;
}

.security-info {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.vip-status-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.2);
}

.vip-status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .vip-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 15px;
    }
    
    .vip-page-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}