/* 日本大片ppt免费ppt 全站样式 - susongcan.cn */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: #fff;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav a:hover,
.nav a.active {
    background: rgba(255,255,255,0.2);
}

/* 搜索框 */
.search-bar {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ff6b9d;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 15px;
    outline: none;
}

.search-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.3s;
}

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

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

.breadcrumb a {
    color: #ff6b9d;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* Banner轮播 */
.banner {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* 区块标题 */
.section {
    padding: 50px 0;
}

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

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

.section-title p {
    color: #666;
    font-size: 15px;
}

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

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

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    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%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    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;
}

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

.video-tag {
    font-size: 12px;
    padding: 3px 10px;
    background: #fff0f5;
    color: #ff6b9d;
    border-radius: 12px;
}

/* 专家展示 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.expert-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ff6b9d;
}

.expert-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-title {
    color: #ff6b9d;
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.expert-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    transition: opacity 0.3s;
}

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

/* 用户评价 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.review-name {
    font-weight: bold;
}

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

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

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

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #fff;
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

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

/* 二维码区域 */
.qrcode-section {
    background: #f8f9fa;
}

.qrcode-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.qrcode-item img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qrcode-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* 合作品牌 */
.partner-logos {
    text-align: center;
}

.partner-logos img {
    max-width: 100%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

/* 页脚 */
.footer {
    background: #2d3436;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ff6b9d;
}

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

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

.footer-col a {
    color: #b2bec3;
    font-size: 14px;
    transition: color 0.3s;
}

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

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

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

.footer-desc {
    font-size: 14px;
    color: #b2bec3;
    line-height: 1.7;
}

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

.footer-bottom p {
    margin-bottom: 5px;
}

/* 分享按钮 */
.share-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s;
}

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

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; }
.share-bilibili { background: #fb7299; }

/* 工具卡片 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.tool-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 13px;
    color: #666;
}

/* 社区话题 */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.topic-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.topic-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #fff0f5;
    color: #ff6b9d;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.topic-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.topic-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.topic-meta {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 22px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .video-grid,
    .expert-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .qrcode-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .nav a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 25px;
        border-right: 2px solid #ff6b9d;
        margin-bottom: 10px;
    }
    
    .search-btn {
        border-radius: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 懒加载占位 */
.lazy-load {
    background: #f0f0f0;
    animation: pulse 1.5s infinite;
}

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

/* 页面特定样式 */
.page-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

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

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* 内容区域 */
.content-section {
    padding: 40px 0;
}

.content-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.content-box h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b9d;
}

.content-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-box ul {
    padding-left: 20px;
    color: #666;
}

.content-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}
