/* =====================================================
   VPS优惠码网站 - 自定义样式表
   使用 Bootstrap 5 作为基础框架
   ===================================================== */

/* =====================================================
   1. CSS 变量定义
   ===================================================== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --info-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);

    --color-primary: #667eea;
    --color-primary-dark: #5a67d8;
    --color-secondary: #764ba2;
    --color-accent: #f093fb;
    --color-success: #38ef7d;
    --color-info: #4facfe;
    --color-warning: #fda085;
    --color-danger: #ff416c;

    --dark-bg: #0f0f1a;
    --dark-card: #1a1a2e;
    --dark-card-hover: #252542;
    --dark-border: rgba(255, 255, 255, 0.1);
    --dark-text: #e0e0e0;
    --dark-text-muted: #8a8aa3;

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
}

/* 白天模式(Light Mode)变量覆盖 */
[data-theme="light"] {
    --dark-bg: #f5f7fa;
    --dark-card: #ffffff;
    --dark-card-hover: #f0f2f5;
    --dark-border: rgba(0, 0, 0, 0.1);
    --dark-text: #1a1a2e;
    --dark-text-muted: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.15);
}

/* 白天模式特殊样式覆盖 */
[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .navbar-custom {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .hero-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .provider-card,
[data-theme="light"] .promo-card,
[data-theme="light"] .review-card,
[data-theme="light"] .tool-card,
[data-theme="light"] .recommend-card,
[data-theme="light"] .map-container {
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .feature-card h4,
[data-theme="light"] .provider-card h4,
[data-theme="light"] .promo-provider-name,
[data-theme="light"] .promo-title,
[data-theme="light"] .reviewer-name,
[data-theme="light"] .recommend-title,
[data-theme="light"] .tool-card h5,
[data-theme="light"] .recommend-option h5,
[data-theme="light"] .footer-title,
[data-theme="light"] .provider-info h5 {
    color: #1a1a2e;
}

[data-theme="light"] .rating-score {
    color: #1a1a2e;
}

[data-theme="light"] .dropdown-menu-custom {
    background: #ffffff;
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .search-input {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .search-input:focus {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .promo-footer {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .providers-section,
[data-theme="light"] .reviews-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #eef1f5 50%, var(--dark-bg) 100%);
}

/* 主题切换按钮样式 */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    color: var(--dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: rotate(15deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    transition: all var(--transition-normal);
}

/* 夜间模式显示月亮图标 */
.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

/* 白天模式显示太阳图标 */
[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* 2. 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: var(--color-primary);
    color: white;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* 3. 导航栏 */
.navbar-custom {
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    padding: 0.8rem 0;
    transition: all var(--transition-normal);
}

.navbar-custom.scrolled {
    background: rgba(15, 15, 26, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link-custom {
    color: var(--dark-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link-custom:hover {
    color: white !important;
    background: rgba(102, 126, 234, 0.2);
}

.nav-link-custom.active {
    color: white !important;
    background: var(--primary-gradient);
}

.dropdown-menu-custom {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.dropdown-item-custom {
    color: var(--dark-text);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item-custom:hover {
    background: rgba(102, 126, 234, 0.2);
    color: white;
}

.dropdown-item-custom i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--color-primary);
}

.search-box {
    position: relative;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: var(--dark-text);
    width: 200px;
    transition: all var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: var(--dark-text-muted);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-text-muted);
}

.btn-user {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    color: white;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* 4. 英雄区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-gradient);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--info-gradient);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(-20px, -10px) rotate(3deg);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--dark-border);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-text);
    transition: all var(--transition-normal);
}

.btn-outline-custom:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(102, 126, 234, 0.1);
}

.hero-visual {
    position: relative;
}

.hero-card-stack {
    position: relative;
    height: 450px;
}

.hero-card {
    position: absolute;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 300px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.hero-card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    z-index: 3;
}

.hero-card-2 {
    top: 60px;
    left: calc(50% + 40px);
    transform: translateX(-50%) rotate(3deg);
    z-index: 2;
}

.hero-card-3 {
    top: 120px;
    left: calc(50% - 40px);
    transform: translateX(-50%) rotate(-2deg);
    z-index: 1;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.provider-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.provider-info h5 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.provider-info span {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.hero-card-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.spec-tag {
    background: rgba(102, 126, 234, 0.2);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.hero-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-success);
}

.price-original {
    font-size: 1rem;
    color: var(--dark-text-muted);
    text-decoration: line-through;
}

/* 5. 特色功能区域 */
.features-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.2);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--dark-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-icon.gradient-1 {
    background: rgba(102, 126, 234, 0.2);
    color: var(--color-primary);
}

.feature-icon.gradient-2 {
    background: rgba(56, 239, 125, 0.2);
    color: var(--color-success);
}

.feature-icon.gradient-3 {
    background: rgba(79, 172, 254, 0.2);
    color: var(--color-info);
}

.feature-icon.gradient-4 {
    background: rgba(240, 147, 251, 0.2);
    color: var(--color-accent);
}

.feature-icon.gradient-5 {
    background: rgba(253, 160, 133, 0.2);
    color: var(--color-warning);
}

.feature-icon.gradient-6 {
    background: rgba(255, 65, 108, 0.2);
    color: var(--color-danger);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-card p {
    color: var(--dark-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* 6. 热门商家区域 */
.providers-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 50%, var(--dark-bg) 100%);
}

.provider-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.provider-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--warning-gradient);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.provider-logo-lg {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.provider-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffc107;
}

.rating-score {
    font-weight: 600;
    color: white;
}

.rating-count {
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.provider-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.provider-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

.provider-feature i {
    color: var(--color-success);
    margin-right: 0.25rem;
}

.provider-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
}

.price-label {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-success);
}

.price-period {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

/* 7. 优惠码区域 */
.promos-section {
    padding: 80px 0;
}

.promo-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.promo-header {
    padding: 1.5rem;
    position: relative;
}

.promo-discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 700;
}

.promo-provider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-provider-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.promo-provider-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.promo-provider-type {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.promo-body {
    padding: 0 1.5rem 1.5rem;
}

.promo-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.promo-desc {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.promo-code-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px dashed var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.promo-code {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.btn-copy {
    background: var(--color-primary);
    border: none;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: var(--color-primary-dark);
}

.promo-footer {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-expire {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.promo-expire i {
    color: var(--color-warning);
}

.promo-views {
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

/* 8. 智能推荐 */
.recommend-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.05) 50%, transparent 100%);
}

.recommend-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

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

.recommend-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.recommend-desc {
    color: var(--dark-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.recommend-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.recommend-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    flex: 1;
    min-width: 200px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.recommend-option:hover {
    border-color: var(--color-primary);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.recommend-option-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.recommend-option h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recommend-option p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 9. 数据中心 */
.datacenters-section {
    padding: 80px 0;
}

.map-container {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.world-map {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.3);
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.map-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.dc-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.dc-stat {
    text-align: center;
}

.dc-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dc-stat-label {
    color: var(--dark-text-muted);
}

/* 10. 用户评价 */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 50%, var(--dark-bg) 100%);
}

.review-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    color: white;
    margin: 0;
}

.reviewer-date {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.review-rating {
    color: #ffc107;
}

.review-content {
    color: var(--dark-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-provider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

.review-provider i {
    color: var(--color-primary);
}

/* 11. 工具入口 */
.tools-section {
    padding: 80px 0;
}

.tool-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    text-decoration: none;
    display: block;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.tool-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 12. CTA */
.cta-section {
    padding: 100px 0;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: white;
    color: var(--color-primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--color-primary-dark);
}

/* 13. 页脚 */
.footer {
    background: var(--dark-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--dark-border);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--dark-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--dark-text-muted);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.copyright .separator {
    margin: 0 0.5rem;
    color: var(--dark-border);
}

.copyright .beian-link {
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.copyright .beian-link:hover {
    color: var(--color-primary);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

/* 14. 通用组件 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    border: none;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

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

    .hero-card-stack {
        height: 400px;
    }

    .hero-card {
        width: 260px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-stats {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .recommend-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.5rem 0;
    }

    .search-box {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .dc-stats {
        gap: 1.5rem;
    }

    .dc-stat-value {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 45%;
    }

    .recommend-options {
        flex-direction: column;
    }

    .recommend-option {
        min-width: 100%;
    }

    .world-map {
        height: 250px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* 16. 动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

.hover-float {
    transition: transform var(--transition-normal);
}

.hover-float:hover {
    transform: translateY(-10px);
}

/* =====================================================
   新增页面样式
   ===================================================== */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-bg) 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item a {
    color: var(--dark-text-muted);
}

.page-header .breadcrumb-item.active {
    color: var(--dark-text);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--dark-text-muted);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.page-subtitle {
    color: var(--dark-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
}

.content-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.content-title i {
    color: var(--color-primary);
}

.content-card p {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 使命列表 */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.mission-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.mission-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mission-content h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.mission-content p {
    margin: 0;
    color: var(--dark-text-muted);
}

/* 团队成员 */
.team-member {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
}

.team-member h5 {
    color: white;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-primary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
}

.team-member p {
    font-size: 0.9rem;
    margin: 0;
}

/* 侧边栏卡片 */
.sidebar-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.sidebar-text {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 联系列表 */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--dark-text);
    border-bottom: 1px solid var(--dark-border);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.contact-list-detailed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list-detailed li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.contact-list-detailed li:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-bottom: 0.25rem;
}

.contact-info a,
.contact-info span {
    color: var(--dark-text);
}

/* 社交链接-大 */
.social-links-large {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link-lg {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link-lg:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* 统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.stat-box .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

/* 快速链接 */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    transition: all var(--transition-normal);
}

.quick-link-item:hover {
    background: rgba(102, 126, 234, 0.2);
    color: white;
}

.quick-link-item i {
    color: var(--color-primary);
}

/* 表单样式 */
.form-label {
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--dark-text);
    transition: all var(--transition-normal);
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    color: var(--dark-text);
}

.form-control-custom::placeholder {
    color: var(--dark-text-muted);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* 认证页面样式 */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.auth-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--dark-text-muted);
}

.input-group-custom {
    position: relative;
}

.input-group-custom i:first-child {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-text-muted);
}

.input-group-custom .form-control-custom {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--dark-text-muted);
    cursor: pointer;
    padding: 0;
}

.password-toggle:hover {
    color: var(--color-primary);
}

.forgot-link {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

.divider span {
    padding: 0 1rem;
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-social {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.btn-social:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-border);
}

.auth-footer p {
    margin: 0;
    color: var(--dark-text-muted);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 500;
}

/* 筛选栏 */
.filter-bar {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    color: var(--dark-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* 商家卡片完整版 */
.provider-card-full {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.provider-card-full:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.provider-card-header {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.provider-card-header .provider-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.provider-logo-wrap {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
}

.provider-card-header h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.provider-card-body {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.provider-desc {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.provider-price-range {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
}

.provider-card-footer {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    gap: 0.75rem;
}

.provider-card-footer .btn {
    flex: 1;
}

/* 优惠码列表项 */
.promo-item {
    display: flex;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.promo-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.promo-item-left {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
}

.promo-discount-badge {
    background: var(--danger-gradient);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.promo-item-content {
    flex: 1;
    padding: 1.5rem;
}

.promo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.promo-provider-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.promo-provider-info h4 {
    margin: 0;
    color: white;
    font-size: 1rem;
}

.promo-type {
    font-size: 0.8rem;
    color: var(--color-primary);
}

.promo-expire-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.promo-expire-info.success {
    color: var(--color-success);
}

.promo-expire-info.warning {
    color: var(--color-warning);
}

.promo-item-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.promo-item-desc {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.promo-code-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.promo-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.promo-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 热门商家列表 */
.hot-providers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-providers li {
    margin-bottom: 0.75rem;
}

.hot-providers li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.hot-providers li a:hover {
    background: rgba(102, 126, 234, 0.1);
}

.hot-provider-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.hot-provider-info {
    display: flex;
    flex-direction: column;
}

.hot-provider-info .name {
    color: white;
    font-weight: 500;
}

.hot-provider-info .count {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

/* 即将过期列表 */
.expiring-promos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expiring-promos li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.expiring-promos li:last-child {
    border-bottom: none;
}

.expiring-promos li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expiring-promos .promo-name {
    color: var(--dark-text);
}

.expiring-promos .expire-time {
    font-size: 0.8rem;
    color: var(--color-warning);
}

/* 文章分类标签 */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.category-tab {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* 文章卡片 */
.article-card {
    display: flex;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

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

.article-image {
    width: 200px;
    min-height: 180px;
    position: relative;
    flex-shrink: 0;
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--dark-bg);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.article-title a {
    color: white;
    transition: color var(--transition-fast);
}

.article-title a:hover {
    color: var(--color-primary);
}

.article-excerpt {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* 热门文章 */
.popular-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-articles li {
    margin-bottom: 0.75rem;
}

.popular-articles li a {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark-text);
    transition: color var(--transition-fast);
}

.popular-articles li a:hover {
    color: var(--color-primary);
}

.popular-articles .rank {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-text-muted);
    flex-shrink: 0;
}

.popular-articles .rank.hot {
    background: var(--danger-gradient);
    color: white;
}

.popular-articles .title {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-item {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.tag-item:hover {
    background: var(--primary-gradient);
    color: white;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    transition: all var(--transition-normal);
}

.category-list li a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: white;
}

.category-list li a i {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.category-list .count {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* 法律文档 */
.legal-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.legal-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--dark-text);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 分页样式 */
.pagination-wrap .pagination {
    gap: 0.5rem;
}

.pagination-wrap .page-link {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    transition: all var(--transition-normal);
}

.pagination-wrap .page-link:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--color-primary);
    color: white;
}

.pagination-wrap .page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: transparent;
}

.pagination-wrap .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.02);
    color: var(--dark-text-muted);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .article-card {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        min-height: 150px;
    }

    .promo-item {
        flex-direction: column;
    }

    .promo-item-left {
        width: 100%;
        padding: 1rem;
    }

    .promo-item-header {
        flex-direction: column;
        gap: 1rem;
    }

    .promo-code-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .legal-content {
        padding: 1.5rem;
    }
}

[data-theme="light"] .page-title,
[data-theme="light"] .content-title,
[data-theme="light"] .sidebar-title,
[data-theme="light"] .auth-title,
[data-theme="light"] .legal-section h2,
[data-theme="light"] .legal-section h3,
[data-theme="light"] .provider-card-header h4,
[data-theme="light"] .promo-item-title,
[data-theme="light"] .article-title a,
[data-theme="light"] .mission-content h4,
[data-theme="light"] .team-member h5,
[data-theme="light"] .hot-provider-info .name,
[data-theme="light"] .promo-provider-info h4 {
    color: #1a1a2e;
}

[data-theme="light"] .article-title a:hover,
[data-theme="light"] .popular-articles li a:hover {
    color: var(--color-primary);
}

/* =====================================================
   Toast通知样式
   ===================================================== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-custom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideIn 0.3s ease forwards;
    backdrop-filter: blur(10px);
}

.toast-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-icon.success {
    color: #10b981;
}

.toast-icon.error {
    color: #ef4444;
}

.toast-message {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 亮色主题Toast */
[data-theme="light"] .toast-custom {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .toast-custom strong {
    color: #1a1a2e !important;
}

[data-theme="light"] .toast-message {
    color: #64748b;
}

/* 响应式 */
@media (max-width: 576px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 80px;
    }

    .toast-custom {
        min-width: auto;
        width: 100%;
    }
}

/* =====================================================
   Provider Detail Page Styles
   ===================================================== */
.provider-detail-header {
    padding-bottom: 80px;
}

.provider-detail-intro {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.provider-logo-large {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    flex-shrink: 0;
}

.provider-intro-content {
    flex: 1;
}

.provider-intro-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.provider-intro-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.provider-intro-desc {
    color: var(--dark-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.provider-intro-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.intro-stat {
    display: flex;
    flex-direction: column;
}

.intro-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-stat .stat-label {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.provider-intro-actions {
    display: flex;
    gap: 1rem;
}

.product-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-tab {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.product-tab.active,
.product-tab:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.product-table {
    color: var(--dark-text);
    margin: 0;
}

.product-table th,
.product-table td {
    padding: 1rem;
    border-color: var(--dark-border);
    vertical-align: middle;
}

.product-table thead th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    color: var(--dark-text);
}

.product-table .price {
    color: var(--color-success);
    font-weight: 600;
}

.datacenter-grid {
    display: grid;
    gap: 1.5rem;
}

.datacenter-region h5 {
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.datacenter-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.datacenter-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--dark-text);
}

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

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: var(--dark-text-muted);
}

.info-list .value {
    color: var(--dark-text);
    font-weight: 500;
}

.feature-list-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-sidebar li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--dark-text);
}

.related-links-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.related-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--color-primary);
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* 优惠码详情页专用样式 */
.promo-detail-header {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-bg) 100%);
    padding: 120px 0 30px;
}

.promo-main-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.promo-provider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.provider-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.provider-info {
    flex: 1;
}

.provider-name {
    display: block;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.provider-rating {
    color: #fbbf24;
    font-size: 0.9rem;
}

.promo-status {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.promo-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.promo-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.promo-desc {
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.promo-code-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 2px dashed var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.code-display {
    flex: 1;
}

.code-label {
    display: block;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.code-value {
    color: var(--color-primary);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 2px;
}

.promo-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.meta-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.meta-label {
    display: block;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
}

.meta-value {
    display: block;
    color: white;
    font-weight: 600;
}

.promo-actions {
    display: flex;
    gap: 1rem;
}

.btn-success-custom {
    background: var(--success-gradient);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

.promo-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.section-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.usage-step {
    display: flex;
    gap: 1rem;
}

.usage-step .step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    color: white;
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.step-content p {
    color: var(--dark-text-muted);
    margin: 0;
}

.step-content code {
    background: rgba(102, 126, 234, 0.2);
    color: var(--color-primary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

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

.terms-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
    color: var(--dark-text);
}

.terms-list li:last-child {
    border-bottom: none;
}

.review-summary {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.review-score {
    text-align: center;
    padding-right: 2rem;
    border-right: 1px solid var(--dark-border);
}

.score-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.score-stars {
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.score-count {
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.review-bars {
    flex: 1;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--dark-bg);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    display: block;
    color: white;
    font-weight: 500;
}

.reviewer-rating {
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-date {
    color: var(--dark-text-muted);
    font-size: 0.85rem;
}

.review-content {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-helpful {
    background: transparent;
    border: 1px solid var(--dark-border);
    color: var(--dark-text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-helpful:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* 侧边栏 */
.provider-sidebar-info {
    text-align: center;
}

.provider-logo-large {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.provider-sidebar-info h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.provider-rating-large {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.provider-rating-large span {
    color: white;
    margin-left: 0.5rem;
}

.provider-desc {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.provider-features-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.provider-features-mini span {
    color: var(--dark-text);
    font-size: 0.9rem;
}

.provider-features-mini i {
    color: #10b981;
    margin-right: 0.5rem;
}

.related-promos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-promo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.related-promo-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.promo-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.promo-info {
    flex: 1;
}

.promo-info h5 {
    color: white;
    font-size: 0.95rem;
    margin: 0;
}

.promo-info p {
    color: var(--dark-text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.promo-discount {
    color: #10b981;
    font-weight: 600;
}

/* 亮色主题 */
[data-theme="light"] .promo-title,
[data-theme="light"] .provider-name,
[data-theme="light"] .meta-value,
[data-theme="light"] .section-title,
[data-theme="light"] .step-content h4,
[data-theme="light"] .score-value,
[data-theme="light"] .reviewer-name,
[data-theme="light"] .provider-sidebar-info h5,
[data-theme="light"] .promo-info h5 {
    color: #1a1a2e;
}

[data-theme="light"] .promo-main-card,
[data-theme="light"] .promo-section {
    background: white;
}

/* AdSense 广告位样式 */
.sidebar-ad {
    position: relative;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    color: var(--dark-text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.ad-container {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* AdSense 响应式 */
.ad-container ins {
    display: block;
    width: 100%;
}

/* 亮色主题 */
[data-theme="light"] .ad-label {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ad-container {
    background: rgba(0, 0, 0, 0.02);
}

/* 评论表单样式 */
.review-form {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 1.5rem;
}

.review-form .form-label {
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.review-form .form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
}

.review-form .form-control-custom:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.review-form textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

/* 星级评分输入 */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 1rem 0;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 2.5rem;
    color: #4a5568;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.rating-input label:hover {
    transform: scale(1.15) rotate(-5deg);
}

.rating-input label:hover,
.rating-input label:hover~label {
    color: #fbbf24;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

.rating-input input[type="radio"]:checked~label {
    color: #fbbf24;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* 亮色主题的星星 */
[data-theme="light"] .rating-input label {
    color: #cbd5e0;
}

[data-theme="light"] .rating-input label:hover,
[data-theme="light"] .rating-input label:hover~label,
[data-theme="light"] .rating-input input[type="radio"]:checked~label {
    color: #f59e0b;
}

/* Alert 样式 */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* 亮色主题 */
[data-theme="light"] .review-form {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .review-form .form-control-custom {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #1f2937;
}

[data-theme="light"] .review-form .form-control-custom:focus {
    background: white;
    border-color: var(--color-primary);
}

[data-theme="light"] .alert-success {
    background: #d1fae5;
    border-color: #a7f3d0;
    color: #059669;
}

[data-theme="light"] .alert-danger {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

/* 有帮助按钮已点击状态 */
.btn-helpful.helpful-clicked {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
    cursor: not-allowed;
}

.btn-helpful.helpful-clicked:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

.btn-helpful:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   文章详情页样式
   ============================================ */

.article-detail-header {
    padding-bottom: 60px;
}

.article-detail-category {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.article-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--dark-text-muted);
    flex-wrap: wrap;
}

.article-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.article-body {
    color: var(--dark-text);
    line-height: 1.9;
}

.article-body .lead {
    font-size: 1.15rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.article-body h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.article-body h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 0.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.article-tags-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--dark-border);
}

.tags-label {
    color: var(--dark-text-muted);
}

.article-tag-link {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.article-tag-link:hover {
    background: var(--primary-gradient);
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.share-label {
    color: var(--dark-text-muted);
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-share:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    color: white;
    margin: 0 0 0.5rem;
}

.author-bio {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.article-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.article-nav-item {
    flex: 1;
    padding: 1.25rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.article-nav-item:hover {
    border-color: var(--color-primary);
}

.article-nav-item .nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-bottom: 0.5rem;
}

.article-nav-item .nav-title {
    display: block;
    color: white;
    font-weight: 500;
}

.article-nav-item.next {
    text-align: right;
}

.comments-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.comments-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.comment-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author {
    color: white;
    font-weight: 500;
}

.comment-time {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

.reviewer-rating {
    color: #fbbf24;
}

.comment-content p {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.btn-action {
    background: transparent;
    border: none;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
}

.btn-action:hover {
    color: var(--color-primary);
}

.btn-action.helpful-clicked {
    color: var(--color-primary);
}

.toc-nav {
    display: flex;
    flex-direction: column;
}

.toc-link {
    color: var(--dark-text);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    border-left: 2px solid transparent;
    text-decoration: none;
}

.toc-link:hover,
.toc-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 0.75rem;
}

.toc-sub {
    padding-left: 1rem;
    font-size: 0.85rem;
}

.related-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.related-articles li:last-child {
    border-bottom: none;
}

.related-articles a {
    color: var(--dark-text);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.related-articles a:hover {
    color: var(--color-primary);
}

/* 亮色主题适配 */
[data-theme="light"] .article-detail-title,
[data-theme="light"] .article-body h2,
[data-theme="light"] .article-body h3,
[data-theme="light"] .author-info h4,
[data-theme="light"] .article-nav-item .nav-title,
[data-theme="light"] .comments-title,
[data-theme="light"] .comment-author {
    color: #1a1a2e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-detail-title {
        font-size: 1.75rem;
    }

    .article-content-card {
        padding: 1.5rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav-item.next {
        text-align: left;
    }
}

/* ============================================
   商家对比页面样式
   ============================================ */

.compare-selector {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.selector-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.selector-title i {
    color: var(--color-primary);
}

.compare-table-wrap {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.compare-table {
    margin: 0;
    color: var(--dark-text);
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--dark-border);
}

.compare-table thead th {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid var(--dark-border);
}

.compare-feature {
    width: 200px;
    font-weight: 600;
    color: white;
}

.compare-provider {
    text-align: center;
    min-width: 180px;
}

.provider-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.provider-header .provider-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.provider-header span {
    font-weight: 600;
    color: white;
}

.feature-name {
    font-weight: 500;
    color: var(--dark-text);
}

.compare-table td {
    text-align: center;
}

.compare-table td:first-child {
    text-align: left;
}

.price-highlight {
    font-weight: 700;
    color: var(--color-success);
    font-size: 1.1rem;
}

.rating-display {
    font-weight: 600;
    color: white;
}

.compare-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.compare-note {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
}

.compare-note h5 {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.compare-note p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 亮色主题适配 */
[data-theme="light"] .selector-title,
[data-theme="light"] .compare-feature,
[data-theme="light"] .provider-header span,
[data-theme="light"] .rating-display {
    color: #1a1a2e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .compare-table {
        font-size: 0.875rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 0.75rem 0.5rem;
    }

    .provider-header .provider-logo {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .compare-feature {
        width: 120px;
        font-size: 0.85rem;
    }
}

/* ============================================
   工具页面样式
   ============================================ */

.tools-section-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tools-section-title i {
    color: var(--color-primary);
}

.tool-card-lg {
    display: block;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    text-decoration: none;
}

.tool-card-lg:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.tool-icon-lg {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.25rem;
}

.tool-card-lg h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tool-card-lg p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

[data-theme="light"] .tools-section-title,
[data-theme="light"] .tool-card-lg h4 {
    color: #1a1a2e;
}

/* ============================================
   文章列表页样式
   ============================================ */

.article-card {
    display: flex;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
}

.article-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.article-image {
    position: relative;
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.article-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-title a:hover {
    color: var(--color-primary);
}

.article-excerpt {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.article-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text-muted);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.6rem 1.25rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* 亮色主题适配 */
[data-theme="light"] .article-title {
    color: #1a1a2e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 180px;
    }
}

/*文章*/
.article-detail-header {
    padding-bottom: 60px;
}

.article-detail-category {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.article-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--dark-text-muted);
    flex-wrap: wrap;
}

.article-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.article-body {
    color: var(--dark-text);
    line-height: 1.9;
}

.article-body .lead {
    font-size: 1.15rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.article-body h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.article-body h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 0.5rem;
}

.article-provider-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.article-provider-card .provider-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.article-provider-card .provider-info h4 {
    color: white;
    margin: 0 0 0.25rem;
}

.article-provider-card .provider-info p {
    color: var(--dark-text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.article-provider-card .provider-rating {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.article-table {
    color: var(--dark-text);
    margin: 1.5rem 0;
}

.article-table th,
.article-table td {
    padding: 1rem;
    border-color: var(--dark-border);
}

.article-table thead th {
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.article-tags-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--dark-border);
}

.tags-label {
    color: var(--dark-text-muted);
}

.article-tag-link {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.article-tag-link:hover {
    background: var(--primary-gradient);
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.share-label {
    color: var(--dark-text-muted);
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.btn-share:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    color: white;
    margin: 0 0 0.5rem;
}

.author-bio {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.author-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}

.article-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.article-nav-item {
    flex: 1;
    padding: 1.25rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.article-nav-item:hover {
    border-color: var(--color-primary);
}

.article-nav-item .nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-bottom: 0.5rem;
}

.article-nav-item .nav-title {
    display: block;
    color: white;
    font-weight: 500;
}

.article-nav-item.next {
    text-align: right;
}

.comments-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.comments-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.comment-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author {
    color: white;
    font-weight: 500;
}

.comment-time {
    font-size: 0.8rem;
    color: var(--dark-text-muted);
}

.comment-content p {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.btn-action {
    background: transparent;
    border: none;
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
}

.btn-action:hover {
    color: var(--color-primary);
}

.toc-nav {
    display: flex;
    flex-direction: column;
}

.toc-link {
    color: var(--dark-text);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    border-left: 2px solid transparent;
}

.toc-link:hover,
.toc-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 0.75rem;
}

.toc-sub {
    padding-left: 1rem;
    font-size: 0.85rem;
}

.related-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.related-articles li:last-child {
    border-bottom: none;
}

.related-articles a {
    color: var(--dark-text);
    transition: color var(--transition-fast);
}

.related-articles a:hover {
    color: var(--color-primary);
}

[data-theme="light"] .article-detail-title,
[data-theme="light"] .article-body h2,
[data-theme="light"] .article-body h3,
[data-theme="light"] .article-provider-card .provider-info h4,
[data-theme="light"] .author-info h4,
[data-theme="light"] .article-nav-item .nav-title,
[data-theme="light"] .article-table th,
[data-theme="light"] .comments-title,
[data-theme="light"] .comment-author {
    color: #1a1a2e;
}

@media (max-width: 768px) {
    .article-detail-title {
        font-size: 1.75rem;
    }

    .article-content-card {
        padding: 1.5rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav-item.next {
        text-align: left;
    }
}
/* 关于页面额外样式 */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    padding: 0.75rem 0;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-list li i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link-lg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.social-link-lg:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.stats-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
}
