/* ========== 爱情岛植物视频社区 - 豪宅风格主题CSS ========== */
/* 域名: bjsokgp.cn | 品牌: 爱情岛 */

/* --- 基础重置与变量 --- */
:root {
    --brand-primary: #1a5c2e;
    --brand-secondary: #c9a84c;
    --brand-accent: #2d8a4e;
    --bg-dark: #0d1b12;
    --bg-light: #f8f5ef;
    --bg-cream: #faf7f0;
    --text-dark: #1a1a1a;
    --text-light: #f0ebe0;
    --text-muted: #6b7c6f;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --shadow-luxury: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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: var(--text-dark);
    background: var(--bg-cream);
    line-height: 1.8;
    overflow-x: hidden;
}

a { color: var(--brand-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

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

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

/* --- 干扰标签隐藏 --- */
.noise-wrap { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; z-index: -9999; }

/* --- 顶部导航 --- */
.site-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #142a1b 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-area img { height: 48px; width: 48px; border-radius: 8px; }
.logo-area h1 { font-size: 22px; color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.logo-area .subtitle { font-size: 12px; color: var(--text-muted); display: block; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 28px;
    cursor: pointer;
}

/* --- 搜索框 --- */
.search-bar {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    padding: 12px 0;
}
.search-bar .container { display: flex; justify-content: center; }
.search-box {
    display: flex;
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.search-box input {
    flex: 1;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    outline: none;
    background: transparent;
}
.search-box button {
    background: var(--gold);
    border: none;
    padding: 12px 28px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.search-box button:hover { background: var(--brand-primary); }

/* --- Banner区域 --- */
.hero-banner {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-banner .bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-content h1 span { color: var(--gold-light); }
.hero-content p { font-size: 18px; line-height: 1.8; opacity: 0.95; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(201,168,76,0.4);
    transition: var(--transition);
    display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(201,168,76,0.6); color: var(--bg-dark); }
.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: var(--bg-dark); }

/* --- 通用模块标题 --- */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 12px;
}
.section-title h3 {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}
.section-title .gold-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* --- 视频卡片网格 --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition);
    position: relative;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 64px; height: 64px;
    background: rgba(201, 168, 76, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.play-btn::after {
    content: '';
    width: 0; height: 0;
    border-left: 22px solid #fff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 4px;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1); }
.video-duration {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; color: var(--text-dark); }
.video-info h4 { font-size: 14px; font-weight: 500; color: var(--brand-primary); margin-bottom: 6px; }
.video-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.video-tags span {
    background: rgba(26, 92, 46, 0.08);
    color: var(--brand-primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* --- 内容区块 --- */
.section-block {
    padding: 72px 0;
}
.section-block.bg-dark {
    background: linear-gradient(135deg, var(--bg-dark), #142a1b);
    color: var(--text-light);
}
.section-block.bg-dark .section-title h2 { color: var(--gold); }
.section-block.bg-dark .section-title h3 { color: rgba(240,235,224,0.7); }
.section-block.bg-light { background: var(--bg-light); }
.section-block.bg-cream { background: var(--bg-cream); }

/* --- 特色模块卡片 --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--brand-primary); }
.feature-card h4 { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* --- 专家展示 --- */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.expert-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition);
    text-align: center;
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.expert-card img {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 28px auto 16px;
    border: 4px solid var(--gold);
}
.expert-card h3 { font-size: 20px; font-weight: 700; color: var(--brand-primary); }
.expert-card h4 { font-size: 14px; color: var(--gold); margin-bottom: 8px; }
.expert-card h5 { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.expert-card h6 { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.expert-card p { font-size: 14px; color: var(--text-muted); padding: 0 20px 20px; line-height: 1.6; }
.expert-card .expert-btns { padding: 0 20px 24px; display: flex; gap: 8px; justify-content: center; }
.expert-card .expert-btns a {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
}
.expert-card .expert-btns a:hover { background: var(--brand-primary); color: #fff; }

/* --- FAQ区域 --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--brand-primary);
    transition: var(--transition);
}
.faq-question:hover { background: rgba(26, 92, 46, 0.04); }
.faq-question::after { content: '+'; font-size: 24px; color: var(--gold); transition: var(--transition); }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
    color: var(--text-muted);
    line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* --- 用户评论 --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-luxury);
    position: relative;
}
.review-card::before {
    content: '\201C';
    font-size: 60px;
    color: var(--gold);
    position: absolute;
    top: 8px; left: 20px;
    opacity: 0.3;
    font-family: Georgia, serif;
}
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.review-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.review-author-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.review-author-info span { font-size: 12px; color: var(--text-muted); }

/* --- 合作品牌Logo墙 --- */
.brand-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
}
.brand-wall .brand-item {
    background: #fff;
    padding: 20px 32px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}
.brand-wall .brand-item:hover { box-shadow: var(--shadow-luxury); color: var(--brand-primary); }

/* --- 联系我们 --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-luxury);
}
.contact-card h3 { font-size: 18px; color: var(--brand-primary); margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* --- 社交分享 --- */
.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btns a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: var(--transition);
}
.share-btns a:hover { transform: translateY(-3px); color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00a1d6; }

/* --- 面包屑 --- */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--brand-primary); }
.breadcrumb span { margin: 0 8px; }

/* --- 页脚 --- */
.site-footer {
    background: linear-gradient(135deg, var(--bg-dark), #0a1a0f);
    color: var(--text-light);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col a {
    display: block;
    color: rgba(240,235,224,0.7);
    padding: 4px 0;
    font-size: 14px;
}
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 14px; color: rgba(240,235,224,0.6); line-height: 1.8; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(240,235,224,0.5);
}
.footer-qr { display: flex; gap: 20px; }
.footer-qr .qr-item { text-align: center; }
.footer-qr .qr-placeholder {
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}
.footer-qr .qr-item span { font-size: 12px; color: rgba(255,255,255,0.5); }

/* --- 数字统计 --- */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 20px 0;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    display: block;
}
.stat-item .stat-label { font-size: 14px; color: rgba(240,235,224,0.7); }

/* --- H5 Video元素 --- */
.h5-video-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
}
.h5-video-wrap video {
    width: 100%;
    display: block;
    background: #000;
}

/* --- How-To指南 --- */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.howto-step {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-luxury);
    position: relative;
}
.howto-step .step-num {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--bg-dark);
    margin: 0 auto 16px;
}
.howto-step h4 { font-size: 18px; font-weight: 700; color: var(--brand-primary); margin-bottom: 8px; }
.howto-step p { font-size: 14px; color: var(--text-muted); }

/* --- 内页通用 --- */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark), #142a1b);
    padding: 48px 0;
    text-align: center;
    color: var(--text-light);
}
.page-hero h1 { font-size: 36px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.page-hero h2 { font-size: 16px; font-weight: 400; color: rgba(240,235,224,0.7); }
.page-content { padding: 48px 0; }

/* --- 响应式 --- */
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 16px; }
    .main-nav.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-banner { height: 380px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .section-title h2 { font-size: 26px; }
    .section-block { padding: 48px 0; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .stats-row { gap: 24px; }
    .stat-item .stat-num { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-inner { padding: 10px 16px; }
    .logo-area h1 { font-size: 18px; }
}

@media (max-width: 480px) {
    .hero-banner { height: 300px; }
    .hero-content h1 { font-size: 22px; }
    .video-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
}

/* --- 懒加载占位 --- */
img[loading="lazy"] { background: #e8e4dc; min-height: 120px; }

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