/**
 * 模板6 - 暗夜森林风格 (全新升级版)
 * 环球游戏加速器
 * 
 * 特点：深邃墨绿、萤火闪烁、藤蔓缠绕、神秘雾气
 * 主色：#10b981 (翡翠绿) + #fbbf24 (萤火金)
 */

/* ========== 根变量 ========== */
:root {
    /* 主色 - 翡翠绿 */
    --primary-color: #10b981;
    --primary-hover: #059669;
    --primary-light: #6ee7b7;
    --primary-dark: #047857;
    
    /* 辅助色 - 萤火金 */
    --accent-color: #fbbf24;
    --accent-hover: #f59e0b;
    --accent-light: #fde68a;
    
    /* 第三色 - 苔藓青 */
    --third-color: #2dd4bf;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-forest: linear-gradient(180deg, #022c22 0%, #064e3b 40%, #065f46 70%, #047857 100%);
    --gradient-mist: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
    
    /* 文字 */
    --text-primary: #ecfdf5;
    --text-secondary: #a7f3d0;
    --text-muted: #6ee7b7;
    
    /* 背景 */
    --bg-body: #022c22;
    --bg-white: #033024;
    --bg-light: #064e3b;
    --bg-card: rgba(6, 78, 59, 0.5);
    --bg-dark: #011d18;
    
    /* 边框 */
    --border-color: rgba(16, 185, 129, 0.25);
    --border-gold: rgba(251, 191, 36, 0.3);
    
    /* 阴影 */
    --shadow-green: 0 0 50px rgba(16, 185, 129, 0.3);
    --shadow-gold: 0 0 30px rgba(251, 191, 36, 0.25);
    --shadow-forest: 0 20px 60px rgba(2, 44, 34, 0.6);
}

/* ========== 全局 ========== */
body {
    background: var(--gradient-forest);
    color: var(--text-primary);
    font-family: 'Playfair Display', Georgia, serif;
    overflow-x: hidden;
}

/* 萤火虫群 - 多层动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, var(--accent-color) 50%, transparent 50%),
        radial-gradient(3px 3px at 85% 35%, var(--accent-light) 50%, transparent 50%),
        radial-gradient(2px 2px at 25% 60%, var(--accent-color) 50%, transparent 50%),
        radial-gradient(4px 4px at 70% 75%, var(--accent-light) 50%, transparent 50%),
        radial-gradient(2px 2px at 45% 85%, var(--accent-color) 50%, transparent 50%),
        radial-gradient(3px 3px at 90% 55%, var(--accent-light) 50%, transparent 50%),
        radial-gradient(2px 2px at 5% 45%, var(--accent-color) 50%, transparent 50%),
        radial-gradient(3px 3px at 60% 15%, var(--accent-light) 50%, transparent 50%);
    animation: fireflyDance 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 9998;
}

@keyframes fireflyDance {
    0%, 100% { 
        opacity: 0.4;
        filter: blur(0px);
    }
    25% { 
        opacity: 1;
        filter: blur(1px);
    }
    50% { 
        opacity: 0.3;
        filter: blur(0px);
    }
    75% { 
        opacity: 0.9;
        filter: blur(0.5px);
    }
}

/* 森林雾气层 */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.05) 50%, rgba(16, 185, 129, 0.1) 100%);
    animation: mistFlow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes mistFlow {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-20px); }
}

/* ========== 头部 ========== */
.header {
    background: linear-gradient(180deg, rgba(2, 44, 34, 0.98) 0%, rgba(6, 78, 59, 0.9) 100%);
    border-bottom: 2px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
}

/* 藤蔓装饰边框 */
.header::before {
    content: '🌿 ═══════════════════════════════════════ 🌿';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-align: center;
    opacity: 0.6;
}

.logo-icon {
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-green);
    position: relative;
}

/* Logo光环 */
.logo-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    animation: logoOrbit 10s linear infinite;
}

@keyframes logoOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 24px;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--primary-color);
}

/* 导航 - 叶片形状 */
.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 0 25px 25px 0;
    transition: all 0.3s;
    position: relative;
    margin: 0 4px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-gold);
    transition: height 0.3s;
    border-radius: 3px;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(16, 185, 129, 0.15);
    text-shadow: 0 0 10px var(--accent-color);
}

.nav-menu a:hover::before {
    height: 70%;
}

/* ========== 英雄区 ========== */
.hero-section {
    background: transparent;
    position: relative;
    padding-top: 160px !important;
}

