/**
 * 逆流子主题 - VIP 会员页面样式
 *
 * 设计风格：Gilded Prestige (Art Deco + Modern Luxury)
 * 支持深色/浅色双模式
 *
 * @package    逆流子主题
 * @version    2.0.0
 */

/* ============================================================================
   Google Fonts Import
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

/* ============================================================================
   CSS Variables - Light Mode (Default)
   ============================================================================ */
:root {
    /* Background Colors - Warm Ivory */
    --vip-bg-primary: #faf8f5;
    --vip-bg-secondary: #f3efe8;
    --vip-bg-tertiary: #ebe5db;
    --vip-bg-card: #ffffff;
    --vip-bg-card-hover: #fffefb;

    /* Text Colors */
    --vip-text-primary: #2c2418;
    --vip-text-secondary: #5c5142;
    --vip-text-muted: #8a8175;
    --vip-text-inverse: #ffffff;

    /* Gold Palette - Champagne */
    --vip-gold-primary: #b8986a;
    --vip-gold-secondary: #d4b978;
    --vip-gold-dark: #8b7355;
    --vip-gold-light: #e8d5a3;
    --vip-gold-gradient: linear-gradient(135deg, #e8d5a3 0%, #d4b978 25%, #b8986a 50%, #8b7355 75%, #b8986a 100%);

    /* Level Colors */
    --vip-level1-primary: #6b7280;
    --vip-level1-secondary: #9ca3af;
    --vip-level1-gradient: linear-gradient(135deg, #b8c0cc 0%, #9ca3af 40%, #6b7280 100%);
    --vip-level1-glow: rgba(107, 114, 128, 0.25);

    --vip-level2-primary: #b8986a;
    --vip-level2-secondary: #d4b978;
    --vip-level2-gradient: linear-gradient(135deg, #e8d5a3 0%, #d4b978 30%, #b8986a 70%, #8b7355 100%);
    --vip-level2-glow: rgba(184, 152, 106, 0.3);

    /* Borders & Shadows */
    --vip-border-light: rgba(139, 115, 85, 0.12);
    --vip-border-medium: rgba(139, 115, 85, 0.25);
    --vip-border-strong: rgba(139, 115, 85, 0.4);

    --vip-shadow-soft: 0 4px 20px rgba(44, 36, 24, 0.06);
    --vip-shadow-medium: 0 8px 32px rgba(44, 36, 24, 0.1);
    --vip-shadow-strong: 0 16px 48px rgba(44, 36, 24, 0.14);
    --vip-shadow-glow: 0 0 40px rgba(184, 152, 106, 0.2);

    /* Glass Effect */
    --vip-glass-bg: rgba(255, 255, 255, 0.75);
    --vip-glass-border: rgba(255, 255, 255, 0.6);

    /* Transitions */
    --vip-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --vip-transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --vip-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --vip-section-padding: 100px;
    --vip-container-width: 1200px;
}

/* ============================================================================
   CSS Variables - Dark Mode (Compatible with Zibll theme)
   Supports: body.dark-theme, .dark-theme, and prefers-color-scheme: dark
   ============================================================================ */
.dark-theme,
body.dark-theme {
    --vip-bg-primary: #0c0b09;
    --vip-bg-secondary: #151411;
    --vip-bg-tertiary: #1e1c18;
    --vip-bg-card: #1a1815;
    --vip-bg-card-hover: #252219;

    --vip-text-primary: #f5f1eb;
    --vip-text-secondary: #c9c4ba;
    --vip-text-muted: #7a756b;
    --vip-text-inverse: #0c0b09;

    --vip-gold-primary: #d4b978;
    --vip-gold-secondary: #e8d5a3;
    --vip-gold-dark: #a08550;
    --vip-gold-light: #f0e4c4;
    --vip-gold-gradient: linear-gradient(135deg, #f0e4c4 0%, #e8d5a3 25%, #d4b978 50%, #a08550 75%, #d4b978 100%);

    --vip-level1-primary: #a8adb8;
    --vip-level1-secondary: #c8cdd5;
    --vip-level1-gradient: linear-gradient(135deg, #d8dce5 0%, #c8cdd5 40%, #a8adb8 100%);
    --vip-level1-glow: rgba(168, 173, 184, 0.2);

    --vip-level2-primary: #d4b978;
    --vip-level2-secondary: #e8d5a3;
    --vip-level2-gradient: linear-gradient(135deg, #f0e4c4 0%, #e8d5a3 30%, #d4b978 70%, #a08550 100%);
    --vip-level2-glow: rgba(212, 185, 120, 0.25);

    --vip-border-light: rgba(212, 185, 120, 0.1);
    --vip-border-medium: rgba(212, 185, 120, 0.2);
    --vip-border-strong: rgba(212, 185, 120, 0.35);

    --vip-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
    --vip-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.35);
    --vip-shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.45);
    --vip-shadow-glow: 0 0 50px rgba(212, 185, 120, 0.15);

    --vip-glass-bg: rgba(26, 24, 21, 0.85);
    --vip-glass-border: rgba(212, 185, 120, 0.15);
}

/* 系统深色模式偏好（作为备用） */
@media (prefers-color-scheme: dark) {
    :root:not(.light-theme) {
        --vip-bg-primary: #0c0b09;
        --vip-bg-secondary: #151411;
        --vip-bg-tertiary: #1e1c18;
        --vip-bg-card: #1a1815;
        --vip-bg-card-hover: #252219;
        --vip-text-primary: #f5f1eb;
        --vip-text-secondary: #c9c4ba;
        --vip-text-muted: #7a756b;
        --vip-text-inverse: #0c0b09;
        --vip-gold-primary: #d4b978;
        --vip-gold-secondary: #e8d5a3;
        --vip-gold-dark: #a08550;
        --vip-gold-light: #f0e4c4;
        --vip-gold-gradient: linear-gradient(135deg, #f0e4c4 0%, #e8d5a3 25%, #d4b978 50%, #a08550 75%, #d4b978 100%);
        --vip-level1-primary: #a8adb8;
        --vip-level1-secondary: #c8cdd5;
        --vip-level1-gradient: linear-gradient(135deg, #d8dce5 0%, #c8cdd5 40%, #a8adb8 100%);
        --vip-level1-glow: rgba(168, 173, 184, 0.2);
        --vip-level2-primary: #d4b978;
        --vip-level2-secondary: #e8d5a3;
        --vip-level2-gradient: linear-gradient(135deg, #f0e4c4 0%, #e8d5a3 30%, #d4b978 70%, #a08550 100%);
        --vip-level2-glow: rgba(212, 185, 120, 0.25);
        --vip-border-light: rgba(212, 185, 120, 0.1);
        --vip-border-medium: rgba(212, 185, 120, 0.2);
        --vip-border-strong: rgba(212, 185, 120, 0.35);
        --vip-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
        --vip-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.35);
        --vip-shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.45);
        --vip-shadow-glow: 0 0 50px rgba(212, 185, 120, 0.15);
        --vip-glass-bg: rgba(26, 24, 21, 0.85);
        --vip-glass-border: rgba(212, 185, 120, 0.15);
    }
}

/* ============================================================================
   Base Styles
   ============================================================================ */

/* 确保深色模式下也应用变量（高优先级） */
body.dark-theme .niliu-vip-page,
.dark-theme .niliu-vip-page {
    --vip-bg-primary: #0c0b09;
    --vip-bg-secondary: #151411;
    --vip-bg-tertiary: #1e1c18;
    --vip-bg-card: #1a1815;
    --vip-bg-card-hover: #252219;
    --vip-text-primary: #f5f1eb;
    --vip-text-secondary: #c9c4ba;
    --vip-text-muted: #7a756b;
    --vip-text-inverse: #0c0b09;
    --vip-gold-primary: #d4b978;
    --vip-gold-secondary: #e8d5a3;
    --vip-gold-dark: #a08550;
    --vip-gold-light: #f0e4c4;
    --vip-gold-gradient: linear-gradient(135deg, #f0e4c4 0%, #e8d5a3 25%, #d4b978 50%, #a08550 75%, #d4b978 100%);
    --vip-level1-primary: #a8adb8;
    --vip-level1-secondary: #c8cdd5;
    --vip-level1-gradient: linear-gradient(135deg, #d8dce5 0%, #c8cdd5 40%, #a8adb8 100%);
    --vip-level1-glow: rgba(168, 173, 184, 0.2);
    --vip-level2-primary: #d4b978;
    --vip-level2-secondary: #e8d5a3;
    --vip-level2-gradient: linear-gradient(135deg, #f0e4c4 0%, #e8d5a3 30%, #d4b978 70%, #a08550 100%);
    --vip-level2-glow: rgba(212, 185, 120, 0.25);
    --vip-border-light: rgba(212, 185, 120, 0.1);
    --vip-border-medium: rgba(212, 185, 120, 0.2);
    --vip-border-strong: rgba(212, 185, 120, 0.35);
    --vip-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
    --vip-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.35);
    --vip-shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.45);
    --vip-shadow-glow: 0 0 50px rgba(212, 185, 120, 0.15);
    --vip-glass-bg: rgba(26, 24, 21, 0.85);
    --vip-glass-border: rgba(212, 185, 120, 0.15);
}

.niliu-vip-page {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    background: var(--vip-bg-primary);
    color: var(--vip-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 所有元素基础样式及过渡效果 */
.niliu-vip-page *,
.niliu-vip-page *::before,
.niliu-vip-page *::after {
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Background Pattern */
.niliu-vip-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--vip-border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--vip-border-light) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Typography */
.vip-heading-display {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Container */
.vip-container {
    width: 100%;
    max-width: var(--vip-container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.niliu-vip-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

/* Hero Background Glow */
.niliu-vip-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140%;
    background:
        radial-gradient(ellipse 60% 40% at 50% 20%, var(--vip-gold-primary) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 30% 30%, var(--vip-gold-secondary) 0%, transparent 40%),
        radial-gradient(ellipse 35% 25% at 70% 25%, var(--vip-gold-dark) 0%, transparent 35%);
    opacity: 0.08;
    animation: heroGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 0.06; transform: translateX(-50%) scale(1); }
    100% { opacity: 0.12; transform: translateX(-50%) scale(1.05); }
}

/* Decorative Lines */
.niliu-vip-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vip-border-medium), transparent);
}

/* Hero Content */
.niliu-vip-hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

/* Badge */
.niliu-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: var(--vip-glass-bg);
    border: 1px solid var(--vip-border-light);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vip-gold-primary);
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
    animation: fadeInDown 0.8s ease-out;
}

.niliu-vip-badge i {
    font-size: 14px;
}

/* Hero Title */
.niliu-vip-hero-title {
    font-size: clamp(40px, 7vw, 68px);
    margin: 0 0 24px;
    background: var(--vip-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 5s ease-in-out infinite, fadeInUp 1s ease-out 0.2s both;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Subtitle */
.niliu-vip-hero-subtitle {
    font-size: clamp(17px, 2.5vw, 22px);
    color: var(--vip-text-secondary);
    margin: 0 0 48px;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ============================================================================
   Level Tabs
   ============================================================================ */
.vip-level-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    background: var(--vip-glass-bg);
    border: 1px solid var(--vip-border-light);
    border-radius: 60px;
    backdrop-filter: blur(16px);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.vip-level-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--vip-text-muted);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--vip-transition-medium);
    overflow: hidden;
}

.vip-level-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity var(--vip-transition-medium);
}

.vip-level-tab[data-level="1"]::before {
    background: var(--vip-level1-gradient);
}

.vip-level-tab[data-level="2"]::before {
    background: var(--vip-level2-gradient);
}

.vip-level-tab:hover {
    color: var(--vip-text-primary);
}

.vip-level-tab.active {
    color: var(--vip-text-inverse);
}

.vip-level-tab.active::before {
    opacity: 1;
}

.vip-level-tab .tab-icon,
.vip-level-tab .tab-text {
    position: relative;
    z-index: 1;
}

.vip-level-tab .tab-icon {
    font-size: 18px;
}

/* ============================================================================
   Section Common
   ============================================================================ */
.vip-section {
    padding: var(--vip-section-padding) 0;
    position: relative;
}

.vip-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.vip-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vip-gold-primary);
    margin-bottom: 14px;
}

.vip-section-title {
    font-size: clamp(30px, 4.5vw, 44px);
    margin: 0;
    color: var(--vip-text-primary);
}

/* ============================================================================
   Member Cards Section
   ============================================================================ */
.vip-cards-section {
    padding: 80px 0;
    background: var(--vip-bg-secondary);
}

.vip-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vip-border-medium), transparent);
}

