/* 17c网站 - 主样式文件 */
/* 影视传媒公司+视频社区 - syunsoku-shoes.com */

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

/* 根变量定义 */
:root {
    --primary-color: #7c3aed;
    --secondary-color: #ec4899;
    --accent-color: #f472b6;
    --dark-bg: #1a1a2e;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

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

/* 懒加载图片 */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

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

/* 头部导航 */
.header {
    background: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主导航 */
.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* 搜索框 */
.search-box {
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    margin: 15px auto;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 0.9rem;
    width: 100%;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-box button {
    background: var(--gradient-primary);
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.search-box button:hover {
    transform: scale(1.05);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #64748b;
}

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

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

.breadcrumb span {
    margin: 0 8px;
}

/* Hero区域 */
.hero {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-banner.jpg') center/cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* 区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    color: #64748b;
    font-size: 1rem;
}

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

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

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

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

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

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

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

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 视频标签 */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.video-tag {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* 内容区块 */
.section {
    padding: 60px 0;
}

.section-alt {
    background: white;
}

/* 专家团队 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

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

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

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

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

.expert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.expert-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.expert-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.expert-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.expert-btn:hover {
    transform: scale(1.05);
}

/* 特色模块 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

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

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: #64748b;
}

/* 合作伙伴 */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-logos img {
    height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

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

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

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.review-user h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

.review-user span {
    font-size: 0.85rem;
    color: #64748b;
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

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

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(124, 58, 237, 0.05);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #64748b;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

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

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 5px;
}

.contact-qr {
    width: 120px;
    height: 120px;
    margin: 15px auto 0;
}

.contact-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

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

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

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

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

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

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

.footer-logo {
    margin-bottom: 15px;
}

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

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-qr {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

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

.footer-qr-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.footer-qr-item span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

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

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

.footer-bottom .update-time {
    margin-top: 10px;
    font-size: 0.8rem;
}

/* 社交分享 */
.social-share {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-share a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-share a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-qr {
        justify-content: center;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 直播标签 */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

/* 热门标签 */
.hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    padding: 40px 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 分类标签 */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-tab {
    padding: 8px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category-tab:hover,
.category-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
