/* 糖心vlog 全站样式 - 原创设计 */
/* 设计风格：暗色影视传媒风 + 粉橙渐变糖心色 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-pink: #FF6B9D;
    --primary-orange: #FF8E53;
    --dark-bg: #0F0A1E;
    --dark-card: #1A1230;
    --dark-surface: #241B3A;
    --text-white: #FFFFFF;
    --text-gray: #B8B0CC;
    --text-light: #E8E4F0;
    --gold: #FFD700;
    --gradient-main: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    --gradient-dark: linear-gradient(180deg, #0F0A1E 0%, #1A1230 100%);
    --shadow-card: 0 8px 32px rgba(255, 107, 157, 0.1);
    --shadow-hover: 0 12px 40px rgba(255, 107, 157, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --font-main: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary-pink); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-orange); }

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

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

/* 头部导航 */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(15, 10, 30, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 157, 0.15);
    padding: 12px 0;
}

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

.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 40px; width: auto; }
.site-logo span { font-size: 1.2rem; font-weight: 700; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
    color: var(--text-light); font-size: 0.95rem; font-weight: 500;
    padding: 6px 0; position: relative; transition: all 0.3s;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gradient-main); transition: width 0.3s;
}
.main-nav a:hover { color: var(--text-white); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--primary-pink); }
.main-nav a.active::after { width: 100%; }

/* 搜索框 */
.search-bar {
    background: var(--dark-surface); padding: 14px 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
    margin-top: 64px;
}
.search-box {
    display: flex; max-width: 600px; margin: 0 auto;
    background: var(--dark-card); border-radius: 30px;
    border: 1px solid rgba(255, 107, 157, 0.2); overflow: hidden;
}
.search-box input {
    flex: 1; border: none; background: transparent; padding: 12px 20px;
    color: var(--text-white); font-size: 0.95rem; outline: none;
}
.search-box input::placeholder { color: var(--text-gray); }
.search-box button {
    background: var(--gradient-main); border: none; padding: 12px 24px;
    color: white; font-weight: 600; cursor: pointer; transition: opacity 0.3s;
}
.search-box button:hover { opacity: 0.85; }

/* Hero区域 */
.hero-section {
    position: relative; min-height: 520px; display: flex; align-items: center;
    overflow: hidden; padding: 60px 0;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,10,30,0.92) 0%, rgba(15,10,30,0.5) 60%, rgba(15,10,30,0.3) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: 0 20px; }
.hero-content h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.hero-content h1 span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 28px; line-height: 1.8; }
.hero-btn {
    display: inline-block; padding: 14px 36px; background: var(--gradient-main);
    color: white; font-weight: 700; border-radius: 30px; font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4); color: white; }

/* 通用区块 */
.section { padding: 70px 0; }
.section-title {
    text-align: center; margin-bottom: 50px;
}
.section-title h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-title h2 span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title p { color: var(--text-gray); font-size: 1rem; }

/* 视频卡片网格 */
.video-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--dark-card); border-radius: var(--radius);
    overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 107, 157, 0.08);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.video-card .thumb {
    position: relative; padding-top: 56.25%; overflow: hidden;
}
.video-card .thumb img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.video-card:hover .thumb img { transform: scale(1.05); }
.video-card .play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; background: rgba(255, 107, 157, 0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s;
}
.video-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.play-icon::after {
    content: ''; width: 0; height: 0;
    border-left: 14px solid white; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
    margin-left: 3px;
}
.video-card .card-info { padding: 16px; }
.video-card .card-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--text-white); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card .card-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-gray); }
.video-card .card-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag {
    display: inline-block; padding: 3px 10px; background: rgba(255, 107, 157, 0.15);
    color: var(--primary-pink); border-radius: 20px; font-size: 0.75rem; margin-top: 8px;
}

/* 服务模块 */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.service-item {
    background: var(--dark-card); border-radius: var(--radius); padding: 32px 24px;
    text-align: center; border: 1px solid rgba(255, 107, 157, 0.08);
    transition: transform 0.3s, border-color 0.3s;
}
.service-item:hover { transform: translateY(-4px); border-color: rgba(255, 107, 157, 0.3); }
.service-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: var(--gradient-main); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.service-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.service-item p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; }

