/* ============================================
   人兽 - 原创样式表
   品牌色系：蜜桃粉 #FF6B9D / 深蜜桃 #C44569 / 金色 #F8B500
   域名：kk87.cn
   ============================================ */

/* 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: #2D2D2D; background: #FFF5F7; line-height: 1.8; overflow-x: hidden; }
a { color: #C44569; text-decoration: none; transition: color .3s; }
a:hover { color: #FF6B9D; }
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.4; color: #1A1A2E; }

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; color: #1A1A2E; 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: 3px; background: linear-gradient(90deg, #FF6B9D, #C44569); border-radius: 2px; }
.section-title p { color: #666; font-size: 16px; margin-top: 10px; }
.btn-primary { display: inline-block; padding: 12px 32px; background: linear-gradient(135deg, #FF6B9D, #C44569); color: #fff; border-radius: 30px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: all .3s; box-shadow: 0 4px 15px rgba(255,107,157,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,157,.5); color: #fff; }
.btn-outline { display: inline-block; padding: 10px 28px; border: 2px solid #FF6B9D; color: #FF6B9D; border-radius: 30px; font-size: 14px; font-weight: 600; transition: all .3s; }
.btn-outline:hover { background: #FF6B9D; color: #fff; }
.tag { display: inline-block; padding: 4px 12px; background: rgba(255,107,157,.1); color: #C44569; border-radius: 15px; font-size: 12px; margin: 2px 4px; }

/* Header / Navigation */
.site-header { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; max-width: 1200px; margin: 0 auto; height: 70px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 45px; width: auto; }
.logo-wrap span { font-size: 22px; font-weight: 800; background: linear-gradient(135deg, #FF6B9D, #C44569); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { padding: 0 16px; height: 70px; display: flex; align-items: center; font-size: 15px; color: #333; font-weight: 500; position: relative; transition: color .3s; }
.main-nav a:hover, .main-nav a.active { color: #FF6B9D; }
.main-nav a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 3px; background: #FF6B9D; border-radius: 2px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 28px; color: #333; cursor: pointer; }

/* Search Bar */
.search-bar-wrap { background: linear-gradient(135deg, #FF6B9D, #C44569); padding: 15px 0; }
.search-bar { max-width: 680px; margin: 0 auto; display: flex; position: relative; }
.search-bar input { flex: 1; padding: 12px 20px; border: none; border-radius: 30px 0 0 30px; font-size: 15px; outline: none; background: #fff; }
.search-bar button { padding: 12px 30px; background: #F8B500; color: #fff; border: none; border-radius: 0 30px 30px 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .3s; }
.search-bar button:hover { background: #e5a400; }

/* Hero Banner */
.hero-section { position: relative; height: 520px; overflow: hidden; background: #1A1A2E; }
.hero-section img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(to bottom, rgba(26,26,46,.3), rgba(26,26,46,.7)); padding: 20px; }
.hero-overlay h1 { font-size: 48px; color: #fff; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero-overlay p { font-size: 20px; color: rgba(255,255,255,.9); margin-bottom: 30px; max-width: 700px; }
.hero-stats { display: flex; gap: 50px; margin-top: 30px; }
.hero-stats .stat-item { text-align: center; color: #fff; }
.hero-stats .stat-num { font-size: 36px; font-weight: 800; color: #F8B500; }
.hero-stats .stat-label { font-size: 14px; opacity: .8; }

/* Video Card Grid */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; position: relative; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(255,107,157,.15); }
.video-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.video-thumb img { position: absolute; top: 0; left: 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: 60px; height: 60px; background: rgba(255,107,157,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; cursor: pointer; }
.play-btn::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-card:hover .play-btn { opacity: 1; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.7); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.video-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #999; }
.video-meta .views { display: flex; align-items: center; gap: 4px; }
.video-meta .likes { display: flex; align-items: center; gap: 4px; }

/* Section Spacing */
.section { padding: 70px 0; }
.section-alt { background: #fff; }

/* Service Cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: #fff; border-radius: 16px; padding: 35px 28px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: all .3s; border: 1px solid rgba(255,107,157,.08); }
.service-card:hover { transform: translateY(-5px); border-color: #FF6B9D; box-shadow: 0 10px 30px rgba(255,107,157,.12); }
.service-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, rgba(255,107,157,.1), rgba(196,69,105,.1)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; color: #1A1A2E; }
.service-card p { font-size: 14px; color: #666; line-height: 1.8; }

/* Entertainment Grid */
.ent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ent-card { position: relative; border-radius: 12px; overflow: hidden; height: 240px; cursor: pointer; }
.ent-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ent-card:hover img { transform: scale(1.1); }
.ent-card .ent-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color: #fff; }
.ent-card .ent-overlay h4 { font-size: 18px; margin-bottom: 4px; }
.ent-card .ent-overlay span { font-size: 13px; opacity: .8; }

/* AI Section */
.ai-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ai-card { background: linear-gradient(135deg, #1A1A2E, #2D2D5E); border-radius: 16px; padding: 35px; color: #fff; position: relative; overflow: hidden; }
.ai-card::before { content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: rgba(255,107,157,.15); border-radius: 50%; }
.ai-card h3 { font-size: 20px; margin-bottom: 12px; color: #F8B500; }
.ai-card p { font-size: 14px; line-height: 1.8; opacity: .85; }
.ai-card .ai-icon { font-size: 40px; margin-bottom: 15px; }

/* Community Section */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.community-card { background: #fff; border-radius: 16px; padding: 30px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.05); transition: all .3s; }
.community-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(255,107,157,.1); }
.community-card .comm-icon { font-size: 42px; margin-bottom: 15px; }
.community-card h4 { font-size: 18px; margin-bottom: 8px; color: #1A1A2E; }
.community-card p { font-size: 14px; color: #666; }

/* Expert Section */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expert-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.06); text-align: center; transition: all .3s; }
.expert-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(255,107,157,.12); }
.expert-card img { width: 100%; height: 220px; object-fit: cover; }
.expert-card .expert-info { padding: 20px; }
.expert-card h4 { font-size: 18px; color: #1A1A2E; margin-bottom: 4px; }
.expert-card .expert-title { font-size: 13px; color: #FF6B9D; margin-bottom: 8px; }
.expert-card p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.expert-card .expert-btns { display: flex; gap: 8px; justify-content: center; }

/* Partner Logos */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; padding: 20px 0; }
.partner-item { width: 150px; height: 80px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); padding: 15px; font-size: 14px; font-weight: 600; color: #666; transition: all .3s; }
.partner-item:hover { box-shadow: 0 4px 15px rgba(255,107,157,.15); transform: translateY(-3px); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 4px 15px rgba(0,0,0,.05); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #FF6B9D, #C44569); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.review-name { font-weight: 600; color: #1A1A2E; }
.review-date { font-size: 12px; color: #999; }
.review-stars { color: #F8B500; font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: #555; line-height: 1.8; }

/* FAQ Section */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.04); overflow: hidden; }
.faq-question { padding: 20px 24px; font-size: 16px; font-weight: 600; color: #1A1A2E; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .3s; }
.faq-question:hover { background: rgba(255,107,157,.03); }
.faq-question .arrow { font-size: 20px; color: #FF6B9D; transition: transform .3s; }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .3s; }
.faq-item.active .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { font-size: 14px; color: #666; line-height: 1.8; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.contact-info h3 { font-size: 24px; margin-bottom: 20px; color: #1A1A2E; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.contact-item .ci-icon { width: 40px; height: 40px; background: rgba(255,107,157,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item .ci-text h4 { font-size: 15px; font-weight: 600; color: #1A1A2E; }
.contact-item .ci-text p { font-size: 14px; color: #666; }
.contact-qrcodes { display: flex; gap: 30px; }
.qr-item { text-align: center; }
.qr-item img { width: 160px; height: 160px; border-radius: 12px; margin-bottom: 8px; }
.qr-item p { font-size: 13px; color: #666; }

/* How-To Guide */
.howto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.howto-step { background: #fff; border-radius: 16px; padding: 30px 24px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.05); position: relative; }
.howto-step::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; background: linear-gradient(135deg, #FF6B9D, #C44569); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.howto-step h4 { font-size: 16px; margin: 10px 0 8px; color: #1A1A2E; }
.howto-step p { font-size: 13px; color: #666; }

/* Social Share */
.share-bar { display: flex; gap: 12px; justify-content: center; padding: 20px 0; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; transition: all .3s; cursor: pointer; }
.share-btn:hover { transform: translateY(-3px); }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #000; }
.share-bilibili { background: #FB7299; }

/* Footer */
.site-footer { background: #1A1A2E; color: rgba(255,255,255,.7); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 40px; margin-bottom: 15px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 16px; 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 a { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 4px 0; transition: color .3s; }
.footer-col a:hover { color: #FF6B9D; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* Breadcrumb */
.breadcrumb { padding: 15px 0; font-size: 14px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #FF6B9D; }
.breadcrumb span { margin: 0 8px; }

/* Inner Page Hero */
.inner-hero { background: linear-gradient(135deg, #FF6B9D, #C44569); padding: 60px 0; text-align: center; color: #fff; }
.inner-hero h1 { font-size: 36px; margin-bottom: 10px; color: #fff; }
.inner-hero p { font-size: 16px; opacity: .9; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; font-size: 14px; transition: all .3s; }
.pagination a { background: #fff; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.pagination a:hover, .pagination span.current { background: #FF6B9D; color: #fff; }

/* Lazy Load Placeholder */
.lazy { opacity: 0; transition: opacity .5s; }
.lazy.loaded { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .main-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,.1); z-index: 999; }
  .main-nav.active { display: flex; }
  .main-nav a { height: 50px; padding: 0 20px; border-bottom: 1px solid #f5f5f5; }
  .mobile-menu-btn { display: block; }
  .hero-section { height: 380px; }
  .hero-overlay h1 { font-size: 28px; }
  .hero-overlay p { font-size: 16px; }
  .hero-stats { gap: 25px; }
  .hero-stats .stat-num { font-size: 24px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-features { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 24px; }
  .contact-qrcodes { justify-content: center; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 15px; }
}
