/* porn色盒 - 修车改装视频社区 全站样式 */
/* Lmxoe.cn */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #1d3557;
  --accent: #f77f00;
  --dark: #0d1117;
  --darker: #060a10;
  --card-bg: #161b22;
  --card-hover: #1c2333;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --border: #30363d;
  --gradient-1: linear-gradient(135deg, #e63946, #f77f00);
  --gradient-2: linear-gradient(135deg, #1d3557, #457b9d);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* 头部导航 */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,17,23,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; border-radius: 6px; }
.logo-text { font-size: 1.4rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: var(--text); padding: 8px 14px; border-radius: 8px; font-size: 0.9rem;
  transition: all 0.3s; font-weight: 500; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: var(--primary); color: #fff; -webkit-text-fill-color: #fff; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }
/* 搜索框 */
.search-bar {
  background: var(--dark); border-bottom: 1px solid var(--border);
  padding: 12px 0; margin-top: 68px;
}
.search-bar .container { display: flex; justify-content: center; }
.search-form {
  display: flex; max-width: 600px; width: 100%; position: relative;
}
.search-form input {
  flex: 1; padding: 12px 20px; border: 2px solid var(--border); border-radius: 25px 0 0 25px;
  background: var(--card-bg); color: var(--text); font-size: 0.95rem; outline: none;
  transition: border-color 0.3s;
}
.search-form input:focus { border-color: var(--primary); }
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  padding: 12px 28px; background: var(--gradient-1); border: none; color: #fff;
  border-radius: 0 25px 25px 0; cursor: pointer; font-size: 0.95rem; font-weight: 600;
  transition: opacity 0.3s;
}
.search-form button:hover { opacity: 0.9; }
/* Banner */
.hero-banner {
  position: relative; height: 70vh; min-height: 500px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-banner img.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.4);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; padding: 40px;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 3rem; font-weight: 900; margin-bottom: 16px;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.hero-content h2 { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 24px; font-weight: 400; }
.hero-content p { font-size: 1.05rem; color: #ccc; line-height: 1.8; margin-bottom: 30px; }
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  border-radius: 30px; font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s; border: none; text-decoration: none;
}
.btn-primary { background: var(--gradient-1); color: #fff; box-shadow: 0 4px 20px rgba(230,57,70,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(230,57,70,0.6); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
/* 区块标题 */
.section { padding: 80px 0; }
.section-alt { background: var(--dark); }
.section-title {
  text-align: center; margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem; font-weight: 800; margin-bottom: 12px;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-title h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.section-title p { color: var(--text-muted); font-size: 1.05rem; max-width: 700px; margin: 0 auto; }
/* 视频卡片 */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s; cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.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 0.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; background: rgba(230,57,70,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px 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.8);
  color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 1rem; font-weight: 600; 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: var(--text-muted); font-size: 0.85rem; flex-wrap: wrap; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.video-tags span {
  background: rgba(230,57,70,0.15); color: var(--primary); padding: 2px 10px;
  border-radius: 12px; font-size: 0.75rem;
}
/* 专家/团队卡片 */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.team-card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); text-align: center; padding: 30px 20px;
  transition: all 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid var(--primary);
}
.team-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 0.9rem; margin-bottom: 10px; }
.team-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.team-card .team-links { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.team-card .team-links a {
  padding: 6px 16px; border-radius: 20px; font-size: 0.82rem;
  background: var(--gradient-1); color: #fff;
}
/* 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: 12px; 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: var(--card-hover); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px; color: var(--text-muted); line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 18px; }
/* 用户评论 */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: all 0.3s;
}
.review-card:hover { border-color: var(--primary); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-1);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-weight: 700; font-size: 1.1rem;
}
.review-name { font-weight: 600; }
.review-date { color: var(--text-muted); font-size: 0.82rem; }
.review-stars { color: #f5a623; margin-bottom: 10px; font-size: 0.9rem; }
.review-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
/* 合作品牌 */
.brand-wall {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center;
}
.brand-wall .brand-item {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 30px; font-size: 1.1rem; font-weight: 700; color: var(--text-muted);
  transition: all 0.3s;
}
.brand-wall .brand-item:hover { border-color: var(--primary); color: var(--text); }
/* 社区模块 */
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.community-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; transition: all 0.3s;
}
.community-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.community-card .icon { font-size: 2.5rem; margin-bottom: 12px; }
.community-card h4 { margin-bottom: 8px; font-size: 1rem; }
.community-card p { color: var(--text-muted); font-size: 0.85rem; }
/* AI赋能 */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ai-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: all 0.3s; position: relative; overflow: hidden;
}
.ai-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-1);
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ai-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.ai-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.contact-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; text-align: center;
}
.contact-card h4 { margin-bottom: 12px; color: var(--accent); }
.contact-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; }
.contact-card img { max-width: 160px; margin: 12px auto; border-radius: 8px; }
/* 社交分享 */
.share-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 20px 0; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
  border-radius: 25px; font-size: 0.88rem; font-weight: 500; color: #fff;
  transition: all 0.3s; border: none; cursor: pointer;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #161823; border: 1px solid #333; }
.share-bilibili { background: #00a1d6; }
/* 页脚 */
.site-footer {
  background: var(--dark); border-top: 1px solid var(--border); padding: 50px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 1.05rem; margin-bottom: 16px; color: var(--text);
  padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block;
}
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.9rem; line-height: 2; display: block; }
.footer-col a:hover { color: var(--primary); }
.footer-col img { max-width: 130px; border-radius: 8px; margin-top: 8px; }
.footer-bottom {
  text-align: center; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }
/* 面包屑 */
.breadcrumb {
  padding: 16px 0; font-size: 0.88rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }
/* How-To指南 */
.howto-steps { max-width: 800px; margin: 0 auto; }
.howto-step {
  display: flex; gap: 20px; margin-bottom: 24px; padding: 24px;
  background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border);
}
.step-num {
  width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
  background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; color: #fff;
}
.howto-step h4 { margin-bottom: 6px; }
.howto-step p { color: var(--text-muted); font-size: 0.92rem; }
/* 数据统计 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 30px; background: var(--card-bg);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.stat-num {
  font-size: 2.5rem; font-weight: 900;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
/* 内容列表 */
.content-list { display: flex; flex-direction: column; gap: 20px; }
.content-item {
  display: flex; gap: 20px; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}
.content-item:hover { border-color: var(--primary); transform: translateX(4px); }
.content-item .thumb { width: 280px; min-width: 280px; position: relative; }
.content-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.content-item .info { padding: 20px; flex: 1; }
.content-item .info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.content-item .info p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
/* 回到顶部 */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  background: var(--gradient-1); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: #fff; font-size: 1.2rem;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s;
  border: none; z-index: 999; box-shadow: 0 4px 16px rgba(230,57,70,0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }
/* 响应式 */
@media (max-width: 768px) {
  .hero-banner { height: 50vh; min-height: 380px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content h2 { font-size: 1rem; }
  .main-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); }
  .main-nav.show { display: flex; }
  .mobile-menu-btn { display: block; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-item { flex-direction: column; }
  .content-item .thumb { width: 100%; min-width: 100%; height: 200px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 12px; }
  .logo-text { font-size: 1.1rem; }
  .video-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}
/* 懒加载 */
img[loading="lazy"] { opacity: 0; transition: opacity 0.5s; }
img[loading="lazy"].loaded, img[loading="lazy"][src] { opacity: 1; }
/* 动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
