:root {
  --yellow: #ffc400;
  --yellow-2: #ffe7a3;
  --ink: #14120c;
  --text: #f7f1e4;
  --muted: #c4bbaa;
  --shell: 480px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 170, 40, 0.16), transparent 42%),
    #050403;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.shell {
  width: min(var(--shell), 100%);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: #120e0a;
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
  overflow: hidden;
}

.hero {
  position: relative;
  height: calc(100svh - 86px);
  min-height: 560px;
  max-height: 760px;
  overflow: hidden;
  background: #1a1208;
}

.hero-bg {
  position: absolute;
  left: -4%;
  top: -4%;
  width: 108%;
  max-width: none;
  height: 108%;
  object-fit: cover;
  object-position: center 20%;
  transform-origin: 50% 28%;
  animation: ken 14s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 22%, transparent 58%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(ellipse at 50% 42%, transparent 36%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 1.2%;
  left: 2.6%;
  width: 36%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
  z-index: 2;
}

.age {
  position: absolute;
  top: 7.4%;
  left: 4%;
  width: 7.4%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.hud {
  position: absolute;
  top: 11%;
  right: 3.5%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.hud span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 8px;
  background: rgba(8, 6, 4, 0.86);
  border: 1px solid rgba(255, 206, 92, 0.85);
  color: #ffe7a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 14px rgba(255, 170, 40, 0.35);
}

.hud .live { color: #ffd0c8; }

.hud .live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d3a;
  box-shadow: 0 0 0 0 rgba(255, 77, 58, 0.7);
  animation: pulse 1.4s ease-out infinite;
}

.hero-slogan {
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 104%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
  animation: rise 0.9s ease both;
}

.sweep {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 4%;
  height: 36%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.sweep::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 200, 0.55), transparent);
  transform: translateX(-180%) skewX(-18deg);
  animation: sweep 3.4s ease-in-out infinite;
  mix-blend-mode: screen;
}

.dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.dust i {
  position: absolute;
  top: -8%;
  width: 6px;
  height: 8px;
  border-radius: 40% 60% 50% 50%;
  background: #ffd56a;
  opacity: 0.75;
  animation: fall linear infinite;
}

.dust i:nth-child(1) { left: 8%; animation-duration: 7s; animation-delay: -1s; }
.dust i:nth-child(2) { left: 22%; width: 4px; height: 6px; animation-duration: 9s; animation-delay: -3s; }
.dust i:nth-child(3) { left: 38%; animation-duration: 8s; animation-delay: -5s; }
.dust i:nth-child(4) { left: 54%; width: 5px; animation-duration: 11s; animation-delay: -2s; }
.dust i:nth-child(5) { left: 70%; animation-duration: 7.5s; animation-delay: -6s; }
.dust i:nth-child(6) { left: 84%; width: 4px; animation-duration: 10s; animation-delay: -4s; }
.dust i:nth-child(7) { left: 16%; animation-duration: 12s; animation-delay: -8s; }
.dust i:nth-child(8) { left: 62%; animation-duration: 8.5s; animation-delay: -7s; }

.frame {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
  pointer-events: none;
  border: 2px solid rgba(255, 214, 120, 0.85);
}

.frame-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.frame-bl { bottom: 40%; left: 10px; border-right: 0; border-top: 0; }
.frame-br { bottom: 40%; right: 10px; border-left: 0; border-top: 0; }

.cta-panel {
  position: relative;
  z-index: 3;
  margin: 14px 14px 0;
  padding: 16px 14px 14px;
  background:
    linear-gradient(180deg, rgba(48, 28, 8, 0.2), rgba(18, 12, 8, 0.96) 28%),
    #16110c;
  border: 1px solid rgba(255, 196, 0, 0.55);
  box-shadow: 0 0 24px rgba(255, 170, 40, 0.18), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffe58a 0%, #ffc400 42%, #e39a00 100%);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.18em;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 0 1px rgba(255, 248, 214, 0.8) inset, 0 8px 22px rgba(255, 170, 0, 0.45);
  animation: glow 1.8s ease-in-out infinite;
}

.cta::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-220%) skewX(-18deg);
  animation: sweep 2.1s ease-in-out infinite;
}

.cta:active { transform: translateY(1px); }

.cta-note {
  margin: 8px 0 0;
  color: var(--yellow-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stats div {
  padding: 8px 4px 7px;
  text-align: center;
  background: rgba(255, 196, 0, 0.08);
  border-top: 2px solid var(--yellow);
}

.stats b {
  display: block;
  color: var(--yellow);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.stats span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.ticker {
  margin-top: 14px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 196, 0, 0.28);
  border-bottom: 1px solid rgba(255, 196, 0, 0.28);
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 196, 0, 0.14) 0 8px,
    rgba(255, 196, 0, 0.03) 8px 16px
  );
}

.ticker-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 8px 0;
  animation: tick 16s linear infinite;
}

.ticker span {
  color: var(--yellow-2);
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.lead {
  margin: 14px 16px 0;
  color: #efe6d4;
  font-size: 14px;
  line-height: 1.75;
}

.section { padding: 22px 0 0; }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 16px 12px;
}

.sec-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.sec-head h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  transform: rotate(45deg) translateY(-1px);
}

.sec-head span {
  color: var(--yellow-2);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar { display: none; }

.shot,
.feature {
  position: relative;
  padding: 0;
  text-align: left;
  background: #000;
  border: 1px solid rgba(255, 206, 92, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 170, 40, 0.16);
  overflow: hidden;
}

.shot {
  flex: 0 0 80%;
  scroll-snap-align: center;
}

.shot img,
.feature img { width: 100%; height: auto; }

.shot::after,
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 236, 180, 0.22) 48%, transparent 58%);
  transform: translateX(-130%);
  animation: cardshine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.shot:nth-child(2)::after { animation-delay: -1.2s; }
.shot:nth-child(3)::after { animation-delay: -2.4s; }
.shot:nth-child(4)::after { animation-delay: -3.2s; }

.feature {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px;
}

.feature img {
  height: 460px;
  object-fit: cover;
  object-position: center 18%;
}

.tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  height: 24px;
  padding: 0 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 24px;
}

.foot {
  margin: 20px 16px 0;
  color: #9c9486;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 9;
  width: min(var(--shell), 100%);
  transform: translateX(-50%);
  padding: 18px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5, 4, 3, 0), rgba(5, 4, 3, 0.94) 42%);
}

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

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

@keyframes sweep {
  0% { transform: translateX(-220%) skewX(-18deg); }
  55%, 100% { transform: translateX(420%) skewX(-18deg); }
}

@keyframes fall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  12% { opacity: 0.8; }
  100% { transform: translateY(110vh) rotate(220deg); opacity: 0.15; }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 77, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 58, 0); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 248, 214, 0.8) inset, 0 8px 18px rgba(255, 170, 0, 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(255, 248, 214, 0.8) inset, 0 8px 28px rgba(255, 190, 40, 0.72); }
}

@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cardshine {
  0%, 42% { transform: translateX(-140%); }
  70%, 100% { transform: translateX(240%); }
}

@media (min-width: 540px) {
  body { padding: 24px 0 0; }
  .shell {
    border: 1px solid rgba(255, 196, 0, 0.28);
    box-shadow: 0 0 40px rgba(255, 160, 30, 0.12), 0 24px 80px rgba(0, 0, 0, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-slogan,
  .sweep::after,
  .dust i,
  .cta,
  .cta::after,
  .hud .live i,
  .ticker-track,
  .shot::after,
  .feature::after { animation: none; }
}
