/* ============================================
   糖心vlog 全站样式表 - 原创设计
   品牌色系：珊瑚粉 #FF6B9D / 暖橙 #FF8A65 / 深紫 #2D1B69
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fafafa; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: color .3s; }
a:hover { color: #FF6B9D; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Header / Navigation --- */
.site-header { background: linear-gradient(135deg, #2D1B69 0%, #1a0f40 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; max-width: 1200px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span { color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: 1px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: rgba(255,255,255,.85); padding: 8px 16px; border-radius: 6px; font-size: .9rem; font-weight: 500; transition: all .3s; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,107,157,.25); color: #fff; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- Search Bar --- */
.search-bar-wrap { background: linear-gradient(90deg, #FF6B9D 0%, #FF8A65 100%); padding: 12px 0; }
.search-bar-wrap .container { display: flex; align-items: center; justify-content: center; gap: 10px; }
.search-bar-wrap input[type="text"] { width: 50%; max-width: 500px; padding: 10px 20px; border: none; border-radius: 25px; font-size: .95rem; outline: none; background: rgba(255,255,255,.95); }
.search-bar-wrap button { padding: 10px 28px; border: none; border-radius: 25px; background: #2D1B69; color: #fff; font-size: .95rem; cursor: pointer; transition: background .3s; }
.search-bar-wrap button:hover { background: #1a0f40; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 12px 0; font-size: .85rem; color: #888; }
.breadcrumb a { color: #FF6B9D; }
.breadcrumb span { margin: 0 6px; }

/* --- Hero Section --- */
.hero-section { position: relative; overflow: hidden; background: #1a0f40; }
.hero-section img { width: 100%; height: 480px; object-fit: cover; opacity: .7; }
.hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.hero-overlay h1 { color: #fff; font-size: 2.8rem; font-weight: 800; text-shadow: 0 4px 20px rgba(0,0,0,.5); margin-bottom: 16px; }
.hero-overlay p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 600px; margin-bottom: 24px; }
.hero-btn { display: inline-block; padding: 14px 40px; background: linear-gradient(135deg, #FF6B9D, #FF8A65); color: #fff; border-radius: 30px; font-size: 1.05rem; font-weight: 600; box-shadow: 0 6px 20px rgba(255,107,157,.4); transition: transform .3s, box-shadow .3s; }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,107,157,.5); color: #fff; }

/* --- Section Common --- */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-dark { background: linear-gradient(135deg, #2D1B69, #1a0f40); color: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; font-weight: 700; color: #2D1B69; position: relative; display: inline-block; padding-bottom: 12px; }
.section-dark .section-title h2 { color: #fff; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(90deg, #FF6B9D, #FF8A65); border-radius: 2px; }
.section-title p { color: #777; margin-top: 10px; font-size: 1rem; }
.section-dark .section-title p { color: rgba(255,255,255,.7); }

/* --- Video Card Grid --- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; cursor: pointer; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.video-card .thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .thumb img { transform: scale(1.05); }
.video-card .play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .3s; }
.video-card:hover .play-icon { opacity: 1; }
.play-icon svg { width: 50px; height: 50px; fill: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.video-card .card-body { padding: 16px; }
.video-card .card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card .meta { display: flex; gap: 12px; font-size: .8rem; color: #999; }
.video-card .meta span { display: flex; align-items: center; gap: 4px; }
.video-card .tag { display: inline-block; padding: 2px 10px; background: linear-gradient(135deg, #FF6B9D, #FF8A65); color: #fff; border-radius: 12px; font-size: .75rem; margin-top: 8px; }

/* --- Feature Cards --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.feature-card { background: #fff; border-radius: 12px; padding: 30px 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .3s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon { width: 64px; height: 64px; margin: 0 auto 16px; background: linear-gradient(135deg, #FF6B9D, #FF8A65); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: #2D1B69; }
.feature-card p { font-size: .9rem; color: #666; }

/* --- Expert Section --- */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.expert-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.expert-card .expert-img { height: 220px; overflow: hidden; }
.expert-card .expert-img img { width: 100%; height: 100%; object-fit: cover; }
.expert-card .expert-info { padding: 20px; }
.expert-card .expert-info h3 { font-size: 1.15rem; font-weight: 700; color: #2D1B69; margin-bottom: 6px; }
.expert-card .expert-info .role { color: #FF6B9D; font-size: .85rem; font-weight: 500; margin-bottom: 10px; }
.expert-card .expert-info p { font-size: .88rem; color: #666; margin-bottom: 14px; }
.expert-card .expert-btns { display: flex; gap: 10px; }
.expert-card .expert-btns a { padding: 8px 18px; border-radius: 20px; font-size: .82rem; font-weight: 500; transition: all .3s; }
.btn-primary { background: linear-gradient(135deg, #FF6B9D, #FF8A65); color: #fff !important; }
.btn-primary:hover { box-shadow: 0 4px 12px rgba(255,107,157,.4); }
.btn-outline { border: 1px solid #FF6B9D; color: #FF6B9D !important; }
.btn-outline:hover { background: #FF6B9D; color: #fff !important; }

/* --- FAQ Section --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #eee; border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-item .faq-q { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .3s; }
.faq-item .faq-q:hover { background: #fef5f8; }
.faq-item .faq-q::after { content: '+'; font-size: 1.4rem; color: #FF6B9D; transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s; color: #666; font-size: .92rem; line-height: 1.8; }
.faq-item.open .faq-a { padding: 0 24px 18px; max-height: 500px; }

/* --- Reviews --- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.review-card .stars { color: #FFB800; font-size: 1.1rem; margin-bottom: 10px; }
.review-card .review-text { font-size: .92rem; color: #555; margin-bottom: 14px; line-height: 1.7; font-style: italic; }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; }
.review-card .reviewer .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #FF6B9D, #FF8A65); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; }
.review-card .reviewer .name { font-weight: 600; font-size: .88rem; }
.review-card .reviewer .date { font-size: .78rem; color: #999; }

/* --- Partners --- */
.partners-img { max-width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.1); }

/* --- Contact Section --- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.contact-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.contact-card .contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h4 { font-size: 1rem; font-weight: 600; color: #2D1B69; margin-bottom: 8px; }
.contact-card p { font-size: .88rem; color: #666; }

/* --- Share Buttons --- */
.share-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 20px 0; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 25px; font-size: .88rem; font-weight: 500; color: #fff !important; transition: transform .3s, box-shadow .3s; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2); color: #fff; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* --- Footer --- */
.site-footer { background: linear-gradient(135deg, #1a0f40, #2D1B69); color: rgba(255,255,255,.8); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #FF6B9D; }
.footer-col p, .footer-col a { font-size: .88rem; color: rgba(255,255,255,.7); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: #FF6B9D; }
.footer-col .qr-img { width: 120px; border-radius: 8px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom .update-time { margin-top: 6px; }

/* --- Video Player Page --- */
.player-wrap { background: #000; padding: 20px 0; }
.player-wrap video { width: 100%; max-height: 600px; border-radius: 8px; }
.video-detail { padding: 30px 0; }
.video-detail h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.video-detail .video-meta { display: flex; gap: 20px; color: #888; font-size: .9rem; margin-bottom: 20px; flex-wrap: wrap; }
.video-detail .video-desc { font-size: .95rem; color: #555; line-height: 1.8; margin-bottom: 30px; }
.related-videos h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 20px; color: #2D1B69; }

/* --- How-To Guide --- */
.howto-steps { max-width: 700px; margin: 0 auto; }
.howto-step { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.howto-step .step-num { width: 48px; height: 48px; min-width: 48px; background: linear-gradient(135deg, #FF6B9D, #FF8A65); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.howto-step .step-content h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: #2D1B69; }
.howto-step .step-content p { font-size: .9rem; color: #666; }

/* --- EEAT Notice --- */
.eeat-notice { background: linear-gradient(90deg, #f8f4ff, #fff5f8); border-left: 4px solid #FF6B9D; padding: 14px 20px; border-radius: 0 8px 8px 0; margin: 16px 0 10px; font-size: .85rem; color: #555; }
.eeat-notice strong { color: #2D1B69; }

/* --- Beauty Live Grid --- */
.beauty-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.beauty-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; }
.beauty-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(255,107,157,.2); }
.beauty-card img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s; }
.beauty-card:hover img { transform: scale(1.05); }
.beauty-info { padding: 16px; }
.beauty-info h3 { font-size: 1.05rem; font-weight: 600; color: #2D1B69; margin-bottom: 6px; }
.beauty-info p { font-size: .85rem; color: #777; margin-bottom: 8px; }
.live-tag { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: .75rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #FF6B9D, #FF8A65); }

/* --- Search Form --- */
.search-form { display: flex; gap: 10px; justify-content: center; align-items: center; }
.search-form input[type="text"] { width: 50%; max-width: 500px; padding: 10px 20px; border: none; border-radius: 25px; font-size: .95rem; outline: none; background: rgba(255,255,255,.95); }
.search-form button { padding: 10px 28px; border: none; border-radius: 25px; background: #2D1B69; color: #fff; font-size: .95rem; cursor: pointer; transition: background .3s; }
.search-form button:hover { background: #1a0f40; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .main-nav { display: none; flex-direction: column; width: 100%; padding: 10px 0; }
    .main-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-overlay h1 { font-size: 1.8rem; }
    .hero-section img { height: 320px; }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .search-bar-wrap input[type="text"] { width: 65%; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .hero-overlay h1 { font-size: 1.4rem; }
}
