:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --secondary: #bdcde7;
  --accent: #9ccaff;
  --digit-width: 53px;
  --digit-height: 74px;
  --digit-size: 53px;
  --digit-gap: 5px;
  --group-gap: 22px;
  font-family: var(--platform-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: #070d19; color: var(--ink); }
button { font: inherit; }
[hidden] { display: none !important; }
::selection { background: #a7d4ff; color: #09142c; }

.backdrop { position: fixed; inset: 0; overflow: hidden; background: #070d19 url("public-footer-poster.jpg") center / cover no-repeat; }
.brand-film { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.backdrop-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #03081445, #0308148c 54%, #030814b8), radial-gradient(ellipse at 50% 40%, transparent 15%, #03081448 100%);
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) var(--footer-space, 102px) max(24px, env(safe-area-inset-left));
  overflow: hidden;
}
.composition {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 980px;
  text-align: center;
  transform: translateY(var(--composition-offset, 0px)) scale(var(--fit-scale, 1));
  transform-origin: center;
}

/* This is the existing website's energy visual, kept as a self-contained copy. */
.energy-scene { position: relative; flex: none; width: min(37vh, 52vw); width: min(37dvh, 52vw); max-width: 400px; aspect-ratio: 1; margin-bottom: 22px; pointer-events: none; }
.energy { --energy-cyan: #79e4ff; --energy-white: #e0faff; position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.energy-aura { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(ellipse, #2567ed48 0%, #2567ed22 36%, transparent 68%); }
.energy-turn { position: absolute; inset: 0; animation: energy-turn 22s linear infinite; }
.energy-turn > i { position: absolute; display: block; border-radius: 44% 56% 61% 39% / 48% 36% 64% 52%; animation: energy-flow 9s ease-in-out infinite; }
.energy-shell { inset: 8%; background: radial-gradient(ellipse at 30% 24%, #a8eeffb0 0%, transparent 38%), radial-gradient(ellipse at 65% 75%, #268dffcc 0%, transparent 52%), #123da5; box-shadow: inset 8px 6px 24px #82e5ff88, inset -12px -16px 30px #061a54, 0 0 26px #227bff75; }
.energy-turn > .energy-core { inset: 28%; background: radial-gradient(ellipse at 38% 30%, var(--energy-white), var(--energy-cyan) 19%, #328fff9c 46%, transparent 72%); filter: blur(5px); animation-duration: 7s; animation-delay: -2s; }
.energy-brand { position: absolute; inset: 0; display: grid; place-items: center; }
.energy-brand img { display: block; width: 36%; height: auto; opacity: .3; filter: blur(1.5px); animation: energy-brand-flow 9s ease-in-out infinite; }
@keyframes energy-turn { to { transform: rotate(360deg); } }
@keyframes energy-flow {
  0%, 100% { border-radius: 44% 56% 61% 39% / 48% 36% 64% 52%; transform: rotate(0deg) scale(.96, 1); }
  25% { border-radius: 62% 38% 43% 57% / 36% 58% 42% 64%; transform: rotate(28deg) scale(1.04, .94); }
  50% { border-radius: 38% 62% 54% 46% / 60% 42% 58% 40%; transform: rotate(62deg) scale(.94, 1.05); }
  75% { border-radius: 55% 45% 35% 65% / 43% 63% 37% 57%; transform: rotate(32deg) scale(1.02, .97); }
}
@keyframes energy-brand-flow {
  0%, 100% { transform: rotate(0deg) scale(.96, 1) skew(0deg); }
  25% { transform: rotate(4deg) scale(1.04, .94) skew(-3deg); }
  50% { transform: rotate(-5deg) scale(.94, 1.05) skew(3deg); }
  75% { transform: rotate(3deg) scale(1.02, .97) skew(-2deg); }
}

h1 { margin: 0; font-size: clamp(36px, 4.35vw, 60px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
h1 > span, h1 > em { display: block; white-space: nowrap; }
h1 > em { margin-top: 2px; color: var(--accent); font-style: normal; }
.hero-title { display: flex; flex-direction: column; align-items: center; }
.headline-line { position: relative; width: max-content; }
.headline-punctuation { position: absolute; top: 0; left: 100%; width: 1em; letter-spacing: 0; text-align: left; }
.brand-line { margin: 21px 0 0; color: #d2def1; font-size: 17px; font-weight: 400; line-height: 1.5; letter-spacing: .045em; }
.brand-dot { padding-inline: 3px; }

.countdown { margin-top: 38px; }
.countdown-label { margin: 0 0 16px; color: var(--secondary); font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: .23em; text-indent: .23em; }
.clock { display: flex; align-items: flex-start; justify-content: center; gap: var(--group-gap); }
.time-unit { display: flex; flex-direction: column; align-items: center; }
.digits { display: flex; gap: var(--digit-gap); }
.unit-label { margin-top: 12px; color: var(--secondary); font-size: 11px; line-height: 1.4; }
.flip-card {
  position: relative;
  width: var(--digit-width);
  height: var(--digit-height);
  border-radius: 8px;
  perspective: 420px;
  color: #eef5ff;
  font-family: var(--countdown-font, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif);
  font-size: var(--digit-size);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  box-shadow: 0 8px 20px #00000045;
}
.flip-card::after { content: ""; position: absolute; top: calc(50% - 1px); left: 0; right: 0; height: 2px; background: #060c18; z-index: 4; pointer-events: none; }
.flip-half { position: absolute; left: 0; width: 100%; height: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-top, .flip-leaf-top { top: 0; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #23324b, #19263c); }
.flip-bottom, .flip-leaf-bottom { top: 50%; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #1c2a42, #24334c); }
.digit-value { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 100%; height: var(--digit-height); line-height: 1; }
.flip-bottom .digit-value, .flip-leaf-bottom .digit-value { top: -100%; }
.flip-leaf-top { z-index: 3; transform-origin: center bottom; }
.flip-leaf-bottom { z-index: 2; transform-origin: center top; transform: rotateX(90deg); }
.flip-card:not(.is-flipping) .flip-leaf-top, .flip-card:not(.is-flipping) .flip-leaf-bottom { visibility: hidden; }
.is-flipping .flip-leaf-top { animation: flip-top 300ms cubic-bezier(.5, 0, .8, .4) both; }
.is-flipping .flip-leaf-bottom { animation: flip-bottom 340ms cubic-bezier(.16, 1, .3, 1) 300ms both; }
@keyframes flip-top { from { transform: rotateX(0); filter: brightness(1); } to { transform: rotateX(-90deg); filter: brightness(.55); } }
@keyframes flip-bottom { from { transform: rotateX(90deg); filter: brightness(.6); } to { transform: rotateX(0); filter: brightness(1); } }
.launch-date { margin: 26px 0 0; font-size: 12px; line-height: 1.6; font-weight: 400; letter-spacing: .075em; color: #b1c1db; }
.static-date { margin: 0; color: var(--ink); font-size: 38px; font-variant-numeric: tabular-nums; letter-spacing: .05em; }

.site-footer { position: fixed; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 2px; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); color: #b1c1db; font-size: 11px; line-height: 1.6; text-align: center; }
.footer-copyright { max-width: 1200px; margin: 0; }
.footer-copyright > span { display: inline-block; }
.footer-copy-divider { margin-inline: 5px; }
.site-footer a { display: inline-block; padding-block: 3px; color: inherit; text-decoration: none; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer a:focus-visible { outline: 2px solid #b6ddff; outline-offset: 4px; border-radius: 3px; }

.error-code { color: var(--accent); font-size: clamp(80px, 12vh, 150px); line-height: 1; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.error-title { margin: 22px 0 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 500; line-height: 1.4; }
.error-description { margin: 12px 0 0; color: var(--secondary); font-size: 14px; line-height: 1.6; }
.home-link { text-decoration: none; }

/* Copied from the official footer CTA, including its glow, shine and arrow. */
.qw-arrow-up-right { position: relative; display: inline-grid; place-items: center; flex: none; width: 1em; height: 1em; font-family: var(--qw-platform-font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif); font-weight: 600; font-style: normal; line-height: 1; letter-spacing: 0; vertical-align: middle; transform: none; }
.qw-arrow-up-right > .qw-arrow-glyph { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; font: inherit; line-height: 1; text-decoration: none; transform: rotate(0deg); transform-origin: center; transition: transform 220ms ease-out; }
:is(a, button):focus-visible .qw-arrow-up-right > .qw-arrow-glyph { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { :is(a, button):hover .qw-arrow-up-right > .qw-arrow-glyph { transform: rotate(45deg); } }
.qw-glow-preview { --qw-glow-x: 50%; --qw-glow-y: 50%; --qw-glow-angle: 0deg; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border: 1px solid #ffffff40; border-radius: 999px; background: #171128; color: #fff; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer; overflow: visible; }
.qw-glow-label { position: relative; z-index: 1; font-size: 14px; font-weight: 500; line-height: 1.4; }
.qw-action-glow { margin-top: 30px; background: #08090b; }
.qw-action-glow .qw-glow-label { display: inline-flex; align-items: center; gap: 12px; }
.qw-trial-shine { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.qw-trial-shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -50%; width: 35%; pointer-events: none; background: linear-gradient(100deg, transparent, #ffffff66, transparent); transform: translateX(0) skewX(-20deg); opacity: 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .qw-action-glow:hover .qw-trial-shine::after { animation: qw-trial-shine .7s ease-out both; } }
.qw-action-glow:focus-visible .qw-trial-shine::after { animation: qw-trial-shine .7s ease-out both; }
@keyframes qw-trial-shine { 0% { transform: translateX(0) skewX(-20deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateX(500%) skewX(-20deg); opacity: 0; } }
.qw-glow-light { position: absolute; inset: -3px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 600ms ease; --qw-glow-paint: conic-gradient(from var(--qw-glow-angle) at var(--qw-glow-x) var(--qw-glow-y), #4285ff, #a86aff, #ef83cb, #80dfff, #4285ff); }
.qw-glow-rim { position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: var(--qw-glow-paint); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.qw-glow-active .qw-glow-light, :focus-visible > .qw-glow-light { opacity: 1; }
.qw-glow-preview:focus-visible { outline: 2px solid #8cc9ff; outline-offset: 5px; }
.qw-glow-preview:focus:not(:focus-visible) { outline: none; }
.qw-glow-preview::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: inherit; z-index: -1; pointer-events: none; }
.qw-glow-preview .qw-glow-light { inset: -16px; z-index: -2; -webkit-mask-image: radial-gradient(ellipse 110px 80px at var(--qw-glow-x) var(--qw-glow-y), #000 25%, transparent 100%); mask-image: radial-gradient(ellipse 110px 80px at var(--qw-glow-x) var(--qw-glow-y), #000 25%, transparent 100%); }
.qw-glow-preview .qw-glow-rim { inset: 13px; padding: 3px; }
.qw-glow-preview .qw-glow-soft { inset: 13px; padding: 0; background: none; -webkit-mask: none; mask: none; filter: blur(6px); opacity: 1; }
.qw-glow-preview .qw-glow-soft::before { content: ""; position: absolute; inset: 0; padding: 5px; border-radius: inherit; background: var(--qw-glow-paint); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.qw-footer-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; width: fit-content; max-width: 100%; margin: 30px 0 0; padding: 12px 26px; background: #08090b; border: 1px solid #ffffff40; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; white-space: normal; text-align: center; overflow: visible; transform: none; box-shadow: none; }
.qw-footer-cta:hover { background: #08090b; color: #fff; transform: none; }
.qw-footer-cta > .qw-glow-light { opacity: 1; }
.qw-footer-cta:not(.qw-glow-active):not(.qw-glow-spinning):not(:focus-visible) > .qw-glow-light { --qw-glow-x: 0%; --qw-glow-y: 100%; --qw-glow-angle: 0deg; }
@media (hover: none), (pointer: coarse) { .qw-footer-cta.qw-glow-spinning > .qw-glow-light { -webkit-mask-image: none; mask-image: none; } }
@media (min-width: 901px) and (forced-colors: none) { .qw-footer-cta { min-height: 52px; padding: 14px 28px; font-size: 16px; line-height: 24px; } }
@media (prefers-reduced-motion: reduce) { .qw-arrow-up-right > .qw-arrow-glyph { transition: none; } .qw-trial-shine::after { display: none; animation: none; } }

.motion-toggle { position: fixed; bottom: var(--footer-space, 102px); right: max(16px, env(safe-area-inset-right)); display: grid; place-items: center; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 50%; color: #c0d0e9; background: #111c3073; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.motion-toggle:hover { color: #fff; background: #263752d9; }
.motion-toggle:focus-visible { outline: 2px solid #b6ddff; outline-offset: 4px; }
.motion-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.motion-paused .energy-turn, .motion-paused .energy-turn > i, .motion-paused .energy-brand img,
.tab-hidden .energy-turn, .tab-hidden .energy-turn > i, .tab-hidden .energy-brand img { animation-play-state: paused; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 601px) {
  .hero-title { font-size: clamp(44px, 5.1vw, 81px); }
  body:not(.not-found) .composition { --composition-offset: clamp(-28px, calc((700px - 100vh) * .12), 0px); --composition-offset: clamp(-28px, calc((700px - 100dvh) * .12), 0px); }
}
@media (min-width: 601px) and (max-height: 700px) { .hero-title { font-size: min(6vw, 48px); } }

@media (max-width: 600px) {
  :root { --digit-width: clamp(25px, 7.8vw, 34px); --digit-height: clamp(39px, 11.5vw, 50px); --digit-size: clamp(28px, 8.4vw, 37px); --digit-gap: 3px; --group-gap: clamp(13px, 4vw, 18px); }
  .stage { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .energy-scene { width: min(30vh, 60vw); width: min(30dvh, 60vw); margin-bottom: 25px; }
  h1 { font-size: clamp(25px, 7.4vw, 41px); line-height: 1.4; letter-spacing: -.03em; }
  .brand-line { margin-top: 20px; font-size: clamp(12px, 3.45vw, 16px); letter-spacing: .025em; }
  .brand-dot { padding-inline: 1px; }
  .countdown { margin-top: 38px; }
  .countdown-label { margin-bottom: 16px; font-size: 11px; }
  .unit-label { margin-top: 10px; }
  .launch-date { margin-top: 24px; font-size: 11px; }
  .site-footer { font-size: 10px; }
  .footer-copyright { width: 100%; text-align: justify; text-align-last: left; text-justify: inter-ideograph; }
  .error-description { font-size: 12px; }
  .error-title { font-size: 25px; }
  .flip-card, .flip-top, .flip-leaf-top { border-top-left-radius: 6px; border-top-right-radius: 6px; }
  .flip-card, .flip-bottom, .flip-leaf-bottom { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; }
}

@media (max-height: 700px) {
  .energy-scene { margin-bottom: 14px; }
  h1 { font-size: min(5vw, 43px); }
  .brand-line { margin-top: 12px; }
  .countdown { margin-top: 25px; }
  .launch-date { margin-top: 18px; }
}
@media (max-height: 700px) and (max-width: 600px) {
  h1 { font-size: clamp(24px, 7.3vw, 37px); }
}
@media (max-height: 480px) {
  :root { --digit-width: 30px; --digit-height: 42px; --digit-size: 32px; --group-gap: 16px; }
  .stage { padding-top: 12px; }
  .energy-scene { width: min(26vh, 50vw); width: min(26dvh, 50vw); margin-bottom: 8px; }
  h1, .hero-title { font-size: 26px; line-height: 1.28; }
  .brand-line { margin-top: 8px; font-size: 12px; }
  .countdown { margin-top: 14px; }
  .countdown-label { margin-bottom: 9px; font-size: 10px; }
  .unit-label { margin-top: 6px; font-size: 10px; }
  .launch-date { margin-top: 12px; font-size: 10px; }
  .error-code { font-size: 60px; }
  .error-title { margin-top: 10px; font-size: 22px; }
  .error-description { margin-top: 8px; }
  .home-link { margin-top: 14px; }
  .site-footer { bottom: max(8px, env(safe-area-inset-bottom)); font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .energy-turn, .energy-turn > i, .energy-brand img { animation: none; }
  .is-flipping .flip-leaf-top, .is-flipping .flip-leaf-bottom { animation: none; visibility: hidden; }
  .motion-toggle, .home-link { transition: none; }
}
@media (forced-colors: active) {
  .backdrop, .energy-scene { visibility: hidden; }
  body { background: Canvas; color: CanvasText; }
  h1 > em, .brand-line, .countdown-label, .unit-label, .launch-date, .site-footer, .error-code, .error-description { color: CanvasText; }
  .site-footer a, .home-link { color: LinkText; }
  .flip-half { background: Canvas; color: CanvasText; }
  .flip-card { outline: 1px solid CanvasText; }
  .motion-toggle { color: ButtonText; border: 1px solid ButtonText; }
}

/* Set before the stylesheet loads; Windows uses YaHei at regular weight. */
html[data-platform="windows"] { --platform-font: "Microsoft YaHei", "微软雅黑", sans-serif; --countdown-font: "Microsoft YaHei", "微软雅黑", sans-serif; --qw-platform-font: "Microsoft YaHei", "微软雅黑", sans-serif; }
html[data-platform="windows"] :is(h1, .error-title, .flip-card, .qw-glow-preview, .qw-glow-label, .qw-footer-cta, .qw-arrow-up-right) { font-weight: 400; }
