/* WARPOLIS homepage
   Look follows the game's own UI ("Kit A"): dark smoked glass, light brushed-steel rims,
   thin gold inlay lines and ONE calm teal-cyan accent. Mobile first. */

:root {
  --bg: #0b0f14;
  --bg-2: #10151c;
  --bg-3: #161c24;
  --glass: rgba(24, 29, 36, 0.72);
  --glass-2: rgba(42, 47, 54, 0.6);
  --line: rgba(235, 233, 229, 0.1);
  --line-2: rgba(235, 233, 229, 0.18);
  --line-3: rgba(235, 233, 229, 0.3);
  --text: #ebe9e5;
  --text-2: #bcc2c9;
  --muted: #8b939d;
  --teal: #1fa8c9;
  --cyan: #35e0ff;
  --cyan-soft: rgba(53, 224, 255, 0.35);
  --gold: #efa901;
  --gold-2: #ffd25a;
  --gold-line: rgba(255, 210, 90, 0.5);
  --red: #d2243a;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hdr: 64px;
  --wrap: 1200px;
  --gut: 20px;
  --cut: 12px;
  --font-latin: "WP Latin";
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-disp: "WP Latin", "WP Display", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
:lang(ko) {
  --font-body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
  --font-disp: "WP Latin", "WP Display", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
:lang(zh-Hans) {
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-disp: "WP Latin", "WP Display", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
:lang(zh-Hant) {
  --font-body: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC", system-ui, sans-serif;
  --font-disp: "WP Latin", "WP Display", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}
@media (max-width: 480px) {
  :root { --gut: 16px; --hdr: 58px; }
}

/* ---- base ------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;   /* the site's own press look below instead of the phone's grey box */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh) body, body:lang(zh) { line-break: strict; }
img, picture, video, svg { display: block; max-width: 100%; }
/* one-column grids: a wide table or a long word must never make the page wider than the screen
   (the wider layouts below set their own columns) */
.news-grid, .world__in, .cpanel, .skills, .bento, .vip__card, .dl__card, .dl__notes, .dl__side, .steps,
.cards2, .cards3, .faq, .legal, .ftr__in { grid-template-columns: minmax(0, 1fr); }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(53, 224, 255, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }
.ic--sm { width: 14px; height: 14px; }
.display {
  font-family: var(--font-disp);
  font-weight: 800;
  font-synthesis: none;
  letter-spacing: 0.01em;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  padding: 10px 16px; background: var(--cyan); color: #001018; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- buttons --------------------------------------------------------------------------------- */
.btn {
  --chamfer: 10px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: 0.01em;
  text-decoration: none; text-align: left; white-space: nowrap;
  color: var(--text);
  background: linear-gradient(180deg, #2c323a, #1b1f25);
  border: 0; cursor: pointer;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: filter 0.2s, transform 0.18s var(--ease), background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.97); transition-duration: 0.06s; }
.btn--primary:active { filter: brightness(0.88) saturate(1.2); }
.btn--ghost:active { background: rgba(53, 224, 255, 0.16); }
/* the big bright buttons: a light runs over them now and then (each at its own time) */
.btn--primary.btn--xl::after, .sbar__btn::after, .hdr__cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0) 66%);
  transform: translateX(-130%);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--primary.btn--xl::after, .sbar__btn::after, .hdr__cta::after { animation: sweep 5.2s var(--ease) 1.6s infinite; }
  .hdr__cta::after { animation-delay: 3.4s; }
  .hero__pc::after { animation-delay: 2.3s; }
  .btn--primary.btn--xl:hover::after { animation-duration: 1.6s; animation-delay: 0s; }
}
.ic--done { display: none; }
/* a download that started: the button shows a tick for a moment (site.js) */
.btn.is-started > .ic:not(.ic--done) { display: none; }
.btn.is-started > .ic--done { display: block; animation: pop 0.35s var(--ease); }
.btn--primary.is-started { filter: saturate(0.6) hue-rotate(-38deg) brightness(1.05); }
.btn--primary {
  color: #03161d;
  background: linear-gradient(180deg, #7ff0ff 0%, #35d2f0 36%, #1fa8c9 72%, #178aa6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(0, 40, 52, 0.35);
}
.btn--primary:hover { filter: brightness(1.08) saturate(1.08); }
.btn--ghost {
  background: rgba(235, 233, 229, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(235, 233, 229, 0.12); }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: 14px; --chamfer: 8px; }
.btn--sm .ic { width: 16px; height: 16px; }
.btn--xl { min-height: 60px; padding: 12px 28px; font-size: 17px; --chamfer: 12px; }
.btn__txt { display: flex; flex-direction: column; gap: 2px; }
.btn__txt small { font-size: 12px; font-weight: 600; opacity: 0.72; letter-spacing: 0.02em; font-family: var(--font-latin), var(--font-body); }
.iconbtn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0;
  color: var(--text); background: var(--glass); border: 1px solid var(--line-2);
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
}
.iconbtn:hover { border-color: var(--cyan-soft); background: rgba(31, 168, 201, 0.12); }
.iconbtn:active, .lang__btn:active, .burger:active { transform: scale(0.92); background: rgba(31, 168, 201, 0.22); }
.iconbtn.is-copied { color: #39f29a; border-color: rgba(57, 242, 154, 0.55); background: rgba(57, 242, 154, 0.1); animation: pop 0.3s var(--ease); }
.iconbtn:disabled { opacity: 0.3; cursor: default; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cyan); font-weight: 700; text-decoration: none; font-size: 15px;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---- header ---------------------------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--hdr) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s;
}
.hdr.is-scrolled::before, .nav-open .hdr::before, .page--sub .hdr::before { opacity: 1; }
/* how far down the page you are: a thin light line under the header */
.hdr__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.hdr__bar span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-2), var(--cyan) 30%, var(--cyan)); box-shadow: 0 0 10px rgba(53, 224, 255, 0.8);
}
/* the part of the home page on screen now is lit in the menu (site.js) */
.nav__a.is-here { color: #fff; }
.nav__a.is-here::after { transform: scaleX(1); }
.nav__a:active { color: var(--cyan); transform: translateY(1px); }
.mnav__a.is-here { color: var(--cyan); }
.mnav__a:active { background: rgba(53, 224, 255, 0.08); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand__icon { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 18px rgba(53, 224, 255, 0.28); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__latin { font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: 0.18em; }
.brand__local { font-size: 12px; color: var(--gold-2); letter-spacing: 0.18em; margin-top: 3px; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; padding: 0; }
.nav__a {
  position: relative; display: block; padding: 8px 12px;
  color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: color 0.2s;
}
.nav__a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(53, 224, 255, 0));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__a:hover, .nav__a[aria-current] { color: #fff; }
.nav__a:hover::after, .nav__a[aria-current]::after { transform: scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--text-2);
}
.lang__btn:hover { color: #fff; border-color: var(--line-3); }
.lang__btn .ic { width: 17px; height: 17px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px;
  list-style: none; padding: 6px; margin: 0;
  background: rgba(14, 18, 24, 0.97); border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  animation: pop 0.18s var(--ease);
}
.lang__a { display: block; padding: 9px 12px; color: var(--text-2); text-decoration: none; font-size: 15px; }
.lang__a:hover { background: rgba(235, 233, 229, 0.07); color: #fff; }
.lang__a[aria-current] { color: var(--cyan); font-weight: 700; }
.hdr__cta { display: none; }
.burger {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 18px; height: 2px; background: var(--text); transition: transform 0.25s var(--ease), opacity 0.2s;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mnav {
  position: fixed; inset: calc(var(--hdr) + env(safe-area-inset-top)) 0 0; z-index: 49;
  overflow-y: auto; padding: 18px 0 40px;
  background: rgba(9, 12, 16, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: fadeIn 0.2s ease;
}
.mnav__list { list-style: none; padding: 0; margin: 0 0 24px; }
.mnav__a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 700; text-decoration: none; color: var(--text);
}
.mnav__a::after { content: "›"; color: var(--cyan); font-size: 24px; line-height: 1; }
.mnav__langs { display: flex; gap: 8px; list-style: none; padding: 0; flex-wrap: wrap; }
.mnav__lang { display: block; padding: 10px 14px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text-2); font-size: 15px; }
.mnav__lang[aria-current] { color: var(--cyan); border-color: var(--cyan-soft); }
.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mnav:not([hidden]) .mnav__list li { animation: infoIn 0.42s var(--ease) both; }
  .mnav__list li:nth-child(2) { animation-delay: 0.03s; }
  .mnav__list li:nth-child(3) { animation-delay: 0.06s; }
  .mnav__list li:nth-child(4) { animation-delay: 0.09s; }
  .mnav__list li:nth-child(5) { animation-delay: 0.12s; }
  .mnav__list li:nth-child(6) { animation-delay: 0.15s; }
  .mnav__list li:nth-child(7) { animation-delay: 0.18s; }
  .mnav__list li:nth-child(n + 8) { animation-delay: 0.21s; }
}
@media (min-width: 720px) {
  .hdr__cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav { display: block; }
  .hdr__tools { margin-left: 0; }
  .burger { display: none; }
  .mnav { display: none !important; }
}

/* ---- hero ------------------------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; min-height: 100vh; min-height: 100svh;
  background: #06080b;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; object-position: 70% 40%; transform-origin: 70% 40%; }   /* the gate fight */
@media (prefers-reduced-motion: no-preference) {
  .hero__pic img { animation: heroZoom 18s var(--ease) both; }
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 9, 13, 0.9) 0%, rgba(6, 9, 13, 0.62) 30%, rgba(6, 9, 13, 0.08) 58%, rgba(6, 9, 13, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 15, 20, 0.55) 14%, rgba(11, 15, 20, 0) 34%),
    linear-gradient(180deg, rgba(6, 9, 13, 0.55) 0%, rgba(6, 9, 13, 0) 20%);
}
.hero__inner {
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding-top: calc(var(--hdr) + 56px); padding-bottom: 104px;
}
.hero__top { width: 100%; max-width: 640px; container-type: inline-size; }   /* (a size container needs a set width) */
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 6px 12px 6px 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text); background: rgba(6, 9, 13, 0.5); border: 1px solid var(--line-2);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #39f29a; box-shadow: 0 0 0 0 rgba(57, 242, 154, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2s infinite; }
  .hero__kicker.is-soon .pulse { animation-name: pulseGold; }
}
/* the official server's count-down (site.js), then "open" with the green light */
.hero__kicker.is-soon .pulse { background: var(--gold-2); }
.hero__clock {
  min-width: 5.6em; font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 14px;
  font-variant-numeric: tabular-nums; letter-spacing: 0.08em; color: var(--gold-2);
}
.hero__title { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.hero__latin {
  display: block;
  font-family: var(--font-latin), var(--font-body); font-weight: 700;
  font-size: clamp(40px, 9vw, 118px); line-height: 0.88; letter-spacing: 0.05em; white-space: nowrap;
  /* brushed steel, and a glint that runs over the letters now and then */
  background:
    linear-gradient(100deg, rgba(220, 250, 255, 0) 38%, rgba(220, 250, 255, 0.95) 50%, rgba(220, 250, 255, 0) 62%) -160% 0 / 55% 100% no-repeat,
    linear-gradient(180deg, #ffffff 0%, #e8eef4 34%, #9aa6b3 56%, #c9d3dc 74%, #f4f7fa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(53, 224, 255, 0.22));
}
@media (prefers-reduced-motion: no-preference) {
  .hero__latin { animation: glint 7s var(--ease) 1.4s infinite; }
}
@supports (font-size: 1cqi) {
  .hero__latin { font-size: min(118px, 18.2cqi); }   /* "WARPOLIS" is 5.4em wide: always one line in its column */
}
.hero__local {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(20px, 2.3vw, 28px); line-height: 1; letter-spacing: 0.32em;
  color: var(--gold-2); text-shadow: 0 0 18px rgba(239, 169, 1, 0.35);
}
.hero__local::before { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, rgba(255, 210, 90, 0), var(--gold-line)); }
.hero__local::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--gold-line), rgba(255, 210, 90, 0)); }
.hero__tagline {
  margin: 26px 0 12px; font-size: clamp(22px, 2.8vw, 36px); line-height: 1.3;
  color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.hero__lead { max-width: 34em; margin: 0; color: var(--text-2); font-size: clamp(15px, 1.35vw, 18px); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
/* the words come in one after another when the page opens */
@media (prefers-reduced-motion: no-preference) {
  .hero__kicker, .hero__title, .hero__tagline, .hero__lead, .hero__cta, .hero__badges { animation: heroIn 0.9s var(--ease) both; }
  .hero__title { animation-delay: 0.08s; }
  .hero__tagline { animation-delay: 0.2s; }
  .hero__lead { animation-delay: 0.28s; }
  .hero__cta { animation-delay: 0.36s; }
  .hero__badges { animation-delay: 0.46s; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* the film button: a round play mark in front of the words */
.hero__filmic {
  display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; margin-left: -8px; border-radius: 50%;
  color: var(--cyan); background: rgba(53, 224, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(53, 224, 255, 0.55), 0 0 18px rgba(53, 224, 255, 0.25);
  transition: background-color 0.2s, color 0.2s;
}
.hero__filmic .ic { width: 14px; height: 14px; margin-left: 2px; }
.hero__film:hover .hero__filmic { color: #03161d; background: var(--cyan); }
/* play marks send out a ring now and then: "this one moves" */
.hero__filmic, .play { position: relative; }
.hero__filmic::after, .play::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(53, 224, 255, 0.65); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__filmic::after, .play::after { animation: ring 2.6s var(--ease) 1s infinite; }
}
/* PCs: the PC build first and bright, the phone app beside it in glass */
@media (hover: hover) and (pointer: fine) {
  .hero__pc { order: -1; }
  .hero__apk--alt {
    color: var(--text); background: rgba(235, 233, 229, 0.06); box-shadow: inset 0 0 0 1px var(--line-3);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .hero__apk--alt:hover { filter: none; background: rgba(235, 233, 229, 0.12); }
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 18px 0 0; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.hero__badges li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(235, 233, 229, 0.5); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll span { animation: wheel 1.8s var(--ease) infinite; }
}
/* tall phone screens: the name on top, the gate fight in the middle with no words over it, the words and buttons
   below the picture (the guild name tags of the real game screen made the words hard to read over them) */
@media (max-aspect-ratio: 3/4) {
  .hero__media { top: 12%; bottom: 17%; }   /* the picture as a band: its name tags start just under the title */
  .hero__pic img { object-position: 50% 50%; transform-origin: 50% 40%; }
  .hero__veil {
    background:
      linear-gradient(180deg, #06080b 0%, #06080b 12%, rgba(6, 9, 13, 0.55) 17%, rgba(6, 9, 13, 0) 25%),
      linear-gradient(0deg, var(--bg) 0%, var(--bg) 17%, rgba(11, 15, 20, 0.9) 29%, rgba(11, 15, 20, 0.55) 39%, rgba(11, 15, 20, 0) 50%);
  }
  .hero__lead { color: var(--text); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 1px 16px rgba(0, 0, 0, 0.85); }
  .hero__inner {
    container-type: inline-size; justify-content: flex-start; gap: 0; text-align: center;
    padding-top: calc(var(--hdr) + env(safe-area-inset-top) + 18px); padding-bottom: 34px;
  }
  .hero__top { display: contents; }   /* its parts join the column: name on top, the rest pushed to the bottom */
  .hero__kicker { align-self: center; margin-bottom: 16px; }
  .hero__title { align-items: center; }
  .hero__tagline { margin: auto 0 10px; padding-top: 24px; }
  .hero__lead { margin: 0 auto 22px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__scroll { display: none; }
}
@media (max-aspect-ratio: 3/4) and (max-height: 700px) {
  .hero__lead { display: none; }
}

/* ---- sections ---------------------------------------------------------------------------------- */
.sec { position: relative; padding-block: clamp(56px, 7vw, 100px); }
.sec--tight { padding-block: clamp(36px, 5vw, 64px); }
.sec + .sec::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1200px, 90vw); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(235, 233, 229, 0), var(--line-2), rgba(235, 233, 229, 0));
}
.sec__hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.34em;
  color: var(--cyan);
}
.kicker::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold-2), rgba(255, 210, 90, 0)); }
.sec__title { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.12; }
.sec__lead { max-width: 30em; margin: 0; color: var(--text-2); font-size: clamp(15px, 1.3vw, 17px); }
.sub-title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }

