/* ============================================
   91 修车改装视频社区 - 原创样式表
   主题：专业、动感、现代感
   配色：深蓝 + 橙红 + 白色
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #1a1a2e;
  --primary-blue: #0f3460;
  --accent-orange: #ff6b35;
  --accent-red: #e63946;
  --text-light: #ffffff;
  --text-dark: #1a1a2e;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* ============ 通用样式 ============ */

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-red);
}

button, .btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: all var(--transition-fast);
  font-weight: 600;
  padding: 12px 24px;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--text-light);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--primary-blue);
}

/* ============ 容器与布局 ============ */

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

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.UZBG1pe {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.UZBG1pe::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
  border-radius: 2px;
}

/* ============ 头部导航 ============ */

header {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.GsMRBqr1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo-text {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: width var(--transition-fast);
}

nav a:hover {
  color: var(--accent-orange);
}

nav a:hover::after {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-orange);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-light);
  outline: none;
  width: 200px;
  font-size: 14px;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box button {
  background: none;
  border: none;
  color: var(--accent-orange);
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  font-size: 18px;
}

/* ============ 英雄区域 ============ */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.M2t39 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

.i6OOkFXH h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.i6OOkFXH h1 .brand {
  color: var(--accent-orange);
}

.i6OOkFXH p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.8;
}

.KOxOtTpr {
  flex: 1;
  text-align: center;
}

.KOxOtTpr img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ============ 视频卡片 ============ */

.rJJWDwX0 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.w4D63o {
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  height: 360px;
  display: flex;
  flex-direction: column;
}

.w4D63o:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.u4VeKOycnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.u4VeKOycnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 24px;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.w4D63o:hover .play-button {
  opacity: 1;
  transform: scale(1);
}

.muqvydyL {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cCqubBbm {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}

.1kqJx6x {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.video-stats {
  display: flex;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-icon {
  color: var(--accent-orange);
  font-weight: 700;
}

/* ============ 功能模块 ============ */

.TeJLj {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.97FoFJ {
  text-align: center;
  padding: 30px;
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.97FoFJ:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent-orange);
}

.IjjDhUZm {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--accent-orange);
}

.Z4zYlTw {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.fkQOOA0 {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============ FAQ 区域 ============ */

.uuTiwu {
  max-width: 800px;
  margin: 0 auto;
}

.XWjQb {
  background: var(--text-light);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.7rgyvHYA {
  padding: 20px;
  background-color: var(--primary-blue);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.7rgyvHYA:hover {
  background-color: var(--primary-dark);
}

.tT0Iwi {
  font-size: 20px;
  transition: transform var(--transition-fast);
}

.XWjQb.active .tT0Iwi {
  transform: rotate(180deg);
}

.5V5Z6T {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  color: #666;
  line-height: 1.8;
}

.XWjQb.active .5V5Z6T {
  padding: 20px;
  max-height: 500px;
}

/* ============ 评论区 ============ */

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.B8Or5Jqt {
  background: var(--text-light);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-orange);
  transition: all var(--transition-normal);
}

.B8Or5Jqt:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.HvA0y9 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 700;
  font-size: 18px;
}

.review-info h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.Xnoya {
  color: var(--accent-orange);
  font-size: 14px;
}

.eM2ExaN {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

/* ============ 页脚 ============ */

footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 40px 0 20px;
  margin-top: 80px;
}

.tUvnz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.vYHfY5Q h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--accent-orange);
}

.vYHfY5Q ul {
  list-style: none;
}

.vYHfY5Q ul li {
  margin-bottom: 10px;
}

.vYHfY5Q a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.vYHfY5Q a:hover {
  color: var(--accent-orange);
}

.RhRXB {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.pQsQDMi {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.qr-code {
  width: 100px;
  height: 100px;
  background: var(--text-light);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dark);
}

.QW1k4L {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ 响应式设计 ============ */

@media (max-width: 768px) {
  .M2t39 {
    flex-direction: column;
    padding: 40px 0;
  }

  .i6OOkFXH h1 {
    font-size: 32px;
  }

  .i6OOkFXH p {
    font-size: 16px;
  }

  .rJJWDwX0 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  .UZBG1pe {
    font-size: 28px;
  }

  nav ul {
    gap: 16px;
    font-size: 14px;
  }

  .search-box input {
    width: 150px;
  }

  .TeJLj {
    grid-template-columns: 1fr;
  }

  .tUvnz {
    grid-template-columns: 1fr;
  }

  .GsMRBqr1 {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 40px 0;
  }

  .i6OOkFXH h1 {
    font-size: 24px;
  }

  .i6OOkFXH p {
    font-size: 14px;
  }

  .rJJWDwX0 {
    grid-template-columns: 1fr;
  }

  .w4D63o {
    height: auto;
  }

  .u4VeKOycnail {
    height: 180px;
  }

  .UZBG1pe {
    font-size: 22px;
  }

  button, .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

  .reviews-container {
    grid-template-columns: 1fr;
  }

  .7rgyvHYA {
    font-size: 14px;
  }
}

/* ============ 打印样式 ============ */

@media print {
  header, footer, .search-box {
    display: none;
  }

  body {
    background: white;
  }

  .w4D63o, .B8Or5Jqt, .97FoFJ {
    page-break-inside: avoid;
  }
}

/* ============ 辅助类 ============ */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.no-wrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
