/* ========================================
   蜜桃传媒植物视频社区 - 全站样式 v2.0
   y82ok0.cn | 百度SEO EEAT优化版
   ======================================== */

/* 全局重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    color: #2c2c2c;
    background: #f7f9f4;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color 0.25s; }
a:hover { color: #2a7c3f; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* 颜色变量 */
:root {
    --green-dark:  #1a5c2a;
    --green-mid:   #2a7c3f;
    --green-light: #4caf50;
    --green-pale:  #e8f5e9;
    --gold:        #c9a84c;
    --gold-light:  #f5e6b0;
    --text-dark:   #1a1a1a;
    --text-mid:    #444;
    --text-light:  #888;
    --bg-white:    #fff;
    --bg-pale:     #f7f9f4;
    --border:      #d4e8d0;
    --shadow:      0 4px 24px rgba(26,92,42,0.10);
    --radius:      12px;
}

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

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, #0d3d1a 100%);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.site-header .container {
    display: flex; align-items: center; gap: 20px; padding: 10px 20px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); }
.logo-text {
    color: #fff; font-size: 1.7rem; font-weight: 900; letter-spacing: 2px;
    margin: 0; line-height: 1;
}

/* 搜索框 */
.search-box { display: flex; align-items: center; flex: 1; max-width: 340px; }
.search-box input {
    flex: 1; padding: 8px 14px; border: none; border-radius: 24px 0 0 24px;
    background: rgba(255,255,255,0.15); color: #fff; font-size: 0.92rem; outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,0.55); }
.search-box button {
    padding: 8px 16px; background: var(--gold); color: #fff; border: none;
    border-radius: 0 24px 24px 0; cursor: pointer; font-size: 0.92rem; font-weight: 600;
    transition: background 0.2s; white-space: nowrap;
}
.search-box button:hover { background: #a8873a; }

/* 导航 */
.main-nav ul { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav ul li a {
    color: rgba(255,255,255,0.88); font-size: 0.88rem; padding: 6px 10px;
    border-radius: 6px; transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
    background: rgba(201,168,76,0.25); color: var(--gold);
}

/* 面包屑 */
.breadcrumb {
    padding: 10px 20px; background: var(--green-pale); font-size: 0.88rem; color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--green-mid); }
.breadcrumb .sep { margin: 0 6px; color: var(--text-light); }

/* ===== BANNER ===== */
.hero-banner {
    position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden;
}
.hero-banner .banner-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-banner .banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10,40,15,0.82) 0%, rgba(10,40,15,0.45) 60%, transparent 100%);
    z-index: 1;
}
.hero-banner .banner-content { position: relative; z-index: 2; padding: 60px 40px; max-width: 640px; }
.hero-banner .site-intro-h1 { color: #fff; font-size: 2.6rem; font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.hero-banner .site-intro-h1 span { color: var(--gold); }
.hero-banner .site-intro-desc { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 28px; line-height: 1.8; }
.hero-banner .btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* 按钮 */
.btn-primary {
    padding: 12px 28px; background: var(--gold); color: #fff; border-radius: 28px;
    font-size: 1rem; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.4); color: #fff; }
.btn-outline {
    padding: 12px 28px; border: 2px solid rgba(255,255,255,0.7); color: #fff;
    border-radius: 28px; font-size: 1rem; font-weight: 700; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== SECTION TITLES ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--green-pale); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 {
    font-size: 2rem; font-weight: 900; color: var(--green-dark);
    position: relative; display: inline-block; padding-bottom: 12px;
}
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background: var(--gold); border-radius: 2px;
}
.section-title p { color: var(--text-mid); margin-top: 12px; font-size: 1rem; }

/* ===== VIDEO CARDS ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card {
    background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,92,42,0.18); }
.video-thumb { position: relative; overflow: hidden; padding-top: 56.25%; }
.video-thumb img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0); transition: background 0.3s; z-index: 2;
}
.video-card:hover .play-btn { background: rgba(0,0,0,0.32); }
.play-icon {
    width: 56px; height: 56px; background: rgba(255,255,255,0.92); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.7); transition: opacity 0.3s, transform 0.3s;
}
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }
.play-icon::after {
    content: ''; border-left: 20px solid var(--green-dark);
    border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 4px;
}
.video-tag {
    position: absolute; top: 10px; left: 10px; background: var(--gold);
    color: #fff; font-size: 0.75rem; padding: 2px 10px; border-radius: 20px; font-weight: 700; z-index: 3;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 0.97rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.video-meta { display: flex; gap: 12px; font-size: 0.82rem; color: var(--text-light); }
.video-desc { font-size: 0.85rem; color: var(--text-mid); margin-top: 6px; line-height: 1.5; }

/* ===== STATS ===== */
.stats-bar { background: linear-gradient(135deg, var(--green-dark), #0d3d1a); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; color: #fff; }
.stat-item .num { font-size: 2.4rem; font-weight: 900; color: var(--gold); }
.stat-item .label { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }

/* ===== MODULE CARDS ===== */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.module-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 28px 20px;
    text-align: center; box-shadow: var(--shadow); transition: transform 0.25s;
    border-top: 4px solid var(--green-mid);
}
.module-card:hover { transform: translateY(-4px); }
.module-card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.module-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; }
.module-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ===== EXPERT CARDS ===== */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.expert-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s; }
.expert-card:hover { transform: translateY(-4px); }
.expert-card .avatar { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--green-dark); }
.expert-info .role { color: var(--gold); font-size: 0.88rem; font-weight: 600; margin: 4px 0 10px; }
.expert-info p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 12px; }
.expert-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm {
    padding: 6px 14px; font-size: 0.82rem; border-radius: 20px; font-weight: 600;
    border: 1.5px solid var(--green-mid); color: var(--green-mid); transition: all 0.2s;
    cursor: pointer; background: transparent; display: inline-block;
}
.btn-sm:hover { background: var(--green-mid); color: #fff; }

/* ===== REVIEWS ===== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 22px;
    box-shadow: var(--shadow); border-left: 4px solid var(--green-light);
}
.review-card .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.review-card p { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 12px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer .avatar-sm {
    width: 36px; height: 36px; border-radius: 50%; background: var(--green-pale);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    color: var(--green-dark); font-weight: 700; flex-shrink: 0;
}
.reviewer .name { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.reviewer .date { font-size: 0.78rem; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-white); border-radius: var(--radius); margin-bottom: 12px;
    box-shadow: var(--shadow); overflow: hidden;
}
.faq-q {
    padding: 18px 24px; font-weight: 700; color: var(--green-dark); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1rem; transition: background 0.2s; user-select: none;
}
.faq-q:hover { background: var(--green-pale); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s, padding 0.3s;
    font-size: 0.95rem; color: var(--text-mid); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 18px; }

/* ===== PARTNER LOGOS ===== */
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.partner-logo {
    background: var(--bg-white); border-radius: 10px; padding: 14px 24px;
    box-shadow: var(--shadow); font-weight: 800; color: var(--green-dark); font-size: 0.92rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,92,42,0.15); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--bg-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); margin-bottom: 16px; }