.vip-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 850px;
    margin: 0 auto;
}

.vip-member-card {
    position: relative;
    padding: 36px;
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--vip-transition-medium);
    overflow: hidden;
}

.vip-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.vip-member-card[data-level="1"]::before {
    background: var(--vip-level1-gradient);
}

.vip-member-card[data-level="2"]::before {
    background: var(--vip-level2-gradient);
}

.vip-member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vip-shadow-strong);
    border-color: var(--vip-border-medium);
}

.vip-member-card.active {
    border-color: var(--vip-gold-primary);
}

.vip-member-card.active[data-level="1"] {
    box-shadow: 0 0 36px var(--vip-level1-glow);
}

.vip-member-card.active[data-level="2"] {
    box-shadow: 0 0 36px var(--vip-level2-glow);
}

.vip-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 20px;
}

.vip-member-card[data-level="1"] .vip-card-icon {
    color: var(--vip-level1-primary);
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.08), rgba(156, 163, 175, 0.15));
}

.vip-member-card[data-level="2"] .vip-card-icon {
    color: var(--vip-level2-primary);
    background: linear-gradient(135deg, rgba(184, 152, 106, 0.08), rgba(212, 185, 120, 0.15));
}

.vip-card-name {
    font-size: 22px;
    margin: 0 0 6px;
}

