:root {
  --ink: #0b0607;
  --ink-soft: #160b0e;
  --wine: #360b17;
  --wine-bright: #5e1328;
  --paper: #f6eddf;
  --paper-muted: #cbbda9;
  --gold: #e6ad5d;
  --gold-light: #f6d493;
  --coral: #ff6e6c;
  --rose: #d03155;
  --blue: #35a9dc;
  --serif: "HDSerif", "Source Han Serif SC", "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --header-height: 96px;
  --content-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(24px, 6vw, 96px);
  transition:
    height 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.has-menu {
  height: 76px;
  border-bottom: 1px solid rgba(246, 237, 223, 0.1);
  background: rgba(11, 6, 7, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--gold);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 32px rgba(231, 176, 91, 0.12);
  color: var(--ink);
}

.brand-mark-image {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #090607;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.3);
}

.brand-mark-image::before,
.brand-mark-image::after {
  display: none;
}

.brand-mark-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 13px;
  bottom: 13px;
  width: 5px;
  content: "";
  background: var(--ink);
}

.brand-mark::before {
  left: 14px;
}

.brand-mark::after {
  right: 14px;
}

.brand-mark span {
  width: 17px;
  height: 5px;
  background: var(--ink);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: rgba(246, 237, 223, 0.5);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(246, 237, 223, 0.16);
  border-radius: 999px;
  background: rgba(68, 15, 30, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
}

.utility-nav a,
.utility-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 237, 223, 0.78);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.utility-nav a:hover,
.utility-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.utility-nav .nav-add-home {
  border: 1px solid rgba(230, 173, 93, 0.24);
  color: var(--gold-light);
}

.nav-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--gold-light);
  font-size: 14px;
  line-height: 1;
}

.nav-icon-dot::before,
.nav-icon-dot::after {
  position: absolute;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.nav-icon-dot::before {
  transform: translate(-3px, 2px);
}

.nav-icon-dot::after {
  transform: translate(4px, -4px);
  box-shadow: -8px -5px 0 currentColor;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid rgba(246, 237, 223, 0.18);
  border-radius: 50%;
  background: rgba(54, 11, 23, 0.65);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--paper);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 16px;
  right: 16px;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(246, 237, 223, 0.12);
  border-radius: 18px;
  background: rgba(20, 8, 12, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid rgba(246, 237, 223, 0.08);
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  text-align: left;
}

.mobile-menu > :last-child {
  border-bottom: 0;
}

.mobile-menu span {
  color: var(--gold);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(162, 36, 56, 0.38), transparent 26%),
    radial-gradient(circle at 12% 72%, rgba(137, 79, 25, 0.18), transparent 28%),
    linear-gradient(115deg, #0a0707 0%, #17090c 42%, #350d16 100%);
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(30px, 5vw, 96px);
  align-items: center;
  width: min(100%, var(--content-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 64px) clamp(28px, 6vw, 96px) 120px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 700px;
  padding-top: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(64px, 7.1vw, 116px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.06);
}

.hero-title-line,
.hero-title-accent {
  display: block;
}

.hero-title-accent {
  margin-top: 14px;
  font-size: 0.69em;
  letter-spacing: -0.07em;
  background: linear-gradient(105deg, #ffd69b 0%, #f5bf6c 28%, #ff8171 62%, #ff5f72 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 540px;
  margin: 34px 0 0;
  color: rgba(246, 237, 223, 0.75);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.95;
  letter-spacing: 0.035em;
}

.hero-description span {
  display: block;
  color: rgba(246, 237, 223, 0.93);
}

.hero-copy.is-refreshing .hero-title-line,
.hero-copy.is-refreshing .hero-title-accent,
.hero-copy.is-refreshing .hero-description {
  animation: hero-copy-swap 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy.is-refreshing .hero-title-accent {
  animation-delay: 35ms;
}

.hero-copy.is-refreshing .hero-description {
  animation-delay: 70ms;
}

.story-copy.is-refreshing h2,
.story-copy.is-refreshing > p {
  animation: hero-copy-swap 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.story-copy.is-refreshing > p {
  animation-delay: 55ms;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.17);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 34px rgba(229, 171, 84, 0.19);
}

.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 40px rgba(229, 171, 84, 0.28);
}

.button-arrow {
  font-size: 17px;
}

.button-ghost {
  border-color: rgba(246, 237, 223, 0.17);
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: rgba(246, 237, 223, 0.32);
  background: rgba(255, 255, 255, 0.075);
}

.play-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(246, 237, 223, 0.3);
  border-radius: 50%;
}

.play-dot::after {
  position: absolute;
  top: 7px;
  left: 9px;
  content: "";
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--paper);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  color: rgba(246, 237, 223, 0.52);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.feature-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-tags li::before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(230, 173, 93, 0.7);
}

.hero-stage {
  position: relative;
  min-height: 690px;
  perspective: 1700px;
  transform-style: preserve-3d;
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(239, 190, 108, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.stage-orbit-one {
  top: 8%;
  left: 4%;
  width: 92%;
  aspect-ratio: 1;
}

.stage-orbit-two {
  top: 20%;
  left: 16%;
  width: 72%;
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.055);
}

.poster-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 70%);
  aspect-ratio: 0.705;
  transform: translate(-44%, -50%) rotate(1.2deg);
  transform-style: preserve-3d;
}

.poster-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(246, 218, 169, 0.26);
  border-radius: 28px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transform-style: preserve-3d;
  transition:
    transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1),
    opacity 450ms ease,
    filter 450ms ease;
}

.poster-card-main {
  z-index: 3;
  background:
    radial-gradient(circle at 70% 22%, rgba(250, 184, 88, 0.44), transparent 20%),
    radial-gradient(circle at 32% 48%, rgba(222, 53, 82, 0.43), transparent 32%),
    linear-gradient(150deg, #5b1428 0%, #240a12 46%, #070506 100%);
}

.poster-card-main::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.04) 50%, transparent 50.2%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64) 0%, transparent 44%);
}

.poster-card-has-image .poster-art,
.poster-card-has-image .poster-figure {
  display: none;
}

.poster-card-has-image .poster-topline,
.poster-card-has-image .poster-main-copy,
.poster-card-has-image .poster-bottom,
.poster-card-has-image .poster-card-shine {
  display: none;
}

.poster-card-has-image.poster-card-main::before {
  background:
    linear-gradient(0deg, rgba(3, 2, 3, 0.26), transparent 34%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.018), transparent 38%);
}

.poster-card-side {
  z-index: 2;
  opacity: 0.72;
}

