/* 糖心vlog - 全站样式表 */
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 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;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

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

.logo img {
    height: 45px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

.search-box {
    display: flex;
    background: rgba(255,255,255,0.9);
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 10px 15px;
    width: 200px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    background: #ff6b9d;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #fff;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero-banner.jpg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #fff;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* 视频区域 */
.video-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

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

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

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.video-thumb img {
    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(255,107,157,0.9);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

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

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

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 0.85rem;
}

/* 特色功能区域 */
.features-section {
    padding: 80px 0;
}

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

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 创作者展示 */
.creators-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 100%);
}

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

.creator-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #ff6b9d;
}

.creator-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.creator-card .role {
    color: #ff6b9d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.creator-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 专家团队 */
.experts-section {
    padding: 80px 0;
}

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

.expert-card {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.expert-card img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.expert-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.expert-info .title {
    color: #ff6b9d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.expert-info p {
    color: #666;
    font-size: 0.95rem;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
}

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

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

.breadcrumb-list span {
    color: #999;
}

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

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

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: #2d3436;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: #b2bec3;
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ff6b9d;
}

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

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

.footer-links a {
    color: #b2bec3;
    transition: color 0.3s ease;
}

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

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

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

.footer-qrcode p {
    font-size: 0.85rem;
    color: #b2bec3;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 20px;
    text-align: center;
    color: #b2bec3;
    font-size: 0.9rem;
}

/* 懒加载动画 */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-card {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-card img {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .search-box input {
        width: 150px;
    }
}

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

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; }
.share-bilibili { background: #00a1d6; }

/* 用户评价 */
.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.review-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.review-card .author {
    font-weight: bold;
    color: #333;
}

/* FAQ样式 */
.faq-section {
    padding: 80px 0;
}

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

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

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
}

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

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.contact-card h4 {
    margin-bottom: 10px;
    color: #333;
}

.contact-card p {
    color: #666;
}
