/* 糖心vlog - 主样式表 */
/* 影视传媒公司+视频社区 - hwzpey.cn */

/* CSS变量定义 */
:root {
    --primary-color: #FF6B9D;
    --secondary-color: #FF8A80;
    --accent-color: #E91E63;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #FF6B9D 0%, #FF8A80 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul, ol {
    list-style: none;
}

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

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

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

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a {
    padding: 10px 18px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-normal);
}

.btn-login:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-register {
    padding: 10px 25px;
    background: var(--gradient-primary);
    border-radius: 25px;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition-normal);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

/* 搜索框 */
.search-bar {
    background: var(--darker-bg);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid rgba(255, 107, 157, 0.3);
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-normal);
}

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

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

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.search-btn svg {
    width: 18px;
    height: 18px;
}

/* 横幅轮播 */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.banner-slider {
    position: relative;
    height: 500px;
}

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

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

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 600px;
    padding: 0 50px;
    color: var(--text-light);
}

.banner-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

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

.btn-primary {
    padding: 14px 35px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 30px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-secondary {
    padding: 14px 35px;
    background: transparent;
    border: 2px solid var(--text-light);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.banner-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

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

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header h2 span {
    color: var(--primary-color);
}

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

.section-dark {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.section-dark .section-header h2 {
    color: var(--text-light);
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

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

.video-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

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

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

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

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    cursor: pointer;
}

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

.video-play-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
    margin-left: 3px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    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: var(--text-gray);
}

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

.video-meta svg {
    width: 14px;
    height: 14px;
}

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

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

/* 特色模块 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

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

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--text-light);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* 专家团队 */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.expert-card {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

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

.expert-avatar {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.expert-info {
    padding: 20px;
    text-align: center;
}

.expert-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

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

.expert-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.expert-social a {
    width: 35px;
    height: 35px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.expert-social a:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.expert-social svg {
    width: 16px;
    height: 16px;
}

.expert-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.expert-btns a {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: center;
    transition: var(--transition-normal);
}

.btn-contact {
    background: var(--gradient-primary);
    color: var(--text-light);
}

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

.btn-works:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* 合作伙伴 */
.partners-section {
    background: var(--text-light);
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partners-logos img {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition-normal);
    filter: grayscale(100%);
}

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

/* 用户评价 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

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

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

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

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

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

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

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: #FFD700;
}

.testimonial-content {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

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

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

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

.faq-question:hover {
    background: rgba(255, 107, 157, 0.05);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-normal);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.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 {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-light);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

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

.contact-qrcodes {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

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

.qrcode-item img {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

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

.contact-company {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.company-image {
    height: 200px;
    overflow: hidden;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info {
    padding: 30px;
}

.company-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.company-info p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}

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

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

.share-btns {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-normal);
}

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

.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #000000; }
.share-bilibili { background: #FB7299; }

.share-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

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

.footer-brand {
    max-width: 350px;
}

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

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

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

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

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

.footer-qrcode p {
    font-size: 0.8rem;
    opacity: 0.7;
}

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

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

.footer-links ul li a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

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

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

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

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--text-light);
}

.update-time {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

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

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list li a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

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

.breadcrumb-list li span {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-list li svg {
    width: 14px;
    height: 14px;
    fill: var(--text-gray);
}

/* 内页标题 */
.page-header {
    background: var(--gradient-dark);
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
}

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

.page-header h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.main-content {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-light);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.hot-videos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-video-item {
    display: flex;
    gap: 12px;
}

.hot-video-thumb {
    width: 80px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.hot-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-video-info h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.hot-video-info span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 6px 14px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.pagination a {
    background: var(--text-light);
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.pagination span {
    color: var(--text-gray);
}

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

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .banner-slider {
        height: 400px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .btn-login,
    .btn-register {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .banner-slider {
        height: 350px;
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-qrcodes {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .search-input {
        padding: 10px 45px 10px 15px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .contact-qrcodes {
        flex-direction: column;
        align-items: center;
    }
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition-normal);
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* 懒加载占位 */
.lazy-load {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 视频播放器容器 */
.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 直播标签 */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: #FF0000;
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 2s infinite;
}

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

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
}

/* 工具卡片 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tool-card {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

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

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

.tool-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--text-light);
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.tool-card .btn-primary {
    padding: 10px 25px;
    font-size: 0.9rem;
}

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

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* 社区卡片 */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.community-card {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

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

.community-image {
    height: 180px;
    overflow: hidden;
}

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.community-info {
    padding: 20px;
}

.community-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.community-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.community-stats {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

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

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

@media (max-width: 576px) {
    .community-grid {
        grid-template-columns: 1fr;
    }
}