.vip-member-card[data-level="1"] .vip-card-name {
    color: var(--vip-level1-primary);
}

.vip-member-card[data-level="2"] .vip-card-name {
    background: var(--vip-level2-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-card-desc {
    font-size: 14px;
    color: var(--vip-text-muted);
    margin: 0;
}

.vip-card-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--vip-transition-medium);
}

.vip-member-card[data-level="1"] .vip-card-check {
    background: var(--vip-level1-gradient);
    color: white;
}

.vip-member-card[data-level="2"] .vip-card-check {
    background: var(--vip-level2-gradient);
    color: var(--vip-text-inverse);
}

.vip-member-card.active .vip-card-check {
    opacity: 1;
    transform: scale(1);
}

/* ============================================================================
   Benefits Section
   ============================================================================ */
.vip-benefits-section {
    background: var(--vip-bg-primary);
}

.vip-benefits-panel {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.vip-benefits-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.vip-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vip-benefit-card {
    padding: 28px;
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 16px;
    text-align: center;
    transition: all var(--vip-transition-medium);
}

.vip-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vip-shadow-medium);
    border-color: var(--vip-border-medium);
}

.vip-benefit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 22px;
}

.vip-benefits-panel[data-level="1"] .vip-benefit-icon {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.08), rgba(156, 163, 175, 0.12));
    color: var(--vip-level1-primary);
}

