/* =============================================
   海角 修车改装 · 视频社区
   Brand: 海角 | Domain: nbdm1r.cn
   原创配色：工业橙 + 碳黑 + 钢铁灰
   ============================================= */

/* ---- CSS变量 ---- */
:root {
  --primary:       #e85d04;
  --primary-dark:  #c44d00;
  --primary-light: #ff7c2a;
  --accent:        #ffd60a;
  --steel:         #8a9bb0;
  --dark:          #0e0f11;
  --dark2:         #161820;
  --dark3:         #1e2028;
  --card-bg:       #1a1c24;
  --text-main:     #f0f2f5;
  --text-muted:    #8a9bb0;
  --border:        rgba(232,93,4,0.25);
  --grad-main:     linear-gradient(135deg, #e85d04 0%, #c44d00 60%, #ffd60a 100%);
  --grad-dark:     linear-gradient(180deg, #0e0f11 0%, #161820 100%);
  --shadow-glow:   0 0 24px rgba(232,93,4,0.35);
  --shadow-card:   0 8px 36px rgba(0,0,0,0.5);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    all 0.3s ease;
}

/* ---- 重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: var(--dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* =============================================
   顶部公告条
   ============================================= */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 7px 20px;
  letter-spacing: 0.5px;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--accent); }

/* =============================================
   导航
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14,15,17,0.97);
  border-bottom: 2px solid var(--primary);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.logo-text {
  font-size: 26px;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav > a, .nav-dropdown > a {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav > a:hover, .nav-dropdown > a:hover {
  background: rgba(232,93,4,0.15);
  color: var(--primary-light);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  box-shadow: var(--shadow-card);
  z-index: 100;
  padding: 6px 0;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: var(--text-main);
  font-size: 13px;
  transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: rgba(232,93,4,0.12); color: var(--primary-light); }

/* 搜索框 */
.search-wrap { position: relative; margin-left: auto; }
.header-search {
  display: flex;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
}
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,93,4,0.15); }
.header-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13px;
  padding: 8px 14px;
  width: 200px;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
}
.header-search button:hover { background: var(--primary-dark); }
#search-tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 20px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
}

/* =============================================
   Hero Banner
   ============================================= */
.hero-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-banner:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,15,17,0.92) 0%, rgba(14,15,17,0.65) 55%, rgba(14,15,17,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,93,4,0.18);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #fff;
}
.hero-title .brand {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px;
  color: rgba(240,242,245,0.85);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
}
.hero-stat .label { font-size: 12px; color: var(--text-muted); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--grad-main);
  color: #fff;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(232,93,4,0.5); color: #fff; }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary-light);
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(232,93,4,0.12); color: var(--accent); }

/* =============================================
   通用 Section
   ============================================= */
.section { padding: 72px 20px; max-width: 1300px; margin: 0 auto; }
.section-full { padding: 72px 20px; background: var(--dark2); }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.4);
  color: var(--primary-light);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}
.section-title .hl { color: var(--primary-light); }
.section-desc { color: var(--text-muted); font-size: 15px; max-width: 600px; margin: 0 auto; }

/* =============================================
   模块卡片网格
   ============================================= */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.module-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  cursor: pointer;
}
.module-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.module-icon { font-size: 2.2rem; margin-bottom: 14px; }
.module-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.module-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   视频卡片
   ============================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.video-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark3);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-card:hover .video-preview { opacity: 1; }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,93,4,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.play-icon:hover { transform: scale(1.1); }
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 16px 18px; }
.video-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.video-title a { color: var(--text-main); }
.video-title a:hover { color: var(--primary-light); }
.video-desc-text { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.6; }
.video-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.video-date { margin-left: auto; }

/* =============================================
   AI 赋能
   ============================================= */
.ai-section { background: var(--dark3); border-radius: var(--radius-lg); padding: 48px; }
.ai-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 36px; }
.ai-feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.ai-feature:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.ai-feature .icon { font-size: 2rem; margin-bottom: 12px; }
.ai-feature h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ai-feature p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   专家卡片
   ============================================= */
.experts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.expert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.expert-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.expert-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.expert-card:hover .expert-photo img { transform: scale(1.05); }
.expert-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.expert-info { padding: 20px 22px; }
.expert-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.expert-role { font-size: 13px; color: var(--primary-light); margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.expert-stats { display: flex; gap: 20px; margin-bottom: 16px; }
.expert-stat .num { font-size: 1.3rem; font-weight: 800; color: var(--primary-light); }
.expert-stat .label { font-size: 11px; color: var(--text-muted); }
.expert-btns { display: flex; gap: 10px; }
.btn-sm {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm.primary { background: var(--primary); color: #fff; }
.btn-sm.primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm.outline { border: 1px solid var(--border); color: var(--text-muted); }
.btn-sm.outline:hover { border-color: var(--primary); color: var(--primary-light); }

/* =============================================
   合作品牌墙
   ============================================= */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.partner-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.partner-item:hover { border-color: var(--primary); color: var(--primary-light); }

/* =============================================
   How-To 步骤
   ============================================= */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.howto-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.howto-step:hover { border-color: var(--primary); }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.7;
}
.howto-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.howto-step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   用户评价
   ============================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
}
.review-card:hover { border-color: var(--primary); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 14px; }
.review-stars { color: var(--accent); font-size: 13px; }
.review-game { font-size: 11px; color: var(--text-muted); margin-left: 6px; }
.review-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }
.review-date { font-size: 11px; color: rgba(138,155,176,0.6); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { color: var(--primary-light); }
.faq-answer { display: none; padding: 0 22px 18px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* =============================================
   联系
   ============================================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   标签云
   ============================================= */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition);
}
.tag:hover { background: rgba(232,93,4,0.12); border-color: var(--primary); color: var(--primary-light); }

/* =============================================
   分享条
   ============================================= */
.share-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-btn {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 22px;
  cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(232,93,4,0.1); }

/* =============================================
   页脚
   ============================================= */
.site-footer { background: var(--dark2); border-top: 2px solid var(--primary); }
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 56px 20px 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.footer-qr-row { display: flex; gap: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 6px; }
.footer-qr-item span { font-size: 11px; color: var(--text-muted); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 2;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }

/* =============================================
   内页 Hero
   ============================================= */
.inner-hero {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
}
.inner-hero-inner { max-width: 1300px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: var(--primary-light); }

/* =============================================
   Fade-in 动画
   ============================================= */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--dark2); padding: 20px; flex-direction: column; border-bottom: 1px solid var(--border); z-index: 999; }
  .main-nav.open { display: flex; }
  .nav-dropdown-menu { position: static; display: none; box-shadow: none; border: none; padding-left: 16px; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-toggle { display: block; }
  .search-wrap { display: none; }
  .hero-content { padding: 60px 20px; }
  .hero-stats { gap: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .ai-section { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .video-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
}