/* 大树剪影背景 */
.hero-section::before {
    content: '🌳';
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 200px;
    opacity: 0.08;
    filter: blur(3px);
    animation: treeSway 8s ease-in-out infinite;
}

.hero-section::after {
    content: '🌲';
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 150px;
    opacity: 0.06;
    filter: blur(2px);
    animation: treeSway 6s ease-in-out infinite reverse;
}

@keyframes treeSway {
    0%, 100% { transform: rotate(-2deg) translateX(0); }
    50% { transform: rotate(2deg) translateX(10px); }
}

.hero-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--accent-light);
    font-weight: 600;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    padding: 12px 28px !important;
    position: relative;
}

/* 徽章萤火虫 */
.hero-badge::after {
    content: '✨';
    position: absolute;
    right: -8px;
    top: -8px;
    font-size: 16px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-weight: 700;
    font-size: 3.8rem !important;
    font-style: italic;
    line-height: 1.15;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-title span {
    color: var(--accent-color);
    text-shadow: 
        0 0 30px var(--accent-color),
        0 0 60px rgba(251, 191, 36, 0.5);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    font-style: italic;
}

/* ========== 按钮 - 自然有机形状 ========== */
.btn {
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-style: italic;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    padding: 18px 42px !important;
    box-shadow: var(--shadow-green);
}

/* 叶子图标 */
.btn-primary::before {
    content: '🍃';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-style: normal;
    transition: all 0.4s;
}

/* 飘动的叶子效果 */
.btn-primary::after {
    content: '🍂';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 14px;
    font-style: normal;
    opacity: 0;
    transition: all 0.4s;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.45);
}

.btn-primary:hover::before {
    transform: translateY(-50%) rotate(20deg);
}

.btn-primary:hover::after {
    opacity: 1;
    transform: translateY(-50%) rotate(-20deg);
}

.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-light) !important;
    padding: 16px 36px !important;
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
    box-shadow: var(--shadow-gold);
}

/* ========== Section ========== */
.section-label {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--accent-light);
    font-weight: 600;
    border-radius: 25px;
    font-style: italic;
}

.section-title {
    font-weight: 700;
    font-size: 2.8rem;
    font-style: italic;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.section-subtitle {
    color: var(--text-muted);
    font-style: italic;
}

/* ========== 特性卡片 ========== */
.features-section {
    background: rgba(6, 78, 59, 0.3);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px 10px 30px 10px;
    backdrop-filter: blur(15px);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

/* 角落藤蔓 */
.feature-card::before {
    content: '🌱';
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 24px;
    opacity: 0;
    transform: rotate(-45deg) scale(0.5);
    transition: all 0.4s;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-12px) rotate(1deg);
    box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    top: 8px;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    background: var(--gradient-primary);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 72px !important;
    height: 72px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-green);
}

.feature-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.3rem;
    font-style: italic;
}

.feature-desc {
    color: var(--text-muted);
}

/* ========== 套餐 ========== */
.packages-section {
    background: transparent;
}

.package-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 35px 15px 35px 15px;
    backdrop-filter: blur(20px);
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

/* 萤火虫光晕 */
.package-item::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: fireflyGlow 3s ease-in-out infinite;
    transition: opacity 0.5s;
}

@keyframes fireflyGlow {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.package-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-green), var(--shadow-gold);
}

.package-item:hover::before {
    opacity: 1;
}

.package-item.featured {
    border: 3px solid var(--accent-color);
    background: linear-gradient(160deg, rgba(251, 191, 36, 0.1) 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow-gold);
}

.package-hot {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-weight: 800;
    border-radius: 20px;
    padding: 8px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-icon-sm {
    background: var(--gradient-primary);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
}

.package-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.4rem;
    font-style: italic;
}

.package-main-price .price-symbol,
.package-main-price .price-value {
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-color);
    font-weight: 800;
}

.package-get {
    color: var(--text-muted);
}

.package-get strong {
    color: var(--accent-light);
}

.package-tip {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
    border: none;
    border-radius: 20px;
}

.package-buy-btn {
    background: var(--gradient-gold) !important;
    color: var(--bg-dark) !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 16px 32px !important;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.package-buy-btn::before {
    content: '🌟';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.package-buy-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.5);
}

/* ========== 游戏 ========== */
.games-section {
    background: rgba(6, 78, 59, 0.4);
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s;
}

.game-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-gold);
    transform: scale(1.08) rotate(-2deg);
}

/* ========== 下载 ========== */
.pricing-section {
    background: transparent;
}

.download-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px 8px 25px 8px;
    backdrop-filter: blur(20px);
    transition: all 0.4s;
}