.vip-benefits-panel[data-level="2"] .vip-benefit-icon {
    background: linear-gradient(135deg, rgba(184, 152, 106, 0.08), rgba(212, 185, 120, 0.12));
    color: var(--vip-level2-primary);
}

.vip-benefit-title {
    font-size: 17px;
    margin: 0 0 6px;
    color: var(--vip-text-primary);
    font-weight: 600;
}

.vip-benefit-desc {
    font-size: 14px;
    color: var(--vip-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============================================================================
   Pricing Section
   ============================================================================ */
.vip-pricing-section {
    background: var(--vip-bg-secondary);
}

.vip-pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vip-border-medium), transparent);
}

.vip-pricing-panel {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.vip-pricing-panel.active {
    display: block;
}

.vip-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.vip-pricing-card {
    position: relative;
    padding: 36px 28px;
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 20px;
    text-align: center;
    transition: all var(--vip-transition-medium);
}

.vip-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vip-shadow-strong);
}

.vip-pricing-card.featured {
    border-color: var(--vip-gold-primary);
    transform: scale(1.04);
    z-index: 1;
}

.vip-pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.vip-pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: var(--vip-gold-gradient);
    color: var(--vip-text-inverse);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 0 0 10px 10px;
}

.vip-pricing-name {
    font-size: 18px;
    margin: 16px 0 6px;
    color: var(--vip-text-primary);
    font-weight: 600;
}

.vip-pricing-duration {
    font-size: 13px;
    color: var(--vip-text-muted);
    margin: 0 0 20px;
}

.vip-pricing-price {
    margin-bottom: 6px;
}

.vip-pricing-currency {
    font-size: 18px;
    color: var(--vip-gold-primary);
    vertical-align: top;
}

.vip-pricing-amount {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.vip-pricing-panel[data-level="1"] .vip-pricing-amount {
    color: var(--vip-level1-primary);
}

.vip-pricing-panel[data-level="2"] .vip-pricing-amount {
    background: var(--vip-level2-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-pricing-original {
    font-size: 14px;
    color: var(--vip-text-muted);
    text-decoration: line-through;
    margin-bottom: 20px;
    min-height: 20px;
}

.vip-pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 28px;
    border: 2px solid var(--vip-border-medium);
    border-radius: 10px;
    background: transparent;
    color: var(--vip-text-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--vip-transition-medium);
}

.vip-pricing-btn:hover {
    border-color: var(--vip-gold-primary);
    background: var(--vip-gold-gradient);
    color: var(--vip-text-inverse);
}

.vip-pricing-card.featured .vip-pricing-btn {
    background: var(--vip-gold-gradient);
    border-color: transparent;
    color: var(--vip-text-inverse);
}

.vip-pricing-card.featured .vip-pricing-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--vip-shadow-glow);
}