/* 专家展示 */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.expert-card {
    background: var(--dark-card); border-radius: var(--radius); padding: 28px 20px;
    text-align: center; border: 1px solid rgba(255, 107, 157, 0.08);
    transition: transform 0.3s;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-avatar {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
    background: var(--gradient-main); padding: 3px;
}
.expert-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.expert-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.expert-card .role { color: var(--primary-pink); font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { color: var(--text-gray); font-size: 0.85rem; line-height: 1.5; }
.expert-btn {
    display: inline-block; margin-top: 14px; padding: 8px 20px;
    border: 1px solid var(--primary-pink); border-radius: 20px;
    color: var(--primary-pink); font-size: 0.85rem; transition: all 0.3s;
}
.expert-btn:hover { background: var(--primary-pink); color: white; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--dark-card); border-radius: var(--radius); margin-bottom: 12px;
    border: 1px solid rgba(255, 107, 157, 0.08); overflow: hidden;
}
.faq-question {
    padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-weight: 600; font-size: 0.95rem; transition: color 0.3s;
}
.faq-question:hover { color: var(--primary-pink); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary-pink); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 18px; color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }

/* 用户评价 */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card {
    background: var(--dark-card); border-radius: var(--radius); padding: 24px;
    border: 1px solid rgba(255, 107, 157, 0.08);
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; }
.review-name { font-weight: 600; font-size: 0.9rem; }
.review-date { color: var(--text-gray); font-size: 0.8rem; }
.review-stars { color: var(--gold); margin-bottom: 10px; font-size: 0.9rem; }
.review-text { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; }

/* 合作品牌 */
.brand-wall {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;
    align-items: center; padding: 20px 0;
}
.brand-wall .brand-item {
    background: var(--dark-card); padding: 16px 28px; border-radius: var(--radius);
    border: 1px solid rgba(255, 107, 157, 0.08); font-size: 1rem; font-weight: 600;
    color: var(--text-gray); transition: all 0.3s;
}
.brand-wall .brand-item:hover { border-color: var(--primary-pink); color: var(--primary-pink); }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.contact-card {
    background: var(--dark-card); border-radius: var(--radius); padding: 28px;
    border: 1px solid rgba(255, 107, 157, 0.08);
}
.contact-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; color: var(--primary-pink); }
.contact-card p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 8px; line-height: 1.6; }

/* 页脚 */
.site-footer {
    background: var(--dark-card); padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 107, 157, 0.1);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-white); }
.footer-col a { display: block; color: var(--text-gray); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary-pink); }
.footer-bottom {
    text-align: center; padding-top: 24px;
    border-top: 1px solid rgba(255, 107, 157, 0.08);
    color: var(--text-gray); font-size: 0.85rem;
}
.footer-qr { display: flex; justify-content: center; gap: 30px; margin: 20px 0; }
.footer-qr .qr-item { text-align: center; }
.footer-qr .qr-item img { width: 100px; height: 100px; border-radius: 8px; margin-bottom: 8px; background: white; padding: 4px; }
.footer-qr .qr-item span { display: block; font-size: 0.8rem; color: var(--text-gray); }

/* 页脚链接 */
.footer-links { text-align: center; margin: 20px 0; font-size: 0.85rem; color: var(--text-gray); }
.footer-links a { color: var(--text-gray); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-pink); }

/* 社交分享 */
.share-bar { display: flex; gap: 12px; justify-content: center; margin: 20px 0; }
.share-bar a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--dark-surface); display: flex; align-items: center; justify-content: center;
    color: var(--text-gray); font-size: 0.9rem; transition: all 0.3s;
    border: 1px solid rgba(255, 107, 157, 0.1);
}
.share-bar a:hover { background: var(--primary-pink); color: white; border-color: var(--primary-pink); }

/* 视频播放页 */
.player-section { padding: 80px 0 40px; }
.video-player { width: 100%; max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-player video { width: 100%; display: block; }
.video-info { max-width: 900px; margin: 24px auto 0; }
.video-info h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.video-info .meta { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 16px; }
.video-info .desc { color: var(--text-gray); font-size: 0.95rem; line-height: 1.8; }

/* 内页Banner */
.page-banner {
    padding: 100px 0 50px; text-align: center;
    background: var(--gradient-dark);
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}
.page-banner h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.page-banner h1 span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-banner p { color: var(--text-gray); font-size: 1rem; }
.breadcrumb { margin-top: 16px; font-size: 0.85rem; color: var(--text-gray); }
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary-pink); }

/* 移动端菜单 */
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* 响应式 */
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(15,10,30,0.98); flex-direction: column; padding: 20px; gap: 16px; }
    .main-nav.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-section { min-height: 400px; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* 视频标签 */
.video-tag { display: inline-block; background: rgba(255,107,157,0.15); color: var(--primary-pink); font-size: 0.75rem; padding: 3px 8px; border-radius: 4px; margin-top: 6px; }

/* 动画 */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }
