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

html, body { height: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Serif SC", serif;
  background: #14100d;
  color: #f7f3ea;
  -webkit-font-smoothing: antialiased;
}

/* ---- cover layout ---- */
.cover {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

/* decorative background: deep crimson + lantern glows + faint lattice */
.cover__bg {
  position: absolute;
  inset: 0;
  /* 全屏视频下的深色底（视频没铺到的地方露出这个色） */
  background: #14100d;
}

/* 左侧文字区叠一层淡墨托底，让字更清楚 */
.cover__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 全屏视频上叠一层暗色 + 左侧收墨，让白字更清楚 */
  background:
    linear-gradient(90deg, rgba(20,15,12,.72) 0%, rgba(20,15,12,.35) 45%, rgba(20,15,12,.15) 70%, transparent 100%),
    linear-gradient(180deg, rgba(20,15,12,.55) 0%, transparent 25%, transparent 70%, rgba(20,15,12,.6) 100%);
  z-index: 1;
}

/* 封面背景视频：全屏铺满 */
.cover__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .95;
}

.cover__bg .pattern {
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    repeating-linear-gradient(45deg, rgba(80,60,40,.6) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-45deg, rgba(80,60,40,.6) 0 1px, transparent 1px 28px);
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 70%);
}

.cover__bg .seal {
  position: absolute;
  top: 28px;
  left: 44px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  background: #b03a2e;
  border: 2px solid #8c2a20;
  box-shadow: 0 4px 12px rgba(140,42,32,.35);
  border-radius: 4px;
}

/* header / hero */
.cover__header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 72px 48px 56px;
  max-width: 640px;
  z-index: 3;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .35em;
  color: #e9c46a;
  text-transform: uppercase;
}

.hero-title {
  /* 一行显示 */
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
  color: #f7f3ea;
  line-height: 1.2;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  color: rgba(247,243,234,.85);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, #b03a2e, #8c2a20);
  color: #fff;
  box-shadow: 0 8px 20px rgba(140,42,32,.3);
}

.btn--ghost {
  background: rgba(247,243,234,.08);
  color: #f7f3ea;
  border-color: rgba(247,243,234,.4);
}
.btn--ghost:hover { background: rgba(247,243,234,.16); }

/* footer / nav */
.cover__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 44px;
  border-top: 1px solid rgba(247,243,234,.18);
  z-index: 3;
}

.cover__nav {
  display: flex;
  gap: 26px;
}

.cover__nav a {
  color: rgba(247,243,234,.8);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .1em;
  transition: color .15s ease;
}
.cover__nav a:hover { color: #e9c46a; }

.cover__meta {
  font-size: 12px;
  color: rgba(247,243,234,.5);
}

/* responsive */
@media (max-width: 640px) {
  .cover__header { padding: 56px 22px 40px; max-width: 100%; }
  .cover__footer { padding: 14px 22px; }
  .cover__bg .seal { width: 44px; height: 44px; font-size: 20px; top: 22px; left: 22px; }
  .cover__header { padding: 48px 22px 40px; }
  .cover__video { opacity: .9; }
}
