/* ============================================
   福利姬 - 原创样式表
   品牌：福利姬 | 域名：xzabcd0.cn
   配色：活力橙 #FF6B35 / 深夜蓝 #1A1A2E / 玫瑰红 #E94560
   ============================================ */

/* --- 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;
  background-color: #0F0F23;
  color: #EAEAEA;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: #FF6B35; text-decoration: none; transition: color 0.3s; }
a:hover { color: #E94560; }
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: #FFFFFF; }

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

/* --- Header & Navigation --- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  transition: all 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 10px 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span { font-size: 1.3rem; font-weight: 700; color: #FF6B35; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px; border-radius: 6px; font-size: 0.95rem;
  color: #EAEAEA; transition: all 0.3s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: linear-gradient(135deg, #FF6B35, #E94560);
  color: #fff;
}
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: #FF6B35; }

/* --- Search Bar --- */
.search-bar {
  background: #16213E; padding: 14px 0; margin-top: 62px;
  border-bottom: 1px solid rgba(255,107,53,0.15);
}
.search-bar .container { display: flex; justify-content: center; }
.search-wrap {
  display: flex; max-width: 600px; width: 100%;
  border-radius: 30px; overflow: hidden;
  border: 2px solid #FF6B35;
}
.search-wrap input {
  flex: 1; padding: 10px 20px; border: none; outline: none;
  background: #1A1A2E; color: #EAEAEA; font-size: 0.95rem;
}
.search-wrap input::placeholder { color: #666; }
.search-wrap button {
  padding: 10px 24px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #FF6B35, #E94560);
  color: #fff; font-size: 0.95rem; font-weight: 600;
  transition: opacity 0.3s;
}
.search-wrap button:hover { opacity: 0.85; }

/* --- Hero Banner --- */
.hero-banner {
  position: relative; min-height: 520px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,35,0.5) 0%, rgba(15,15,35,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 40px 20px;
}
.hero-content h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero-content h1 .brand-highlight {
  background: linear-gradient(135deg, #FF6B35, #E94560);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p { font-size: 1.15rem; color: #ccc; margin-bottom: 24px; line-height: 1.9; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-tags span {
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem;
  background: rgba(255,107,53,0.15); border: 1px solid rgba(255,107,53,0.3);
  color: #FF6B35;
}

/* --- Section Titles --- */
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 { font-size: 2rem; margin-bottom: 10px; }
.section-title h2 .accent { color: #FF6B35; }
.section-title p { color: #999; font-size: 1rem; }
.section-title .divider {
  width: 60px; height: 3px; margin: 12px auto 0;
  background: linear-gradient(90deg, #FF6B35, #E94560);
  border-radius: 2px;
}

/* --- Video Card Grid --- */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.video-card {
  background: #16213E; border-radius: 12px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255,107,53,0.1);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255,107,53,0.15);
}
.video-thumb {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.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; border-radius: 50%;
  background: rgba(255,107,53,0.9); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.video-card:hover .play-btn { opacity: 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: 0.8rem;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 1.05rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; gap: 16px; color: #888; font-size: 0.85rem; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.video-tags span {
  padding: 2px 10px; border-radius: 12px; font-size: 0.75rem;
  background: rgba(255,107,53,0.1); color: #FF6B35;
}

/* --- Category Tabs --- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.cat-tabs .tab {
  padding: 8px 20px; border-radius: 20px; cursor: pointer;
  background: #16213E; color: #EAEAEA; border: 1px solid rgba(255,107,53,0.2);
  transition: all 0.3s; font-size: 0.9rem;
}
.cat-tabs .tab:hover, .cat-tabs .tab.active {
  background: linear-gradient(135deg, #FF6B35, #E94560); color: #fff; border-color: transparent;
}

/* --- Expert Cards --- */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.expert-card {
  background: #16213E; border-radius: 12px; padding: 24px; text-align: center;
  border: 1px solid rgba(255,107,53,0.1); transition: transform 0.3s;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-card .avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px;
  overflow: hidden; border: 3px solid #FF6B35;
}
.expert-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.expert-card .role { color: #FF6B35; font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { color: #999; font-size: 0.9rem; margin-bottom: 14px; }
.expert-card .btn-sm {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: linear-gradient(135deg, #FF6B35, #E94560); color: #fff;
  font-size: 0.85rem; transition: opacity 0.3s;
}
.expert-card .btn-sm:hover { opacity: 0.85; }

/* --- Community Section --- */
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.community-card {
  background: #16213E; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(233,69,96,0.15); transition: transform 0.3s;
}
.community-card:hover { transform: translateY(-4px); }
.community-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.community-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.community-card .info { padding: 16px; }
.community-card .info h4 { font-size: 1rem; margin-bottom: 6px; }
.community-card .info p { color: #999; font-size: 0.85rem; }

/* --- AI Section --- */
.ai-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.ai-card {
  background: linear-gradient(135deg, #16213E, #1A1A2E);
  border-radius: 12px; padding: 28px;
  border: 1px solid rgba(255,107,53,0.15); transition: all 0.3s;
}
.ai-card:hover { border-color: #FF6B35; box-shadow: 0 0 20px rgba(255,107,53,0.1); }
.ai-card .icon { font-size: 2.5rem; margin-bottom: 14px; }
.ai-card h4 { font-size: 1.1rem; margin-bottom: 10px; color: #FF6B35; }
.ai-card p { color: #bbb; font-size: 0.9rem; }

/* --- FAQ Section --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #16213E; border-radius: 10px; margin-bottom: 12px;
  border: 1px solid rgba(255,107,53,0.1); overflow: hidden;
}
.faq-question {
  padding: 18px 24px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem; transition: background 0.3s;
}
.faq-question:hover { background: rgba(255,107,53,0.05); }
.faq-question .arrow { transition: transform 0.3s; color: #FF6B35; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px; color: #bbb; font-size: 0.95rem;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 18px; }

/* --- Reviews --- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card {
  background: #16213E; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(233,69,96,0.1);
}
.review-card .stars { color: #FF6B35; margin-bottom: 10px; font-size: 1.1rem; }
.review-card .text { color: #ccc; font-size: 0.95rem; margin-bottom: 14px; font-style: italic; }
.review-card .author { display: flex; align-items: center; gap: 10px; }
.review-card .author .name { font-weight: 600; font-size: 0.9rem; }
.review-card .author .date { color: #888; font-size: 0.8rem; }

/* --- Contact Section --- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.contact-card {
  background: #16213E; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(255,107,53,0.1);
}
.contact-card h4 { color: #FF6B35; margin-bottom: 12px; font-size: 1.05rem; }
.contact-card p { color: #bbb; font-size: 0.9rem; margin-bottom: 8px; }

/* --- Cooperation Section --- */
.coop-guide { max-width: 800px; margin: 0 auto; }
.coop-step {
  display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start;
}
.coop-step .step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #E94560);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; color: #fff;
}
.coop-step .step-content h4 { font-size: 1rem; margin-bottom: 4px; }
.coop-step .step-content p { color: #bbb; font-size: 0.9rem; }

/* --- Share Buttons --- */
.share-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 20px 0; }
.share-btn {
  padding: 8px 20px; border-radius: 20px; font-size: 0.85rem;
  border: 1px solid rgba(255,107,53,0.3); color: #FF6B35;
  background: transparent; cursor: pointer; transition: all 0.3s;
}
.share-btn:hover { background: #FF6B35; color: #fff; }

/* --- Footer --- */
.site-footer {
  background: #0A0A1A; padding: 40px 0 20px;
  border-top: 1px solid rgba(255,107,53,0.15);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
.footer-col h5 { color: #FF6B35; margin-bottom: 14px; font-size: 1rem; }
.footer-col p, .footer-col a { color: #999; font-size: 0.85rem; display: block; margin-bottom: 6px; }
.footer-col a:hover { color: #FF6B35; }
.footer-qr { display: flex; gap: 20px; margin-top: 10px; }
.footer-qr img { width: 100px; height: 100px; border-radius: 8px; }
.footer-bottom {
  text-align: center; padding-top: 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  color: #666; font-size: 0.8rem;
}
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-logo img { height: 36px; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0; font-size: 0.85rem; color: #888;
  margin-top: 62px;
}
.breadcrumb a { color: #FF6B35; }
.breadcrumb span { margin: 0 8px; }

/* --- Inner Page Banner --- */
.inner-banner {
  position: relative; min-height: 280px; overflow: hidden;
  display: flex; align-items: center; background-size: cover; background-position: center;
}
.inner-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,35,0.4), rgba(15,15,35,0.9));
}
.inner-banner .content { position: relative; z-index: 2; padding: 40px 20px; }
.inner-banner h1 { font-size: 2.2rem; margin-bottom: 10px; }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  padding: 8px 14px; border-radius: 6px; font-size: 0.9rem;
  background: #16213E; color: #EAEAEA; border: 1px solid rgba(255,107,53,0.2);
}
.pagination span.current { background: linear-gradient(135deg, #FF6B35, #E94560); color: #fff; border-color: transparent; }

/* --- Button Styles --- */
.btn-primary {
  display: inline-block; padding: 12px 28px; border-radius: 30px;
  background: linear-gradient(135deg, #FF6B35, #E94560); color: #fff;
  font-weight: 600; font-size: 1rem; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.3); }
.btn-outline {
  display: inline-block; padding: 10px 24px; border-radius: 30px;
  border: 2px solid #FF6B35; color: #FF6B35;
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s; background: transparent;
}
.btn-outline:hover { background: #FF6B35; color: #fff; }

/* --- MCP Frontend Placeholder --- */
.mcp-widget {
  background: #16213E; border-radius: 12px; padding: 20px;
  border: 1px dashed rgba(255,107,53,0.3); text-align: center;
  margin-top: 20px;
}
.mcp-widget p { color: #888; font-size: 0.85rem; }

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; width: 100%; background: #1A1A2E; padding: 20px; gap: 4px; }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-banner { min-height: 400px; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-padding { padding: 40px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .inner-banner { min-height: 200px; }
  .inner-banner h1 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.5rem; }
  .search-wrap { flex-direction: column; border-radius: 12px; }
  .search-wrap input { border-radius: 12px 12px 0 0; }
  .search-wrap button { border-radius: 0 0 12px 12px; }
}

/* --- Inline Video Element in Cards --- */
.video-thumb video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.video-thumb .play-btn { z-index: 2; }
.video-thumb .video-duration { z-index: 2; }

/* --- Update News Items --- */
.update-item {
  background: #16213E; border-radius: 12px; padding: 20px;
  margin-bottom: 16px; border-left: 4px solid #FF6B35;
  transition: transform 0.3s;
}
.update-item:hover { transform: translateX(4px); }
.update-item:nth-child(even) { border-left-color: #E94560; }

/* --- Friend Links --- */
.friend-links { text-align: center; padding: 12px 0; }
.friend-links a {
  color: #666; margin: 0 8px; font-size: 0.75rem;
  transition: color 0.3s;
}
.friend-links a:hover { color: #FF6B35; }

/* --- EEAT Trust Signals --- */
.trust-bar {
  text-align: center; padding: 16px 0;
  border-top: 1px solid rgba(255,107,53,0.1);
}
.trust-bar p { color: #666; font-size: 0.75rem; }

/* --- 404 Page --- */
.error-page {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 40px 20px;
}
.error-page h1 { font-size: 6rem; color: #FF6B35; margin-bottom: 10px; }
.error-page h2 { font-size: 1.5rem; margin-bottom: 20px; }
.error-page p { color: #999; margin-bottom: 30px; }

/* --- Lazy Load Placeholder --- */
.lazy { opacity: 1; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0F0F23; }
::-webkit-scrollbar-thumb { background: #FF6B35; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #E94560; }

/* --- Animation --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