.contact-card ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-mid); }
.contact-card ul li:last-child { border-bottom: none; }
.contact-card ul li strong { color: var(--green-dark); }

/* ===== HOW-TO STEPS ===== */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 24px 16px; background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); }
.step .step-num {
    width: 48px; height: 48px; background: var(--green-dark); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; margin: 0 auto 12px;
}
.step h4 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-mid); }

/* ===== AI SECTION ===== */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ai-card {
    background: linear-gradient(135deg, #0d3d1a, #1a5c2a); border-radius: var(--radius);
    padding: 28px 20px; color: #fff; text-align: center; box-shadow: var(--shadow); transition: transform 0.25s;
}
.ai-card:hover { transform: translateY(-4px); }
.ai-card .ai-icon { font-size: 2.8rem; margin-bottom: 12px; }
.ai-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.ai-card p { font-size: 0.88rem; opacity: 0.85; line-height: 1.6; }

/* ===== 娱乐专区 ===== */
.ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ent-card {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform 0.25s; cursor: pointer; background: var(--bg-white);
}
.ent-card:hover { transform: translateY(-5px); }
.ent-thumb {
    position: relative; padding-top: 56.25%; overflow: hidden;
}
.ent-thumb-inner {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; color: #fff; padding: 12px; text-align: center;
}
.ent-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0); transition: background 0.3s; z-index: 2;
}
.ent-card:hover .ent-play { background: rgba(0,0,0,0.35); }
.ent-play-icon {
    width: 52px; height: 52px; background: rgba(255,255,255,0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.7); transition: opacity 0.3s, transform 0.3s;
}
.ent-card:hover .ent-play-icon { opacity: 1; transform: scale(1); }
.ent-play-icon::after {
    content: ''; border-left: 18px solid var(--green-dark);
    border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px;
}
.ent-info { padding: 14px 16px; }
.ent-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.ent-meta { font-size: 0.8rem; color: var(--text-light); }
.ent-tag {
    position: absolute; top: 10px; right: 10px; background: rgba(26,92,42,0.85);
    color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 20px; z-index: 3;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #0d2e15 0%, #1a5c2a 100%);
    color: rgba(255,255,255,0.85); padding: 48px 0 24px;
}
.footer-logo-row {
    display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
    padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-row img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); }
.footer-brand { font-size: 1.5rem; font-weight: 900; color: var(--gold); letter-spacing: 2px; }
.footer-slogan { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-left: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h3 { color: var(--gold); font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.footer-col p, .footer-col li { font-size: 0.88rem; line-height: 1.9; }
.footer-col ul li a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.update-time { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 10px; }
.qrcode-section { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.qrcode { text-align: center; }
.qrcode img { width: 88px; height: 88px; border-radius: 8px; border: 2px solid var(--gold); }
.qrcode span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 6px; }
.social-share { text-align: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.social-share span { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-right: 10px; }
.social-share a {
    display: inline-block; padding: 5px 14px; margin: 4px;
    background: rgba(255,255,255,0.12); border-radius: 20px;
    color: rgba(255,255,255,0.85); font-size: 0.85rem; transition: background 0.2s;
}
.social-share a:hover { background: var(--gold); color: #fff; }
.copyright { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.45); padding-top: 16px; }
.copyright a { color: rgba(255,255,255,0.6); }
.mcp-badge {
    position: fixed; bottom: 20px; right: 20px; background: var(--green-dark);
    color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 0.82rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3); z-index: 999; pointer-events: none;
}

/* ===== 干扰标签隐藏 ===== */
[id^="noise_"], [class^="noise_"], [id^="nz"], [id^="kx"] { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .site-header .container { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero-banner { min-height: 320px; }
    .hero-banner .site-intro-h1 { font-size: 1.6rem; }
    .hero-banner .banner-content { padding: 40px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.5rem; }
    .main-nav ul li a { font-size: 0.78rem; padding: 5px 7px; }
    .search-box { max-width: 100%; }
    .footer-logo-row { flex-wrap: wrap; }
}
