:root {
      --ink: #12080b;
      --wine: #5c1824;
      --blush: #c45c6a;
      --rose: #e8a0a8;
      --cream: #f3e6e0;
      --gold: #d4a574;
      --smoke: rgba(243, 230, 224, 0.62);
      --slot: rgba(243, 230, 224, 0.08);
      --slot-line: rgba(212, 165, 116, 0.45);
      --ph: #ffa31a;

      /* 预览图「雾感」——改这几个数即可 */
      --tease-blur: 2px;       /* 模糊：0=清晰，越大越雾；常用 4~14px */
      --tease-bright: 0.72;     /* 亮度：0.5更暗，1正常；常用 0.65~0.9 */
      --tease-sat: 1.05;        /* 饱和：1正常，>1更艳 */
      --tease-blur-hover: 2px;  /* 悬停时模糊 */
      --tease-bright-hover: 0.88;
      --tease-px: 1;         /* 预览条每帧滚动像素，越大越快；常用 0.4~1.5 */
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100%;
      background: var(--ink);
      color: var(--cream);
      font-family: "Noto Sans", "Segoe UI", sans-serif;
      overflow-x: hidden;
    }

    body.is-booting,
    body.is-entered {
      overflow: hidden;
    }

    /* —— PH 风格开场（柔和淡入淡出） —— */
    .boot {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: grid;
      place-items: center;
      background: #000;
      overflow: hidden;
      opacity: 1;
      transition: opacity 1s ease;
    }

    .boot.is-out {
      opacity: 0;
      pointer-events: none;
    }

    .boot__logo {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      opacity: 0;
      transform: scale(1.06);
      filter: blur(6px);
      transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s ease;
    }

    .boot.is-in .boot__logo {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
    }

    .boot.is-out .boot__logo {
      opacity: 0;
      transform: scale(0.96);
      filter: blur(4px);
      transition-duration: 0.75s;
    }

    .boot__word {
      font-family: "Archivo Black", "Noto Sans", sans-serif;
      font-size: clamp(2.4rem, 11vw, 5rem);
      font-weight: 900;
      letter-spacing: 0.04em;
      color: #fff;
      line-height: 1;
      text-transform: uppercase;
    }

    .boot__hub {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.22em 0.28em 0.18em;
      background: var(--ph);
      border-radius: 0.22em;
      color: #000;
      font-family: "Archivo Black", "Noto Sans", sans-serif;
      font-size: clamp(2.4rem, 11vw, 5rem);
      font-weight: 900;
      letter-spacing: 0.02em;
      line-height: 1;
    }

    .boot__hub span {
      display: block;
      transform: translateY(0.02em);
    }

    .boot__tag {
      position: absolute;
      bottom: 12vh;
      left: 0;
      right: 0;
      text-align: center;
      font-size: 0.72rem;
      letter-spacing: 0.35em;
      color: rgba(255, 255, 255, 0.28);
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s;
    }

    .boot.is-in .boot__tag {
      opacity: 1;
      transform: translateY(0);
    }

    .boot.is-out .boot__tag {
      opacity: 0;
      transition-delay: 0s;
      transition-duration: 0.5s;
    }

    /* —— iframe —— */
    .fullscreen-iframe {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: none;
      z-index: 100;
      background: #000;
    }

    .fullscreen-iframe.is-active {
      display: block;
    }

    /* —— 引导页 —— */
    .gate {
      position: relative;
      z-index: 10;
    }

    .gate.is-gone {
      pointer-events: none;
      animation: gateOut 0.8s ease forwards;
    }

    @keyframes gateOut {
      to {
        opacity: 0;
        transform: scale(1.03);
        filter: blur(10px);
      }
    }

    /* —— Hero：全屏主视觉 —— */
    .hero {
      position: relative;
      min-height: 100svh;
      min-height: 100vh;
      display: grid;
      align-items: end;
      overflow: hidden;
    }

    .hero__slides {
      position: absolute;
      inset: 0;
    }

    .hero__slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 1.1s ease;
      background: #1c0d12;
    }

    .hero__slide.is-on {
      opacity: 1;
      z-index: 1;
    }

    .hero__slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
      transform: scale(1.06);
      animation: kenBurns 14s ease-in-out infinite alternate;
    }

    .hero__slide.is-on img {
      animation-play-state: running;
    }

    @keyframes kenBurns {
      from { transform: scale(1.06) translate3d(0, 0, 0); }
      to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
    }

    /* 没放图时的占位 */
    .img-slot {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      text-align: center;
      background:
        linear-gradient(135deg, rgba(92, 24, 36, 0.55), rgba(18, 8, 11, 0.9)),
        repeating-linear-gradient(
          -45deg,
          transparent,
          transparent 12px,
          rgba(243, 230, 224, 0.03) 12px,
          rgba(243, 230, 224, 0.03) 24px
        );
      border: 1px dashed var(--slot-line);
    }

    .img-slot__label {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(1.1rem, 3vw, 1.6rem);
      letter-spacing: 0.12em;
      color: var(--gold);
      line-height: 1.5;
      padding: 1rem;
    }

    .img-slot__label small {
      display: block;
      margin-top: 0.45rem;
      font-family: "Noto Sans", sans-serif;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      color: var(--smoke);
      font-style: normal;
    }

    .hero__shade {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      background:
        linear-gradient(
          180deg,
          rgba(18, 8, 11, 0.2) 0%,
          rgba(18, 8, 11, 0.15) 40%,
          rgba(18, 8, 11, 0.75) 70%,
          rgba(18, 8, 11, 0.96) 100%
        ),
        radial-gradient(ellipse 80% 55% at 75% 25%, rgba(92, 24, 36, 0.35), transparent 60%);
    }

    .hero__copy {
      position: relative;
      z-index: 3;
      padding: clamp(1.5rem, 5vw, 3.5rem);
      padding-bottom: clamp(2rem, 7vh, 4rem);
      max-width: 38rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      animation: riseIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes riseIn {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .live {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      color: var(--rose);
      font-weight: 400;
    }

    .live i {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--blush);
      animation: blink 1.6s ease-in-out infinite;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.35; transform: scale(0.85); }
    }

    .brand {
      font-family: "Cormorant Garamond", "Noto Sans", serif;
      font-size: clamp(2.8rem, 10vw, 4.75rem);
      font-weight: 600;
      letter-spacing: 0.06em;
      line-height: 0.95;
      text-shadow: 0 4px 48px rgba(0, 0, 0, 0.5);
    }

    .brand em {
      display: block;
      margin-top: 0.5rem;
      font-style: italic;
      font-weight: 500;
      font-size: 0.38em;
      letter-spacing: 0.32em;
      color: var(--gold);
    }

    .tagline {
      font-weight: 300;
      font-size: clamp(0.95rem, 2.4vw, 1.08rem);
      line-height: 1.7;
      color: var(--smoke);
      max-width: 22rem;
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.85rem 1.25rem;
      margin-top: 0.35rem;
    }

    .enter-btn {
      appearance: none;
      border: 0;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      padding: 1rem 2.2rem;
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      color: var(--ink);
      background: linear-gradient(135deg, var(--rose), var(--blush) 55%, #a83d4f);
      border-radius: 2px;
      transition: transform 0.25s ease, filter 0.25s ease;
    }

    .enter-btn::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.38) 48%, transparent 65%);
      transform: translateX(-130%);
      animation: sheen 3s ease-in-out infinite;
    }

    @keyframes sheen {
      0%, 50% { transform: translateX(-130%); }
      80%, 100% { transform: translateX(130%); }
    }

    .enter-btn:hover {
      transform: translateY(-2px);
      filter: brightness(1.08);
    }

    .enter-btn--ghost {
      background: transparent;
      color: var(--cream);
      border: 1px solid rgba(243, 230, 224, 0.28);
      letter-spacing: 0.14em;
    }

    .enter-btn--ghost::after { display: none; }

    .enter-btn--ghost:hover {
      border-color: var(--gold);
      color: var(--gold);
      filter: none;
    }

    .enter-btn--wide {
      width: min(100%, 22rem);
    }

    .hint {
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      color: rgba(243, 230, 224, 0.32);
    }

    .hero__dots {
      position: absolute;
      right: clamp(1rem, 4vw, 2rem);
      bottom: clamp(2rem, 8vh, 4.5rem);
      z-index: 3;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .hero__dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      border: 0;
      padding: 0;
      background: rgba(243, 230, 224, 0.28);
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }

    .hero__dot.is-on {
      background: var(--gold);
      transform: scale(1.35);
    }

    /* —— 预览区：让人多停一会儿 —— */
    .tease {
      position: relative;
      padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3.5rem, 9vw, 6rem);
      background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(92, 24, 36, 0.4), transparent 70%),
        var(--ink);
    }

    .tease__head {
      padding: 0 clamp(1.25rem, 5vw, 3.5rem);
      margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
      max-width: 40rem;
      animation: riseIn 1s 0.15s both;
    }

    .tease__head h2 {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(1.8rem, 5vw, 2.6rem);
      font-weight: 500;
      letter-spacing: 0.08em;
      margin-bottom: 0.65rem;
    }

    .tease__head p {
      font-weight: 300;
      font-size: 0.95rem;
      line-height: 1.7;
      color: var(--smoke);
    }

    .tease__rail {
      overflow: hidden;
      padding: 0;
      mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    }

    .tease__track {
      display: flex;
      width: max-content;
      will-change: transform;
      transform: translate3d(0, 0, 0);
    }

    .tease__group {
      display: flex;
      flex-shrink: 0;
      gap: 0.85rem;
      padding-right: 0.85rem;
    }

    .tease__card {
      position: relative;
      flex: 0 0 min(72vw, 260px);
      width: min(72vw, 260px);
      aspect-ratio: 3 / 4;
      overflow: hidden;
      border-radius: 2px;
      background: #1a0c10;
      cursor: pointer;
      isolation: isolate;
    }

    .tease__card img,
    .tease__card .img-slot {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: blur(var(--tease-blur)) saturate(var(--tease-sat)) brightness(var(--tease-bright));
      transform: scale(1.08);
      transition: filter 0.45s ease, transform 0.55s ease;
    }

    .tease__card .img-slot {
      filter: none;
      transform: none;
    }

    .tease__card:hover img {
      filter: blur(var(--tease-blur-hover)) saturate(1.1) brightness(var(--tease-bright-hover));
      transform: scale(1.12);
    }

    .tease__lock {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: grid;
      place-items: end center;
      padding: 1.25rem;
      background: linear-gradient(180deg, transparent 45%, rgba(18, 8, 11, 0.85) 100%);
      font-size: 0.75rem;
      letter-spacing: 0.22em;
      color: var(--cream);
      pointer-events: none;
    }

    .tease__lock span:first-child {
      display: block;
      margin-bottom: 0.35rem;
      color: var(--gold);
      font-family: "Cormorant Garamond", serif;
      font-size: 1.15rem;
      letter-spacing: 0.12em;
      font-style: italic;
    }

    .tease__foot {
      margin-top: clamp(2rem, 5vw, 3rem);
      padding: 0 clamp(1.25rem, 5vw, 3.5rem);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.85rem;
    }

    .tease__foot p {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--smoke);
      max-width: 26rem;
      line-height: 1.7;
    }

    /* 底栏：滚动时仍能进 */
    .dock {
      position: sticky;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 20;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem 1rem;
      width: 100%;
      padding: 0.85rem clamp(1rem, 4vw, 2rem);
      background: rgba(18, 8, 11, 0.92);
      backdrop-filter: blur(14px);
      border-top: 1px solid rgba(243, 230, 224, 0.08);
    }

    .dock__text {
      flex: 1 1 auto;
      min-width: 0;
      margin: 0;
      font-size: 0.8rem;
      letter-spacing: 0.08em;
      color: var(--smoke);
      font-weight: 300;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dock__text strong {
      color: var(--cream);
      font-weight: 500;
    }

    .dock .enter-btn {
      width: auto;
      flex: 0 0 auto;
      padding: 0.75rem 1.4rem;
      font-size: 0.82rem;
    }

    /* —— 匹配线路弹窗 —— */
    .match {
      position: fixed;
      inset: 0;
      z-index: 90;
      display: grid;
      place-items: center;
      padding: 1.25rem;
      background: rgba(8, 3, 5, 0.72);
      backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .match.is-open {
      opacity: 1;
      visibility: visible;
    }

    .match__panel {
      width: min(100%, 22rem);
      padding: 1.75rem 1.5rem 1.5rem;
      background:
        linear-gradient(160deg, rgba(92, 24, 36, 0.35), transparent 55%),
        #1a0c10;
      border: 1px solid rgba(212, 165, 116, 0.28);
      border-radius: 4px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
      text-align: center;
      transform: translateY(12px) scale(0.97);
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .match.is-open .match__panel {
      transform: translateY(0) scale(1);
    }

    .match__ring {
      width: 64px;
      height: 64px;
      margin: 0 auto 1.15rem;
      border-radius: 50%;
      border: 2px solid rgba(243, 230, 224, 0.12);
      border-top-color: var(--gold);
      border-right-color: var(--blush);
      animation: matchSpin 0.9s linear infinite;
    }

    @keyframes matchSpin {
      to { transform: rotate(360deg); }
    }

    .match__title {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.35rem;
      letter-spacing: 0.14em;
      margin-bottom: 0.45rem;
    }

    .match__status {
      min-height: 1.4em;
      font-size: 0.82rem;
      font-weight: 300;
      letter-spacing: 0.06em;
      color: var(--smoke);
      margin-bottom: 1.15rem;
    }

    .match__bar {
      height: 3px;
      border-radius: 2px;
      background: rgba(243, 230, 224, 0.1);
      overflow: hidden;
      margin-bottom: 0.75rem;
    }

    .match__bar > i {
      display: block;
      height: 100%;
      width: 0%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--blush), var(--gold));
      transition: width 0.25s linear;
    }

    .match__meta {
      display: flex;
      justify-content: space-between;
      font-size: 0.68rem;
      letter-spacing: 0.1em;
      color: rgba(243, 230, 224, 0.35);
    }

    .match__meta b {
      color: var(--gold);
      font-weight: 500;
    }

    .match.is-done .match__ring {
      animation: none;
      border-color: var(--gold);
      position: relative;
    }

    .match.is-done .match__ring::after {
      content: "";
      position: absolute;
      inset: 18px 14px 14px 14px;
      border: solid var(--gold);
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }

    @media (max-width: 640px) {
      .cta-row { width: 100%; }
      .cta-row .enter-btn,
      .tease__foot .enter-btn {
        width: 100%;
        text-align: center;
      }
      .enter-btn--ghost { display: none; }
      .dock__text { font-size: 0.72rem; }
      .hero__dots { display: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero__slide img,
      .enter-btn::after,
      .live i,
      .gate.is-gone,
      .hero__copy,
      .tease__head {
        animation: none;
      }

      html { scroll-behavior: auto; }
    }
