/* ========================================
   海角社区视频 - 全站样式表
   品牌色：虎红 #E84545 | 深夜蓝 #1A1A2E | 活力橙 #FF6B35
   ======================================== */

/* 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: #0F0F1A;
  color: #E0E0F0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #FF6B35; text-decoration: none; transition: color .3s; }
a:hover { color: #E84545; }
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: #fff; }

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

/* ========== Header / Navigation ========== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 69, 69, 0.2);
  transition: background .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 68px;
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; }
.logo-text { font-size: 1.4rem; font-weight: 800; background: linear-gradient(135deg, #E84545, #FF6B35); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 8px;
  font-size: 0.95rem; color: #B0B0C8; font-weight: 500;
  transition: all .3s;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff; background: rgba(232, 69, 69, 0.15);
}

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ========== Search Bar ========== */
.search-bar {
  background: linear-gradient(135deg, #1A1A2E, #1C1C30);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}
.search-bar .container { display: flex; justify-content: center; }
.search-wrap {
  display: flex; max-width: 600px; width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 69, 69, 0.3);
  border-radius: 30px; overflow: hidden;
  transition: border-color .3s;
}
.search-wrap:focus-within { border-color: #E84545; }
.search-wrap input {
  flex: 1; padding: 10px 20px; background: transparent;
  border: none; outline: none; color: #fff; font-size: 0.95rem;
}
.search-wrap input::placeholder { color: #666; }
.search-wrap button {
  padding: 10px 24px; background: linear-gradient(135deg, #E84545, #FF6B35);
  border: none; color: #fff; cursor: pointer; font-size: 0.95rem;
  transition: opacity .3s;
}
.search-wrap button:hover { opacity: 0.85; }

/* ========== Hero Banner ========== */
.hero-section {
  position: relative; margin-top: 68px;
  height: 520px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.rps3j {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.4);
}
.k9hdua {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,26,0.3) 0%, rgba(15,15,26,0.9) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 0 20px;
}
.hero-content h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero-content h1 .axizxceu { color: #E84545; }
.hero-content p { font-size: 1.15rem; color: #B0B0C8; margin-bottom: 28px; line-height: 1.8; }
.uk6ldd3c { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 30px;
  background: linear-gradient(135deg, #E84545, #FF6B35);
  color: #fff; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232, 69, 69, 0.4); color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 30px;
  background: transparent; border: 2px solid rgba(232, 69, 69, 0.5);
  color: #fff; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all .3s;
}
.btn-secondary:hover { border-color: #E84545; background: rgba(232, 69, 69, 0.1); color: #fff; }

/* ========== Section Common ========== */
.section { padding: 70px 0; }
.section-dark { background: #0F0F1A; }
.section-alt { background: #141428; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header h2 .hl { color: #E84545; }
.section-header p { color: #888; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: rgba(232, 69, 69, 0.1); color: #E84545;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 12px;
}

/* ========== Video Card Grid ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.video-card {
  background: #1C1C30;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(232, 69, 69, 0.15); }
.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.08); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(232, 69, 69, 0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.video-card:hover .play-btn { opacity: 1; }
.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-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: 1rem; margin-bottom: 8px; line-height: 1.4; 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; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.video-tags span {
  padding: 2px 10px; border-radius: 12px;
  background: rgba(232, 69, 69, 0.1); color: #E84545;
  font-size: 0.75rem;
}

/* ========== Feature Cards ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #1C1C30;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(232, 69, 69, 0.3); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(232,69,69,0.15), rgba(255,107,53,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: #888; font-size: 0.9rem; line-height: 1.6; }

/* ========== Expert Section ========== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #1C1C30;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform .3s;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 16px; overflow: hidden;
  border: 3px solid rgba(232, 69, 69, 0.3);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.expert-card .role { color: #E84545; font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { color: #888; font-size: 0.85rem; line-height: 1.5; margin-bottom: 14px; }
.expert-links { display: flex; gap: 10px; justify-content: center; }
.expert-links a {
  padding: 6px 16px; border-radius: 20px; font-size: 0.8rem;
  border: 1px solid rgba(232, 69, 69, 0.4); color: #E84545;
  transition: all .3s;
}
.expert-links a:hover { background: #E84545; color: #fff; }

/* ========== Brand Wall ========== */
.brand-wall {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center; align-items: center;
}
.brand-item {
  width: 140px; height: 70px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .3s;
  color: #666; font-size: 0.9rem; font-weight: 600;
}
.brand-item:hover { border-color: rgba(232, 69, 69, 0.3); }

/* ========== FAQ Section ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #1C1C30;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem; color: #fff;
  transition: background .3s;
}
.faq-question:hover { background: rgba(232, 69, 69, 0.05); }
.faq-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid #E84545;
  border-bottom: 2px solid #E84545;
  transform: rotate(45deg);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.active .faq-arrow { transform: rotate(-135deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 24px;
  color: #999; font-size: 0.95rem; 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: 20px;
}
.review-card {
  background: #1C1C30;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.04);
}
.review-stars { color: #FFD700; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { color: #ccc; font-size: 0.92rem; line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #E84545, #FF6B35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.9rem;
}
.review-author-info .name { font-size: 0.9rem; font-weight: 600; color: #fff; }
.review-author-info .date { font-size: 0.8rem; color: #666; }

/* ========== Contact Section ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.contact-card {
  background: #1C1C30;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
}
.contact-card h4 { font-size: 1rem; margin-bottom: 12px; color: #E84545; }
.contact-card p { color: #999; font-size: 0.9rem; line-height: 1.6; }
.contact-card img { max-width: 160px; margin: 12px auto 0; border-radius: 8px; }

/* ========== How-To Guide ========== */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.howto-step {
  text-align: center; padding: 24px 16px;
  background: #1C1C30; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #E84545, #FF6B35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.2rem; font-weight: 800; color: #fff;
}
.howto-step h4 { font-size: 1rem; margin-bottom: 8px; }
.howto-step p { color: #888; font-size: 0.85rem; }

/* ========== 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; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  color: #ccc; background: rgba(255,255,255,0.04);
  cursor: pointer; transition: all .3s;
}
.share-btn:hover { border-color: #E84545; color: #E84545; }

/* ========== Footer ========== */
.site-footer {
  background: #0A0A16;
  border-top: 1px solid rgba(232, 69, 69, 0.15);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: #fff; }
.footer-col p, .footer-col a { color: #888; font-size: 0.9rem; line-height: 2; display: block; }
.footer-col a:hover { color: #E84545; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo img { height: 36px; }
.footer-logo span { font-size: 1.2rem; font-weight: 700; color: #E84545; }
.footer-qr { display: flex; gap: 16px; margin-top: 12px; }
.footer-qr img { width: 100px; border-radius: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  text-align: center;
  color: #555; font-size: 0.85rem;
}
.footer-bottom a { color: #888; }

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 14px 0;
  margin-top: 68px;
  background: #141428;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.breadcrumb-list { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: #888; }
.breadcrumb-list a { color: #B0B0C8; }
.breadcrumb-list a:hover { color: #E84545; }
.breadcrumb-sep { color: #555; }

/* ========== Inner Page Banner ========== */
.inner-banner {
  padding: 60px 0; text-align: center;
  background: linear-gradient(135deg, #1A1A2E, #1C1C30);
  border-bottom: 1px solid rgba(232, 69, 69, 0.1);
}
.inner-banner h1 { font-size: 2.2rem; margin-bottom: 10px; }
.inner-banner p { color: #888; font-size: 1rem; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .main-nav { 
    position: fixed; top: 68px; left: 0; width: 100%;
    background: rgba(15, 15, 26, 0.98);
    padding: 20px; transform: translateY(-120%);
    transition: transform .3s; z-index: 999;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .mobile-toggle { display: block; }
  
  .hero-section { height: 420px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.6rem; }
  
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
}

/* ========== Lazy Load ========== */
img[data-src] { opacity: 0; transition: opacity .5s; }
img[data-src].loaded { opacity: 1; }

/* ========== Animations ========== */
.rm4t0no { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.rm4t0no.visible { opacity: 1; transform: translateY(0); }

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

/* ========== Video Page Specific ========== */
.video-filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #B0B0C8; font-size: 0.9rem;
  cursor: pointer; transition: all .3s;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(232, 69, 69, 0.15);
  border-color: #E84545; color: #E84545;
}

/* ========== Community Cards ========== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.community-card {
  background: #1C1C30;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform .3s;
}
.community-card:hover { transform: translateY(-4px); }
.community-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.community-card p { color: #888; font-size: 0.9rem; line-height: 1.6; }

/* ========== Stats Bar ========== */
.sf6e8 {
  display: flex; justify-content: center; gap: 48px;
  flex-wrap: wrap; padding: 32px 0;
}
.yfpwm57f { text-align: center; }
.afx1igd8 {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, #E84545, #FF6B35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.qe6d02cj { color: #888; font-size: 0.9rem; margin-top: 4px; }

/* ========== About Page ========== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { margin-bottom: 20px; color: #ccc; font-size: 1rem; line-height: 1.8; }
.about-content h3 { margin: 32px 0 16px; font-size: 1.3rem; }

/* ========== Timeline ========== */
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, #E84545, #FF6B35);
}
.timeline-item { position: relative; margin-bottom: 32px; padding-left: 24px; }
.timeline-item::before {
  content: ''; position: absolute; left: -35px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #E84545; border: 2px solid #0F0F1A;
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item .year { color: #E84545; font-size: 0.85rem; font-weight: 600; }
.timeline-item p { color: #888; font-size: 0.9rem; }

/* ========== Video Modal ========== */
.rdy2g5 {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.rdy2g5-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.rdy2g5-content {
  position: relative; z-index: 2;
  background: #1C1C30;
  border-radius: 16px;
  width: 90%; max-width: 720px;
  overflow: hidden;
  border: 1px solid rgba(232, 69, 69, 0.3);
}
.rdy2g5-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: rgba(232, 69, 69, 0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rdy2g5-header h3 { font-size: 1.1rem; color: #fff; }
.rdy2g5-close {
  background: none; border: none; color: #888;
  font-size: 1.8rem; cursor: pointer; line-height: 1;
  transition: color .3s;
}
.rdy2g5-close:hover { color: #E84545; }
.rdy2g5-body { padding: 0; }
.ma990eo {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0F0F1A, #1A1A2E);
}
.kxf3k7dx {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(232, 69, 69, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem; color: #E84545;
  border: 2px solid rgba(232, 69, 69, 0.4);
}
.ma990eo p { color: #ccc; font-size: 1rem; margin-bottom: 8px; }
.ma990eo .2de44m { color: #666; font-size: 0.9rem; }

/* ========== Video Description ========== */
.video-desc {
  color: #999; font-size: 0.85rem; line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ========== News Date ========== */
.news-date {
  color: #E84545; font-size: 0.8rem;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ========== Expert Certs ========== */
.expert-certs {
  color: #888; font-size: 0.8rem;
  margin-bottom: 14px; padding: 8px 12px;
  background: rgba(232, 69, 69, 0.05);
  border-radius: 8px;
  border-left: 3px solid #E84545;
}

/* ========== Video Thumb with HTML5 Video ========== */
.video-thumb video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ========== Hero Desc ========== */
.oobo3lu { font-size: 1.1rem; color: #B0B0C8; margin-bottom: 28px; line-height: 1.8; }