.poster-card-near {
  transform: translate3d(58%, -5%, -120px) rotate(7.5deg);
  background:
    radial-gradient(circle at 65% 34%, rgba(106, 48, 22, 0.7), transparent 32%),
    linear-gradient(155deg, #39221b, #13080a 65%);
  filter: saturate(0.72) brightness(0.58);
}

.poster-card-far {
  transform: translate3d(-68%, 1%, -180px) rotate(-9deg);
  background:
    radial-gradient(circle at 34% 24%, rgba(64, 110, 140, 0.56), transparent 30%),
    linear-gradient(155deg, #1a2a34, #0d080a 70%);
  filter: saturate(0.66) brightness(0.48);
}

.poster-card-deep {
  transform: translate3d(112%, 2%, -240px) rotate(12deg);
  background:
    radial-gradient(circle at 58% 24%, rgba(183, 127, 72, 0.52), transparent 28%),
    linear-gradient(155deg, #3b2720, #12090b 70%);
  filter: saturate(0.68) brightness(0.44);
}

.poster-card.poster-card-has-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.poster-card.poster-card-main.poster-card-has-image {
  background-color: #080507;
  background-image: url("./assets/carousel-main.webp");
  background-position: center top;
  background-size: cover;
}

.poster-card.poster-card-has-image[data-slide="1"] {
  background-color: #080507;
  background-image: url("./assets/carousel-video.jpg");
  background-position: center top;
  background-size: cover;
}

.poster-card.poster-card-has-image[data-slide="2"] {
  background-color: #08050b;
  background-image: url("./assets/pg-soft.jpg");
  background-position: center;
  background-size: cover;
}

.poster-card.poster-card-has-image[data-slide="3"] {
  background-color: #080507;
  background-image: url("./assets/carousel-ai.jpg");
  background-position: center top;
  background-size: cover;
}

.poster-card[data-slide="1"] {
  z-index: 2;
  transform: translate3d(58%, -5%, -120px) rotate(7.5deg);
  opacity: 0.72;
  filter: saturate(0.72) brightness(0.58);
}

.poster-card[data-slide="1"] + .poster-card-main {
  opacity: 1;
}

.poster-stack[data-active="0"] .poster-card-main {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translate3d(0, -2%, 80px) rotate(0);
}

.poster-stack[data-active="1"] .poster-card[data-slide="0"] {
  opacity: 0.44;
  transform: translate3d(-58%, 1%, -180px) rotate(-9deg);
  filter: saturate(0.6) brightness(0.5);
}

.poster-stack[data-active="1"] .poster-card[data-slide="1"] {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translate3d(0, -2%, 90px) rotate(0);
}

.poster-stack[data-active="1"] .poster-card[data-slide="2"] {
  opacity: 1;
  filter: none;
  transform: translate3d(53%, -2%, -80px) rotate(7deg);
}

.poster-stack[data-active="1"] .poster-card[data-slide="3"] {
  opacity: 0.25;
  filter: saturate(0.55) brightness(0.42);
  transform: translate3d(125%, 3%, -260px) rotate(14deg);
}

.poster-stack[data-active="2"] .poster-card[data-slide="0"],
.poster-stack[data-active="2"] .poster-card[data-slide="1"] {
  opacity: 0.38;
  filter: saturate(0.55) brightness(0.46);
}

.poster-stack[data-active="2"] .poster-card[data-slide="2"] {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translate3d(0, -2%, 90px) rotate(0);
}

.poster-stack[data-active="2"] .poster-card-main {
  opacity: 0;
}

.poster-stack[data-active="2"] .poster-card[data-slide="3"] {
  opacity: 0.52;
  filter: saturate(0.65) brightness(0.5);
  transform: translate3d(63%, 1%, -120px) rotate(9deg);
}

.poster-stack[data-active="3"] .poster-card[data-slide="3"] {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translate3d(0, -2%, 90px) rotate(0);
}

.poster-stack[data-active="3"] .poster-card-main {
  opacity: 0.42;
  filter: saturate(0.6) brightness(0.48);
  transform: translate3d(-58%, 1%, -180px) rotate(-9deg);
}

.poster-stack[data-active="3"] .poster-card[data-slide="1"] {
  opacity: 0.5;
  filter: saturate(0.62) brightness(0.5);
  transform: translate3d(55%, -2%, -120px) rotate(7deg);
}

.poster-stack[data-active="3"] .poster-card[data-slide="2"] {
  opacity: 0;
}

.poster-card-shine {
  position: absolute;
  z-index: 7;
  top: -50%;
  left: -75%;
  width: 55%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(18deg);
  animation: poster-shine 8s ease-in-out infinite;
}

.poster-topline {
  position: absolute;
  z-index: 6;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  color: rgba(246, 237, 223, 0.68);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.poster-main-copy {
  position: absolute;
  z-index: 5;
  top: 13%;
  left: 9%;
  display: flex;
  max-width: 82%;
  flex-direction: column;
}

.poster-kicker {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.poster-main-copy strong {
  margin-top: 18px;
  color: #fff4e8;
  font-size: clamp(48px, 4.4vw, 72px);
  line-height: 0.93;
  letter-spacing: -0.08em;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.poster-subtitle {
  max-width: 270px;
  margin-top: 20px;
  color: rgba(246, 237, 223, 0.6);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.poster-art {
  position: absolute;
  z-index: 2;
  right: -16%;
  bottom: 9%;
  width: 102%;
  height: 68%;
  transform: rotate(-4deg);
}

.poster-art-ring {
  position: absolute;
  top: -2%;
  right: 3%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(246, 212, 147, 0.33);
  border-radius: 50%;
}

.poster-art-ring::before,
.poster-art-ring::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(246, 212, 147, 0.12);
  border-radius: 50%;
}

.poster-art-ring::before {
  inset: 12%;
}

.poster-art-ring::after {
  inset: 25%;
}

.poster-art-figure {
  position: absolute;
  right: 5%;
  bottom: -15%;
  width: 58%;
  height: 86%;
  border-radius: 50% 50% 12% 12% / 40% 40% 12% 12%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 204, 154, 0.8) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 48%, #511a24 0 33%, transparent 34%),
    linear-gradient(180deg, rgba(255, 180, 130, 0.4), rgba(53, 12, 19, 0.08));
  filter: blur(0.3px);
  opacity: 0.75;
  transform: rotate(8deg);
}

.poster-art-shadow {
  position: absolute;
  right: -3%;
  bottom: -13%;
  width: 82%;
  height: 32%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(32px);
}

.poster-figure {
  position: absolute;
  right: -10%;
  bottom: 16%;
  width: 88%;
  height: 60%;
  border-radius: 48% 48% 10% 10% / 40% 40% 10% 10%;
  opacity: 0.72;
  filter: blur(0.2px);
}

.poster-figure-near {
  background:
    radial-gradient(circle at 48% 20%, rgba(255, 206, 165, 0.75) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 52%, #643722 0 32%, transparent 33%),
    linear-gradient(180deg, rgba(179, 110, 66, 0.24), transparent);
}

.poster-figure-far {
  background:
    radial-gradient(circle at 45% 18%, rgba(214, 219, 219, 0.7) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 52%, #253b46 0 32%, transparent 33%),
    linear-gradient(180deg, rgba(97, 145, 163, 0.21), transparent);
}

.poster-figure-deep {
  background:
    radial-gradient(circle at 48% 18%, rgba(255, 218, 176, 0.68) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 52%, #604126 0 32%, transparent 33%),
    linear-gradient(180deg, rgba(191, 142, 81, 0.22), transparent);
}

.poster-bottom {
  position: absolute;
  z-index: 6;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.poster-bottom > span {
  color: rgba(246, 237, 223, 0.54);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.poster-bottom strong {
  display: block;
  max-width: 220px;
  font-size: 25px;
  line-height: 1.2;
  text-align: right;
}

.poster-bottom-main {
  align-items: center;
}

.poster-progress {
  width: 34%;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.poster-progress i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(230, 173, 93, 0.6);
}

.hero-poster-controls {
  position: absolute;
  z-index: 8;
  bottom: 8%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

.poster-control {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(246, 237, 223, 0.16);
  border-radius: 50%;
  background: rgba(11, 6, 7, 0.5);
  color: rgba(246, 237, 223, 0.42);
  font-family: var(--sans);
  font-size: 9px;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.poster-control:hover,
.poster-control.is-active {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: scale(1.06);
}

.poster-control-line {
  width: 38px;
  height: 1px;
  margin: 0 8px;
  background: rgba(246, 237, 223, 0.13);
}

.poster-control-label {
  color: rgba(246, 237, 223, 0.34);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  top: 18%;
  right: -12%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 28, 56, 0.24), transparent 67%);
  filter: blur(18px);
}

.hero-monogram {
  position: absolute;
  z-index: 0;
  right: -0.02em;
  bottom: -0.23em;
  color: transparent;
  font-family: Georgia, serif;
  font-size: min(850px, 58vw);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(255, 226, 180, 0.045);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 6, 7, 0.96) 0%, rgba(11, 6, 7, 0.74) 35%, transparent 64%),
    radial-gradient(ellipse at center, transparent 42%, rgba(3, 2, 2, 0.6) 110%);
  pointer-events: none;
}

.film-grain {
  position: absolute;
  z-index: 9;
  inset: -100px;
  opacity: 0.05;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 30% 20%, transparent 0, rgba(255, 255, 255, 0.5) 1px, transparent 2px, transparent 4px);
  background-size: 7px 7px;
  animation: grain 0.28s steps(2) infinite;
}

.hero-ticker {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 33px;
  left: 0;
  overflow: hidden;
  border-top: 1px solid rgba(246, 237, 223, 0.08);
  border-bottom: 1px solid rgba(246, 237, 223, 0.08);
  color: rgba(246, 237, 223, 0.28);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  padding: 12px 0;
  animation: ticker 26s linear infinite;
}

.ticker-track i {
  color: var(--gold);
  font-style: normal;
}

.scroll-cue {
  position: absolute;
  z-index: 10;
  right: 32px;
  bottom: 110px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 237, 223, 0.34);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.2em;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(246, 237, 223, 0.12);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold);
  animation: scroll-line 2s ease-in-out infinite;
}

.brand-story {
  position: relative;
  display: flex;
  min-height: 100svh;
  margin-bottom: -12px;
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 15% 44%, rgba(186, 93, 43, 0.2), transparent 31%),
    radial-gradient(circle at 78% 30%, rgba(110, 21, 43, 0.26), transparent 32%),
    #0d0809;
  isolation: isolate;
}

.story-panels {
  position: absolute;
  z-index: 0;
  inset: -5% -8%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  transform: skewX(-4deg) scale(1.05);
  opacity: 0.62;
}

.story-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 173, 108, 0.27), transparent 22%),
    linear-gradient(155deg, rgba(148, 58, 33, 0.4), rgba(23, 10, 13, 0.92) 68%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.48);
}

.story-panel:nth-child(2) {
  background:
    radial-gradient(circle at 48% 35%, rgba(211, 156, 103, 0.28), transparent 20%),
    linear-gradient(155deg, rgba(88, 59, 44, 0.46), rgba(13, 8, 9, 0.93) 70%);
}

.story-panel:nth-child(3) {
  background:
    radial-gradient(circle at 50% 31%, rgba(157, 96, 104, 0.28), transparent 22%),
    linear-gradient(155deg, rgba(103, 35, 52, 0.5), rgba(16, 8, 10, 0.94) 70%);
}

.story-panel:nth-child(4) {
  background:
    radial-gradient(circle at 48% 34%, rgba(232, 157, 110, 0.25), transparent 21%),
    linear-gradient(155deg, rgba(123, 47, 36, 0.44), rgba(13, 8, 10, 0.94) 68%);
}

.story-panel:nth-child(5) {
  background:
    radial-gradient(circle at 50% 34%, rgba(151, 106, 110, 0.26), transparent 21%),
    linear-gradient(155deg, rgba(82, 33, 44, 0.48), rgba(12, 7, 9, 0.94) 70%);
}

.story-panel span {
  color: rgba(247, 221, 182, 0.12);
  font-size: clamp(130px, 15vw, 270px);
  font-weight: 800;
  line-height: 1;
  transform: translateY(-7%);
}

.story-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 6, 7, 0.95) 0%, rgba(10, 6, 7, 0.78) 37%, rgba(10, 6, 7, 0.68) 100%),
    linear-gradient(0deg, rgba(9, 5, 6, 0.92), transparent 40%);
  backdrop-filter: blur(2px);
}

