/* ========================================
   Bang.Red - 深色主题样式
   风格参考：火了么热榜
   ======================================== */

:root {
    /* 深色主题色彩 - 更深的红棕色调 */
    --bg-primary: #1e1520;
    --bg-secondary: #251a20;
    --bg-card: #2a1f26;
    --bg-card-hover: #352830;
    
    /* 强调色 */
    --accent-primary: #e94560;
    --accent-secondary: #ff6b6b;
    --accent-gradient: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    
    /* 文字颜色 */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    /* 边框和阴影 */
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(233, 69, 96, 0.2);
    
    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* 浅色主题 - 极致高级感设计 */
[data-theme="light"] {
    /* 背景：奶油白+微妙暖色调 */
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fefefe;
    
    /* 文字颜色 - 更柔和的对比 */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    /* 强调色 - 保持品牌红色 */
    --accent-light: #ff4757;
    --accent-light-soft: rgba(255, 71, 87, 0.08);
    
    /* 边框和阴影 */
    --border-color: rgba(0, 0, 0, 0.06);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}

/* ======================================== 
   基础样式
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1;
    font-kerning: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ======================================== 
   顶部品牌金字塔区域
   ======================================== */
.top-brand {
    background: var(--bg-secondary);
    padding: var(--spacing-md) 0 var(--spacing-sm);
    text-align: center;
}

.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.brand-icon {
    font-size: 2.5rem;
    animation: flame 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(233, 69, 96, 0.5));
}

@keyframes flame {
    0%, 100% { 
        transform: scale(1) translateY(0);
    }
    50% { 
        transform: scale(1.05) translateY(-3px);
    }
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* ======================================== 
   头部导航
   ======================================== */
.header {
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}

/* 导航 */
.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xs);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.nav-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-weight: 500;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.nav-theme {
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    background: transparent;
    transition: all var(--transition-fast);
}

.nav-theme:hover {
    transform: rotate(20deg);
    color: #ffd93d;
}

.nav-icon {
    font-size: 1rem;
}

/* 头部操作按钮 */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg) scale(1.05);
    color: #ffd93d;
}

.btn-admin {
    display: none;
}

/* ======================================== 
   Hero Section (公告+统计合并)
   ======================================== */
.hero-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-section .announcement-text {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    font-size: 0.95rem;
    background: linear-gradient(90deg, var(--accent-primary), #ffd93d, var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.stats-row .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: var(--spacing-md) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.stats-row .stat-item:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.stats-row .stat-item:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.stats-row .stat-item:not(:last-child) {
    border-right: none;
}

.stats-row .stat-item:hover {
    background: rgba(233, 69, 96, 0.1);
}

.stats-row .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), #ff8a9b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-row .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======================================== 
   主内容区
   ======================================== */
.main-content {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

/* ======================================== 
   卡片样式
   ======================================== */
.card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(42, 31, 38, 0.95) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.3);
}

/* 浅色主题卡片优化 - Stripe彩色渐变风格 */
[data-theme="light"] .card,
[data-theme="light"] .benchmark-card {
    background: #ffffff;
    border: none;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
}

