/* ============================================================
   极风车队 · 深灰 + 熔橙  —— 复刻 HAAVK 式官网骨架
   反主流原则：噪点质感 / 非对称 / 无紫 / 无 ease-in-out / 无emoji图标
   ============================================================ */

:root {
  --ink: #141416;
  --panel: #191a1d;
  --paper: #e8e6e1;
  --dim: #8f8c86;
  --faint: #6f6c66;
  --ember: #ff6a2b;
  --ember-deep: #c23f0a;
  --line: rgba(232, 230, 225, 0.1);
  --snap: cubic-bezier(0.22, 1, 0.36, 1);
  --card-h: 440px;   /* 核心车手卡 / 队员之声卡统一高度，顶部对齐 */
  --drift: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255, 106, 43, 0.1), transparent 60%),
    radial-gradient(900px 600px at -8% 108%, rgba(255, 106, 43, 0.05), transparent 55%),
    linear-gradient(170deg, #1b1b1f 0%, #131316 46%, #17181b 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

/* 噪点 —— 拒绝纯平 */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  opacity: 0.45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
}

::selection { background: var(--ember); color: #fff; }

/* ---------------- 导航 ---------------- */
.topbar {
  position: relative; z-index: 10;
  display: flex; align-items: center;
  padding: 14px 4.5vw 10px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--paper);
  font-weight: 800; font-size: 16px; letter-spacing: 3px;
}
.logo b { color: var(--ember); margin-left: 4px; letter-spacing: 5px; }

.meter {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  color: var(--dim); font-size: 12.5px; letter-spacing: 2px;
}
.meter b { color: var(--paper); font-size: 16px; font-weight: 800; letter-spacing: 1px; }

/* ---------------- 主视觉 ---------------- */
.hero { position: relative; min-height: 82vh; z-index: 5; }

/* 队长立绘：出血到页面顶缘（压在导航之下） */
.portrait {
  position: absolute; top: -8.5vh; right: 7vw;
  width: min(42vw, 600px); height: 100vh;
  z-index: 1; margin: 0;
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  -webkit-mask-image: radial-gradient(120% 100% at 55% 30%, #000 58%, transparent 94%);
  mask-image: radial-gradient(120% 100% at 55% 30%, #000 58%, transparent 94%);
  animation: portrait-in 1.2s var(--snap) both;
}
@keyframes portrait-in {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-copy {
  padding: 13vh 0 0 4.5vw;
  max-width: 48vw;
  animation: copy-in 0.9s var(--snap) both;
}
@keyframes copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 3px;
  white-space: nowrap;
}
.hero-copy h1 em {
  font-style: normal; color: var(--ember); position: relative;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute; left: 2%; bottom: 4px;
  width: 96%; height: 10px;
  background: linear-gradient(90deg, rgba(255,106,43,0.32), transparent);
  transform: skewX(-12deg);
  z-index: -1;
}

/* 手写签名：叠在标题右侧，像参考图那样 */
.sign {
  position: absolute;
  left: min(33vw, 520px);
  top: 15.5vh;
  transform: rotate(-3deg);
  opacity: 0.95;
  animation: sign-in 1s 0.35s var(--snap) both;
}
@keyframes sign-in {
  from { opacity: 0; }
  to   { opacity: 0.95; }
}

.sub {
  margin-top: 3.5vh;
  color: var(--dim);
  font-size: 15px; letter-spacing: 2.5px;
}

/* 轮播指示块 */

/* ---------------- 底部双区 ---------------- */
.deck {
  position: relative; z-index: 5;
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 2.5vw;
  padding: 1.5vh 3vw 0 4.5vw;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.38));
}

.deck-right { display: flex; flex-direction: column; min-width: 0; }

.band-title {
  border-left: 3px solid var(--ember);
  padding-left: 10px;
  font-size: 15px; letter-spacing: 4px; font-weight: 800;
  margin: 2.4vh 0 1.8vh;
}

/* 左：两张大卡 */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.feat {
  position: relative;
  height: var(--card-h);
  overflow: hidden;
  background: #101013;
  border: 1px solid var(--line);
}
.feat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
  transition: transform 0.55s var(--snap), filter 0.55s var(--snap);
}
.feat:hover img {
  transform: scale(1.04);
  filter: grayscale(0.25) contrast(1.1) brightness(0.98);
}
.feat::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,15,0.62) 0%, rgba(13,13,15,0) 30%, rgba(13,13,15,0) 50%, rgba(13,13,15,0.95) 100%);
}
.feat-head { position: absolute; top: 16px; left: 18px; z-index: 2; }
.feat-head strong { display: block; font-size: 23px; letter-spacing: 2px; }
.feat-head span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 2px; color: rgba(232,230,225,0.62); }
.feat-quote {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800; line-height: 1.55; letter-spacing: 2px;
}

/* 右：四联卡 */
/* 右：四联卡 —— 横向平叠（卡片摆正、不旋转，沿水平方向错开叠压） */
.voice-grid { position: relative; height: var(--card-h); }

.voice-card {
  position: absolute; top: 0; left: 0;
  width: 210px; height: var(--card-h);
  display: flex; flex-direction: column;
  padding: 14px 14px 12px;
  background:
    radial-gradient(260px 150px at 100% 0%, rgba(255,106,43,0.06), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transform: translate(var(--x,0), 0);
  transition: transform 0.45s var(--snap), border-color 0.3s var(--snap), box-shadow 0.3s var(--snap);
}
.voice-card:nth-child(1) { z-index: 1; }
.voice-card:nth-child(2) { z-index: 2; }
.voice-card:nth-child(3) { z-index: 3; }
.voice-card:nth-child(4) { z-index: 4; }
.voice-card:hover {
  z-index: 30; border-color: rgba(255,106,43,0.6);
  box-shadow: 0 18px 46px rgba(0,0,0,0.6);
  transform: translate(var(--x,0), -16px) scale(1.06);
}

.voice-card header { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.voice-card header strong { font-size: 17px; letter-spacing: 2px; }
.voice-card header span { font-size: 11px; letter-spacing: 2px; color: var(--dim); }

.voice-card img {
  width: 100%; flex: 1; min-height: 0;
  object-fit: cover; object-position: top center;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.4s var(--snap);
}
.voice-card:hover img { filter: grayscale(0.2) contrast(1.08) brightness(1); }

.voice-card p {
  margin-top: 10px;
  font-size: 12.5px; color: #b9b6b0;
  line-height: 1.85; letter-spacing: 1px;
}

.voice-card.recruit .seat {
  flex: 1; display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(255,106,43,0.45);
  background: radial-gradient(200px 120px at 50% 45%, rgba(255,106,43,0.1), transparent 70%);
}

/* ---------------- 招新条 & 页脚 ---------------- */
.join {
  padding: 4.5vh 4.5vw;
  font-size: 14px; color: var(--dim); letter-spacing: 1.5px; line-height: 2;
}
.join b { color: var(--ember); font-weight: 800; }

.strip {
  display: flex; justify-content: space-between;
  padding: 14px 4.5vw;
  background: #0c0c0e;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px; letter-spacing: 2px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .portrait { position: relative; top: 0; width: 82vw; height: 56vh; margin: 0 auto; display: block; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { max-width: 90vw; padding: 6vh 4.5vw 4vh; }
  .hero-copy h1 { white-space: normal; }
  .sign { display: none; }
  .deck { grid-template-columns: 1fr; }
  .voice-grid { position: static; height: auto; display: flex; flex-direction: column; gap: 14px; }
  .voice-card { position: static; width: auto; height: auto; transform: none !important; }
  .feat { min-height: 0; height: 38vh; }
}