.story-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 160px clamp(28px, 6vw, 96px) 12px;
}

.story-copy {
  max-width: 660px;
}

.story-copy h2 {
  margin: 24px 0 0;
  color: #fff8ee;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.052em;
}

.story-title-primary,
.story-title-accent {
  display: block;
}

.story-title-accent {
  margin-top: 6px;
  color: var(--gold-light);
}

.story-copy p {
  margin: 15px 0 0;
  color: rgba(246, 237, 223, 0.57);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.story-copy .story-lead {
  margin-top: 34px;
  color: rgba(246, 237, 223, 0.86);
  font-size: 18px;
}

.story-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.value-card {
  position: relative;
  min-height: 315px;
  padding: 28px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.045) 52%,
      rgba(255, 255, 255, 0.09) 100%
    ),
    rgba(11, 6, 7, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  backdrop-filter: blur(26px) saturate(175%);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease;
}

.value-card:hover {
  border-color: rgba(246, 190, 108, 0.41);
  transform: translateY(-7px);
}

.value-card:nth-child(2) {
  transform: none;
}

.value-card:nth-child(2):hover {
  transform: translateY(-7px);
}

.value-number {
  display: block;
  color: rgba(246, 237, 223, 0.24);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.value-card h3 {
  margin: 22px 0 0;
  color: var(--gold-light);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.value-card p {
  margin: 18px 0 0;
  color: rgba(246, 237, 223, 0.58);
  font-size: 13px;
  line-height: 1.9;
}

.value-icon {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 50px;
  height: 46px;
  margin-top: 28px;
}

.value-icon i {
  display: block;
  width: 8px;
  height: 24px;
  border: 1px solid rgba(246, 212, 147, 0.48);
  border-radius: 3px;
  transform: skewY(-18deg);
}

.value-icon i:nth-child(2) {
  height: 40px;
}

.value-icon i:nth-child(3) {
  height: 31px;
}

.value-icon-round i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 9px rgba(246, 212, 147, 0.06),
    inset 0 0 0 10px rgba(246, 212, 147, 0.15);
}

.value-icon-wave {
  align-items: center;
  gap: 4px;
}

.value-icon-wave i {
  width: 4px;
  height: 14px;
  border: 0;
  border-radius: 4px;
  background: rgba(246, 212, 147, 0.48);
  transform: none;
}

.value-icon-wave i:nth-child(2) {
  height: 30px;
}

.value-icon-wave i:nth-child(3) {
  height: 40px;
}

.value-icon-wave i:nth-child(4) {
  height: 20px;
}

.value-icon-dots {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 6px;
  align-items: center;
}

.value-card .value-icon-dots i {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 212, 147, 0.5);
  transform: none;
}

.value-card .value-icon-dots i:nth-child(2),
.value-card .value-icon-dots i:nth-child(3) {
  opacity: 0.56;
}

.story-stats {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 6vw, 96px);
  bottom: 48px;
  left: clamp(28px, 6vw, 96px);
  display: flex;
  gap: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 237, 223, 0.1);
}

.story-stats > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.story-stats strong {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 300;
}

