/* 马上开始了 · 官网预览稿（深色电竞气质改版）
   色板：void #0f1418 / paper #f5f5f7 / ink #1c1c1e / dim #8e9499
   签名：超粗斜体字标 + 右侧淡 AY 氛围标 + 玻璃下载卡。其余安静。 */

@font-face {
  font-family: "Resource Han Rounded CN";
  src: url("/assets/fonts/RHR-CN-ExtraLight-subset.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Resource Han Rounded CN";
  src: url("/assets/fonts/RHR-CN-Regular-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Resource Han Rounded CN";
  src: url("/assets/fonts/RHR-CN-Medium-subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Resource Han Rounded CN";
  src: url("/assets/fonts/RHR-CN-Bold-subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #0f1418;
  --void-2: #161c21;
  --paper: #f5f5f7;
  --ink: #1c1c1e;
  --dim: #8e9499;
  --frost: rgba(255, 255, 255, 0.96);
  --glass: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.16);
  --font: "Resource Han Rounded CN", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --measure: 68rem;
  --page: 36rem;
  --pad: 1.25rem;
  --radius: 1.15rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--void);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--paper);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 20;
  padding: 0.4rem 0.7rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-180%);
}

.skip:focus,
.skip:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
  transform: none;
}

.wrap {
  width: min(var(--measure), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.wrap-page {
  width: min(var(--page), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

/* —— 导航 —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  background: rgba(15, 20, 24, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  padding: 0.85rem 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  text-decoration: none;
}

.nav__brand:hover {
  text-decoration: none;
}

.nav__mark {
  width: 1.55rem;
  height: auto;
  color: var(--paper);
}

.nav__name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-right: -0.08em;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.2rem 0.55rem;
  color: rgba(245, 245, 247, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  border-radius: 0.4rem;
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--paper);
  text-decoration: none;
}

.nav__links a[aria-current="page"] {
  color: var(--paper);
  font-weight: 500;
}

/* —— 首页英雄 —— */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 3.6rem);
  padding: 3.25rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 18% 42%, rgba(40, 52, 62, 0.45), transparent 62%),
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(22, 30, 36, 0.9), transparent 68%),
    var(--void);
}

.hero__mark {
  position: absolute;
  right: -6%;
  top: 8%;
  width: min(58vw, 38rem);
  color: #ffffff;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 0;
  max-width: 12em;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(2.65rem, 9.2vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  transform: skewX(-8deg);
  transform-origin: left center;
}

.hero__lede {
  margin: 1.15rem 0 0;
  max-width: 22em;
  color: rgba(245, 245, 247, 0.72);
  font-weight: 200;
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.download-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.6rem;
  padding: 0.5rem 1.05rem;
  border-radius: 0.55rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
}

.btn-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  background: #3a3a3c;
  border-color: #3a3a3c;
  color: rgba(255, 255, 255, 0.86);
}

.btn-quiet {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 247, 0.78);
}

.btn-quiet:disabled,
.btn-quiet[aria-disabled="true"] {
  color: rgba(245, 245, 247, 0.7);
}

.meta {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.28rem 0.75rem;
  margin: 1rem 0 0;
  color: #6e6e73;
  font-size: 0.75rem;
  line-height: 1.5;
}

.meta div {
  display: contents;
}

.meta dt,
.meta dd {
  margin: 0;
}

.meta dd {
  overflow-wrap: anywhere;
}

.hint {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  line-height: 1.65;
}

/* —— 要点（首页第二屏，纯排版） —— */
.features {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--void-2);
}

.features__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 2rem;
  margin: 0;
}

.feature {
  margin: 0;
}

.feature h2 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--paper);
}

.feature p {
  margin: 0;
  color: var(--dim);
  font-size: 0.9375rem;
}

/* —— 页脚 —— */
.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--void);
}

.site-footer p {
  margin: 0 0 0.4rem;
  color: var(--dim);
  font-size: 0.75rem;
  line-height: 1.65;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--dim);
}

.site-footer a:hover {
  color: var(--paper);
}

/* —— 内页 —— */
.page {
  padding: 2.25rem 0 3.5rem;
}

.page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.notice {
  margin: 0 0 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notice__flag {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper);
}

.notice p {
  margin: 0;
  color: var(--dim);
  font-size: 0.9375rem;
}

.page h2 {
  margin: 2.25rem 0 0.7rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
}

.page h2:first-of-type {
  margin-top: 0;
}

.page p,
.page li {
  color: var(--paper);
}

.page p {
  margin: 0 0 0.85rem;
}

.page p .pending,
.page li .pending,
.lede-pending {
  color: var(--dim);
}

.page ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.page li {
  margin: 0 0 0.4rem;
}

.page li:last-child {
  margin-bottom: 0;
}

.dates {
  margin: 0.5rem 0 0;
}

.dates p {
  margin: 0 0 0.35rem;
  color: var(--dim);
}

.page a {
  color: var(--paper);
}

@media (min-width: 640px) {
  :root {
    --pad: 2rem;
  }

  .hero {
    padding: 4.25rem 0 5.5rem;
    display: flex;
    align-items: center;
  }

  .features__list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.75rem;
  }
}

@media (min-width: 960px) {
  .features__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.75rem;
  }

  .hero__mark {
    right: 4%;
    top: 12%;
    width: min(42vw, 36rem);
    opacity: 0.12;
  }
}

@media (max-width: 639px) {
  .hero {
    padding: 2.25rem 0 3.25rem;
    min-height: auto;
  }

  .hero__mark {
    right: -18%;
    top: auto;
    bottom: -8%;
    width: 18rem;
    opacity: 0.08;
  }

  .nav__inner {
    padding: 0.7rem 0;
  }

  .nav__links a {
    padding: 0.2rem 0.4rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 359px) {
  .nav__inner {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

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