/* 糖心vlog - 专业影视传媒与视频社区平台 */
/* 外部样式表 - 百度SEO优化版本 */

/* CSS Reset & Base */
* {
    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", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a:hover {
    color: #e91e8c;
}

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #e91e8c 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;
    flex-wrap: wrap;
}

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

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

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #fff;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

/* Search Box */
.search-box {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e91e8c;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
}

.search-input:focus {
    border-color: #667eea;
}

.search-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #e91e8c 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

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

/* Banner Slider */
.banner-section {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 100%);
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.banner-content {
    color: #fff;
    max-width: 500px;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #e91e8c 0%, #667eea 100%);
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.banner-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

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

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-dot.active {
    background: #fff;
}

/* Section Common */
.section {
    padding: 60px 0;
}

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

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

/* Video Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px 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: transform 0.3s ease;
}

.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(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 #fff;
    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.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    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;
    color: #999;
    font-size: 13px;
}

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

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e91e8c 0%, #667eea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* Expert Section */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.expert-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.expert-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 30px auto 20px;
    overflow: hidden;
    border: 4px solid #e91e8c;
}

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

.expert-info {
    padding: 0 20px 30px;
}

.expert-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.expert-title {
    color: #e91e8c;
    font-size: 14px;
    margin-bottom: 15px;
}

.expert-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.expert-btn.primary {
    background: linear-gradient(135deg, #e91e8c 0%, #667eea 100%);
    color: #fff;
}

.expert-btn.secondary {
    border: 1px solid #e91e8c;
    color: #e91e8c;
}

.expert-btn:hover {
    opacity: 0.8;
}

/* Partners Section */
.partners-section {
    background: #fff;
}

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

.partner-logo {
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

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

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

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

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

.review-user h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.review-stars {
    color: #ffc107;
}

.review-content {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #e91e8c 100%);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-item p {
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-qrcode {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

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

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

.qrcode-item span {
    font-size: 12px;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

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

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

.footer-links a {
    color: #aaa;
    font-size: 14px;
}

.footer-links a:hover {
    color: #e91e8c;
}

.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: background 0.3s ease;
}

.social-icon:hover {
    background: #e91e8c;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 14px;
}

.footer-qrcodes {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

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

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

.footer-qrcode-item span {
    display: block;
    font-size: 12px;
    color: #aaa;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-list a {
    color: #e91e8c;
}

.breadcrumb-list span::before {
    content: '/';
    margin-right: 10px;
    color: #ccc;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #e91e8c 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

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

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

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

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.8;
    display: none;
}

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

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

.community-feature {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.community-feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.community-feature h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.community-feature p {
    color: #666;
    font-size: 14px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tool-card-header {
    background: linear-gradient(135deg, #667eea 0%, #e91e8c 100%);
    padding: 20px;
    color: #fff;
}

.tool-card-header h3 {
    font-size: 20px;
}

.tool-card-body {
    padding: 20px;
}

.tool-card-body p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-feature-tag {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .banner-section {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-section {
        height: 300px;
    }
    
    .banner-overlay {
        padding-left: 20px;
    }
    
    .banner-content h2 {
        font-size: 22px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 25px;
        border-right: 2px solid #e91e8c;
        margin-bottom: 10px;
    }
    
    .search-btn {
        border-radius: 25px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
}

/* Lazy Load Placeholder */
.lazy-load {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Live Badge */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

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

/* Hot Tag */
.hot-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tag {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #e91e8c;
    border-radius: 20px;
    color: #e91e8c;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
    background: linear-gradient(135deg, #e91e8c 0%, #667eea 100%);
    color: #fff;
    border-color: transparent;
}

/* AI Features */
.ai-features {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.ai-features .section-title h2 {
    color: #fff;
}

.ai-features .section-title p {
    color: rgba(255,255,255,0.7);
}

.ai-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.ai-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.ai-card p {
    color: rgba(255,255,255,0.7);
}