.story-stats strong span {
  margin-left: 2px;
  color: var(--gold);
  font-size: 9px;
}

.story-stats small {
  color: rgba(246, 237, 223, 0.36);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.download-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background: #12090b;
  isolation: isolate;
}

.poster-mosaic {
  position: absolute;
  z-index: 0;
  inset: -8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  transform: rotate(-3deg) scale(1.08);
  opacity: 0.71;
}

.mosaic-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mosaic-column-b,
.mosaic-column-d {
  transform: translateY(-8%);
}

.mosaic-column-c {
  transform: translateY(5%);
}

.mosaic-card {
  position: relative;
  min-height: 280px;
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(246, 223, 187, 0.12);
  border-radius: 12px;
  background:
    radial-gradient(circle at 55% 35%, rgba(219, 132, 78, 0.33), transparent 27%),
    linear-gradient(145deg, #50201f, #14090b 70%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.mosaic-card::before {
  position: absolute;
  top: 12%;
  right: -15%;
  width: 91%;
  height: 72%;
  content: "";
  border-radius: 50% 50% 16% 16% / 40% 40% 16% 16%;
  background:
    radial-gradient(circle at 48% 17%, rgba(255, 208, 165, 0.45) 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 50%, rgba(105, 48, 44, 0.58) 0 34%, transparent 35%);
  filter: blur(0.4px);
}

.mosaic-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 5, 6, 0.9), transparent 55%);
}

.mosaic-card span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: rgba(246, 228, 206, 0.18);
  font-size: 120px;
  font-weight: 800;
  transform: translate(-50%, -60%);
}

.mosaic-card b {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: rgba(246, 237, 223, 0.64);
  font-size: 20px;
  letter-spacing: 0.05em;
  text-align: right;
}