/* ============================================================================
   FAQ Section
   ============================================================================ */
.vip-faq-section {
    background: var(--vip-bg-primary);
}

.vip-faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.vip-faq-item {
    margin-bottom: 14px;
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 14px;
    overflow: hidden;
    transition: all var(--vip-transition-medium);
}

.vip-faq-item:hover {
    border-color: var(--vip-border-medium);
}

.vip-faq-item.active {
    box-shadow: var(--vip-shadow-soft);
}

.vip-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 24px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--vip-text-primary);
    cursor: pointer;
    transition: color var(--vip-transition-fast);
}

.vip-faq-question:hover {
    color: var(--vip-gold-primary);
}

.vip-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vip-bg-secondary);
    color: var(--vip-gold-primary);
    font-size: 11px;
    transition: all var(--vip-transition-medium);
}

.vip-faq-item.active .vip-faq-icon {
    background: var(--vip-gold-gradient);
    color: var(--vip-text-inverse);
    transform: rotate(180deg);
}

.vip-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--vip-transition-medium);
}

.vip-faq-item.active .vip-faq-answer {
    max-height: 400px;
}

.vip-faq-answer-inner {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--vip-text-secondary);
    line-height: 1.75;
}

/* ============================================================================
   CTA Section
   ============================================================================ */
.vip-cta-section {
    padding: 80px 0;
    background: var(--vip-bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vip-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, var(--vip-gold-primary) 0%, transparent 55%);
    opacity: 0.04;
}

.vip-cta-content {
    position: relative;
    z-index: 1;
}

.vip-cta-title {
    font-size: clamp(26px, 4vw, 38px);
    margin: 0 0 14px;
}

.vip-cta-subtitle {
    font-size: 17px;
    color: var(--vip-text-muted);
    margin: 0 0 36px;
}

.vip-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: var(--vip-gold-gradient);
    border: none;
    border-radius: 50px;
    color: var(--vip-text-inverse);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--vip-transition-medium);
    box-shadow: var(--vip-shadow-medium);
}

.vip-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--vip-shadow-glow);
}

.vip-cta-btn i {
    font-size: 14px;
}

/* ============================================================================
   Animations
   ============================================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   Responsive Design
   ============================================================================ */
@media (max-width: 1024px) {
    :root { --vip-section-padding: 80px; }
    .vip-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .vip-pricing-card.featured { transform: scale(1.02); }
    .vip-pricing-card.featured:hover { transform: scale(1.02) translateY(-6px); }
}

@media (max-width: 768px) {
    :root { --vip-section-padding: 60px; }

    .niliu-vip-hero {
        min-height: 60vh;
        padding: 100px 20px 60px;
    }

    .vip-level-tabs {
        flex-direction: column;
        border-radius: 18px;
        width: 100%;
        max-width: 280px;
    }

    .vip-level-tab {
        justify-content: center;
    }

    .vip-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vip-benefits-grid {
        grid-template-columns: 1fr;
    }

    .vip-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .vip-pricing-card.featured {
        transform: none;
        order: -1;
    }

    .vip-pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .vip-faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .vip-container { padding: 0 16px; }
    .niliu-vip-badge { padding: 10px 20px; font-size: 10px; }
    .vip-member-card { padding: 28px; }
    .vip-pricing-card { padding: 28px 22px; }
    .vip-pricing-amount { font-size: 42px; }
    .vip-cta-btn { padding: 14px 32px; font-size: 15px; }
}

/* ============================================================================
   Additional Styles for PHP Template (niliu-vip-* prefix)
   ============================================================================ */

/* Content Container */
.niliu-vip-content {
    position: relative;
    z-index: 1;
    max-width: var(--vip-container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Decoration */
.niliu-vip-hero-decoration {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--vip-gold-primary), transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

/* Hero Line */
.niliu-vip-hero-line {
    width: 120px;
    height: 2px;
    background: var(--vip-gold-gradient);
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Level Tabs Container */
.niliu-vip-level-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    background: var(--vip-glass-bg);
    border: 1px solid var(--vip-border-light);
    border-radius: 60px;
    backdrop-filter: blur(16px);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Level Tab Button */
.niliu-vip-level-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--vip-text-secondary);
    cursor: pointer;
    transition: all var(--vip-transition-fast);
}

.niliu-vip-level-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity var(--vip-transition-fast);
}

.niliu-vip-level-tab[data-level="1"]::before {
    background: var(--vip-level1-gradient);
}