.download-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-green);
}

/* ========== 合规 ========== */
.compliance-section {
    background: rgba(6, 78, 59, 0.3);
}

.compliance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.compliance-icon {
    color: var(--accent-color);
    text-shadow: var(--shadow-gold);
}

.compliance-card h3 {
    color: var(--text-primary);
    font-weight: 600;
    font-style: italic;
}

.compliance-card p {
    color: var(--text-muted);
}

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-dark);
    position: relative;
    border-top: 2px solid var(--border-color);
}

/* 森林剪影 */
.footer::before {
    content: '🌲🌳🌲🌳🌲🌳🌲🌳🌲🌳🌲🌳🌲🌳🌲';
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    font-size: 30px;
    letter-spacing: -5px;
    text-align: center;
    opacity: 0.15;
    filter: blur(1px);
}

.footer a {
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-links h4 {
    color: var(--primary-light);
    font-weight: 600;
    font-style: italic;
}

/* ========== 客服悬浮 ========== */
.floating-service {
    right: -42px;
    bottom: 85px;
    transition: right 0.3s ease;
}

.floating-service:hover {
    right: 0;
}

.floating-service .service-btn {
    background: var(--gradient-gold) !important;
    color: var(--bg-dark) !important;
    box-shadow: var(--shadow-gold);
    width: 54px;
    height: 54px;
    border-radius: 20px 0 0 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chat-box {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-green);
}

.chat-header {
    background: var(--gradient-primary);
    border-radius: 26px 26px 0 0;
}

.chat-header span {
    color: white;
    font-weight: 600;
    font-style: italic;
}

.chat-input-area input {
    background: rgba(2, 44, 34, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
}

.chat-input-area input:focus {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-gold);
}

.chat-input-area button {
    background: var(--gradient-gold);
    border-radius: 20px;
    color: var(--bg-dark);
    font-weight: 700;
}

.chat-quick-replies button {
    border: 1px solid var(--primary-color);
    color: var(--primary-light);
    border-radius: 20px;
}

.chat-quick-replies button:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ========== 模态框 ========== */
.modal-content {
    background: linear-gradient(160deg, var(--bg-card) 0%, rgba(6, 78, 59, 0.9) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 35px 15px 35px 15px;
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-forest);
}

.modal-title {
    color: var(--accent-color);
    font-weight: 700;
    font-style: italic;
    text-shadow: var(--shadow-gold);
}

.form-label {
    color: var(--text-muted);
    font-style: italic;
}

.form-input {
    background: rgba(2, 44, 34, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
}

.form-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.2);
}

.sms-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-light);
    border-radius: 20px;
    font-weight: 600;
    font-style: italic;
}

.sms-btn:hover {
    background: var(--gradient-gold);
    border-color: var(--accent-color);
    color: var(--bg-dark);
}

/* ========== 返回顶部 ========== */
.back-to-top {
    background: var(--gradient-gold) !important;
    border: none !important;
    color: var(--bg-dark) !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-gold) !important;
    right: 20px !important;
    bottom: 20px !important;
    width: 48px !important;
    height: 48px !important;
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-gold);
}

/* ========== 选择 ========== */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: white;
}

/* ========== 统计 ========== */
.stat-value {
    color: var(--accent-color);
    text-shadow: var(--shadow-gold);
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    font-style: italic;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem !important;
    }
}

@media (max-width: 992px) {
    .hero-section::before,
    .hero-section::after {
        display: none;
    }
    
    .hero-title {
        font-size: 2.6rem !important;
    }
    
    .header::before {
        display: none;
    }
}