/* ---- news ------------------------------------------------------------------------------------ */
.news-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card {
  position: relative;
  background: linear-gradient(180deg, rgba(42, 47, 54, 0.5), rgba(22, 26, 32, 0.6));
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.3s var(--ease), background-color 0.25s;
}
.news-card::before, .card::before, .tile::before, .dl__card::before, .vip__card::before, .nfeat::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px; pointer-events: none;
  border-top: 2px solid var(--gold-2); border-left: 2px solid var(--gold-2); z-index: 2;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), filter 0.4s;
}
/* hover: the gold corner reaches further and glows */
.news-card:hover::before, .card:hover::before, .tile:hover::before, .dl__card:hover::before, .vip__card:hover::before, .nfeat:hover::before {
  width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(255, 210, 90, 0.8));
}
.news-card:hover { border-color: var(--cyan-soft); transform: translateY(-3px); }
.news-card__link { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px 22px 20px; color: inherit; text-decoration: none; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-family: var(--font-latin), var(--font-body); letter-spacing: 0.04em; margin: 0; }
.news-card__title { font-size: 18px; line-height: 1.45; font-weight: 700; }
.news-card__sum { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 14px; font-weight: 700; }
.news-card__more .ic { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.news-card:hover .news-card__more .ic { transform: translateX(4px); }
.chip {
  display: inline-flex; align-items: center; padding: 3px 9px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.4;
  color: var(--cyan); border: 1px solid currentColor;
}
.chip--notice { color: var(--gold-2); }
.chip--event { color: #ff8aa0; }
.chip--maintenance { color: var(--text-2); }
/* home: one big news card with a real game picture, the next ones as rows */
.nhome { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 960px) { .nhome { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: stretch; } }
.nfeat {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(70% 90% at 100% 0%, rgba(31, 168, 201, 0.16), rgba(31, 168, 201, 0) 60%), linear-gradient(160deg, #1a1f26, #0e1217);
  border: 1px solid var(--line-2); transition: border-color 0.25s;
}
.nfeat:hover { border-color: var(--cyan-soft); }
.nfeat__a { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 220px; color: inherit; text-decoration: none; }
.nfeat--pic .nfeat__a { min-height: clamp(300px, 32vw, 400px); }
.nfeat__media { position: absolute; inset: 0; z-index: -1; }
.nfeat__media picture, .nfeat__media img { width: 100%; height: 100%; object-fit: cover; }
.nfeat__media img { transition: transform 1.2s var(--ease); }
.nfeat:hover .nfeat__media img { transform: scale(1.04); }
.nfeat__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 15, 0.97) 0%, rgba(8, 11, 15, 0.78) 34%, rgba(8, 11, 15, 0.12) 72%, rgba(8, 11, 15, 0) 100%);
}
.nfeat__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(20px, 3vw, 32px); }
.nfeat .news-card__meta { color: var(--text-2); }
.nfeat__title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; font-weight: 800; text-wrap: balance; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.nfeat__sum { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85); }
.nfeat:hover .news-card__more .ic { transform: translateX(4px); }
.nlist { display: grid; align-content: start; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.nrow {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "chip date" "title title"; align-items: center;
  gap: 8px 10px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: background-color 0.2s;
}
.nrow:hover { background: rgba(235, 233, 229, 0.03); }
.nrow .chip { grid-area: chip; justify-self: start; }
.nrow__d { grid-area: date; font-size: 13px; color: var(--muted); font-family: var(--font-latin), var(--font-body); letter-spacing: 0.04em; }
.nrow__t {
  grid-area: title; font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s;
}
.nrow:hover .nrow__t { color: var(--cyan); }

/* ---- world ----------------------------------------------------------------------------------- */
.world { overflow: hidden; isolation: isolate; }
.world__bg { position: absolute; inset: 0; z-index: -1; }
.world__bg picture, .world__bg img { width: 100%; height: 100%; object-fit: cover; }
.world__bg img { opacity: 0.6; }
.world__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 15, 20, 0.35) 26%, rgba(11, 15, 20, 0.35) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 15, 20, 0.92) 0%, rgba(11, 15, 20, 0.55) 46%, rgba(11, 15, 20, 0.15) 100%);
}
.world__in { display: grid; gap: 40px; }
.world__text p:not(.kicker) { max-width: 34em; color: var(--text-2); font-size: clamp(15px, 1.3vw, 18px); }
.world__text .sec__title { margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px;
  padding: 20px 20px 18px;
  background: rgba(14, 18, 24, 0.66); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stat dd {
  margin: 0; display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-latin), var(--font-body); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1;
  background: linear-gradient(180deg, #ffffff 20%, #8fdcef 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat dd small { font-size: 0.4em; }
.stat dt { color: var(--text-2); font-size: 14px; letter-spacing: 0.04em; }
@media (min-width: 960px) {
  .world__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; }
}

/* ---- classes --------------------------------------------------------------------------------- */
.classes { background: radial-gradient(55% 45% at 28% 55%, rgba(31, 168, 201, 0.1), rgba(31, 168, 201, 0) 70%); }
.ctabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(20px, 3vw, 36px); }
.ctab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; cursor: pointer;
  color: var(--text-2); background: var(--glass); border: 1px solid var(--line);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.ctab:hover { border-color: var(--line-3); color: #fff; }
.ctab__face {
  display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: #1b2028; box-shadow: 0 0 0 1px var(--line-2);
  transition: box-shadow 0.3s;
}
.ctab__pic, .ctab__pic img { width: 100%; height: 100%; }
.ctab__pic img { object-fit: cover; object-position: 50% 0%; transform: scale(1.55); transform-origin: 50% 12%; }
.ctab__name { font-size: 17px; line-height: 1.2; }
.ctab__en { font-family: var(--font-latin), var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--muted); }
.ctab[aria-selected="true"] { color: #fff; border-color: rgba(53, 224, 255, 0.55); background: linear-gradient(180deg, rgba(31, 168, 201, 0.2), rgba(22, 27, 34, 0.85)); }
.ctab[aria-selected="true"] .ctab__face { box-shadow: 0 0 0 2px var(--cyan), 0 0 22px rgba(53, 224, 255, 0.5); }
.ctab[aria-selected="true"] .ctab__en { color: var(--cyan); }
.ctab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 40%; height: 2px; transform: translateX(-50%);
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.ctab { transition: border-color 0.25s, color 0.25s, background-color 0.25s, transform 0.15s var(--ease); }
.ctab:active { transform: scale(0.96); }
.ctab:hover .ctab__face { box-shadow: 0 0 0 1px var(--cyan-soft), 0 0 14px rgba(53, 224, 255, 0.3); }
@media (prefers-reduced-motion: no-preference) {
  .ctab[aria-selected="true"] .ctab__face { animation: facePulse 2.6s ease-in-out infinite; }
}
.gsw__b:active { transform: scale(0.93); }
@media (max-width: 520px) {
  .ctab__face { width: 50px; height: 50px; }
  .ctab__en { display: none; }
  .ctab__name { font-size: 15px; }
}
.cpanel { display: grid; gap: 18px; align-items: center; outline: none; }
.cpanel__art { position: relative; width: 100%; max-width: 600px; margin-inline: auto; isolation: isolate; }
.cpanel__art::before {
  content: ""; position: absolute; inset: 12% 4% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 224, 255, 0.22), rgba(53, 224, 255, 0));
  filter: blur(26px);
}
/* a real game screen of the class in a fight (960x720, never enlarged past the game's own pixels on PCs);
   the man / woman switch shows the other one */
