/* ============================================
   复古机车文化与定制改装零件发烧友平台 - 主样式表
   视觉风格：重金属战损灰+复古机油黄 车库硬核
   ============================================ */

/* CSS变量定义 */
:root {
  --color-primary: #E8B800;
  --color-secondary: #8B0000;
  --color-bg: #1C1C1C;
  --color-card: #2A2A2A;
  --color-text: #E8E0D0;
  --color-text-muted: #9A9488;
  --color-border: #3D3D3D;
  --color-highlight: #E8B800;
  --font-heading: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --shadow-metal: 0 4px 20px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 15px rgba(232,184,0,0.3);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 排版 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.4rem); }

p {
  margin-bottom: 1em;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: #FFD700;
  text-shadow: 0 0 8px rgba(232,184,0,0.5);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.cc5ec587a {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 导航栏 */
.cca272c67 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-primary);
  padding: 0.8rem 0;
  transition: var(--transition-base);
}

.cca272c67.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(232,184,0,0.15);
}

.c7fe16233 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.c39f3aa3d {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(232,184,0,0.4);
}

.c3aec6ada {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.c3aec6ada a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.c3aec6ada a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.c3aec6ada a:hover::after,
.c3aec6ada a.ca4adb7d8::after {
  width: 100%;
}

.c23e9d3e9 {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.c23e9d3e9 span {
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* Hero区 - 车库揭幕 */
.cf04e8174 {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.cf04e8174::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(28,28,28,0.8) 100%);
  z-index: 2;
}

.c3eed2454 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.c785fc8c0 {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.c785fc8c0 h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-primary);
  text-shadow: 0 0 30px rgba(232,184,0,0.5), 0 4px 10px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.c785fc8c0 p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease 0.8s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 按钮样式 - 金属质感 */
.c33a45485 {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #E8B800 0%, #B8920A 100%);
  color: #1C1C1C;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(232,184,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.c33a45485:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,184,0,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  color: #1C1C1C;
  animation: engineVibrate 0.1s linear infinite;
}

@keyframes engineVibrate {
  0%, 100% { transform: translateY(-2px) translateX(0); }
  25% { transform: translateY(-2px) translateX(-1px); }
  75% { transform: translateY(-2px) translateX(1px); }
}

.c33a45485:hover::after {
  animation: none;
}

.cb5010fba {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
}

.cb5010fba:hover {
  background: var(--color-primary);
  color: #1C1C1C;
  box-shadow: var(--shadow-glow);
}

/* 区块标题 */
.cd3693d2f {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 4rem;
}

.cd3693d2f h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.cd3693d2f h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.cd3693d2f p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* 卡片系统 - 金属拉丝 */
.c94890b1f {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

.c94890b1f::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,184,0,0.05), transparent);
  transition: left 0.6s ease;
}

.c94890b1f:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-metal), 0 0 20px rgba(232,184,0,0.1);
}

.c94890b1f:hover::before {
  left: 100%;
}

.cbfc2fb50 {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid var(--color-border);
}

.c9067ba4b {
  padding: 1.5rem;
}

.c4a2aa7a1 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.c1c09c6d6 {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 网格布局 */
.c60c9c451 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.c5b014b80 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* 瀑布流 */
.c6c18109d {
  columns: 3;
  column-gap: 1.5rem;
}

.c6c18109d .ca254d033 {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.c6c18109d .ca254d033 img {
  width: 100%;
  transition: transform 0.5s ease;
}

.c6c18109d .ca254d033:hover img {
  transform: scale(1.05);
}

/* 转速表动画 */
.c7bd85928 {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 80px;
  height: 80px;
  background: var(--color-card);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

.c989b3bac {
  width: 2px;
  height: 30px;
  background: var(--color-secondary);
  transform-origin: bottom center;
  transition: transform 0.3s ease;
  position: absolute;
  bottom: 50%;
}

/* 页脚 */
.c3749305a {
  background: #111111;
  border-top: 2px solid var(--color-primary);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

.cd0276516 h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.cd0276516 ul {
  list-style: none;
}

.cd0276516 ul li {
  margin-bottom: 0.5rem;
}

.cd0276516 ul li a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.cd0276516 ul li a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.cf919b6d7 {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* 面包屑 */
.c085f3e3b {
  padding: 1rem 0;
  margin-top: 80px;
}

.c085f3e3b ol {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.c085f3e3b ol li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.c085f3e3b ol li a {
  color: var(--color-text-muted);
}

.c085f3e3b ol li a:hover {
  color: var(--color-primary);
}

.c085f3e3b ol li + li::before {
  content: '>';
  margin-right: 0.5rem;
  color: var(--color-border);
}

/* 标签 */
.c38066754 {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(232,184,0,0.1);
  border: 1px solid rgba(232,184,0,0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-primary);
  margin: 0.2rem;
}

/* 商品价格 */
.c87264035 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-shadow: 0 0 5px rgba(139,0,0,0.3);
}

/* 评分星级 */
.cc614b58e {
  color: var(--color-primary);
  font-size: 1rem;
}

/* 搜索框 */
.c7dbdeb31 {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.c7dbdeb31 input {
  width: 100%;
  padding: 1rem 1.5rem;
  padding-right: 4rem;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: 50px;
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-base);
}

.c7dbdeb31 input:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.c7dbdeb31 button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  color: #1C1C1C;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
}

/* 内容页面 */
.c294c2d08 {
  padding-top: 100px;
  min-height: 80vh;
}

.c294c2d08 article {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.c294c2d08 article h1 {
  margin-bottom: 1.5rem;
}

.c294c2d08 article p {
  margin-bottom: 1.2rem;
  line-height: 2;
}

/* FAQ手风琴 */
.c21d39704 {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.cc0b34f89 {
  padding: 1.2rem 1.5rem;
  background: var(--color-card);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition-base);
}

.cc0b34f89:hover {
  color: var(--color-primary);
}

.c834b2f88 {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.c21d39704.ca4adb7d8 .c834b2f88 {
  padding: 1.2rem 1.5rem;
  max-height: 500px;
}

/* 时间线 */
.timeline-crankshaft {
  position: relative;
  padding-left: 3rem;
}

.timeline-crankshaft::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.3rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* 表格 */
.cacfc2092 {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.cacfc2092 th,
.cacfc2092 td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.cacfc2092 th {
  background: var(--color-card);
  color: var(--color-primary);
  font-weight: 600;
}

.cacfc2092 tr:hover td {
  background: rgba(232,184,0,0.05);
}

/* 灯管闪烁加载动画 */
@keyframes flickerLight {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.4; }
}

.img-flicker {
  animation: flickerLight 2s linear 1;
}

/* 滚动显示动画 */
.cd79fb53c {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cd79fb53c.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 404页面 */
.error-garage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}

.error-garage h1 {
  font-size: clamp(5rem, 15vw, 12rem);
  color: var(--color-primary);
  text-shadow: 0 0 50px rgba(232,184,0,0.3);
  line-height: 1;
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .c6c18109d {
    columns: 2;
  }
  .c60c9c451 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .c3aec6ada {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 2px solid var(--color-primary);
  }

  .c3aec6ada.ca4adb7d8 {
    display: flex;
  }

  .c23e9d3e9 {
    display: flex;
  }

  .c6c18109d {
    columns: 1;
  }

  .c785fc8c0 h1 {
    font-size: 2rem;
  }

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

  .cc5ec587a {
    padding: 0 1rem;
  }

  .c7bd85928 {
    display: none;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

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

  .c33a45485 {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* 打印样式 */
@media print {
  .cca272c67, .c3749305a, .c7bd85928 {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}
