/* ========================================
   伊甸园vlog短视频 - 全站样式表
   域名: jpipri.cn
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fff; line-height: 1.6; overflow-x: hidden; }
a { color: #ff6b6b; text-decoration: none; transition: color .3s; }
a:hover { color: #ff8e53; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #222; }

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

/* ========== Header ========== */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 42px; width: auto; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: #ff6b6b; white-space: nowrap; }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 8px 14px; border-radius: 6px; font-size: .9rem; color: #555; font-weight: 500; transition: all .3s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: linear-gradient(135deg, #ff6b6b, #ff8e53); color: #fff; }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #333; padding: 8px; }

/* Search Bar */
.search-bar { background: #f8f9fa; padding: 12px 0; border-bottom: 1px solid #eee; }
.search-bar .container { display: flex; justify-content: center; }
.search-form { display: flex; max-width: 600px; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.search-form input { flex: 1; padding: 10px 20px; border: 2px solid #ff6b6b; border-right: none; border-radius: 24px 0 0 24px; font-size: .95rem; outline: none; }
.search-form input:focus { border-color: #ff8e53; }
.search-form button { padding: 10px 24px; background: linear-gradient(135deg, #ff6b6b, #ff8e53); color: #fff; border: none; cursor: pointer; font-size: .95rem; border-radius: 0 24px 24px 0; transition: opacity .3s; }
.search-form button:hover { opacity: .9; }

/* ========== Hero Section ========== */
.hero { position: relative; overflow: hidden; height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,107,107,.7), rgba(255,142,83,.5)); }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 20px; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-content p { font-size: 1.15rem; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; text-shadow: 0 1px 4px rgba(0,0,0,.2); }
.hero-btn { display: inline-block; padding: 14px 36px; background: #fff; color: #ff6b6b; border-radius: 30px; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 16px rgba(0,0,0,.15); transition: transform .3s, box-shadow .3s; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); color: #ff8e53; }

/* ========== Section Common ========== */
.section { padding: 60px 0; }
.section-alt { background: #fafafa; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; color: #222; margin-bottom: 8px; }
.section-title p { color: #888; font-size: 1rem; }
.section-title .highlight { color: #ff6b6b; }

/* ========== 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,.06); transition: transform .3s, box-shadow .3s; cursor: pointer; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.video-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(255,107,107,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s, transform .3s; }
.play-btn::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 1rem; margin-bottom: 8px; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; gap: 12px; font-size: .8rem; color: #999; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tag { display: inline-block; padding: 2px 8px; background: #fff0f0; color: #ff6b6b; border-radius: 4px; font-size: .75rem; margin-top: 8px; }
.duration-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.7); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: .75rem; }

/* ========== 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-icon { width: 64px; height: 64px; margin: 0 auto 16px; background: linear-gradient(135deg, #ff6b6b, #ff8e53); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: .9rem; color: #666; }

/* ========== Expert Section ========== */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.expert-card { background: #fff; border-radius: 12px; padding: 24px; display: flex; gap: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .3s; }
.expert-card:hover { transform: translateY(-4px); }
.expert-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.expert-info h3 { font-size: 1rem; margin-bottom: 4px; }
.expert-info .role { color: #ff6b6b; font-size: .85rem; margin-bottom: 8px; }
.expert-info p { font-size: .85rem; color: #666; margin-bottom: 10px; }
.expert-links { display: flex; gap: 8px; }
.expert-links a { padding: 4px 12px; border: 1px solid #ff6b6b; color: #ff6b6b; border-radius: 4px; font-size: .8rem; transition: all .3s; }
.expert-links a:hover { background: #ff6b6b; color: #fff; }

/* ========== Partner Logos ========== */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; padding: 20px 0; }
.partner-wall .partner-item { width: 120px; height: 60px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .85rem; color: #999; font-weight: 600; transition: background .3s; }
.partner-wall .partner-item:hover { background: #fff0f0; color: #ff6b6b; }

/* ========== FAQ Section ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question { padding: 18px 0; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #333; transition: color .3s; }
.faq-question:hover { color: #ff6b6b; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: #ff6b6b; transition: transform .3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; font-size: .9rem; color: #666; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* ========== Reviews ========== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #ff6b6b, #ff8e53); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: .95rem; }
.review-date { font-size: .8rem; color: #999; }
.review-stars { color: #ffb800; font-size: .9rem; margin-bottom: 8px; }
.review-text { font-size: .9rem; color: #555; line-height: 1.6; }

/* ========== Contact Section ========== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 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 h4 { font-size: 1rem; margin-bottom: 10px; color: #333; }
.contact-card p { font-size: .9rem; color: #666; }
.contact-card img { max-width: 160px; margin: 10px auto; }

/* ========== Share Buttons ========== */
.share-bar { display: flex; justify-content: center; gap: 12px; padding: 20px 0; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; font-size: .85rem; color: #fff; transition: opacity .3s; }
.share-btn:hover { opacity: .85; color: #fff; }
.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00a1d6; }

/* ========== Footer ========== */
.site-footer { background: #1a1a2e; color: #ccc; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: linear-gradient(135deg, #ff6b6b, #ff8e53); }
.footer-col p, .footer-col a { font-size: .85rem; color: #aaa; line-height: 2; display: block; }
.footer-col a:hover { color: #ff6b6b; }
.footer-col img { max-width: 120px; margin-top: 8px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .8rem; color: #888; }
.footer-bottom .update-time { margin-top: 6px; color: #aaa; }

/* ========== Breadcrumb ========== */
.breadcrumb { padding: 14px 0; font-size: .85rem; color: #999; }
.breadcrumb a { color: #ff6b6b; }
.breadcrumb span { margin: 0 6px; }

/* ========== Inner Page ========== */
.page-hero { background: linear-gradient(135deg, #ff6b6b, #ff8e53); color: #fff; padding: 50px 0 40px; text-align: center; }
.page-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.page-hero p { font-size: 1rem; opacity: .9; }
.content-section { padding: 40px 0; }
.content-section h2 { font-size: 1.5rem; margin-bottom: 20px; color: #222; }
.content-section p { font-size: .95rem; color: #555; line-height: 1.8; margin-bottom: 16px; }

/* ========== How-To Guide ========== */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.howto-step { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06); position: relative; counter-increment: step; }
.howto-step::before { content: counter(step); position: absolute; top: -12px; left: 20px; width: 32px; height: 32px; background: linear-gradient(135deg, #ff6b6b, #ff8e53); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.howto-step h4 { margin-bottom: 8px; font-size: 1rem; padding-top: 8px; }
.howto-step p { font-size: .85rem; color: #666; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-direction: column; width: 100%; padding-top: 10px; gap: 2px; }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 10px 14px; }
  .menu-toggle { display: block; }
  .hero { height: 360px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: .95rem; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.4rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .share-bar { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: 280px; }
  .hero-content h1 { font-size: 1.3rem; }
}

/* ========== Lazy Load ========== */
img[loading="lazy"] { opacity: 0; transition: opacity .5s; }
img[loading="lazy"].loaded, img[loading="lazy"][src] { opacity: 1; }

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