/* 糖心vlog 原创CSS - 深海蓝+琥珀金主题 */
:root {
    --bg-dark: #081228;
    --bg-card: #0c1a38;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --gold: #ffc850;
    --gold-hover: #ffb020;
    --accent: #50b4ff;
    --border: #1e293b;
    --nav-height: 70px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.header {
    background: rgba(8, 18, 40, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-height); padding: 0 20px;
}
.logo img { height: 40px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 16px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.search-box { display: flex; align-items: center; background: var(--bg-card); border-radius: 20px; padding: 5px 15px; border: 1px solid var(--border); }
.search-box input { background: transparent; border: none; color: #fff; outline: none; width: 150px; }
.search-box button { background: transparent; border: none; color: var(--gold); cursor: pointer; }

/* Hero */
.hero { position: relative; height: 500px; background: #000; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; width: 100%;
}
.hero-content h1 { font-size: 48px; color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,0.8); margin-bottom: 10px; }
.hero-content p { font-size: 20px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

/* Section */
.section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.sec-title { font-size: 32px; color: var(--gold); margin-bottom: 40px; text-align: center; position: relative; }
.sec-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--accent); margin: 15px auto 0; }

/* Video Grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.video-card {
    background: var(--bg-card); border-radius: 12px; overflow: hidden;
    transition: transform 0.3s; border: 1px solid var(--border);
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.v-thumb { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; cursor: pointer; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.v-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(255,200,80,0.8); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.v-play::after { content: ''; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.v-thumb:hover .v-play { opacity: 1; }
.v-thumb:hover img { opacity: 0.7; }
.v-info { padding: 20px; }
.v-title { font-size: 18px; margin-bottom: 10px; color: #fff; }
.v-meta { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 14px; }
.v-tags span { background: rgba(80,180,255,0.2); color: var(--accent); padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-right: 5px; }

/* Experts */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.expert-card { text-align: center; background: var(--bg-card); padding: 30px 20px; border-radius: 12px; border: 1px solid var(--border); }
.expert-card img { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; border: 4px solid var(--gold); object-fit: cover; }
.expert-card h3 { color: var(--gold); margin-bottom: 5px; }
.expert-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.expert-btn { display: inline-block; padding: 8px 20px; background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 20px; font-size: 14px; }
.expert-btn:hover { background: var(--gold); color: var(--bg-dark); }

/* FAQ & Comments */
.faq-item { background: var(--bg-card); margin-bottom: 15px; border-radius: 8px; border: 1px solid var(--border); }
.faq-q { padding: 20px; font-size: 18px; font-weight: bold; cursor: pointer; color: var(--gold); display: flex; justify-content: space-between; }
.faq-a { padding: 0 20px 20px; color: var(--text-muted); display: none; }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item { background: var(--bg-card); padding: 20px; border-radius: 8px; border-left: 4px solid var(--accent); }
.c-user { font-weight: bold; color: var(--gold); margin-bottom: 5px; }

/* Footer */
.footer { background: #040914; padding: 60px 20px 20px; border-top: 1px solid var(--border); margin-top: 60px; }
.foot-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.foot-col h4 { color: var(--gold); margin-bottom: 20px; font-size: 18px; }
.foot-col p, .foot-col a { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; display: block; }
.qr-box { display: flex; gap: 20px; }
.qr-item { text-align: center; }
.qr-item img { width: 100px; height: 100px; border-radius: 8px; margin-bottom: 5px; }
.foot-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14px; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 32px; }
}
