/* 全新设计 - 现代化布局和样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-bg: #1a1a2e;
    --light-bg: #f7f7f7;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 容器 - 全新布局 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部导航 - 全新设计 */
.header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo h1 a {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* 主要内容区 */
.main {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* 轮播横幅 - 全新设计 */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #fff;
    padding: 100px 0;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.banner .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-content {
    animation: fadeInLeft 0.8s ease-out;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.banner-content p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 300;
}

.banner-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 0.8s ease-out;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.banner-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* 区块标题 - 全新样式 */
.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 800;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* 功能卡片网格 - 全新布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.feature-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card h3 {
    padding: 28px 28px 16px;
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.feature-card p {
    padding: 0 28px 28px;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* 漫画卡片网格 - 全新设计 */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.comic-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
}

.comic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: var(--transition);
}

.comic-card:hover::after {
    opacity: 1;
}

.comic-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.comic-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 1;
}

.comic-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.comic-card:hover img {
    transform: scale(1.15);
}

.comic-card h3 {
    padding: 20px 20px 12px;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.comic-desc {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* 介绍区块 - 全新样式 */
.intro {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 80px 0;
    margin-bottom: 80px;
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.intro h2 {
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.intro-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
    text-align: justify;
}

.intro-content strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 内容页面 - 全新布局 */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-light);
    padding: 20px 0;
}

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

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.content-page {
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    margin-bottom: 80px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-page h1 {
    font-size: 48px;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.content-page h2 {
    font-size: 32px;
    margin: 50px 0 24px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 20px;
}

.content-page h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.content-page p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: justify;
}

.content-page strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 特性列表 - 全新设计 */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 50px 0;
}

.feature-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-item:hover::before {
    opacity: 0.05;
}

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

.feature-item > * {
    position: relative;
    z-index: 1;
}

.feature-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
}

/* 分类列表 - 全新样式 */
.category-list {
    list-style: none;
    margin: 30px 0;
    padding-left: 0;
    display: grid;
    gap: 16px;
}

.category-list li {
    padding: 20px 24px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.category-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-list strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 相关链接 - 全新设计 */
.related-links {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.related-links h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
}

.related-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-links li {
    margin: 0;
}

.related-links a {
    display: block;
    padding: 16px 24px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.related-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 页脚 - 全新设计 */
.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 100px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 动画效果 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-card,
.comic-card,
.feature-item {
    animation: fadeInLeft 0.6s ease-out;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .banner .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .comic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .related-links ul {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
    
    .nav {
        margin-top: 16px;
        width: 100%;
    }
    
    .nav ul {
        gap: 4px;
    }
    
    .nav a {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .banner {
        padding: 60px 0;
        margin-bottom: 50px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .banner-image {
        height: 280px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .feature-grid,
    .comic-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-page {
        padding: 30px 24px;
    }
    
    .content-page h1 {
        font-size: 32px;
    }
    
    .content-page h2 {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .logo h1 {
        font-size: 26px;
    }
    
    .tagline {
        font-size: 11px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .content-page {
        padding: 24px 20px;
    }
    
    .content-page h1 {
        font-size: 28px;
    }
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .nav {
        display: none;
    }
    
    .main {
        padding: 0;
    }
}