.niliu-vip-level-tab[data-level="2"]::before {
    background: var(--vip-level2-gradient);
}

.niliu-vip-level-tab:hover {
    color: var(--vip-text-primary);
}

.niliu-vip-level-tab.active {
    color: var(--vip-text-inverse);
}

.niliu-vip-level-tab.active::before {
    opacity: 1;
}

.niliu-vip-level-tab-icon,
.niliu-vip-level-tab-name {
    position: relative;
    z-index: 1;
}

.niliu-vip-level-tab-icon {
    font-size: 18px;
}

/* Section Header */
.niliu-vip-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.niliu-vip-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vip-gold-primary);
    margin-bottom: 12px;
}

.niliu-vip-section-title {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 600;
    color: var(--vip-text-primary);
    margin: 0;
}

/* Cards Section */
.niliu-vip-cards {
    padding: var(--vip-section-padding) 0;
    position: relative;
}

.niliu-vip-cards::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, var(--vip-gold-primary), transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.niliu-vip-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Member Card */
.niliu-vip-member-card {
    position: relative;
    padding: 36px 32px;
    background: var(--vip-bg-card);
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--vip-transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.niliu-vip-member-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.niliu-vip-member-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    transition: opacity var(--vip-transition-medium);
    pointer-events: none;
}

.niliu-vip-member-card.level-1 .niliu-vip-member-card-glow {
    background: radial-gradient(ellipse at top, var(--vip-level1-glow), transparent 70%);
}

.niliu-vip-member-card.level-2 .niliu-vip-member-card-glow {
    background: radial-gradient(ellipse at top, var(--vip-level2-glow), transparent 70%);
}

.niliu-vip-member-card-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid var(--vip-border-light);
    transition: border-color var(--vip-transition-fast);
    pointer-events: none;
}

.niliu-vip-member-card:hover .niliu-vip-member-card-glow {
    opacity: 0.5;
}

.niliu-vip-member-card:hover .niliu-vip-member-card-border {
    border-color: var(--vip-border-medium);
}

.niliu-vip-member-card.active .niliu-vip-member-card-glow {
    opacity: 1;
}

.niliu-vip-member-card.active.level-1 .niliu-vip-member-card-border {
    border-color: var(--vip-level1-primary);
}

.niliu-vip-member-card.active.level-2 .niliu-vip-member-card-border {
    border-color: var(--vip-level2-primary);
}

.niliu-vip-member-card-content {
    position: relative;
    z-index: 1;
}

.niliu-vip-member-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.niliu-vip-member-card.level-1 .niliu-vip-member-card-icon {
    color: var(--vip-level1-primary);
}

.niliu-vip-member-card.level-2 .niliu-vip-member-card-icon {
    color: var(--vip-level2-primary);
}

.niliu-vip-member-card-name {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
}

.niliu-vip-member-card.level-1 .niliu-vip-member-card-name {
    background: var(--vip-level1-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.niliu-vip-member-card.level-2 .niliu-vip-member-card-name {
    background: var(--vip-level2-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.niliu-vip-member-card-desc {
    font-size: 14px;
    color: var(--vip-text-muted);
    margin: 0 0 16px;
}

/* 折扣徽章 */
.niliu-vip-discount-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-left: 6px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    vertical-align: middle;
}

.niliu-vip-member-card.level-1 .niliu-vip-discount-badge {
    background: var(--vip-level1-gradient);
}

.niliu-vip-member-card.level-2 .niliu-vip-discount-badge {
    background: var(--vip-level2-gradient);
}

.niliu-vip-member-card-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 20px;
    text-transform: uppercase;
}

.niliu-vip-member-card.level-1 .niliu-vip-member-card-badge {
    background: var(--vip-level1-gradient);
    color: var(--vip-text-inverse);
}

.niliu-vip-member-card.level-2 .niliu-vip-member-card-badge {
    background: var(--vip-level2-gradient);
    color: var(--vip-text-inverse);
}

/* Benefits Section */
.niliu-vip-benefits {
    padding: var(--vip-section-padding) 0;
    position: relative;
}

.niliu-vip-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.niliu-vip-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 16px;
    transition: all var(--vip-transition-fast);
    opacity: 0;
    transform: translateY(20px);
}

.niliu-vip-benefit-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.niliu-vip-benefit-item:hover {
    border-color: var(--vip-border-medium);
    box-shadow: var(--vip-shadow-soft);
}

.niliu-vip-benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vip-gold-gradient);
    border-radius: 14px;
    font-size: 22px;
    color: var(--vip-text-inverse);
}

