/* 国产视频 - gujie-jianfei.com.cn 全新原创样式 */
/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e91e8c;
    --primary-dark: #c4167a;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, #e91e8c 0%, #7c3aed 50%, #06b6d4 100%);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

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

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

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

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

.nav-menu li a {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--gradient);
    color: white;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--light);
    border-radius: 3px;
}

/* 搜索栏 */
.search-bar {
    background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, transparent 100%);
    padding: 100px 20px 30px;
}

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

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--light);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.search-input::placeholder {
    color: var(--gray);
}

.search-btn {
    padding: 15px 35px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: rgba(0,0,0,0.3);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: var(--gray);
}

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

/* Hero区域 */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(124,58,237,0.5) 50%, rgba(233,30,140,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 120px 30px 60px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(233,30,140,0.2);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233,30,140,0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

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

/* 统计数据 */
.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-dark {
    background: rgba(0,0,0,0.3);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.video-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(233,30,140,0.2);
}

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

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

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

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

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
}

.video-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(233,30,140,0.2);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 10px;
}

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

.category-tab {
    padding: 10px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 内容分类卡片 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    background: linear-gradient(135deg, rgba(233,30,140,0.1) 0%, rgba(124,58,237,0.1) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

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

.expert-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.expert-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

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

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

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

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

.expert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.badge {
    padding: 5px 12px;
    background: rgba(124,58,237,0.2);
    color: var(--secondary);
    border-radius: 15px;
    font-size: 0.8rem;
}

.expert-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.expert-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.expert-link {
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.expert-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 社区功能 */
.community-section {
    background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(233,30,140,0.2) 100%);
    border-radius: 30px;
    padding: 60px;
    margin: 40px 0;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.community-item {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.community-item:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}

.community-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.community-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.community-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.review-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.review-user h4 {
    font-size: 1rem;
}

.review-user span {
    color: var(--gray);
    font-size: 0.85rem;
}

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

.review-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.faq-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--gray);
    display: none;
}

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

.faq-item.active .faq-question::after {
    content: '-';
}

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

.contact-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.contact-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-card img {
    max-width: 150px;
    margin-top: 15px;
    border-radius: 10px;
}

/* 页脚 */
.footer {
    background: rgba(0,0,0,0.5);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light);
}

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

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

.footer-links a {
    color: var(--gray);
    transition: color 0.3s ease;
}

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

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

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

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

.qr-item span {
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social,
    .footer-qr {
        justify-content: center;
    }
    
    .community-section {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}


/* 社区美图展示 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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