        /* --- 全局变量 --- */
        :root {
            --brand-color: #10b981;
            --brand-dark: #059669;
            --text-main: #1f2937;
            --text-sub: #6b7280;
            --text-light: #9ca3af;
            --bg-body: #f3f4f6;
            --card-bg: #ffffff;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-body);
            background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
            background-size: 24px 24px;
            color: var(--text-main);
            line-height: 1.6;
        }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

        /* --- 1. 导航栏 (深色清晰版) --- */
        /* --- 导航栏样式 --- */
        header {
            background: #000000a3;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            height: 70px;
            display: flex;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
        }
        
        .nav-wrapper { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            width: 100%; 
        }
        
        .logo { 
            color: #fff; 
            font-weight: 800; 
            font-size: 22px; 
            display: flex; 
            align-items: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .logo:hover {
            opacity: 0.9;
            transform: translateX(2px);
        }
        
        .logo-icon { 
            width: 36px; 
            height: 36px; 
            background: linear-gradient(135deg, var(--brand-color), #3b82f6); 
            border-radius: 10px; 
            margin-right: 12px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: #fff; 
            font-size: 18px;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
            transition: all 0.3s ease;
        }
        
        .logo:hover .logo-icon {
            transform: rotate(15deg);
            box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6);
        }
        
        .nav-links { 
            display: flex; 
            gap: 6px;
            padding: 6px;
            border-radius: 12px;
        }
        
        .nav-links a { 
            color: white; 
            padding: 10px 20px; 
            font-size: 14px; 
            font-weight: 500; 
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--brand-color);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }
        
        .nav-links a:hover { 
            color: #fff; 
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-1px);
        }
        
        .nav-links a:hover::before {
            width: 60%;
        }
        
        .nav-links a.active { 
            background: linear-gradient(135deg, var(--brand-color), var(--brand-dark)); 
            color: #fff; 
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
            font-weight: 600;
        }
        
        .nav-links a.active::before {
            width: 0;
        }
        
        /* 移动端适配 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
        }


        /* --- 2. Hero 区域 (左轮播 + 右排行榜) --- */
        .hero-wrapper {
            margin-top: 30px;
            display: grid;
            grid-template-columns: 1fr 340px; /* 右侧稍微加宽以容纳图片 */
            gap: 24px;
            height: 420px;
        }

        /* 左侧轮播图 */
        .carousel-container {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            background: #000;
        }
        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.9;
        }
        .slide-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 40px;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: #fff;
        }
        .slide-tag {
            background: var(--brand-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 10px;
        }
        .slide-title { font-size: 28px; font-weight: 700; margin-bottom: 15px; }
        
        /* 轮播控制按钮 */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #fff;
            font-size: 20px;
            transition: 0.3s;
            border: none;
            z-index: 10;
        }
        .carousel-btn:hover { background: rgba(255,255,255,0.4); }
        .prev-btn { left: 20px; }
        .next-btn { right: 20px; }

        .carousel-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }
        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: 0.3s;
        }
        .dot.active { background: #fff; transform: scale(1.2); }

        /* 右侧排行榜 (滚动 + 图片) */
        .ranking-sidebar {
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 20px;
            box-shadow: var(--shadow-lg);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .ranking-header {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 15px;
        }
        .ranking-header::before {
            content: '🔥';
            font-size: 20px;
        }
        
        .ranking-list-wrapper {
            flex-grow: 1;
            overflow: hidden;
            position: relative;
        }
        .ranking-list {
            /* JS 控制滚动 */
        }
        .rank-item {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            cursor: pointer;
            opacity: 0.9;
            transition: 0.3s;
            align-items: flex-start; /* 顶部对齐 */
        }
        .rank-item:hover { opacity: 1; transform: translateX(5px); }
        
        /* 新增：排行榜缩略图样式 */
        .rank-thumb {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            background: #eee;
        }
        .rank-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .rank-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0; /* 防止文本溢出 */
        }
        
        .rank-top-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }
        .rank-num {
            width: 18px;
            height: 18px;
            background: #f3f4f6;
            color: var(--text-sub);
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            flex-shrink: 0;
        }
        /* 前三名特殊颜色 */
        .rank-item:nth-child(1) .rank-num { background: #ef4444; color: #fff; }
        .rank-item:nth-child(2) .rank-num { background: #f97316; color: #fff; }
        .rank-item:nth-child(3) .rank-num { background: #f59e0b; color: #fff; }

        .rank-title {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.3;
            color: #333;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .rank-hot {
            font-size: 11px;
            color: var(--text-light);
            margin-top: 4px;
        }

        /* --- 3. 快速入口 --- */
        .quick-nav {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
        .nav-item {
            background: #fff;
            padding: 20px;
            border-radius: var(--radius-md);
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid transparent;
        }
        .nav-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--brand-color);
            color: var(--brand-color);
        }
        .nav-icon { font-size: 24px; margin-bottom: 10px; display: block; }
        .nav-text { font-size: 14px; font-weight: 500; }

        /* --- 4. 内容板块 --- */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e5e7eb;
        }
        .section-title { font-size: 20px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
        .section-title::before { content: ''; display: block; width: 4px; height: 20px; background: var(--brand-color); border-radius: 2px; }
        .more-link { font-size: 14px; color: var(--text-sub); }
        .more-link:hover { color: var(--brand-color); }

        .content-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .card {
            background: #fff;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid #f3f4f6;
        }
        .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .card-img { width: 100%; height: 180px; background: #eee; overflow: hidden; }
        .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
        .card:hover .card-img img { transform: scale(1.08); }
        .card-body { padding: 16px; }
        .card-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; }
        .card-meta { font-size: 12px; color: var(--text-light); display: flex; justify-content: space-between; }

        /* --- Footer --- */
        footer { background: #111827; color: #9ca3af; padding: 80px 0 40px; margin-top: 80px; font-size: 13px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
        .footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
        .footer-col h4 { color: #fff; margin-bottom: 24px; font-size: 14px; font-weight: 600; }
        .footer-col ul li { margin-bottom: 14px; }
        .footer-col ul li a:hover { color: var(--brand-color); padding-left: 4px; }
        .copyright { text-align: center; padding-top: 30px; border-top: 1px solid #374151; color: #6b7280; }

        @media (max-width: 1000px) { 
            .hero-wrapper { grid-template-columns: 1fr; height: auto; } 
            .ranking-sidebar { display: none; } 
            .carousel-container { height: 300px; }
            .content-grid { grid-template-columns: repeat(2, 1fr); } 
            .quick-nav { grid-template-columns: repeat(3, 1fr); } 
        }
        @media (max-width: 600px) { 
            .content-grid { grid-template-columns: 1fr; } 
            .quick-nav { grid-template-columns: repeat(2, 1fr); } 
        }