[data-theme="light"] .card:hover,
[data-theme="light"] .benchmark-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 16px 40px rgba(0, 0, 0, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .card-header {
    background: linear-gradient(135deg, rgba(169, 96, 238, 0.05) 0%, rgba(255, 126, 181, 0.03) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .tool-item:nth-child(odd),
[data-theme="light"] .benchmark-item:nth-child(odd),
[data-theme="light"] .robot-item:nth-child(odd) {
    background: rgba(169, 96, 238, 0.02);
}

[data-theme="light"] .tool-item:hover,
[data-theme="light"] .benchmark-item:hover,
[data-theme="light"] .robot-item:hover,
[data-theme="light"] .robot-news-item:hover {
    background: linear-gradient(90deg, rgba(169, 96, 238, 0.06) 0%, transparent 100%);
}

/* 卡片头部 */
.card-header {
    padding: 10px var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(255, 107, 107, 0.03) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.card-badge {
    background: var(--accent-gradient);
    color: white;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(233, 69, 96, 0.4);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-update {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.card-action-btn {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.card-action-btn:hover {
    background: var(--bg-card-hover);
    color: var(--accent-primary);
}

/* 卡片内容 */
.card-content {
    padding: var(--spacing-xs) 0;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.card-content::-webkit-scrollbar {
    width: 4px;
}

.card-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.tool-list {
    list-style: none;
}

.tool-item {
    display: flex;
    align-items: center;
    padding: 8px var(--spacing-md);
    gap: var(--spacing-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border-left: 2px solid transparent;
}

.tool-item:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.tool-item:hover {
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.1) 0%, transparent 100%);
    border-left-color: var(--accent-primary);
}

.tool-item:hover .tool-name {
    color: var(--accent-secondary);
}

.tool-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.tool-item:hover .tool-rank {
    transform: scale(1.1);
}

.tool-rank.top-1 {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.5);
}

.tool-rank.top-2 {
    background: linear-gradient(135deg, #ff7f50 0%, #ffa07a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 127, 80, 0.5);
}

.tool-rank.top-3 {
    background: linear-gradient(135deg, #ffa502 0%, #ffc048 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 165, 2, 0.5);
}

.tool-rank.normal {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.tool-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.tool-name {
    font-size: 0.98rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-tag {
    font-size: 0.78rem;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(233, 69, 96, 0.2);
    color: var(--accent-primary);
    white-space: nowrap;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 0.85rem;
    color: #ffd700;
}

/* ======================================== 
   加载动画
   ======================================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    z-index: 1000;
    transition: opacity var(--transition-normal);
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ======================================== 
   页脚
   ======================================== */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-xl);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    margin-bottom: var(--spacing-md);
}

.footer-admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-links span {
    color: var(--text-muted);
}

/* ======================================== 
   空状态
   ======================================== */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

/* ======================================== 
   响应式设计
   ======================================== */

/* 平板 */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        gap: var(--spacing-lg);
    }
}

/* 手机 */
@media (max-width: 768px) {
    .top-brand {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
    
    .brand-icon {
        font-size: 2.5rem;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .header-container {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px;
    }
    
    .nav-item {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: var(--spacing-md) 0 var(--spacing-lg);
    }
    
    .hero-section .announcement-text {
        font-size: 0.85rem;
    }
    
    .stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-row .stat-item {
        padding: var(--spacing-sm) var(--spacing-md);
        min-width: 70px;
    }
    
    .stats-row .stat-item:first-child {
        border-radius: var(--radius-md) 0 0 0;
    }
    
    .stats-row .stat-item:nth-child(2) {
        border-radius: 0 var(--radius-md) 0 0;
    }
    
    .stats-row .stat-item:nth-child(3) {
        border-radius: 0 0 0 var(--radius-md);
        border-top: none;
    }
    
    .stats-row .stat-item:last-child {
        border-radius: 0 0 var(--radius-md) 0;
        border-top: none;
    }
    
    .stats-row .stat-item:nth-child(2) {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .stats-row .stat-value {
        font-size: 1.2rem;
    }
    
    .stats-row .stat-label {
        font-size: 0.6rem;
    }
    
    .main-content {
        padding: var(--spacing-md);
    }
    
    .cards-grid {
        gap: var(--spacing-md);
    }
    
    .card-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .tool-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .tool-name {
        font-size: 0.85rem;
    }
    
    .footer-admin-btn {
        font-size: 0.8rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* 小手机 */
@media (max-width: 480px) {
    .header-actions {
        gap: var(--spacing-xs);
    }
    
    .btn-icon {
        width: 36px;
        height: 36px;
    }
    
    .card-actions {
        display: none;
    }
    
    .tool-tag {
        display: none;
    }
}

/* ======================================== 
   滚动条美化
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ======================================== 
   选中效果
   ======================================== */
::selection {
    background: var(--accent-primary);
    color: white;
}

/* ======================================== 
   评测模块样式 - 优化版
   ======================================== */
.benchmark-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(42, 31, 38, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.benchmark-card:hover {
    transform: translateY(-2px);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 8px 32px rgba(233, 69, 96, 0.15);
}

.benchmark-card .card-header {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.12) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) var(--spacing-md);
}

.benchmark-card .card-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.benchmark-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.benchmark-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%);
    color: white;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.4);
}

.benchmark-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benchmark-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}

.benchmark-item:hover {
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.1) 0%, transparent 100%);
    border-left-color: var(--accent-primary);
}

.benchmark-item:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.benchmark-item:nth-child(odd):hover {
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.benchmark-rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.benchmark-item:hover .benchmark-rank {
    transform: scale(1.1);
}

.benchmark-rank.top-1 {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.5);
}

.benchmark-rank.top-2 {
    background: linear-gradient(135deg, #ff7f50 0%, #ffa07a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 127, 80, 0.5);
}

.benchmark-rank.top-3 {
    background: linear-gradient(135deg, #ffa502 0%, #ffc048 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 165, 2, 0.5);
}

.benchmark-title {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.benchmark-item:hover .benchmark-title {
    color: var(--accent-secondary);
}

/* 卡片操作按钮优化 */
.benchmark-card .card-action-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.benchmark-card .card-action-btn:hover {
    opacity: 1;
    background: rgba(233, 69, 96, 0.2);
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* 更新时间样式 */
.benchmark-card .card-update {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* 滚动条美化 - 卡片内 */
.benchmark-card .card-content {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.benchmark-card .card-content::-webkit-scrollbar {
    width: 4px;
}

.benchmark-card .card-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.benchmark-card .card-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* ======================================== 
   机器人模块样式
   ======================================== */
.robot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.robot-item {
    display: flex;
    align-items: center;
    padding: 8px var(--spacing-md);
    gap: var(--spacing-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border-left: 2px solid transparent;
}

.robot-item:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.robot-item:hover {
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.1) 0%, transparent 100%);
    border-left-color: var(--accent-primary);
}

.robot-tag {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(233, 69, 96, 0.12);
    color: var(--accent-primary);
    white-space: nowrap;
}

.robot-tag.secondary {
    background: rgba(93, 135, 255, 0.12);
    color: #5d87ff;
}

.robot-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.robot-news-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}

.robot-news-item:hover {
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.1) 0%, transparent 100%);
    border-left-color: var(--accent-primary);
}

.robot-news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ======================================== 
   浅色主题 - 高端精致风格
   ======================================== */

/* 背景 - 渐变+微妙纹理 */
[data-theme="light"] body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    min-height: 100vh;
}

[data-theme="light"] body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(233, 69, 96, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, rgba(251, 191, 36, 0.02) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* 主内容区域 */
[data-theme="light"] .main-content {
    background: transparent;
    padding: var(--spacing-xl);
}

/* 顶部品牌区域 */
[data-theme="light"] .top-brand {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 头部导航 */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* 导航胶囊 - 毛玻璃 */
[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-item {
    color: #4a4a4a;
    font-weight: 500;
    letter-spacing: -0.01em;
}

[data-theme="light"] .nav-item:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-item.active {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.35);
    font-weight: 600;
}

/* 主题切换按钮 */
[data-theme="light"] .nav-theme {
    color: #4a4a4a;
}

/* Hero区域 */
[data-theme="light"] .hero-section {
    background: transparent;
    padding-bottom: var(--spacing-xl);
    border-bottom: none;
}

[data-theme="light"] .hero-section .announcement-text {
    color: #333333;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 50%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* 统计行 */
[data-theme="light"] .stats-row .stat-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .stats-row .stat-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.12);
    transform: translateY(-2px);
}

[data-theme="light"] .stats-row .stat-value {
    color: #e94560;
    background: none;
    -webkit-text-fill-color: #e94560;
    font-weight: 600;
}

[data-theme="light"] .stats-row .stat-label {
    color: #666666;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* 品牌文字 */
[data-theme="light"] .brand-text {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 品牌图标 */
[data-theme="light"] .brand-icon {
    filter: drop-shadow(0 2px 8px rgba(233, 69, 96, 0.25));
}

/* 卡片 - 毛玻璃效果 */
[data-theme="light"] .card,
[data-theme="light"] .benchmark-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 24px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
}

[data-theme="light"] .card:hover,
[data-theme="light"] .benchmark-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 1);
}

/* 卡片头部 */
[data-theme="light"] .card-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(250,250,250,0.9) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}


/* 列表项 */
[data-theme="light"] .tool-item:nth-child(odd),
[data-theme="light"] .benchmark-item:nth-child(odd),
[data-theme="light"] .robot-item:nth-child(odd) {
    background: rgba(0, 0, 0, 0.015);
}

[data-theme="light"] .tool-item:hover,
[data-theme="light"] .benchmark-item:hover,
[data-theme="light"] .robot-item:hover,
[data-theme="light"] .robot-news-item:hover {
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.05) 0%, rgba(255, 107, 107, 0.02) 100%);
}

/* 卡片头部标题徽章 */
[data-theme="light"] .card-badge {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    box-shadow: 0 3px 10px rgba(233, 69, 96, 0.35);
    font-weight: 600;
}

/* 工具排名样式 */
[data-theme="light"] .tool-rank.top-1 {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.4);
}

[data-theme="light"] .tool-rank.top-2 {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

[data-theme="light"] .tool-rank.top-3 {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* 机器人标签 */
[data-theme="light"] .robot-tag {
    background: #fef2f2;
    color: #e94560;
    font-weight: 500;
    border: 1px solid rgba(233, 69, 96, 0.1);
}

[data-theme="light"] .robot-tag.secondary {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* 底部区域 */
[data-theme="light"] .footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .admin-entry {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

[data-theme="light"] .admin-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* 按钮样式 */
[data-theme="light"] .btn-icon {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
}

[data-theme="light"] .btn-icon:hover {
    background: #e5e5e7;
    color: #1d1d1f;
    border-color: rgba(0, 0, 0, 0.12);
}

/* 操作按钮 */
[data-theme="light"] .card-action-btn {
    color: #86868b;
}

[data-theme="light"] .card-action-btn:hover {
    color: #e94560;
    background: rgba(233, 69, 96, 0.06);
}

/* 滚动条 */
[data-theme="light"] .card-content::-webkit-scrollbar {
    width: 4px;
}

[data-theme="light"] .card-content::-webkit-scrollbar-track {
    background: transparent;
}

[data-theme="light"] .card-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
}

[data-theme="light"] .card-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* 工具名称 */
[data-theme="light"] .tool-name {
    color: #1d1d1f;
    font-weight: 400;
    letter-spacing: -0.01em;
}

[data-theme="light"] .tool-item:hover .tool-name {
    color: #e94560;
}

/* 更新时间文字 */
[data-theme="light"] .card-update {
    color: #6e6e73;
    font-weight: 400;
}

/* 分隔线增强 */
[data-theme="light"] .robot-item,
[data-theme="light"] .robot-news-item {
    border-left: 2px solid transparent;
}

[data-theme="light"] .robot-item:hover,
[data-theme="light"] .robot-news-item:hover {
    border-left-color: #e94560;
}

/* 链接区域文字颜色 */
[data-theme="light"] .footer-links a {
    color: #6e6e73;
    font-weight: 400;
}

[data-theme="light"] .footer-links a:hover {
    color: #e94560;
}

[data-theme="light"] .footer-copyright {
    color: #86868b;
}


/* ========================================
   Logo图片样式 - 深色背景衬托
   ======================================== */
.brand-icon-img {
    border-radius: 50%;
    background: #73204d;
    padding: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(233, 69, 96, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(233, 69, 96, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(233, 69, 96, 0.15);
    }
    50% {
        box-shadow: 
            0 6px 25px rgba(0, 0, 0, 0.35),
            0 0 50px rgba(233, 69, 96, 0.25);
    }
}

/* 浅色主题下的logo样式 - 深色背景更突出 */
[data-theme="light"] .brand-icon-img {
    background: #73204d;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 0 60px rgba(233, 69, 96, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(233, 69, 96, 0.4);
}

/* 智力排行榜样式 */
.intel-section {
    background: var(--card-bg, #1a1a2e);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--border-color, #2d2d44);
}

.intel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #2d2d44);
}

.intel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.intel-source {
    font-size: 12px;
    color: var(--text-secondary, #888);
}

.intel-source a {
    color: #6366f1;
    text-decoration: none;
}

.intel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.intel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--item-bg, #232340);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.intel-item:hover {
    background: var(--item-hover, #2a2a4a);
    transform: translateX(4px);
}

.intel-rank {
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.intel-rank.top-1 { background: linear-gradient(135deg, #ffd700, #ffb700); color: #000; }
.intel-rank.top-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.intel-rank.top-3 { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; }
.intel-rank.normal { background: var(--rank-bg, #3d3d5c); color: var(--text-secondary, #888); }

.intel-logo {
    font-size: 20px;
}

.intel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.intel-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #fff);
}

.intel-company {
    font-size: 12px;
    color: var(--text-secondary, #888);
}

.intel-score {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #000;
}




/* 卡片内免责声明 */


/* 页面底部免责声明 */
.page-disclaimer {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 30px auto;
    padding: 25px 30px;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.page-disclaimer .disclaimer-content {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
}

.page-disclaimer .disclaimer-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.page-disclaimer p {
    margin: 0 0 12px 0;
    text-align: justify;
}

.page-disclaimer p:last-child {
    margin-bottom: 0;
}

.page-disclaimer .disclaimer-final {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

/* 卡片内免责声明 */
.card-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    padding: 12px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 15px;
    text-align: justify;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
}
