* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e1f2a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #e44c9e, #9b4dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #2d2f3e;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #e44c9e;
}

.btn-outline {
    border: 1px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 40px;
    background: transparent;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(95deg, #e44c9e, #9b4dff);
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero区 */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(145deg, #fef6fb 0%, #f1eaff 100%);
    border-radius: 0 0 48px 48px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #b13e7c, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero .sub {
    font-size: 20px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* 通用板块样式 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-desc {
    text-align: center;
    color: #5b6b8c;
    max-width: 680px;
    margin: 0 auto 56px;
    font-size: 18px;
}

/* 智能工具卡片网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.tool-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: 1px solid #f1f1f5;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(228, 76, 158, 0.12);
}

.tool-icon {
    font-size: 48px;
    color: #e44c9e;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.tool-card p {
    color: #5e6f8d;
}

/* 专业漫剧板块 (左右布局) */
.pro-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.pro-content {
    flex: 1;
}

.pro-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.pro-feature-list {
    list-style: none;
    margin-top: 24px;
}

.pro-feature-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
}

.pro-feature-list i {
    color: #e44c9e;
    font-size: 22px;
    width: 28px;
}

.pro-image {
    flex: 1;
    background: linear-gradient(135deg, #fceef8, #f3eaff);
    border-radius: 40px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
}

.pro-image i {
    font-size: 110px;
    color: #e44c9e;
    opacity: 0.9;
}

.pro-image p {
    margin-top: 20px;
    font-weight: 500;
    color: #1e293b;
}

/* 场景卡片 */
.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.scene-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 36px 24px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: all 0.2s;
}

.scene-card i {
    font-size: 52px;
    color: #e44c9e;
    margin-bottom: 24px;
}

.scene-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

/* 同款模板区 */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.template-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #f0f0f4;
}

.template-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
}

.template-preview {
    background: linear-gradient(125deg, #ffd9f0, #e9d5ff);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #b13e7c;
}

.template-info {
    padding: 20px;
    text-align: center;
}

.template-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.template-info p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
    background: #fdf2f9;
    color: #e44c9e;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-sm:hover {
    background: #ffe6f2;
}

/* 页脚 */
footer {
    background: #fefbfd;
    border-top: 1px solid #f0e4f0;
    padding: 48px 0 32px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #e44c9e, #9b4dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #4a5568;
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0e0ef;
    color: #6c757d;
    font-size: 14px;
}


/* 分类导航标签 */
.category-nav {
    background: #ffffff;
    border-bottom: 1px solid #f0eef5;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.category-tabs a{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-decoration: none;
}

.category-tab {
    padding: 8px 24px;
    border-radius: 40px;
    background: #f5f3ff;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.category-tab:hover {
    background: #e9e4ff;
    color: #e44c9e;
}