.cshot { position: relative; background: #0b0f14; border: 1px solid var(--line-2); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55); }
.cshot[hidden] { display: none; }
.cshot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 -70px 60px -50px rgba(6, 9, 13, 0.7);
}
.cshot__pic, .cshot__pic img { display: block; width: 100%; height: auto; }
.gsw {
  position: absolute; top: 12px; right: 12px; z-index: 1; display: none;
  background: rgba(6, 9, 13, 0.74); border: 1px solid var(--line-2);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.js .gsw { display: flex; }
.gsw__b {
  min-width: 56px; min-height: 40px; padding: 0 14px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--text-2); background: none; border: 0;
  transition: color 0.2s, background-color 0.2s;
}
.gsw__b:hover { color: #fff; }
.gsw__b[aria-pressed="true"] { color: #06080b; background: var(--cyan); }
.cpanel__en { margin: 0 0 6px; font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.32em; color: var(--cyan); }
.cpanel__name { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.05; margin-bottom: 12px; }
.cpanel__tag {
  display: inline-block; margin: 0 0 18px; padding: 4px 12px;
  border: 1px solid var(--gold-line); color: var(--gold-2); background: rgba(239, 169, 1, 0.06);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em;
}
.cpanel__desc { max-width: 32em; color: var(--text-2); font-size: clamp(15px, 1.3vw, 17px); }
.cpanel__sub { margin: 26px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.skills { display: grid; gap: 8px; list-style: none; padding: 0; }
.skills li {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: linear-gradient(90deg, rgba(31, 168, 201, 0.1), rgba(235, 233, 229, 0.02));
  border-left: 2px solid var(--cyan); font-weight: 700; font-size: 15.5px;
}
.skills li::before { content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-2); box-shadow: 0 0 10px rgba(255, 210, 90, 0.7); }
.classes__common {
  display: flex; align-items: flex-start; gap: 10px; margin: clamp(24px, 4vw, 40px) 0 0; padding: 14px 18px;
  background: var(--glass); border: 1px solid var(--line); color: var(--text-2); font-size: 15px;
}
.classes__common .ic { color: var(--gold-2); margin-top: 3px; }
.classes__common b { color: #fff; margin-right: 6px; }
@media (min-width: 900px) {
  .cpanel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .cpanel.is-shown .cshot:not([hidden]) { animation: artIn 0.8s var(--ease) both; }
  .js .cpanel.is-shown .cpanel__info > * { animation: infoIn 0.6s var(--ease) both; }
  .js .cpanel.is-shown .cpanel__info > :nth-child(2) { animation-delay: 0.05s; }
  .js .cpanel.is-shown .cpanel__info > :nth-child(3) { animation-delay: 0.1s; }
  .js .cpanel.is-shown .cpanel__info > :nth-child(4) { animation-delay: 0.15s; }
  .js .cpanel.is-shown .cpanel__info > :nth-child(n + 5) { animation-delay: 0.2s; }
}

/* ---- features (bento) ------------------------------------------------------------------------- */
.bento { display: grid; gap: 12px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 220px;
  background: linear-gradient(160deg, rgba(42, 47, 54, 0.72), rgba(15, 19, 25, 0.92));
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.tile:hover { border-color: var(--line-3); }
.tile__bg { position: absolute; inset: 0; z-index: -1; }
.tile__bg picture, .tile__bg img { width: 100%; height: 100%; object-fit: cover; }
.tile__bg img { opacity: 0.5; transition: transform 1.2s var(--ease), opacity 0.4s; }
.tile:hover .tile__bg img { transform: scale(1.05); opacity: 0.62; }
.tile__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 12, 16, 0.96) 12%, rgba(9, 12, 16, 0.55) 55%, rgba(9, 12, 16, 0.2) 100%); }
.tile__body { position: relative; padding: 24px; }
/* the game's own looks in a row (transformed forms, E-BODY figures) */
.tile--figs { flex-direction: column; align-items: stretch; justify-content: flex-end; }
.tile__figs {
  flex: 1 1 auto; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2.4vw, 30px);
  padding: 28px 18px 0;
}
.tile__figs picture { flex: 0 1 auto; min-width: 0; }
.tile__figs img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 200px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6));
}
.tile--ebody .tile__figs img { max-height: 240px; }
@media (max-width: 639px) {
  .tile__figs { padding-inline: 10px; }
  .tile__figs img { max-height: 110px; }
  .tile--ebody .tile__figs img { max-height: 170px; }
}
.tile__icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px;
  color: var(--cyan); background: rgba(31, 168, 201, 0.1); border: 1px solid rgba(53, 224, 255, 0.32);
}
.tile__big {
  margin: 0 0 6px; font-family: var(--font-latin), var(--font-body); font-weight: 700;
  font-size: clamp(60px, 8vw, 112px); line-height: 0.9; letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 10%, #6fdcf5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile__title { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 8px; text-wrap: balance; }
.tile__desc { margin: 0; max-width: 34em; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.tile--transform {
  background:
    radial-gradient(70% 60% at 78% 22%, rgba(31, 168, 201, 0.28), rgba(31, 168, 201, 0) 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(239, 169, 1, 0.12), rgba(239, 169, 1, 0) 70%),
    linear-gradient(160deg, #1c232c, #0d1116);
}
.tile--translate { background: radial-gradient(80% 80% at 100% 0%, rgba(239, 169, 1, 0.14), rgba(239, 169, 1, 0) 65%), linear-gradient(160deg, #1d2229, #0f1318); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { padding: 8px 14px; font-size: 14px; color: var(--text-2); background: rgba(235, 233, 229, 0.03); border: 1px solid var(--line-2); }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--transform { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, auto);
    grid-template-areas: "tr tr fo fo" "tr tr bo tl" "gu ex eb eb";
  }
  .tile--transform { grid-area: tr; }
  .tile--fortress { grid-area: fo; }
  .tile--boss { grid-area: bo; }
  .tile--translate { grid-area: tl; }
  .tile--guild { grid-area: gu; }
  .tile--exchange { grid-area: ex; }
  .tile--ebody { grid-area: eb; }
  .tile--transform .tile__body { padding: 36px; }
  .tile--ebody { flex-direction: row; align-items: center; }
  .tile--ebody .tile__figs { flex: 0 0 auto; padding: 18px 0 18px 26px; }
  .tile--ebody .tile__figs img { max-height: 210px; }
  .tile--ebody .tile__body { flex: 1 1 auto; min-width: 0; }
  .tile--transform .tile__big { font-size: clamp(120px, 13vw, 190px); }
}

/* ---- server settings (服务器设置) --------------------------------------------------------------- */
.spec { display: grid; gap: 12px; }
.spec__group {
  padding: 20px 22px 8px;
  background: linear-gradient(160deg, rgba(42, 47, 54, 0.6), rgba(15, 19, 25, 0.92));
  border: 1px solid var(--line);
}
.spec__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.spec__title .ic { width: 20px; height: 20px; color: var(--cyan); }
.spec__list { margin: 0; }
.spec__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.spec__row:first-child { border-top: 0; }
.spec__row dt { flex: 0 0 auto; max-width: 46%; color: var(--text-2); font-size: 15px; }
.spec__row dd { flex: 1 1 auto; min-width: 0; margin: 0; text-align: right; color: #fff; font-weight: 700; font-size: 16px; }
.spec__row dd small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-size: 13px; line-height: 1.45; }
.spec__asof { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.spec__asof .ic { flex: 0 0 auto; }
.spec__asof + .link-arrow { display: inline-flex; margin-top: 12px; }
/* home: the 8 key numbers */
.keyset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.keyset__i {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 16px;
  background: linear-gradient(160deg, rgba(42, 47, 54, 0.6), rgba(15, 19, 25, 0.92));
  border: 1px solid var(--line);
}
.keyset__v {
  font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 10%, #6fdcf5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.keyset__k { margin-top: 6px; font-weight: 700; font-size: 15px; }
.keyset__n { color: var(--muted); font-size: 13px; line-height: 1.45; }
.server__more { margin-top: 18px; }
@media (min-width: 900px) { .keyset { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 760px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the other server (倍率删档服): only how it differs, in gold, across the whole width */
.spec__group--other {
  border-color: rgba(255, 210, 90, 0.3);
  background: linear-gradient(160deg, rgba(239, 169, 1, 0.09), rgba(15, 19, 25, 0.92) 60%);
}
.spec__group--other .spec__title .ic { color: var(--gold-2); }
@media (min-width: 760px) { .spec__group--other { grid-column: 1 / -1; } }

/* ---- VIP ------------------------------------------------------------------------------------- */
.vip__card {
  position: relative; display: grid; gap: 28px; padding: clamp(26px, 5vw, 56px);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(239, 169, 1, 0.16), rgba(239, 169, 1, 0) 60%),
    linear-gradient(160deg, #1e2229, #111419);
  border: 1px solid rgba(255, 210, 90, 0.26);
}
.vip__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px 6px 10px;
  font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.22em;
  color: #1c1400; background: linear-gradient(180deg, #ffe7a3, #f2b62a 60%, #d69300);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vip__badge .ic { width: 18px; height: 18px; }
.vip__lead { margin: 16px 0 0; max-width: 30em; color: var(--text-2); font-size: clamp(15px, 1.3vw, 17px); }
.vip__perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; align-content: center; }
.vip__perks li {
  display: flex; align-items: center; gap: 10px; padding: 16px 14px;
  background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 210, 90, 0.18);
  font-weight: 700; font-size: 15px;
}
.vip__perks .ic { color: var(--gold-2); }
.vip__note {
  display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 18px;
  border-top: 1px solid rgba(255, 210, 90, 0.18); color: var(--gold-2); font-weight: 700;
}
@media (min-width: 900px) {
  .vip__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; column-gap: 56px; }
  .vip__note { grid-column: 1 / -1; }
}

/* ---- gallery --------------------------------------------------------------------------------- */
.gallery__lead { margin-top: -24px; margin-bottom: 28px; }
.rail__nav { display: flex; gap: 8px; }
.rail { position: relative; }
.rail__track {
  --pad: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 14px; list-style: none; margin: 0;
  padding: 4px var(--pad) 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 min(86vw, 560px); scroll-snap-align: start; }
.rail__a { position: relative; display: block; aspect-ratio: 1140 / 540; overflow: hidden; background: #000; border: 1px solid var(--line-2); color: #fff; text-decoration: none; }
.rail__a picture, .rail__a img { width: 100%; height: 100%; object-fit: cover; }
.rail__a img { transition: transform 0.7s var(--ease); }
.rail__a:hover img { transform: scale(1.04); }
.rail__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px;
  padding: 36px 16px 12px; font-size: 14.5px; font-weight: 700;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}
.rail__cap .ic { color: var(--cyan); }
.play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  background: rgba(8, 11, 15, 0.55); border: 1.5px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 0 30px rgba(53, 224, 255, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.play .ic { width: 28px; height: 28px; margin-left: 4px; }
.rail__a:hover .play { transform: scale(1.08); background: rgba(31, 168, 201, 0.55); }
.rail__a { transition: transform 0.18s var(--ease), border-color 0.25s; }
.rail__a:hover { border-color: var(--cyan-soft); }
.rail__a:active { transform: scale(0.985); }
/* where you are in the row of pictures: one lit diamond per picture (site.js) */
.rail__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin-top: 2px; padding-inline: var(--gut); }
.rail__dot { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.rail__dot::before {
  content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--line-3);
  transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.rail__dot:hover::before { background: var(--text-2); }
.rail__dot.is-on::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transform: rotate(45deg) scale(1.35); }

/* ---- download -------------------------------------------------------------------------------- */
.dl__card {
  position: relative; display: grid; gap: 32px; padding: clamp(24px, 5vw, 56px);
  background:
    radial-gradient(60% 100% at 0% 0%, rgba(31, 168, 201, 0.18), rgba(31, 168, 201, 0) 60%),
    linear-gradient(160deg, #1a1f26, #0e1217);
  border: 1px solid rgba(53, 224, 255, 0.22);
}
.dl__icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 34px rgba(53, 224, 255, 0.32); }
.dl__lead { margin: 14px 0 24px; color: var(--text-2); font-size: clamp(15px, 1.3vw, 17px); }
.dl__btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* PC build (download page): the button only where there is a mouse; phones and tablets get a note instead */
.pcdl__lead { margin: 10px 0 20px; max-width: 760px; color: var(--text-2); }
.pcdl__phone { display: none; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; color: var(--text-2); }
.pcdl__phone .ic { flex: none; width: 18px; height: 18px; color: var(--cyan); }
.pcdl__side { display: grid; gap: 16px; max-width: 760px; margin-top: 22px; }
.pcdl .dl__btns { margin-bottom: 24px; }
.pcdl__tag { margin-left: 12px; vertical-align: middle; position: relative; top: -0.15em; }
.pcdl__notes { max-width: 760px; }
.pcdl__notes .ic { flex: none; }
@media (hover: none) and (pointer: coarse) {
  .dl__pc { display: none; }
  .pcdl__phone { display: flex; }
}
.dl__notes { display: grid; gap: 8px; list-style: none; padding: 0; margin: 22px 0; font-size: 14.5px; color: var(--text-2); }
.dl__notes li { display: flex; gap: 10px; align-items: flex-start; }
.dl__notes .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan); }
.dl__side { display: grid; gap: 16px; align-content: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.facts div { padding: 12px 14px; background: #10141a; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-family: var(--font-latin), var(--font-body); letter-spacing: 0.02em; }
.qr { display: flex; align-items: center; gap: 16px; margin: 0; padding: 16px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.qr img { width: 112px; height: 112px; flex: none; background: #fff; }
.qr figcaption { font-size: 14px; color: var(--text-2); }
.is-android .qr--dl, .is-ios .qr--dl { display: none; }
.sha__label { margin: 0 0 6px; font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); }
.sha__label span { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.sha__row { display: flex; gap: 8px; }
.sha__val {
  flex: 1; min-width: 0; padding: 10px 12px; overflow-wrap: anywhere;
  font: 12.5px/1.5 var(--font-mono); color: #bdf3ff; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line);
}
.sha .iconbtn { height: auto; min-height: 44px; }
@media (min-width: 900px) {
  .dl__card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; column-gap: 48px; }
}
.steps { display: grid; gap: 12px; list-style: none; padding: 0; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step; display: flex; flex-direction: column; gap: 6px;
  padding: 54px 20px 22px; background: var(--glass); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 16px; left: 20px;
  font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; color: var(--cyan);
}
.steps b { font-size: 17px; }
.steps span { color: var(--text-2); font-size: 15px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- support cards ---------------------------------------------------------------------- */
.cards2, .cards3 { display: grid; gap: 14px; }
@media (min-width: 860px) {
  .cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px;
  padding: clamp(22px, 3.4vw, 34px);
  background: linear-gradient(160deg, rgba(42, 47, 54, 0.6), rgba(16, 20, 26, 0.85));
  border: 1px solid var(--line);
}
.card__body { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; }
.card__title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card .btn { margin-top: auto; }

/* ---- FAQ ------------------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq__item { background: var(--glass); border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s; interpolate-size: allow-keywords; }
.faq__item:hover { border-color: var(--line-2); }
.faq__item[open] { border-color: var(--cyan-soft); box-shadow: inset 2px 0 0 var(--cyan); }
.faq__item > summary { transition: background-color 0.2s, color 0.2s; }
.faq__item > summary:active { background: rgba(53, 224, 255, 0.07); }
.faq__item[open] > summary { color: #fff; }
/* the answer slides open (browsers that can; the rest open it at once) */
@supports selector(::details-content) {
  .faq__item::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__a { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--cyan); }
.faq__more { margin-top: 22px; }
/* home FAQ: on PCs the heading stays on the left while the answers open on the right */
.faq-sec__lead { margin: -8px 0 0; }
.faq-sec__hd .faq__more { display: none; }
@media (min-width: 960px) {
  .faq-sec__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 64px; align-items: start; }
  .faq-sec__hd { position: sticky; top: calc(var(--hdr) + 32px); }
  .faq-sec__hd .faq__more { display: inline-flex; }
  .faq-sec__in > .faq__more { display: none; }
  .faq-sec .faq { max-width: none; }
}
.faq-sec__in > .faq { margin-top: 28px; }
@media (min-width: 960px) { .faq-sec__in > .faq { margin-top: 0; } }

/* ---- sub pages ------------------------------------------------------------------------------- */
.phead {
  position: relative; padding: calc(var(--hdr) + env(safe-area-inset-top) + clamp(40px, 6vw, 72px)) 0 clamp(32px, 4vw, 48px);
  background:
    radial-gradient(60% 140% at 15% 0%, rgba(31, 168, 201, 0.16), rgba(31, 168, 201, 0) 60%),
    linear-gradient(180deg, #0f141b, var(--bg));
  border-bottom: 1px solid var(--line);
}
.phead__title { font-size: clamp(34px, 5vw, 58px); line-height: 1.1; }
.phead__title--article { font-family: var(--font-body); font-weight: 800; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; margin-top: 14px; max-width: 26em; }
.phead__lead { margin: 14px 0 0; max-width: 40em; color: var(--text-2); font-size: clamp(15px, 1.3vw, 17px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 48px 0 28px; max-width: 760px; }
.pager__a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--glass); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pager__a small { color: var(--muted); font-size: 12.5px; }
.pager__a span { font-weight: 700; font-size: 15px; line-height: 1.45; }
.pager__a--next { text-align: right; }
.pager__a:hover { border-color: var(--cyan-soft); }
.prose { max-width: 780px; font-size: 16px; line-height: 1.85; color: var(--text-2); }
.prose h2 { margin: 2.2em 0 0.7em; padding-top: 1.2em; border-top: 1px solid var(--line); color: #fff; font-size: 21px; line-height: 1.4; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: 1.7em 0 0.5em; color: #fff; font-size: 17.5px; }
.prose h4 { margin: 1.4em 0 0.4em; color: #fff; font-size: 16px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.3em 0; }
.prose a { color: var(--cyan); }
.prose strong { color: #fff; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.prose th, .prose td { padding: 10px 12px; text-align: left; vertical-align: top; border: 1px solid var(--line-2); }
.prose th { background: rgba(235, 233, 229, 0.06); color: #fff; font-weight: 700; }
/* phones: each table row becomes a small card, every value with its column name above it */
@media (max-width: 560px) {
  .table-wrap { overflow: visible; }
  .prose table { min-width: 0; border: 0; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose tr { margin-bottom: 10px; border: 1px solid var(--line-2); background: rgba(235, 233, 229, 0.03); }
  .prose td { padding: 8px 14px; border: 0; border-top: 1px solid var(--line); }
  .prose td:first-child { border-top: 0; color: #fff; font-weight: 700; background: rgba(235, 233, 229, 0.05); }
  .prose td:not(:first-child) { display: grid; grid-template-columns: minmax(76px, 32%) minmax(0, 1fr); gap: 12px; }
  .prose td:not(:first-child)::before { content: attr(data-label); font-size: 13px; color: var(--muted); }
  .prose td:empty { display: none; }
}
.note { margin: 1.4em 0; padding: 14px 18px; background: rgba(255, 210, 90, 0.06); border-left: 3px solid var(--gold-2); color: var(--text); }
.legal { display: grid; gap: 32px; }
.legal__nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.legal__nav a { display: block; padding: 8px 14px; font-size: 14.5px; color: var(--text-2); text-decoration: none; background: var(--glass); border: 1px solid var(--line); }
.legal__nav a[aria-current] { color: #fff; border-color: var(--cyan-soft); background: rgba(31, 168, 201, 0.12); }
@media (min-width: 1000px) {
  .legal { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 56px; }
  .legal__nav { position: sticky; top: calc(var(--hdr) + 24px); }
  .legal__nav ul { flex-direction: column; }
}

/* ---- footer ---------------------------------------------------------------------------------- */
.ftr { padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); background: #07090c; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ftr__in { display: grid; gap: 20px; }
.ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.brand--ftr .brand__icon { width: 40px; height: 40px; }
.ftr__langs { display: flex; gap: 6px; list-style: none; padding: 0; }
.ftr__lang { display: block; padding: 6px 10px; color: var(--text-2); text-decoration: none; border: 1px solid var(--line); font-size: 13.5px; }
.ftr__lang[aria-current] { color: var(--cyan); border-color: var(--cyan-soft); }
.ftr__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; }
.ftr__legal a { color: var(--text-2); text-decoration: none; }
.ftr__legal a:hover { color: #fff; text-decoration: underline; }
.ftr__legal a.is-strong { color: #fff; font-weight: 700; }
.ftr__biz { margin: 0; line-height: 1.9; }
.ftr__biz .sep { margin: 0 10px; opacity: 0.4; }
.ftr__note, .ftr__copy { margin: 0; }
.ftr__copy { font-family: var(--font-latin), var(--font-body); letter-spacing: 0.04em; font-size: 13px; }

/* ---- overlays -------------------------------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--text); background: rgba(4, 6, 9, 0.96);
}
.lb[open] { display: block; animation: fadeIn 0.2s ease; }
.lb::backdrop { background: rgba(0, 0, 0, 0.7); }
.lb__stage { position: absolute; inset: 64px 12px 72px; display: grid; place-items: center; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7); background: #000; }
@media (prefers-reduced-motion: no-preference) {
  .lb__stage:not(.is-loading) img, .lb__stage:not(.is-loading) video { animation: lbIn 0.35s var(--ease); }
}
/* still loading: a turning ring in the middle (site.js takes it away when the picture / film is there) */
.lb__stage.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.14); border-top-color: var(--cyan); animation: spin 0.8s linear infinite;
}
.lb__stage.is-loading img, .lb__stage.is-loading video { opacity: 0; }
.lb__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lb__prev, .lb__next { position: absolute; top: 50%; margin-top: -22px; }
.lb__prev { left: 12px; }
.lb__next { right: 12px; }
.lb__bar { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-weight: 700; font-size: 15px; }
.lb__count { margin-left: 10px; color: var(--muted); font-family: var(--font-latin), var(--font-body); font-weight: 700; }
.inapp-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; gap: 10px; padding: 12px 12px 12px 14px;
  background: rgba(16, 20, 27, 0.97); border: 1px solid rgba(255, 210, 90, 0.45);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55); font-size: 14px; line-height: 1.45;
}
.inapp-bar .ic { color: var(--gold-2); }
.inapp-bar span { flex: 1; }
.inapp-bar__btn { flex: none; padding: 8px 12px; border: 0; background: var(--gold-2); color: #1a1200; font-weight: 800; cursor: pointer; }
.is-inapp .inapp-bar { display: flex; }
.is-inapp .totop { bottom: calc(86px + env(safe-area-inset-bottom)); }
.guide {
  position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; align-items: flex-end;
  padding: max(10px, env(safe-area-inset-top)) 18px 24px;
  background: rgba(4, 6, 9, 0.94); animation: fadeIn 0.2s ease;
}
.guide__arrow { color: var(--gold-2); margin-right: 4px; }
.guide__arrow .ic { width: 84px; height: 84px; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .guide__arrow { animation: nudge 1.2s var(--ease) infinite; }
}
.guide__box { align-self: stretch; max-width: 460px; margin: 24px auto 0; padding: 24px; background: #11161d; border: 1px solid rgba(255, 210, 90, 0.4); }
.guide__title { font-size: 24px; margin-bottom: 14px; color: #fff; }
.guide__steps { padding-left: 1.3em; margin: 0 0 20px; color: var(--text-2); font-size: 16px; line-height: 1.8; }
.guide__steps b { color: var(--gold-2); }
.guide__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 130;
  width: max-content; max-width: min(92vw, 520px); padding: 13px 18px;   /* (max-content: not squeezed into half the screen by left: 50%) */
  background: rgba(14, 19, 26, 0.97); border: 1px solid var(--cyan-soft); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  font-size: 15px; line-height: 1.55; opacity: 0; transform: translate(-50%, 16px); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.is-inapp .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
.totop {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 46px; height: 46px;
  color: var(--text); background: rgba(16, 20, 27, 0.85); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { border-color: var(--cyan-soft); color: var(--cyan); }
/* Android phones: the APK bar at the bottom (site.js shows it while no other download button is in sight) */
.sbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; gap: 12px;
  padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(9, 12, 16, 0.9); border-top: 1px solid rgba(53, 224, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45);
}
@media (prefers-reduced-motion: no-preference) {
  .sbar { animation: sbarIn 0.35s var(--ease); }
}
.sbar__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 16px rgba(53, 224, 255, 0.25); }
.sbar__btn { flex: 1 1 auto; min-width: 0; min-height: 48px; justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .sbar { display: none !important; }
}
.is-ios .sbar, .is-inapp .sbar, .nav-open .sbar { display: none !important; }
.has-sbar .totop { bottom: calc(82px + env(safe-area-inset-bottom)); }
.has-sbar .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }

/* ---- language chooser + 404 ------------------------------------------------------------------- */
.root { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 24px; text-align: center; isolation: isolate; }   /* (own layer: the picture behind is not hidden by the page colour) */
.root__bg { position: fixed; inset: 0; z-index: -1; }
.root__bg picture, .root__bg img { width: 100%; height: 100%; object-fit: cover; }
.root__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(8, 11, 15, 0.55), rgba(8, 11, 15, 0.92)); }
.root__main { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; max-width: 420px; }
.root__icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 40px rgba(53, 224, 255, 0.35); }
.root__title { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.root__title .hero__latin { font-size: clamp(48px, 13vw, 84px); }
.root__names { display: flex; gap: 14px; color: var(--gold-2); font-size: 17px; letter-spacing: 0.2em; font-weight: 700; }
.root__langs { display: grid; gap: 10px; width: 100%; list-style: none; padding: 0; margin-top: 8px; }
.root__langs .btn { width: 100%; justify-content: space-between; }
.root--404 .root__main { gap: 16px; }
.nf__code { margin: 0; font-family: var(--font-latin), var(--font-body); font-weight: 700; font-size: 96px; line-height: 1; color: var(--cyan); text-shadow: 0 0 40px rgba(53, 224, 255, 0.4); }
.nf__lang { display: grid; gap: 4px; }
.nf__title { margin: 0; font-weight: 700; }

/* ---- press feel and light ------------------------------------------------------------------------ */
/* a ripple from where the finger / mouse pressed (site.js puts the <span> in) */
.btn, .iconbtn, .ctab, .gsw__b, .nrow, .nfeat__a, .news-card__link, .rail__a, .faq__item > summary, .mnav__a, .lang__btn, .burger,
.pager__a, .legal__nav a, .ftr__lang, .mnav__lang, .lang__a, .rail__dot { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0);
  background: radial-gradient(closest-side, rgba(53, 224, 255, 0.4), rgba(53, 224, 255, 0.14) 62%, rgba(53, 224, 255, 0) 100%);
  animation: ripple 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.btn--primary .ripple { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22) 62%, rgba(255, 255, 255, 0) 100%); }
/* cards and rows sink a little under the finger */
.news-card, .nfeat { transition: border-color 0.25s, transform 0.3s var(--ease); }
.news-card:active, .nfeat:active { transform: scale(0.985); transition-duration: 0.08s; }
.nrow:active { background: rgba(53, 224, 255, 0.08); }
.pager__a { transition: border-color 0.25s, transform 0.15s var(--ease); }
.pager__a:active { transform: scale(0.98); }
.legal__nav a:active, .ftr__lang:active, .mnav__lang:active, .lang__a:active { background: rgba(53, 224, 255, 0.12); }
/* PCs: a soft light follows the mouse over cards (site.js sets --mx / --my) */
@media (hover: hover) and (pointer: fine) {
  .news-card::after, .nfeat::after, .tile::after, .keyset__i::after, .card::after, .vip__card::after, .dl__card::after, .spec__group::after, .stat::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(53, 224, 255, 0.11), rgba(53, 224, 255, 0) 65%);
  }
  .news-card:hover::after, .nfeat:hover::after, .tile:hover::after, .keyset__i:hover::after, .card:hover::after, .vip__card:hover::after,
  .dl__card:hover::after, .spec__group:hover::after, .stat:hover::after { opacity: 1; }
  .keyset__i, .stat, .spec__group { position: relative; transition: border-color 0.3s, transform 0.3s var(--ease); }
  .keyset__i:hover, .stat:hover { border-color: var(--cyan-soft); transform: translateY(-3px); }
  .spec__group:hover { border-color: var(--line-3); }
  .vip__perks li { transition: border-color 0.3s, background-color 0.3s; }
  .vip__perks li:hover { border-color: rgba(255, 210, 90, 0.5); background: rgba(239, 169, 1, 0.08); }
}
/* a section's heading: its gold line draws in when it comes into view */
.js .sec__hd[data-reveal] .kicker::before { transition: width 0.9s var(--ease) 0.25s; }
.js .sec__hd[data-reveal]:not(.is-in) .kicker::before { width: 0; }
.toast { border-left: 3px solid var(--cyan); }

/* ---- reveal on scroll ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }
  .js .no-anim { transition: none; }
  .js .news-grid > :nth-child(2), .js .stats > :nth-child(2), .js .bento > :nth-child(2), .js .cards2 > :nth-child(2), .js .cards3 > :nth-child(2), .js .steps > :nth-child(2) { transition-delay: 0.08s; }
  .js .news-grid > :nth-child(3), .js .stats > :nth-child(3), .js .bento > :nth-child(3), .js .cards3 > :nth-child(3), .js .steps > :nth-child(3) { transition-delay: 0.16s; }
  .js .stats > :nth-child(4), .js .bento > :nth-child(4), .js .steps > :nth-child(4) { transition-delay: 0.24s; }
  .js .faq > :nth-child(2), .js .vip__perks > :nth-child(2) { transition-delay: 0.05s; }
  .js .faq > :nth-child(3), .js .vip__perks > :nth-child(3) { transition-delay: 0.1s; }
  .js .faq > :nth-child(4), .js .vip__perks > :nth-child(4) { transition-delay: 0.15s; }
  .js .faq > :nth-child(5) { transition-delay: 0.2s; }
  .js .faq > :nth-child(n + 6) { transition-delay: 0.25s; }
  .js .nlist > :nth-child(2) { transition-delay: 0.06s; }
  .js .nlist > :nth-child(3) { transition-delay: 0.12s; }
  .js .nlist > :nth-child(4) { transition-delay: 0.18s; }
}

/* ---- keyframes ------------------------------------------------------------------------------- */
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.03); } }   /* (ends a little big: room for the mouse drift) */
@keyframes glint { 0% { background-position: -160% 0, 0 0; } 22%, 100% { background-position: 260% 0, 0 0; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sweep { 0% { transform: translateX(-130%); } 26%, 100% { transform: translateX(130%); } }
@keyframes ring { 0% { opacity: 0.9; transform: scale(0.8); } 60%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes ripple { 0% { transform: scale(0); opacity: 1; } 50% { opacity: 0.85; } 100% { transform: scale(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes facePulse { 0%, 100% { box-shadow: 0 0 0 2px var(--cyan), 0 0 16px rgba(53, 224, 255, 0.35); } 50% { box-shadow: 0 0 0 2px var(--cyan), 0 0 28px rgba(53, 224, 255, 0.7); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57, 242, 154, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(57, 242, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 242, 154, 0); } }
@keyframes pulseGold { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 90, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(255, 210, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 90, 0); } }
@keyframes sbarIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes artIn { from { opacity: 0; transform: translateX(-24px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes infoIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
