:root {
  color-scheme: dark;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #080c18;
  color: #f5f5f7;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
.landing-page { min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, #191336 0%, #24204d 25%, #123549 51%, #111d32 75%, #080c18 100%); }
.hero { width: min(100%, 1440px); margin: 0 auto; padding: 104px 24px 48px; display: flex; flex: 1 0 auto; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.brand-lockup { display: flex; align-items: center; gap: 16px; color: #78e5c3; font-size: 56px; font-weight: 700; line-height: 1.2; }
.brand-lockup img { width: 72px; height: 72px; }
h1 { margin: 0; color: #f5f5f7; font-size: 60px; font-weight: 700; line-height: 1.25; letter-spacing: .2px; }
.intro { margin: 0; color: #a5a8b8; font-size: 18px; line-height: 1.7; }
.hero-illustration { width: 540px; max-width: 100%; height: auto; display: block; }
.download-entry { width: 320px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.download-button { width: 100%; height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 27px; background: #78e5c3; color: #10251e; font-size: 16px; font-weight: 700; letter-spacing: .2px; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.download-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(60, 202, 161, .18); filter: brightness(1.04); }
.download-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.download-button[aria-disabled="true"] { cursor: wait; opacity: .72; }
.download-button img { width: 20px; height: 20px; }
.download-entry p { margin: -1px 0 0; color: #9398a9; font-size: 12px; line-height: 26px; }
.download-entry .qq-group { color: #fff; }
.platforms { height: 32px; padding: 6px 16px; border: 1px solid rgba(120, 229, 195, .16); border-radius: 16px; background: rgba(120, 229, 195, .08); color: #a3c2bf; font-size: 12px; font-weight: 700; line-height: 18px; white-space: nowrap; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.platforms:hover { border-color: rgba(120, 229, 195, .4); background: rgba(120, 229, 195, .16); color: #d8fff2; }
.platforms:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
footer { width: min(100%, 1440px); margin: 0 auto; padding: 20px 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #858997; font-size: 11px; line-height: 26px; }
footer a:hover { color: #c9d4d5; }
footer p { margin: 0; color: #666c7b; }
.toast { position: fixed; z-index: 2; left: 50%; bottom: 24px; max-width: calc(100% - 40px); padding: 11px 16px; border: 1px solid rgba(120, 229, 195, .25); border-radius: 999px; background: rgba(16, 37, 30, .96); color: #e3fbf2; font-size: 13px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 600px) {
  .hero { padding: 76px 24px 36px; gap: 22px; }
  .brand-lockup { gap: 12px; font-size: 40px; }
  .brand-lockup img { width: 54px; height: 54px; }
  h1 { font-size: 34px; line-height: 1.25; }
  .intro { max-width: 310px; font-size: 0; line-height: 1.7; }
  .intro::before { content: "把时间留给好玩的\A 在 Cuboxe，享受不被广告打断的游戏时光。"; white-space: pre; font-size: 14px; line-height: 1.7; }
  .hero-illustration { width: 342px; }
  .download-entry { width: 310px; gap: 16px; }
  footer { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .download-button, .toast { transition: none; } }
@media (min-width: 1921px) and (min-height: 1081px) {
  :root { --high-density-scale: min(calc(100vw / 1440px), calc(100dvh / 1080px)); }
  .landing-page { height: 100dvh; min-height: 0; overflow: clip; }
  .hero { width: 100%; min-height: 0; padding: calc(104px * var(--high-density-scale)) calc(24px * var(--high-density-scale)) calc(48px * var(--high-density-scale)); gap: calc(24px * var(--high-density-scale)); flex: 1 1 auto; }
  .brand-lockup { gap: calc(16px * var(--high-density-scale)); font-size: calc(56px * var(--high-density-scale)); }
  .brand-lockup img { width: calc(72px * var(--high-density-scale)); height: calc(72px * var(--high-density-scale)); }
  h1 { font-size: calc(60px * var(--high-density-scale)); }
  .intro { font-size: calc(18px * var(--high-density-scale)); }
  .hero-illustration { width: calc(540px * var(--high-density-scale)); }
  .download-entry { width: calc(320px * var(--high-density-scale)); gap: calc(20px * var(--high-density-scale)); }
  .download-button { height: calc(54px * var(--high-density-scale)); gap: calc(10px * var(--high-density-scale)); border-radius: calc(27px * var(--high-density-scale)); font-size: calc(16px * var(--high-density-scale)); }
  .download-button img { width: calc(20px * var(--high-density-scale)); height: calc(20px * var(--high-density-scale)); }
  .download-entry p { font-size: calc(12px * var(--high-density-scale)); line-height: calc(26px * var(--high-density-scale)); }
  .platforms { height: calc(32px * var(--high-density-scale)); padding: calc(6px * var(--high-density-scale)) calc(16px * var(--high-density-scale)); border-radius: calc(16px * var(--high-density-scale)); font-size: calc(12px * var(--high-density-scale)); line-height: calc(18px * var(--high-density-scale)); }
  footer { flex: 0 0 auto; width: 100%; padding: calc(20px * var(--high-density-scale)) calc(24px * var(--high-density-scale)) calc(24px * var(--high-density-scale)); gap: calc(4px * var(--high-density-scale)); font-size: calc(11px * var(--high-density-scale)); line-height: calc(26px * var(--high-density-scale)); }
}