@media (max-width: 768px) {
    body::before {
        opacity: 0.3;
    }
    
    body::after {
        display: none;
    }
    
    .footer::before {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 16px 34px !important;
    }
    
    .btn-primary::before,
    .btn-primary::after {
        display: none;
    }
    
    .floating-service {
        right: -36px;
        bottom: 75px;
    }
    
    .floating-service .service-btn {
        width: 48px;
        height: 48px;
    }
    
    .back-to-top {
        right: 16px !important;
        bottom: 16px !important;
        width: 42px !important;
        height: 42px !important;
    }
    
    .feature-card,
    .package-item {
        border-radius: 25px 10px 25px 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.9rem !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-service {
        right: -32px;
        bottom: 65px;
    }
    
    .floating-service .service-btn {
        width: 44px;
        height: 44px;
        border-radius: 16px 0 0 16px !important;
    }
    
    .back-to-top {
        right: 14px !important;
        bottom: 14px !important;
        width: 38px !important;
        height: 38px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .floating-service {
        right: -28px;
        bottom: 58px;
    }
    
    .floating-service .service-btn {
        width: 40px;
        height: 40px;
        border-radius: 14px 0 0 14px !important;
    }
    
    .back-to-top {
        right: 12px !important;
        bottom: 12px !important;
        width: 34px !important;
        height: 34px !important;
    }
}

/* iOS安全区 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .floating-service {
        bottom: calc(75px + env(safe-area-inset-bottom));
    }
    
    .back-to-top {
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    }
}

/* 触摸优化 */
@media (hover: none) {
    .btn:hover,
    .feature-card:hover,
    .package-item:hover,
    .game-card:hover {
        transform: none;
    }
    
    .feature-card:hover::before,
    .feature-card:hover::after,
    .package-item:hover::before {
        opacity: 0;
        transform: none;
    }
}

/* 减少动效 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== 白色区域文字修复 ========== */
:root {
    --text-on-light: #0f172a;
    --text-muted-on-light: #475569;
}

body:not(.admin-body):not(.login-page) .floating-card,
body:not(.admin-body):not(.login-page) .preview-tab.active {
    color: var(--text-on-light);
}

body:not(.admin-body):not(.login-page) .floating-card .label,
body:not(.admin-body):not(.login-page) .preview-option-label {
    color: var(--text-muted-on-light);
}

body:not(.admin-body):not(.login-page) .floating-card .value,
body:not(.admin-body):not(.login-page) .preview-option-value {
    color: var(--text-on-light);
}

/* ========== 文字清晰度增强（暗色模板） ========== */
:root {
    --text-contrast-strong: #f8fafc;
    --text-contrast: rgba(248, 250, 252, 0.86);
    --text-contrast-muted: rgba(226, 232, 240, 0.7);
}

body:not(.admin-body):not(.login-page) .section-title,
body:not(.admin-body):not(.login-page) .feature-title,
body:not(.admin-body):not(.login-page) .create-title,
body:not(.admin-body):not(.login-page) .create-nav-item .title,
body:not(.admin-body):not(.login-page) .create-sidebar-title,
body:not(.admin-body):not(.login-page) .package-title,
body:not(.admin-body):not(.login-page) .package-name,
body:not(.admin-body):not(.login-page) .pricing-table-header h3,
body:not(.admin-body):not(.login-page) .pricing-item .content h4,
body:not(.admin-body):not(.login-page) .compliance-card h3,
body:not(.admin-body):not(.login-page) .preview-option-value {
    color: var(--text-contrast-strong);
}

body:not(.admin-body):not(.login-page) .section-subtitle,
body:not(.admin-body):not(.login-page) .feature-desc,
body:not(.admin-body):not(.login-page) .feature-list li,
body:not(.admin-body):not(.login-page) .create-help,
body:not(.admin-body):not(.login-page) .create-nav-item .desc,
body:not(.admin-body):not(.login-page) .config-label,
body:not(.admin-body):not(.login-page) .package-desc,
body:not(.admin-body):not(.login-page) .package-tip,
body:not(.admin-body):not(.login-page) .package-get,
body:not(.admin-body):not(.login-page) .package-features li,
body:not(.admin-body):not(.login-page) .pricing-item .content p,
body:not(.admin-body):not(.login-page) .pricing-table td,
body:not(.admin-body):not(.login-page) .pricing-table th,
body:not(.admin-body):not(.login-page) .compliance-card p,
body:not(.admin-body):not(.login-page) .preview-option-label,
body:not(.admin-body):not(.login-page) .duration-btn:not(.active),
body:not(.admin-body):not(.login-page) .select-input,
body:not(.admin-body):not(.login-page) .toggle-label {
    color: var(--text-contrast);
}

body:not(.admin-body):not(.login-page) .floating-card .label {
    color: var(--text-contrast-muted);
}

body:not(.admin-body):not(.login-page) .floating-card .value {
    color: #ef4444;
}

body:not(.admin-body):not(.login-page) .config-title {
    color: var(--text-contrast-strong);
}

body:not(.admin-body):not(.login-page) .package-tip {
    background: rgba(16, 185, 129, 0.18);
    color: var(--text-contrast-strong);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

body:not(.admin-body):not(.login-page) .qty-btn,
body:not(.admin-body):not(.login-page) .qty-input {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-contrast-strong);
    border-color: rgba(248, 250, 252, 0.2);
}

body:not(.admin-body):not(.login-page) .duration-btn.active {
    color: #ef4444;
    font-weight: 700;
    text-shadow: none;
}
