/* 含羞草视频 - 全站样式表 */
/* bjhccz.cn */

/* CSS变量定义 */
:root {
    --primary-color: #e91e8c;
    --secondary-color: #9c27b0;
    --accent-color: #ff4081;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1a;
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --card-bg: #252540;
    --gradient-primary: linear-gradient(135deg, #e91e8c 0%, #9c27b0 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.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, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233, 30, 140, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    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: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-primary);
    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-text);
    border-radius: 2px;
}

/* 搜索框 */
.search-bar {
    background: rgba(37, 37, 64, 0.8);
    padding: 15px 0;
    margin-top: 76px;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(233, 30, 140, 0.3);
    border-radius: 25px;
    background: rgba(15, 15, 26, 0.8);
    color: var(--light-text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
}

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

.search-btn {
    padding: 12px 25px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(233, 30, 140, 0.4);
}

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

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

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

.breadcrumb-list li:last-child::after {
    content: '';
}

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

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

/* Hero区域 */
.hero {
    position: relative;
    min-height: 600px;
    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;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 0%, rgba(233, 30, 140, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    padding: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 30px;
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-primary);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-left: 15px;
    transition: all 0.3s ease;
}

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

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

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

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

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

.section-header p {
    color: var(--gray-text);
    font-size: 1.1rem;
}

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

.video-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(233, 30, 140, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.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: 5px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 3px 8px;
    border-radius: 4px;
    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-text);
    font-size: 0.9rem;
}

.video-stats {
    display: flex;
    gap: 15px;
}

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

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

.category-tab {
    padding: 10px 25px;
    background: var(--card-bg);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.expert-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

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

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

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

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

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

.badge {
    padding: 5px 12px;
    background: rgba(233, 30, 140, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

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

.btn-small {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.btn-small.outline {
    border: 1px solid var(--primary-color);
}

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

/* AI功能区 */
.ai-section {
    background: var(--darker-bg);
}

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

.ai-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.ai-card:hover {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(233, 30, 140, 0.1) 100%);
    transform: translateY(-5px);
}

.ai-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: 2rem;
}

.ai-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* 社区功能 */
.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.community-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.community-item:hover {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(233, 30, 140, 0.15) 100%);
}

.community-icon {
    font-size: 2rem;
}

.community-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

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

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

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

.testimonial-content {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

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

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

.testimonial-role {
    color: var(--gray-text);
    font-size: 0.9rem;
}

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

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(233, 30, 140, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* 联系我们 */
.contact-section {
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

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

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 12px;
    color: var(--gray-text);
}

.contact-info strong {
    color: var(--light-text);
}

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

.qrcode-container img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qrcode-container p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(233, 30, 140, 0.2);
    padding: 60px 0 30px;
}

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

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

.footer-brand p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

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

.footer-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.footer-qrcode p {
    font-size: 0.8rem;
    margin-top: 8px;
}

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--gray-text);
    font-size: 0.9rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

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

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

.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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(233, 30, 140, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* 懒加载占位 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/* 专家作品链接 */
.expert-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.expert-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.category-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(233, 30, 140, 0.15) 100%);
    transform: translateY(-5px);
}

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

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

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