/* 小马拉大车 - 全站样式表 */
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff4785;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #ff6b9d;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ff6b9d;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    border-radius: 2px;
}

.header-right {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.btn-login {
    color: #ff6b9d;
    border: 1px solid #ff6b9d;
}

.btn-register {
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    color: #fff;
}

/* 搜索栏 */
.search-bar {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    padding: 20px 0;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 16px;
}

.hot-tags {
    text-align: center;
    margin-top: 15px;
    color: #fff;
}

.hot-tags a {
    color: #fff;
    margin: 0 10px;
    opacity: 0.9;
}

.hot-tags a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 面包屑 */
.breadcrumb {
    background: #fff;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #ff6b9d;
}

/* Hero区域 */
.hero {
    background: #fff;
    padding: 60px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.hero-desc {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,157,0.4);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ff6b9d;
    color: #ff6b9d;
    border-radius: 25px;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #ff6b9d;
    color: #fff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #ff6b9d;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 通用区块样式 */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.view-more {
    display: inline-block;
    margin-top: 15px;
    color: #ff6b9d;
    font-weight: 500;
}

/* 视频卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,107,157,0.9);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-card:hover .play-btn,
.video-thumb:hover .play-btn {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.video-author {
    font-size: 13px;
    color: #666;
}

/* 大视频卡片 */
.video-card-large {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.video-card-large .video-thumb {
    width: 320px;
    flex-shrink: 0;
}

.video-card-large .video-info {
    flex: 1;
    padding: 20px;
}

.video-card-large h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.video-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 分类卡片 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.category-count {
    color: #ff6b9d;
    font-weight: 500;
}

/* 专家卡片 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.expert-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.expert-card img {
    width: 200px;
    height: 250px;
    object-fit: cover;
}

.expert-info {
    padding: 25px;
    flex: 1;
}

.expert-info h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
}

.expert-title {
    color: #ff6b9d;
    font-weight: 500;
    margin-bottom: 15px;
}

.expert-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.expert-tags span {
    background: #fff0f5;
    color: #ff6b9d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.expert-btns {
    display: flex;
    gap: 10px;
}

.expert-btn {
    padding: 8px 16px;
    border: 1px solid #ff6b9d;
    color: #ff6b9d;
    border-radius: 20px;
    font-size: 13px;
}

.expert-btn:hover {
    background: #ff6b9d;
    color: #fff;
}

/* AI工具区域 */
.ai-tools {
    background: linear-gradient(135deg, #fff0f5, #ffe4ec);
}

.ai-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ai-text {
    flex: 1;
}

.ai-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.ai-text > p {
    color: #666;
    margin-bottom: 25px;
}

.ai-features {
    list-style: none;
    margin-bottom: 25px;
}

.ai-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.ai-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-weight: bold;
}

.ai-image {
    flex: 1;
    max-width: 500px;
}

.ai-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 用户评价 */
.testimonials {
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
}

.testimonial-content p {
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.author-role {
    font-size: 13px;
    color: #999;
}

.rating {
    color: #ffc107;
}

/* 加入社区 */
.join-community {
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-num {
    font-size: 48px;
    font-weight: bold;
    color: #ff6b9d;
    opacity: 0.3;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.step-card p {
    color: #666;
    font-size: 14px;
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.faq-item {
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    color: #ff6b9d;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.8;
}

/* 社交分享 */
.social-share {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    padding: 40px 0;
    text-align: center;
}

.social-share h3 {
    color: #fff;
    margin-bottom: 20px;
}

.share-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    padding: 10px 25px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 20px;
    transition: background 0.3s;
}

.social-btn:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 33px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: bold;
}

.footer-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-contact p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-col a {
    color: #aaa;
    font-size: 14px;
}

.footer-col a:hover {
    color: #ff6b9d;
}

.qrcode-grid {
    display: flex;
    gap: 15px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qrcode-item span {
    display: block;
    font-size: 12px;
    color: #aaa;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.update-time {
    margin-top: 10px;
    color: #666;
}

/* 内页样式 */
.main-content {
    background: #f5f5f5;
    min-height: 60vh;
}

.page-header {
    padding: 40px 0;
}

.page-header.center {
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.filter-tabs {
    display: flex;
    gap: 20px;
}

.filter-tab {
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
}

.filter-tab.active,
.filter-tab:hover {
    background: #ff6b9d;
    color: #fff;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 15px;
    background: #fff;
    color: #666;
    border-radius: 5px;
}

.page-btn.active,
.page-btn:hover {
    background: #ff6b9d;
    color: #fff;
}

/* 创作中心样式 */
.creator-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.creator-hero-content {
    flex: 1;
}

.creator-hero-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.creator-hero-content > p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.hero-stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat-box {
    text-align: center;
    padding: 15px 25px;
    background: #fff0f5;
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ff6b9d;
}

.stat-text {
    font-size: 13px;
    color: #666;
}

.creator-hero-image {
    flex: 1;
    max-width: 450px;
}

.creator-hero-image img {
    border-radius: 15px;
}

/* 等级卡片 */
.level-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.level-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.level-card.featured {
    border: 2px solid #ff6b9d;
    transform: scale(1.05);
}

.level-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 15px;
}

.level-badge.bronze { background: #cd7f32; color: #fff; }
.level-badge.silver { background: #c0c0c0; color: #333; }
.level-badge.gold { background: linear-gradient(90deg, #ff6b9d, #ff8fab); color: #fff; }
.level-badge.diamond { background: linear-gradient(90deg, #667eea, #764ba2); color: #fff; }

.level-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.level-requirement {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
}

.level-benefits {
    list-style: none;
    text-align: left;
}

.level-benefits li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #666;
}

.level-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b9d;
}

/* 权益网格 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #666;
    font-size: 14px;
}

/* 创作指南 */
.guide-list {
    max-width: 800px;
    margin: 0 auto;
}

.guide-item {
    display: flex;
    gap: 25px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.guide-num {
    font-size: 36px;
    font-weight: bold;
    color: #ff6b9d;
    opacity: 0.5;
}

.guide-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.guide-content p {
    color: #666;
    line-height: 1.8;
}

/* CTA区域 */
.creator-cta,
.tools-cta {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
}

.cta-content h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.cta-content .btn-primary {
    background: #fff;
    color: #ff6b9d;
}

/* 社区样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.feature-link {
    color: #ff6b9d;
    font-weight: 500;
}

/* 话题列表 */
.topic-list {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.topic-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.topic-card:last-child {
    border-bottom: none;
}

.topic-rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 20px;
}

.topic-rank.hot {
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    color: #fff;
}

.topic-info {
    flex: 1;
}

.topic-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.topic-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.topic-stats {
    font-size: 12px;
    color: #999;
}

.topic-join {
    padding: 8px 20px;
    background: #ff6b9d;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

/* 直播卡片 */
.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.live-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.live-thumb {
    position: relative;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.live-viewers {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.live-info {
    padding: 15px;
}

.live-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.live-host {
    color: #999;
    font-size: 13px;
}

/* 活动卡片 */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.activity-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.activity-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: #fff;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.activity-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.activity-card > p {
    color: #666;
    margin-bottom: 15px;
}

.activity-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999;
}

/* 社区规则 */
.rules-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rule-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
}

.rule-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ff6b9d;
}

.rule-item p {
    color: #666;
    font-size: 14px;
}

/* 工具页面 */
.tools-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.tools-hero-content {
    flex: 1;
}

.tools-hero-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.tools-hero-content > p {
    color: #666;
    margin-bottom: 20px;
}

.tools-highlights {
    list-style: none;
    margin-bottom: 25px;
}

.tools-highlights li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.tools-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b9d;
}

.tools-hero-image {
    flex: 1;
    max-width: 450px;
}

.tools-hero-image img {
    border-radius: 15px;
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tool-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
}

.tool-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tool-card > p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.tool-features {
    list-style: none;
    margin-bottom: 20px;
}

.tool-features li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #666;
}

.tool-features li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #ff6b9d;
}

.tool-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

/* 教程网格 */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tutorial-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.tutorial-card h3 {
    padding: 15px;
    font-size: 16px;
}

.tutorial-card p {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

/* 对比表格 */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #f9f9f9;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .video-grid,
    .category-grid,
    .testimonial-grid,
    .tools-grid,
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .level-grid,
    .steps-grid,
    .feature-grid,
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero .container,
    .ai-content,
    .creator-hero,
    .tools-hero {
        flex-direction: column;
    }
    
    .hero-image,
    .ai-image,
    .creator-hero-image,
    .tools-hero-image {
        max-width: 100%;
    }
    
    .video-grid,
    .category-grid,
    .testimonial-grid,
    .expert-grid,
    .benefits-grid,
    .tools-grid,
    .tutorial-grid,
    .activity-grid,
    .rules-content {
        grid-template-columns: 1fr;
    }
    
    .level-grid,
    .steps-grid,
    .feature-grid,
    .live-grid {
        grid-template-columns: 1fr;
    }
    
    .level-card.featured {
        transform: none;
    }
    
    .video-card-large {
        flex-direction: column;
    }
    
    .video-card-large .video-thumb {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-stats-row {
        flex-wrap: wrap;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}