.mosaic-a1 { background: radial-gradient(circle at 50% 38%, #7a392c, #180b0d 70%); }
.mosaic-a2 { background: radial-gradient(circle at 40% 34%, #3d4451, #100a0d 70%); }
.mosaic-a3 { background: radial-gradient(circle at 52% 38%, #68312f, #17090b 70%); }
.mosaic-b1 { background: radial-gradient(circle at 44% 34%, #374c5a, #100a0e 70%); }
.mosaic-b2 { background: radial-gradient(circle at 54% 36%, #63452d, #160b0b 70%); }
.mosaic-b3 { background: radial-gradient(circle at 48% 34%, #573944, #12090d 70%); }
.mosaic-c1 { background: radial-gradient(circle at 48% 36%, #79442c, #17090b 70%); }
.mosaic-c2 { background: radial-gradient(circle at 44% 34%, #62302e, #12080a 70%); }
.mosaic-c3 { background: radial-gradient(circle at 52% 33%, #4f3c35, #110a0a 70%); }
.mosaic-d1 { background: radial-gradient(circle at 46% 34%, #423448, #11090e 70%); }
.mosaic-d2 { background: radial-gradient(circle at 50% 34%, #5c2f2e, #13090c 70%); }
.mosaic-d3 { background: radial-gradient(circle at 48% 34%, #69522e, #130d0b 70%); }

.mosaic-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(18, 9, 11, 0.48) 0%, rgba(11, 6, 7, 0.82) 48%, rgba(9, 5, 6, 0.95) 100%),
    linear-gradient(0deg, rgba(8, 5, 6, 0.65), transparent);
  backdrop-filter: blur(2px);
}

.download-glow {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 50%;
  width: min(850px, 80vw);
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 54, 63, 0.17), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(92%, 880px);
  flex-direction: column;
  align-items: center;
  padding: 120px 20px;
  text-align: center;
}

.eyebrow-centered {
  justify-content: center;
}

.eyebrow-centered .eyebrow-line {
  width: 28px;
}

.download-inner h2 {
  margin: 22px 0 0;
  color: #fff8ee;
  font-size: clamp(48px, 6.3vw, 94px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.065em;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.5);
}

.download-inner h2 span {
  display: block;
  font-size: 0.75em;
}

.download-inner > p {
  margin: 24px 0 0;
  color: rgba(246, 237, 223, 0.68);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.download-actions {
  display: flex;
  width: min(100%, 560px);
  gap: 12px;
  margin-top: 34px;
}

.button-wide {
  min-width: 0;
  flex: 1;
  border-radius: 10px;
}

.download-inner .button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 157, 207, 0.2);
}

.download-inner .button-primary:hover {
  background: #46b8e5;
  box-shadow: 0 16px 40px rgba(37, 157, 207, 0.28);
}

.telegram-mark {
  font-size: 20px;
  transform: rotate(-20deg);
}

.copy-mark {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.copy-mark::before {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 12px;
  height: 12px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 2px;
}

.floating-dock {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: transparent;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.floating-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-dock button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(246, 237, 223, 0.68);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.floating-dock .dock-action {
  display: inline-flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    box-shadow 150ms ease;
}

.floating-dock .dock-download {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 4px 14px rgba(198, 129, 40, 0.16);
}

.floating-dock .dock-quick-install {
  border-color: rgba(255, 139, 151, 0.34);
  background: linear-gradient(135deg, #ff596a, #c71938);
  color: #fff7f7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 14px rgba(190, 30, 55, 0.2);
}

.floating-dock .dock-web {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}

.floating-dock .dock-action:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.floating-dock .dock-action:active {
  filter: brightness(0.94);
  transform: scale(0.96);
}

.floating-dock .dock-action.is-clicked {
  animation: dock-button-tap 380ms ease;
}

.modal.add-home-modal {
  width: min(92vw, 380px);
  max-width: 380px;
  max-height: 90vh;
  margin: auto;
  border: 1px solid rgba(246, 212, 147, 0.2);
  border-radius: 16px;
  background: transparent;
  color: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.add-home-modal .modal-inner {
  min-height: 0;
  padding: 23px 20px 18px;
  overflow: auto;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(183, 76, 42, 0.2), transparent 32%),
    linear-gradient(150deg, #2b1018, #11080a 76%);
  color: var(--paper);
  text-align: left;
}

.add-home-modal .modal-inner::before,
.add-home-modal .modal-inner::after {
  display: none;
}

.add-home-modal .modal-close {
  top: 8px;
  right: 9px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(246, 237, 223, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 237, 223, 0.7);
  font-size: 26px;
}

.add-home-modal .add-home-title {
  margin: 0 22px 14px 0;
  color: #fff4e6;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.add-home-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

.add-home-tab {
  min-height: 35px;
  flex: 1;
  padding: 7px 5px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(246, 237, 223, 0.5);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.add-home-tab.is-active {
  background: rgba(255, 255, 255, 0.11);
  color: var(--gold-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.18);
}

.add-home-description {
  margin: 0;
  color: rgba(246, 237, 223, 0.6);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.65;
}

.add-home-profile {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 222, 162, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 236, 198, 0.16), rgba(198, 129, 40, 0.12));
  color: #fff0d8;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.add-home-profile span:last-child {
  color: var(--gold-light);
  font-size: 19px;
}

.add-home-steps {
  padding: 12px 14px;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(246, 237, 223, 0.72);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.65;
}

.add-home-step {
  margin: 0 0 7px;
}

.add-home-step:last-child {
  margin-bottom: 0;
}

.add-home-tip {
  margin: 8px 0 0;
  color: rgba(246, 237, 223, 0.42);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.6;
}

.add-home-tip.add-home-warning,
.add-home-modal .add-home-browser {
  color: var(--coral);
}

.add-home-modal .add-home-browser {
  margin: 12px 0;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.65;
}

.add-home-open,
.add-home-copy {
  display: block;
  width: 100%;
  padding: 12px 8px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.add-home-open {
  margin: 14px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1b1007;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 22px rgba(198, 129, 40, 0.18);
}

.add-home-copy {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(246, 237, 223, 0.75);
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.add-home-copy.is-copied {
  border-color: rgba(117, 219, 151, 0.46);
  background: rgba(72, 176, 111, 0.12);
  color: #9ce7b4;
}

.add-home-copy-feedback {
  min-height: 17px;
  margin: 6px 0 0;
  color: rgba(156, 231, 180, 0.88);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transition: opacity 160ms ease;
}

.add-home-copy-feedback.is-visible {
  opacity: 1;
}

.add-home-copy-feedback.is-error {
  color: #efa0a7;
}

.add-home-modal .add-home-url {
  margin: 10px 0 0;
  color: rgba(246, 237, 223, 0.34);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.modal {
  width: min(92vw, 540px);
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(246, 237, 223, 0.15);
  border-radius: 22px;
  background: transparent;
  color: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.modal::backdrop {
  background: rgba(4, 2, 3, 0.76);
  backdrop-filter: blur(10px);
}

.modal[open] {
  animation: modal-in 220ms ease-out both;
}

.modal-inner {
  position: relative;
  min-height: 560px;
  padding: 52px;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 18%, rgba(196, 116, 54, 0.26), transparent 27%),
    linear-gradient(150deg, #2e1119, #100809 72%);
  text-align: center;
}

.modal-inner::before {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(240, 191, 111, 0.11);
  border-radius: 50%;
  transform: translateX(-50%);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 237, 223, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(246, 237, 223, 0.7);
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.modal-kicker {
  position: relative;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.phone-visual {
  position: relative;
  width: 116px;
  height: 198px;
  margin: 22px auto 20px;
  padding: 7px;
  border: 1px solid rgba(246, 237, 223, 0.35);
  border-radius: 25px;
  background: #0a0607;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(223, 148, 70, 0.1);
  transform: rotate(-4deg);
}

.phone-notch {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  width: 32px;
  height: 7px;
  border-radius: 99px;
  background: #0d0809;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 36px 14px 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 60% 22%, rgba(250, 182, 90, 0.6), transparent 21%),
    radial-gradient(circle at 40% 48%, rgba(212, 55, 78, 0.54), transparent 35%),
    linear-gradient(155deg, #6c1c2d, #17090d 70%);
}

.phone-screen > span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
}

.phone-screen b {
  margin: 12px 0 auto;
  font-size: 22px;
  line-height: 1.22;
  text-align: left;
}

.phone-screen i {
  display: block;
  width: 100%;
  height: 18px;
  margin-top: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-screen i:nth-of-type(2) {
  width: 83%;
}

.phone-screen i:nth-of-type(3) {
  width: 63%;
}

.modal-inner h2 {
  position: relative;
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.modal-inner > p {
  position: relative;
  margin: 14px auto 0;
  color: rgba(246, 237, 223, 0.58);
  font-size: 13px;
  line-height: 1.8;
}

.modal-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 24px;
}

.modal-actions .button {
  width: 100%;
}

.text-button {
  padding: 9px;
  border: 0;
  background: transparent;
  color: rgba(246, 237, 223, 0.54);
  font-family: var(--sans);
  font-size: 11px;
  cursor: pointer;
}

.modal-inner > small {
  position: relative;
  display: block;
  margin-top: 16px;
  color: rgba(246, 237, 223, 0.3);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.65;
}

.service-inner {
  min-height: 0;
  text-align: left;
}

.service-avatar {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(246, 212, 147, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 216, 156, 0.35), transparent 30%),
    linear-gradient(145deg, #6f2b28, #201011);
  color: var(--gold-light);
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.service-avatar i {
  position: absolute;
  right: 1px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid #1a0c0f;
  border-radius: 50%;
  background: #64d07a;
}

.service-inner > p {
  margin-right: 0;
  margin-left: 0;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.quick-replies button {
  padding: 9px 12px;
  border: 1px solid rgba(246, 237, 223, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 237, 223, 0.66);
  font-family: var(--sans);
  font-size: 10px;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    color 150ms ease;
}

.quick-replies button:hover {
  border-color: rgba(230, 173, 93, 0.48);
  color: var(--gold-light);
}

.service-response {
  min-height: 108px;
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid rgba(246, 237, 223, 0.09);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.service-response-label {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.service-response p {
  margin: 8px 0 0;
  color: rgba(246, 237, 223, 0.6);
  font-size: 12px;
  line-height: 1.75;
}

.service-inner > .button {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 300;
  bottom: 30px;
  left: 50%;
  padding: 12px 18px;
  border: 1px solid rgba(246, 237, 223, 0.15);
  border-radius: 999px;
  background: rgba(21, 10, 13, 0.95);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.h5-header-service,
.h5-add-home,
.h5-side-stack,
.h5-rail,
.h5-install,
.h5-channel-button,
.dock-browser-note {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-values .value-card:nth-child(2) {
  transition-delay: 80ms;
}

.story-values .value-card:nth-child(3) {
  transition-delay: 160ms;
}

@keyframes poster-shine {
  0%,
  35% {
    left: -75%;
  }
  65%,
  100% {
    left: 135%;
  }
}

@keyframes hero-copy-swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(-1%, 1%); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60%,
  100% { transform: translateX(100%); }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dock-button-tap {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(58px, 7vw, 88px);
  }

  .hero-stage {
    min-height: 620px;
  }

  .poster-stack {
    width: min(385px, 67%);
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-bottom: 12px;
  }

  .story-copy {
    max-width: 700px;
  }

  .story-values {
    max-width: 760px;
  }

  .value-card:nth-child(2) {
    transform: none;
  }

  .value-card:nth-child(2):hover {
    transform: translateY(-7px);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    padding: 0 24px;
  }

  .utility-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 130px;
    padding-bottom: 132px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(62px, 11.4vw, 104px);
  }

  .hero-description {
    max-width: 620px;
  }

  .hero-stage {
    min-height: 650px;
  }

  .poster-stack {
    width: min(400px, 54%);
    transform: translate(-38%, -50%) rotate(1.2deg);
  }

  .poster-card-far {
    transform: translate3d(-72%, 2%, -190px) rotate(-10deg);
  }

  .poster-card-near {
    transform: translate3d(64%, -1%, -120px) rotate(9deg);
  }

  .hero-poster-controls {
    bottom: 0;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(11, 6, 7, 0.85), rgba(11, 6, 7, 0.58)),
      linear-gradient(0deg, #0b0607 0%, transparent 28%);
  }

  .story-inner {
    padding-top: 120px;
  }

  .story-panels {
    inset: -3% -20%;
  }

  .poster-mosaic {
    inset: -4% -24%;
  }

}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
  }

  body {
    overscroll-behavior-y: none;
    -webkit-text-size-adjust: 100%;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.has-menu {
    height: calc(var(--header-height) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 16px 0;
    border-bottom-color: rgba(246, 237, 223, 0.08);
  }

  .site-header:not(.is-scrolled):not(.has-menu) {
    background: linear-gradient(180deg, rgba(11, 6, 7, 0.72), transparent);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand-mark::before,
  .brand-mark::after {
    top: 11px;
    bottom: 11px;
    width: 4px;
  }

  .brand-mark::before {
    left: 12px;
  }

  .brand-mark::after {
    right: 12px;
  }

  .brand-mark span {
    width: 14px;
    height: 4px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 6px;
  }

  .brand {
    gap: 10px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .mobile-menu {
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top) - 24px);
    overflow-y: auto;
    border-radius: 16px;
  }

  .mobile-menu a,
  .mobile-menu button {
    min-height: 56px;
    padding: 16px 18px;
  }

  .hero-inner {
    padding: calc(94px + env(safe-area-inset-top)) 18px 106px;
  }

  .hero-eyebrow {
    margin-bottom: 19px;
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .hero h1 {
    font-size: clamp(50px, 16.2vw, 70px);
    line-height: 0.98;
  }

  .hero-title-accent {
    margin-top: 8px;
    font-size: 0.58em;
    letter-spacing: -0.06em;
  }

  .hero-description {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-cta-row {
    gap: 9px;
    margin-top: 28px;
  }

  .button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 12px;
  }

  .hero-cta-row .button {
    min-width: 0;
    flex: 1;
    gap: 12px;
    white-space: nowrap;
  }

  .feature-tags {
    gap: 14px;
    margin-top: 22px;
    font-size: 9px;
  }

  .hero-stage {
    min-height: 440px;
    margin: 4px -18px 0;
  }

  .poster-stack {
    width: min(270px, 68%);
    transform: translate(-42%, -50%) rotate(1.2deg);
    touch-action: pan-y;
  }

  .poster-main-copy strong {
    font-size: 42px;
  }

  .poster-card-far {
    transform: translate3d(-56%, 3%, -160px) rotate(-9deg);
  }

  .poster-card-near {
    transform: translate3d(55%, 1%, -120px) rotate(8deg);
  }

  .poster-bottom strong {
    font-size: 18px;
  }

  .hero-poster-controls {
    bottom: -5%;
  }

  .poster-control-label,
  .poster-control-line {
    display: none;
  }

  .hero-ticker {
    bottom: 21px;
  }

  .scroll-cue {
    display: none;
  }

  .story-inner {
    gap: 48px;
    padding: 105px 20px 14px;
  }

  .story-copy h2 {
    margin-top: 18px;
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.17;
  }

  .story-copy .story-lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .story-copy p {
    font-size: 13px;
    line-height: 1.85;
  }

  .story-values {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .value-card {
    min-height: 0;
    padding: 23px;
  }

  .value-card h3 {
    margin-top: 8px;
  }

  .value-card p {
    margin-top: 10px;
  }

  .value-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    margin: 0;
    transform: scale(0.8);
    transform-origin: right top;
  }

  .story-stats {
    right: 20px;
    bottom: 44px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .story-stats > div {
    display: block;
  }

  .story-stats strong {
    display: block;
    font-size: 19px;
  }

  .story-stats small {
    display: block;
    margin-top: 5px;
    font-size: 9px;
  }

  .poster-mosaic {
    inset: -2% -55%;
    grid-template-columns: repeat(4, 1fr);
    opacity: 0.54;
  }

  .download-inner {
    padding: 90px 18px 110px;
  }

  .download-inner h2 {
    font-size: clamp(38px, 11.5vw, 58px);
  }

  .download-inner > p {
    font-size: 13px;
  }

  .download-actions {
    flex-direction: column;
  }

  .desktop-break {
    display: none;
  }

  .floating-dock {
    right: 0;
    bottom: 0;
    left: 0;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 16px 16px 0 0;
    background: rgba(14, 7, 9, 0.92);
    box-shadow:
      0 -10px 35px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .floating-dock button {
    min-height: 48px;
    flex: 1;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 12px;
  }

  .floating-dock button:first-child {
    flex: 1.45;
  }

  .floating-dock button:last-child {
    border: 1px solid rgba(246, 237, 223, 0.13);
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: min(90dvh, 760px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .modal.add-home-modal {
    width: min(92vw, 380px);
    max-width: 380px;
    max-height: 90dvh;
    margin: auto;
    border: 1px solid rgba(246, 212, 147, 0.2);
    border-radius: 16px;
  }

  .add-home-modal .modal-inner {
    padding: 23px 20px calc(18px + env(safe-area-inset-bottom));
    border-radius: 16px;
    background:
      radial-gradient(circle at 50% 0%, rgba(183, 76, 42, 0.2), transparent 32%),
      linear-gradient(150deg, #2b1018, #11080a 76%);
    color: var(--paper);
  }

  .add-home-modal .modal-inner::after {
    display: none;
  }

  .modal-inner {
    min-height: 0;
    padding: 42px 22px calc(28px + env(safe-area-inset-bottom));
  }

  .modal-inner::after {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    content: "";
    border-radius: 99px;
    background: rgba(246, 237, 223, 0.2);
    transform: translateX(-50%);
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .phone-visual {
    width: 96px;
    height: 164px;
    margin-top: 16px;
    margin-bottom: 17px;
  }

  .phone-screen {
    padding: 30px 11px 11px;
  }

  .phone-screen b {
    font-size: 18px;
  }

  .modal-inner h2 {
    font-size: 29px;
  }

  .toast {
    bottom: calc(82px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 40px);
    text-align: center;
  }
}

/* Reference-inspired vertical H5 layout */
@media (max-width: 680px) {
  :root {
    --header-height: 60px;
    /* 竖版主海报是 462×660（宽/高≈0.7）。让轮播高度 = 屏宽 × 1.4286，
       竖版图 contain 后正好铺满整屏宽度：既完整露出底部标题，两侧也不再留白。
       小屏按同一比例自动变高，不额外做高度压缩。 */
    --h5-hero-height: calc(100vw * 1.4286);
  }

  html {
    scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.has-menu {
    height: calc(var(--header-height) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 16px 0;
    border-bottom: 0;
    background: rgba(5, 4, 6, 0.82);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
  }

  .site-header .brand {
    gap: 9px;
  }

  .site-header .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .site-header .brand-copy strong {
    font-size: 17px;
  }

  .site-header .brand-copy small {
    font-size: 5px;
    letter-spacing: 0.13em;
  }

  .header-actions,
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  .h5-header-service {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 13px);
    right: 15px;
    display: inline-flex;
    height: 34px;
    padding: 0 14px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(237, 181, 95, 0.75);
    border-radius: 999px;
    background: rgba(8, 5, 7, 0.68);
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    box-shadow: inset 0 0 18px rgba(230, 173, 93, 0.06);
  }

  .h5-add-home {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 13px);
    right: 117px;
    display: inline-flex;
    height: 34px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(246, 237, 223, 0.9);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .h5-header-service span {
    font-size: 13px;
    transform: rotate(-12deg);
  }

  .hero {
    display: block;
    min-height: 0;
    background: linear-gradient(180deg, #090607 0%, #210815 68%, #2d0a1b 100%);
  }

  .hero-inner {
    display: flex;
    width: 100%;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .hero-stage {
    position: relative;
    z-index: 3;
    order: 1;
    width: 100%;
    height: var(--h5-hero-height);
    min-height: var(--h5-hero-height);
    padding: 0;
    margin: calc(var(--header-height) + env(safe-area-inset-top)) 0 0;
    overflow: hidden;
    perspective: none;
    background:
      radial-gradient(circle at 68% 32%, rgba(241, 170, 91, 0.3), transparent 25%),
      radial-gradient(circle at 34% 50%, rgba(218, 49, 80, 0.42), transparent 29%),
      linear-gradient(145deg, #5a1726, #13080d 70%);
  }

  .hero-stage::after {
    position: absolute;
    z-index: 8;
    inset: auto 0 0;
    height: 42%;
    content: "";
    background: linear-gradient(0deg, rgba(8, 5, 7, 0.74), transparent);
    pointer-events: none;
  }

  .stage-orbit {
    display: none;
  }

  .poster-stack,
  .poster-stack[data-active="0"],
  .poster-stack[data-active="1"],
  .poster-stack[data-active="2"],
  .poster-stack[data-active="3"] {
    position: absolute;
    /* 占满整屏宽度，contain 后左右不留白；h5-rail 是半透明浮层，压在图上。 */
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
  }

  .poster-card,
  .poster-card[data-slide="0"],
  .poster-card[data-slide="1"],
  .poster-card[data-slide="2"],
  .poster-card[data-slide="3"],
  .poster-stack[data-active="1"] .poster-card[data-slide="0"],
  .poster-stack[data-active="1"] .poster-card[data-slide="2"],
  .poster-stack[data-active="2"] .poster-card[data-slide="0"],
  .poster-stack[data-active="2"] .poster-card[data-slide="1"],
  .poster-stack[data-active="3"] .poster-card[data-slide="2"] {
    inset: 0;
    border: 0;
    border-radius: 0;
    opacity: 0 !important;
    filter: none !important;
    transform: none !important;
    transition: opacity 500ms ease;
  }

  .poster-stack[data-active="0"] .poster-card-main,
  .poster-stack[data-active="1"] .poster-card[data-slide="1"],
  .poster-stack[data-active="2"] .poster-card[data-slide="2"],
  .poster-stack[data-active="3"] .poster-card[data-slide="3"] {
    z-index: 2;
    opacity: 1 !important;
  }

  /* 竖版海报/视频图用 contain 完整展示（容器已经按 0.7 比例定高）；
     横版游戏图/接近方形的 AI 图继续 cover 满铺，避免上下留黑边。 */
  .poster-card.poster-card-main.poster-card-has-image,
  .poster-card.poster-card-has-image[data-slide="1"] {
    background-size: contain;
    background-position: center;
  }

  .poster-card.poster-card-has-image[data-slide="2"],
  .poster-card.poster-card-has-image[data-slide="3"] {
    background-size: cover;
    background-position: center;
  }

  .poster-card::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    content: "";
    background:
      linear-gradient(90deg, rgba(7, 4, 5, 0.5), transparent 38%, transparent 68%, rgba(7, 4, 5, 0.35)),
      radial-gradient(ellipse at center, transparent 30%, rgba(7, 4, 5, 0.4) 100%);
  }

  .poster-card-main::before {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 50%),
      linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 35%);
  }

  .poster-topline,
  .poster-main-copy,
  .poster-bottom,
  .poster-card-shine {
    display: none;
  }

  .poster-art {
    right: -8%;
    bottom: -15%;
    width: 100%;
    height: 104%;
    transform: rotate(-5deg);
  }

  .poster-art-ring {
    top: 0;
    right: 14%;
    width: 58%;
    opacity: 0.7;
  }

  .poster-art-figure {
    right: 12%;
    bottom: -2%;
    width: 42%;
    height: 78%;
    opacity: 0.58;
  }

  .poster-figure {
    right: 1%;
    bottom: 0;
    width: 62%;
    height: 92%;
    opacity: 0.52;
  }

  .hero-poster-controls {
    z-index: 10;
    bottom: 16px;
    gap: 7px;
  }

  .poster-control {
    width: 6px;
    height: 6px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    color: transparent;
    font-size: 0;
    transition:
      width 180ms ease,
      background-color 180ms ease;
  }

  .poster-control:hover,
  .poster-control.is-active {
    width: 20px;
    border-radius: 999px;
    background: var(--gold-light);
    transform: none;
  }

  .poster-control-line,
  .poster-control-label {
    display: none;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    order: 2;
    display: none;
    width: 100%;
    max-width: none;
    min-height: 330px;
    padding: 108px 20px 100px;
    background:
      radial-gradient(circle at 90% 3%, rgba(158, 22, 79, 0.33), transparent 28%),
      linear-gradient(180deg, #25101c 0%, #13090e 100%);
  }

  .hero-eyebrow,
  .hero-cta-row,
  .feature-tags,
  .hero-ticker,
  .scroll-cue {
    display: none;
  }

  .hero h1 {
    margin: 0;
    font-size: clamp(38px, 11.5vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.06em;
  }

  .hero-title-accent {
    margin-top: 5px;
    font-size: 0.8em;
    letter-spacing: -0.07em;
  }

  .hero-description {
    max-width: 100%;
    margin: 20px 0 0;
    color: rgba(246, 237, 223, 0.68);
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.05em;
  }

  .hero-description span {
    display: inline;
  }

  .hero-monogram {
    bottom: 60%;
    font-size: 96vw;
    opacity: 0.2;
  }

  .hero-vignette {
    z-index: 2;
    background: linear-gradient(0deg, transparent 70%, rgba(5, 3, 4, 0.32));
  }

  .brand-story {
    min-height: 0;
    margin-bottom: 0;
  }

  .story-panels {
    inset: -1% -43%;
    opacity: 0.42;
  }

  .story-shade {
    background:
      linear-gradient(90deg, rgba(8, 5, 6, 0.9), rgba(8, 5, 6, 0.64)),
      linear-gradient(0deg, #090607 0%, transparent 26%);
  }

  .story-inner {
    gap: 32px;
    padding: 58px 20px 0;
  }

  .story-copy {
    min-height: 280px;
  }

  .story-copy h2 {
    margin-top: 17px;
    font-size: clamp(31px, 8.7vw, 40px);
    line-height: 1.18;
  }

  .story-copy .story-lead {
    margin-top: 22px;
    font-size: 14px;
  }

  .story-copy p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.85;
  }

  .story-values {
    gap: 14px;
  }

  .value-card,
  .value-card:nth-child(2) {
    min-height: 112px;
    padding: 18px 68px 18px 20px;
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.045) 52%,
        rgba(255, 255, 255, 0.085) 100%
      ),
      rgba(11, 6, 7, 0.56);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -1px 0 rgba(255, 255, 255, 0.04),
      0 12px 30px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    transform: none;
  }

  .value-card:hover,
  .value-card:nth-child(2):hover {
    transform: translateY(-2px);
  }

  .value-card h3 {
    margin-top: 5px;
    font-size: 21px;
  }

  .value-card p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.7;
  }

  .value-icon {
    top: 18px;
    right: 20px;
    width: 38px;
    transform: scale(0.72);
  }

  .story-stats {
    display: none;
  }

  .download-section {
    min-height: 0;
  }

  .poster-mosaic {
    inset: -1% -72%;
    opacity: 0.48;
  }

  .download-inner {
    padding: 24px 18px calc(144px + env(safe-area-inset-bottom));
  }

  .download-inner h2 {
    margin-top: 0;
    font-size: clamp(32px, 9.4vw, 42px);
    line-height: 1.18;
  }

  .download-inner h2 span {
    margin-top: 3px;
    font-size: 0.83em;
  }

  .download-inner > p {
    margin-top: 17px;
    font-size: 12px;
    line-height: 1.75;
  }

  .download-actions {
    display: none;
  }

  .h5-channel-button {
    display: inline-flex;
    width: min(276px, 92%);
    min-height: 48px;
    margin-top: 26px;
    gap: 12px;
    border: 1px solid rgba(124, 221, 255, 0.4);
    border-radius: 999px;
    background: linear-gradient(135deg, #36b8e8, #269ed4);
    color: #fff;
    box-shadow: 0 12px 28px rgba(36, 166, 218, 0.24);
    font-size: 12px;
  }

  .dock-browser-note {
    position: fixed;
    z-index: 94;
    right: 12px;
    bottom: calc(15px + env(safe-area-inset-bottom));
    left: 12px;
    display: block;
    color: rgba(255, 255, 255, 0.56);
    font-family: var(--sans);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-align: center;
    pointer-events: none;
  }

  .h5-side-stack {
    position: fixed;
    z-index: 86;
    top: auto;
    right: 8px;
    bottom: calc(100vh - var(--header-height) - env(safe-area-inset-top) - var(--h5-hero-height));
    bottom: calc(100dvh - var(--header-height) - env(safe-area-inset-top) - var(--h5-hero-height));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .h5-rail {
    position: static;
    display: flex;
    width: 56px;
    padding: 10px 5px;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(7, 5, 7, 0.72);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
  }

  .h5-rail-control {
    position: relative;
    display: flex;
    min-height: 58px;
    padding: 4px 2px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: rgba(246, 237, 223, 0.73);
    font-family: var(--sans);
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition:
      color 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease;
  }

  .h5-rail-control:active {
    background: rgba(255, 255, 255, 0.07);
  }

  .h5-rail-control.is-active {
    border-color: rgba(246, 212, 147, 0.38);
    background: rgba(230, 173, 93, 0.14);
    color: #fff7ea;
  }

  .h5-rail-index {
    display: grid;
    width: 25px;
    height: 25px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(246, 237, 223, 0.2);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
    font-variant-numeric: tabular-nums;
    transition:
      color 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease;
  }

  .h5-rail-control.is-active .h5-rail-index {
    border-color: var(--gold-light);
    background: var(--gold-light);
    color: #1b1007;
  }

  .h5-install {
    position: relative;
    z-index: 88;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    width: 52px;
    height: 52px;
    padding: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 239, 205, 0.72);
    border-radius: 50%;
    background: linear-gradient(145deg, #f9dc98 0%, #e8b15c 52%, #cb8d3d 100%);
    color: #201107;
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.4),
      0 4px 10px rgba(190, 119, 34, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -3px 5px rgba(106, 57, 12, 0.16);
    isolation: isolate;
    text-decoration: none;
    transition:
      transform 160ms ease,
      box-shadow 160ms ease;
  }

  .h5-install::before {
    position: absolute;
    z-index: 0;
    inset: 3px;
    content: "";
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 46%);
    pointer-events: none;
  }

  .h5-install:active {
    transform: scale(0.95);
    box-shadow:
      0 7px 16px rgba(0, 0, 0, 0.36),
      inset 0 2px 4px rgba(100, 53, 9, 0.18);
  }

  .install-icon {
    position: relative;
    z-index: 1;
    display: block;
    width: 13px;
    height: 12px;
  }

  .install-icon::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 6px;
    content: "";
    border-radius: 99px;
    background: currentColor;
    transform: translateX(-50%);
  }

  .install-icon::after {
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 7px;
    height: 7px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
  }

  .h5-install small {
    position: relative;
    z-index: 1;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .floating-dock {
    z-index: 95;
    display: grid;
    right: 12px;
    bottom: calc(40px + env(safe-area-inset-bottom));
    left: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 9px 10px 7px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    background: transparent;
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    backdrop-filter: blur(30px) saturate(190%);
  }

  .floating-dock button {
    width: 100%;
    min-height: 45px;
    border-radius: 999px;
    font-size: 12px;
  }

  .floating-dock button:last-child {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
  }

  .floating-dock .dock-action {
    width: 100%;
    min-height: 45px;
    gap: 4px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 12px;
  }

  .floating-dock .dock-web {
    padding: 0 2px;
    font-size: 13px;
  }

  .toast {
    bottom: calc(106px + env(safe-area-inset-bottom));
  }

}

@media (max-width: 340px) {
  .story-copy {
    min-height: 320px;
  }
}

@media (max-width: 680px) and (max-height: 760px) {
  /* 矮屏上竖向入口会被底部操作条盖住：整体缩小间距并抬到底栏之上。 */
  .h5-side-stack {
    bottom: max(
      calc(100dvh - var(--header-height) - env(safe-area-inset-top) - var(--h5-hero-height)),
      calc(112px + env(safe-area-inset-bottom))
    );
  }

  .h5-rail {
    width: 50px;
    padding: 6px 4px;
    gap: 1px;
  }

  .h5-rail-control {
    min-height: 46px;
    padding: 3px 2px;
    gap: 6px;
  }

  .h5-rail-index {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }

}

@media (min-width: 901px) {
  .hero-stage {
    width: 100%;
    height: clamp(430px, 60vh, 560px);
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(246, 237, 223, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow:
      0 36px 90px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .hero-stage .stage-orbit {
    display: none;
  }

  .hero-stage .poster-stack,
  .hero-stage .poster-stack[data-active="0"],
  .hero-stage .poster-stack[data-active="1"],
  .hero-stage .poster-stack[data-active="2"],
  .hero-stage .poster-stack[data-active="3"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
  }

  .hero-stage .poster-card,
  .hero-stage .poster-stack[data-active="1"] .poster-card[data-slide="0"],
  .hero-stage .poster-stack[data-active="1"] .poster-card[data-slide="2"],
  .hero-stage .poster-stack[data-active="2"] .poster-card[data-slide="0"],
  .hero-stage .poster-stack[data-active="2"] .poster-card[data-slide="1"],
  .hero-stage .poster-stack[data-active="3"] .poster-card[data-slide="1"],
  .hero-stage .poster-stack[data-active="3"] .poster-card[data-slide="2"] {
    position: absolute;
    inset: 0;
    border: 0;
    border-radius: 23px;
    opacity: 0 !important;
    filter: none !important;
    transform: none !important;
    transition: opacity 500ms ease;
  }

  .hero-stage .poster-stack[data-active="0"] .poster-card-main,
  .hero-stage .poster-stack[data-active="1"] .poster-card[data-slide="1"],
  .hero-stage .poster-stack[data-active="2"] .poster-card[data-slide="2"],
  .hero-stage .poster-stack[data-active="3"] .poster-card[data-slide="3"] {
    z-index: 3;
    opacity: 1 !important;
  }

  .hero-stage .poster-card::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(5, 3, 4, 0.04), rgba(5, 3, 4, 0.2)),
      linear-gradient(90deg, rgba(5, 3, 4, 0.16), transparent 38%);
  }

  .hero-poster-controls {
    z-index: 8;
    bottom: 20px;
  }

  .hero-poster-controls .poster-control {
    width: 7px;
    height: 7px;
    border: 0;
    color: transparent;
    font-size: 0;
    background: rgba(255, 255, 255, 0.35);
  }

  .hero-poster-controls .poster-control:hover,
  .hero-poster-controls .poster-control.is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--gold-light);
    transform: none;
  }

  .hero-poster-controls .poster-control-line,
  .hero-poster-controls .poster-control-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