.category-tab.active {
    background: linear-gradient(95deg, #e44c9e, #9b4dff);
    color: white;
}

/* 二级分类 */
.sub-category {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.sub-category a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.sub-category a:hover,
.sub-category a.active {
    color: #e44c9e;
}

/* 归档页头部 */
.archive-header {
    text-align: center;
    margin: 40px 0 30px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.section-desc {
    text-align: center;
    color: #5b6b8c;
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
}

/* 三列网格布局 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
}

/* 卡片样式 */
.course-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f1f1f5;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(228, 76, 158, 0.12);
}

/* 视频预览区域 */
.video-preview {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-card:hover .video-preview img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.course-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e44c9e;
    font-size: 24px;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* 卡片内容区 */
.course-info {
    padding: 20px;
}

.course-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

.course-title a {
    color: inherit;
    text-decoration: none;
}

.course-title a:hover {
    color: #e44c9e;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6c757d;
}

.creator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.creator i {
    font-size: 14px;
    color: #e44c9e;
}

.learning-count {
    color: #e44c9e;
    font-weight: 500;
}

.learning-count i {
    margin-right: 4px;
}

.course-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: #f5f3ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #e44c9e;
    font-weight: 500;
}

/* 分页导航 */
.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #F0B90B;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #F0B90B;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.pagination-wrap .active a{
    background-color: #F0B90B !important;
    color: #fff !important;
    font-weight: bold;
}

/* 页脚 */
footer {
    background: #fefbfd;
    border-top: 1px solid #f0e4f0;
    padding: 48px 0 32px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #e44c9e, #9b4dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #4a5568;
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0e0ef;
    color: #6c757d;
    font-size: 14px;
}

/* 面包屑导航 */
.breadcrumb {
    margin: 24px 0 20px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb a {
    color: #e44c9e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 12px;
    color: #cbd5e1;
}

/* 主要内容区域 - 左右布局 */
.content-wrapper {
    display: flex;
    gap: 48px;
    margin: 20px 0 60px;
}

/* 左侧主要内容区 */
.main-content {
    flex: 2;
    min-width: 0;
}

/* 右侧侧边栏 */
.sidebar {
    flex: 1;
    min-width: 280px;
}

/* 视频/文章头部 */
.article-header {
    margin-bottom: 24px;
}

.article-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0eef5;
    margin-bottom: 24px;
    color: #6c757d;
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: #e44c9e;
    font-size: 16px;
}

/* 视频播放器区域 */
.video-player {
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e44c9e;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-btn-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* 文章内容 */
.article-content {
    margin: 28px 0;
}

.article-content h2 {
    font-size: 24px;
    margin: 24px 0 16px;
    color: #0f172a;
}

.article-content h3 {
    font-size: 20px;
    margin: 20px 0 12px;
    color: #1e293b;
}

.article-content p {
    margin-bottom: 16px;
    color: #4b5563;
    line-height: 1.7;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 16px 24px;
    color: #4b5563;
}

.article-content li {
    margin-bottom: 8px;
}

.tips-box {
    background: #fef6fb;
    border-left: 4px solid #e44c9e;
    padding: 20px 24px;
    border-radius: 16px;
    margin: 24px 0;
}

.tips-box i {
    color: #e44c9e;
    font-size: 20px;
    margin-right: 12px;
}

.tips-box strong {
    color: #e44c9e;
}

/* 素材下载区域 */
.download-section {
    background: #f5f3ff;
    border-radius: 20px;
    padding: 24px;
    margin: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.download-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f172a;
}

.download-info p {
    font-size: 14px;
    color: #6c757d;
}

.btn-download {
    background: linear-gradient(95deg, #e44c9e, #9b4dff);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.btn-download:hover {
    opacity: 0.9;
}

/* 右侧边栏样式 */
.sidebar-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #f0eef5;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e44c9e;
    display: inline-block;
}

/* 相关文章列表 */
.related-posts {
    list-style: none;
}

.related-post-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0eef5;
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
}

.related-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.related-info h4 a {
    color: #1e293b;
    text-decoration: none;
}

.related-info h4 a:hover {
    color: #e44c9e;
}

.related-meta {
    font-size: 12px;
    color: #9ca3af;
}

.related-meta i {
    margin-right: 4px;
}

/* 热门标签 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background: #f5f3ff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: #e44c9e;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background: #e44c9e;
    color: white;
}

/* 创作者信息 */
.creator-card {
    text-align: center;
}

.creator-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e44c9e, #9b4dff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: white;
}

.creator-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.creator-card p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
}

.btn-follow {
    background: transparent;
    border: 1px solid #e44c9e;
    color: #e44c9e;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-follow:hover {
    background: #e44c9e;
    color: white;
}

/* 页脚 */
footer {
    background: #fefbfd;
    border-top: 1px solid #f0e4f0;
    padding: 48px 0 32px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #e44c9e, #9b4dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #4a5568;
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0e0ef;
    color: #6c757d;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 24px 0;
        gap: 20px;
        margin-top: 20px;
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .pro-wrapper {
        flex-direction: column;
    }

    .pro-content h2 {
        font-size: 30px;
    }

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

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-tab {
        padding: 6px 18px;
        font-size: 14px;
    }

    .article-header h1 {
        font-size: 26px;
    }

    .article-meta {
        gap: 16px;
    }

    .download-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .btn-large {
        padding: 10px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .course-title {
        font-size: 16px;
    }
    .article-header h1 {
        font-size: 22px;
    }

    .related-post-item {
        flex-direction: column;
    }

    .related-thumb {
        width: 100%;
        height: 120px;
    }
}