* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        body {
            background-color: #f5f5f5;
            color: #333;
        }
        /* 头部导航 */
        header {
            background-color: #ff6b6b;
            color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .nav-container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 24px;
            font-weight: bold;
            text-decoration: none;
            color: white;
        }
        .nav-links {
            display: flex;
            list-style: none;
        }
        .nav-links li {
            margin-left: 25px;
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        .nav-links a:hover {
            color: #ffeaa7;
        }
        .search-bar {
            display: flex;
            align-items: center;
        }
        .search-bar input {
            padding: 8px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            outline: none;
        }
        .search-bar button {
            padding: 8px 15px;
            background-color: #ff9f43;
            border: none;
            color: white;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .search-bar button:hover {
            background-color: #ee5253;
        }
        /* 主要内容区 */
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 20px auto;
        }
        .section-title {
            font-size: 22px;
            margin: 20px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff6b6b;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .section-title a {
            font-size: 16px;
            color: #ff6b6b;
            text-decoration: none;
        }
        /* 漫画卡片容器 */
        .comic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        .comic-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }
        .comic-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }
        .comic-img {
            width: 100%;
            height: 240px;
            object-fit: cover;
        }
        .comic-info {
            padding: 12px;
        }
        .comic-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .comic-author {
            font-size: 14px;
            color: #777;
            margin-bottom: 8px;
        }
        .comic-tags {
            display: flex;
            flex-wrap: wrap;
        }
        .tag {
            background-color: #f1f1f1;
            color: #555;
            font-size: 12px;
            padding: 3px 8px;
            border-radius: 4px;
            margin-right: 5px;
            margin-bottom: 5px;
        }
        /* 分类导航 */
        .category-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
            padding: 15px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .category-btn {
            padding: 8px 15px;
            background-color: #f1f1f1;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .category-btn:hover,
        .category-btn.active {
            background-color: #ff6b6b;
            color: white;
        }
        /* 排行榜 */
        .rank-list {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .rank-item {
            display: flex;
            padding: 12px 0;
            border-bottom: 1px solid #f1f1f1;
            align-items: center;
        }
        .rank-item:last-child {
            border-bottom: none;
        }
        .rank-number {
            font-size: 20px;
            font-weight: bold;
            margin-right: 15px;
            color: #ff6b6b;
            width: 24px;
            text-align: center;
        }
        .rank-comic-img {
            width: 60px;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            margin-right: 15px;
        }
        .rank-comic-info {
            flex: 1;
        }
        .rank-comic-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .rank-comic-desc {
            font-size: 14px;
            color: #777;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        /* 页脚 */
        footer {
            background-color: #333;
            color: white;
            padding: 30px 0;
            margin-top: 40px;
        }
        .footer-container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #555;
        }
        .footer-column ul {
            list-style: none;
        }
        .footer-column ul li {
            margin-bottom: 10px;
        }
        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .footer-column ul li a:hover {
            color: white;
        }
        .copyright {
            text-align: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid #555;
            color: #aaa;
            font-size: 14px;
        }
        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                gap: 15px;
            }
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }
            .nav-links li {
                margin: 5px 10px;
            }
            .comic-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            }
            .comic-img {
                height: 180px;
            }
        }