/* 日本三级 全站样式表 */
/* 域名: sznpst.cn */

/* 基础重置与变量 */
:root {
    --primary-color: #FF6B9D;
    --secondary-color: #c44569;
    --accent-color: #667eea;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --white: #fff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    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;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

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

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

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 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;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    border-radius: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: var(--transition);
}

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

/* 搜索栏 */
.search-bar {
    background: var(--bg-light);
    padding: 20px 0;
}

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

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--secondary-color);
}

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

/* 主横幅 */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,157,0.8) 0%, rgba(196,69,105,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 数据统计 */
.stats-section {
    background: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

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

/* 视频区域 */
.video-section {
    padding: 60px 0;
}

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

.section-title h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

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

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

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

.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: var(--transition);
}

.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: var(--transition);
}

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

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

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

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 14px;
    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;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.video-author {
    color: var(--secondary-color);
}

/* 特色区块 */
.feature-section {
    padding: 80px 0;
    color: var(--white);
}

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

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse > * {
    direction: ltr;
}

.feature-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--accent-color);
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    transition: var(--transition);
}

.feature-btn:hover {
    transform: translateY(-3px);
}

.feature-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* 写真专区 */
.photo-section {
    padding: 60px 0;
    background: var(--white);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.photo-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

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

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

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

/* 社区美图 */
.community-gallery {
    padding: 60px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* AI赋能区域 */
.ai-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

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

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

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

.ai-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

/* 专家团队 */
.expert-section {
    padding: 60px 0;
    background: var(--white);
}

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

.expert-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

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

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

.expert-info {
    padding: 20px;
}

.expert-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.expert-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.expert-credential {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.expert-experience {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.expert-works {
    font-size: 12px;
    color: #888;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* 直播区域 */
.live-section {
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--white);
}

.live-section .section-title h2,
.live-section .section-title p {
    color: var(--white);
}

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

.live-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.live-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

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

.live-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.live-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.live-info p {
    font-size: 13px;
    opacity: 0.8;
}

/* 权威背书 */
.trust-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.trust-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.trust-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

.partner-section {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.partner-section h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* 用户评价 */
.review-section {
    padding: 60px 0;
    background: var(--white);
}

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

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.review-stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

/* FAQ区域 */
.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

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

/* 页面内容 */
.page-content {
    padding: 60px 0;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

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

/* 短视频卡片 */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.shorts-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
}

.shorts-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shorts-card .play-btn {
    width: 50px;
    height: 50px;
}

.shorts-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.shorts-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.shorts-info p {
    font-size: 12px;
    opacity: 0.8;
}

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

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    text-align: right;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .video-grid,
    .photo-grid,
    .gallery-grid,
    .ai-grid,
    .expert-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .live-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .shorts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .video-grid,
    .photo-grid,
    .gallery-grid,
    .ai-grid,
    .expert-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
