@font-face {
  font-family: "Zhi Mang Xing";
  src: url("../assets/fonts/ZhiMangXing-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #1a0604; }
button, input { font-family: inherit; }
button { cursor: pointer; }

.scene {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #140403;
}
.stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.top, .hero, .poem, .card, .feats { position: absolute; z-index: 1; }

.top {
  top: 0;
  left: 0;
  right: 0;
  height: 11%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.6%;
  background: linear-gradient(180deg, rgba(16, 4, 3, 0.97) 0 62%, rgba(16, 4, 3, 0) 100%);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand b { font-size: 18px; letter-spacing: 0.04em; }
.brand span { color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.marks { color: rgba(255, 255, 255, 0.86); font-size: 13px; letter-spacing: 0.12em; }

.hero {
  left: 4.5%;
  top: 13%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transform: rotate(-8deg) skewX(-6deg);
  transform-origin: left center;
}
.hero .brush {
  font-family: "Zhi Mang Xing", "Songti SC", serif;
  font-size: 78px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #fffaf7;
  -webkit-text-stroke: 1.5px #ff2d2d;
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 #ff3b32,
    2px 3px 0 #c40800,
    5px 9px 14px rgba(60, 0, 0, 0.35);
}
.hero .line2 {
  font-size: 86px;
  margin-left: 28px;
  margin-top: -6px;
}
.hero small {
  margin: 14px 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.poem {
  left: 82%;
  right: auto;
  top: 17%;
  width: max-content;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transform: rotate(-8deg);
  transform-origin: left top;
  font-family: "Zhi Mang Xing", "Songti SC", serif;
  font-size: 26px;
  line-height: 1.15;
  color: #f8e3a4;
  z-index: 2;
  text-shadow:
    0 2px 0 rgba(90, 40, 0, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.4);
}
.poem span:nth-child(2) { transform: rotate(3deg); margin-right: 6px; }
.poem span:nth-child(3) { transform: rotate(-2deg); margin-right: 2px; }

.card {
  left: 52%;
  top: 16%;
  width: 29%;
  right: auto;
  min-height: 0;
  padding: 28px 26px 24px;
  border-radius: 18px;
  background: #12080b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.card h2 { margin: 0; font-size: 28px; font-weight: 700; }
.lead { margin: 8px 0 22px; color: rgba(255, 255, 255, 0.62); font-size: 13px; }

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.field svg { width: 18px; height: 18px; color: rgba(255, 255, 255, 0.55); flex: 0 0 auto; }
.field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.38); }
.send {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ff6a62;
  font-size: 13px;
}
.send:disabled { color: rgba(255, 255, 255, 0.35); cursor: default; }

.row { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 8px; }
.check { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.check input { accent-color: #e10600; }

.msg { min-height: 18px; margin: 0 0 8px; color: #ffb4a8; font-size: 12px; }
.go {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, #ff5d52, #e10600);
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.35);
}
.go:disabled { opacity: 0.7; cursor: default; }

.feats {
  left: 4%;
  right: 38%;
  bottom: 4%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 18px;
}
.feats li { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 92px; text-align: center; }
.feats i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 40% 35%, #ff4d45, #c40800 70%);
  box-shadow: 0 8px 16px rgba(120, 0, 0, 0.35);
}
.feats svg { width: 22px; height: 22px; }
.feats b { font-size: 14px; font-weight: 650; }
.feats span { color: rgba(255, 255, 255, 0.72); font-size: 12px; }

@media (max-width: 760px) {
  .marks, .brand span { display: none; }
}