.niliu-vip-benefit-content h4 {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--vip-text-primary);
    margin: 0 0 6px;
}

.niliu-vip-benefit-content p {
    font-size: 14px;
    color: var(--vip-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Pricing Section */
.niliu-vip-pricing {
    padding: var(--vip-section-padding) 0;
    position: relative;
}

.niliu-vip-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.niliu-vip-pricing-card {
    position: relative;
    padding: 36px 28px;
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 20px;
    text-align: center;
    transition: all var(--vip-transition-fast);
    opacity: 0;
    transform: translateY(20px);
}

.niliu-vip-pricing-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.niliu-vip-pricing-card:hover {
    border-color: var(--vip-border-medium);
    box-shadow: var(--vip-shadow-medium);
    transform: translateY(-8px);
}

.niliu-vip-pricing-card.featured {
    border-color: var(--vip-gold-primary);
    box-shadow: var(--vip-shadow-glow);
    transform: scale(1.05);
}

.niliu-vip-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.niliu-vip-pricing-popular,
.niliu-vip-pricing-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    border-radius: 20px;
    white-space: nowrap;
}

.niliu-vip-pricing-popular {
    background: var(--vip-gold-gradient);
    color: var(--vip-text-inverse);
}

.niliu-vip-pricing-tag {
    color: var(--vip-text-inverse);
}

/* 子比标签样式类 - 与子比主题保持一致 */
.niliu-vip-pricing-tag.jb-red {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.niliu-vip-pricing-tag.jb-blue {
    background: linear-gradient(135deg, #4dabf7, #339af0);
}

.niliu-vip-pricing-tag.jb-green {
    background: linear-gradient(135deg, #51cf66, #40c057);
}

.niliu-vip-pricing-tag.jb-yellow {
    background: linear-gradient(135deg, #ffd43b, #fab005);
}

.niliu-vip-pricing-tag.jb-orange {
    background: linear-gradient(135deg, #ff922b, #fd7e14);
}

.niliu-vip-pricing-tag.jb-cyan {
    background: linear-gradient(135deg, #22b8cf, #15aabf);
}

.niliu-vip-pricing-tag.jb-purple {
    background: linear-gradient(135deg, #845ef7, #7950f2);
}

.niliu-vip-pricing-tag.jb-pink {
    background: linear-gradient(135deg, #f783ac, #e64980);
}

.niliu-vip-pricing-tag.jb-vip {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

/* 默认样式 - 如果没有指定 jb-* 类 */
.niliu-vip-pricing-tag:not([class*="jb-"]) {
    background: var(--vip-gold-gradient);
}

.niliu-vip-pricing-duration {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--vip-text-primary);
    margin-bottom: 8px;
}

.niliu-vip-pricing-duration small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--vip-text-muted);
    margin-top: 4px;
}

.niliu-vip-pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 16px 0 8px;
}

.niliu-vip-pricing-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--vip-gold-primary);
}

.niliu-vip-pricing-price .amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--vip-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.niliu-vip-pricing-original {
    font-size: 14px;
    color: var(--vip-text-muted);
    text-decoration: line-through;
    margin-bottom: 24px;
    min-height: 20px;
}

/* FAQ Section */
.niliu-vip-faq {
    padding: var(--vip-section-padding) 0;
    max-width: 800px;
    margin: 0 auto;
}

.niliu-vip-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.niliu-vip-faq-item {
    background: var(--vip-bg-card);
    border: 1px solid var(--vip-border-light);
    border-radius: 14px;
    overflow: hidden;
    transition: all var(--vip-transition-fast);
    opacity: 0;
    transform: translateY(20px);
}

.niliu-vip-faq-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.niliu-vip-faq-item:hover {
    border-color: var(--vip-border-medium);
}

.niliu-vip-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background var(--vip-transition-fast);
}

.niliu-vip-faq-question:hover {
    background: var(--vip-bg-secondary);
}

.niliu-vip-faq-question h4 {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--vip-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.niliu-vip-faq-question h4 i {
    color: var(--vip-gold-primary);
}

.niliu-vip-faq-toggle {
    color: var(--vip-text-muted);
    transition: transform var(--vip-transition-fast);
}

.niliu-vip-faq-item.active .niliu-vip-faq-toggle {
    transform: rotate(180deg);
}

.niliu-vip-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--vip-transition-medium);
}

.niliu-vip-faq-item.active .niliu-vip-faq-answer {
    max-height: 500px;
}

.niliu-vip-faq-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--vip-text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.niliu-vip-cta {
    padding: var(--vip-section-padding) 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.niliu-vip-cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--vip-gold-primary), transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.niliu-vip-cta-title {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    color: var(--vip-text-primary);
    margin: 0 0 12px;
}

.niliu-vip-cta-desc {
    font-size: 16px;
    color: var(--vip-text-secondary);
    margin: 0 0 32px;
}

/* Buttons */
.niliu-vip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--vip-transition-fast);
}

