/* 歪歪漫画 - 全站样式表 */
/* 基础重置与变量 */
:root {
    --primary-color: #ff6b8a;
    --primary-dark: #e85a78;
    --primary-light: #ffb3c1;
    --secondary-color: #6c5ce7;
    --accent-color: #fd79a8;
    --text-color: #2d3436;
    --text-light: #636e72;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

/* 头部导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255,107,138,0.1);
}

.header-search {
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,138,0.15);
}

.search-input {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 14px;
    width: 200px;
    outline: none;
}

.search-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* 主视觉区域 */
.hero-section {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #fff5f7 0%, #f8f0ff 50%, #f0f8ff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

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

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,138,0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.hero-visual {
    position: relative;
}

.hero-video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

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

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-btn svg {
    fill: var(--primary-color);
    margin-left: 5px;
}

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

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

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

.section:nth-child(even) {
    background: var(--bg-light);
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

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

.video-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

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

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-icon svg {
    fill: var(--primary-color);
    margin-left: 4px;
}

.video-play-overlay:hover .play-icon {
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    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: var(--text-light);
    margin-bottom: 12px;
}

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

.tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
}

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,107,138,0.1), rgba(108,92,231,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 娱乐专区 */
.entertainment-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.ent-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.ent-card-large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.ent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.ent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.ent-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.ent-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.ent-count {
    font-size: 12px;
    opacity: 0.8;
}

/* AI功能 */
.ai-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ai-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.ai-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.ai-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.ai-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.ai-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 社区功能 */
.community-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.comm-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.comm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.comm-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.live-icon {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.comm-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.comm-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 专家展示 */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expert-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expert-avatar {
    height: 200px;
    overflow: hidden;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    padding: 25px;
}

.expert-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.expert-title {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.expert-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.expert-achievements {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.expert-achievements span {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-light);
}

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

/* 合作伙伴 */
.partners-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-logo {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-logo:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* 加入指南 */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.step-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
}

.faq-section {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.review-name {
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.review-content {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 16px;
    font-weight: 500;
}

.contact-qr {
    display: flex;
    gap: 30px;
    justify-content: center;
}

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

.qr-item img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* 社交分享 */
.share-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px 0;
}

.share-content {
    text-align: center;
    color: white;
}

.share-content h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

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

.share-btn {
    width: 100px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    text-align: center;
    transition: var(--transition);
}

.share-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

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

.footer-col ul li a,
.footer-col ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid,
    .ai-features,
    .community-features,
    .howto-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experts-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .entertainment-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ent-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .partners-wall {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .video-grid,
    .service-grid,
    .ai-features,
    .community-features,
    .experts-grid,
    .reviews-grid,
    .howto-steps {
        grid-template-columns: 1fr;
    }
    
    .entertainment-grid {
        grid-template-columns: 1fr;
    }
    
    .ent-card-large {
        grid-column: span 1;
    }
    
    .partners-wall {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-qr {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

/* 懒加载动画 */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 打印样式 */
@media print {
    .site-header,
    .share-section,
    .site-footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