.niliu-vip-btn-primary {
    background: var(--vip-gold-gradient);
    color: var(--vip-text-inverse);
    box-shadow: 0 4px 20px rgba(184, 152, 106, 0.3);
}

.niliu-vip-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(184, 152, 106, 0.4);
}

.niliu-vip-btn-secondary {
    background: var(--vip-bg-secondary);
    color: var(--vip-text-primary);
    border: 1px solid var(--vip-border-medium);
}

.niliu-vip-btn-secondary:hover {
    background: var(--vip-bg-tertiary);
    border-color: var(--vip-gold-primary);
}

/* Level Content Switching */
.level-content {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.level-content.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Loading Overlay */
.niliu-vip-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.niliu-vip-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--vip-gold-light);
    border-top-color: var(--vip-gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Overlay */
.niliu-vip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    padding: 20px;
}

.niliu-vip-modal {
    background: var(--vip-bg-card);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
}

.niliu-vip-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--vip-border-light);
}

.niliu-vip-modal-header h3 {
    margin: 0;
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
    font-size: 20px;
    color: var(--vip-text-primary);
}

.niliu-vip-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--vip-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.niliu-vip-modal-close:hover {
    color: var(--vip-text-primary);
}

.niliu-vip-modal-content {
    padding: 24px;
}

/* Particles */
.niliu-vip-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.niliu-vip-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--vip-gold-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.niliu-vip-particle:nth-child(1) { left: 5%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.niliu-vip-particle:nth-child(2) { left: 15%; top: 60%; animation-delay: 2s; animation-duration: 20s; }
.niliu-vip-particle:nth-child(3) { left: 25%; top: 40%; animation-delay: 4s; animation-duration: 16s; }
.niliu-vip-particle:nth-child(4) { left: 40%; top: 80%; animation-delay: 1s; animation-duration: 22s; }
.niliu-vip-particle:nth-child(5) { left: 55%; top: 30%; animation-delay: 3s; animation-duration: 17s; }
.niliu-vip-particle:nth-child(6) { left: 65%; top: 70%; animation-delay: 5s; animation-duration: 19s; }
.niliu-vip-particle:nth-child(7) { left: 75%; top: 15%; animation-delay: 2.5s; animation-duration: 21s; }
.niliu-vip-particle:nth-child(8) { left: 85%; top: 50%; animation-delay: 1.5s; animation-duration: 15s; }
.niliu-vip-particle:nth-child(9) { left: 95%; top: 85%; animation-delay: 4.5s; animation-duration: 23s; }
.niliu-vip-particle:nth-child(10) { left: 10%; top: 90%; animation-delay: 0.5s; animation-duration: 18s; }
.niliu-vip-particle:nth-child(11) { left: 50%; top: 10%; animation-delay: 3.5s; animation-duration: 20s; }
.niliu-vip-particle:nth-child(12) { left: 80%; top: 35%; animation-delay: 2s; animation-duration: 16s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(15px); }
    50% { transform: translateY(-15px) translateX(-10px); }
    75% { transform: translateY(-40px) translateX(5px); }
}

/* Responsive adjustments for new styles */
@media (max-width: 768px) {
    .niliu-vip-level-tabs {
        flex-direction: column;
        border-radius: 18px;
        width: 100%;
        max-width: 280px;
    }

    .niliu-vip-level-tab {
        justify-content: center;
        padding: 12px 24px;
    }

    .niliu-vip-cards-container {
        grid-template-columns: 1fr;
    }

    .niliu-vip-benefits-grid {
        grid-template-columns: 1fr;
    }

    .niliu-vip-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .niliu-vip-pricing-card.featured {
        transform: none;
        order: -1;
    }

    .niliu-vip-pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .niliu-vip-faq-question {
        padding: 18px 20px;
    }

    .niliu-vip-faq-question h4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .niliu-vip-content {
        padding: 0 16px;
    }

    .niliu-vip-member-card {
        padding: 28px;
    }

    .niliu-vip-pricing-card {
        padding: 28px 22px;
    }

    .niliu-vip-pricing-price .amount {
        font-size: 42px;
    }

    .niliu-vip-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}
