:root {
  --navy-950: #04111d;
  --navy-900: #071a2b;
  --navy-850: #0a2235;
  --navy-800: #0b2c42;
  --navy-700: #0d4056;
  --teal-500: #14b8a6;
  --teal-400: #37d4c1;
  --cyan-300: #7dd3fc;
  --gold-500: #e8b95d;
  --gold-300: #f5d88f;
  --coral-500: #ff6b4a;
  --coral-400: #ff8267;
  --cream-50: #fbfaf5;
  --cream-100: #f4f0e6;
  --slate-600: #5e6d74;
  --slate-800: #283941;
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-light: rgba(7, 26, 43, 0.12);
  --shadow-sm: 0 8px 28px rgba(2, 14, 24, 0.1);
  --shadow-md: 0 18px 55px rgba(2, 14, 24, 0.18);
  --shadow-lg: 0 28px 80px rgba(2, 14, 24, 0.28);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--slate-800);
  background: var(--cream-50);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.55rem, 5.8vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.24rem;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section--tight {
  padding: 76px 0;
}

.section--cream {
  background: var(--cream-100);
}

.section--white {
  background: var(--white);
}

.section--dark {
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 84% 5%, rgba(20, 184, 166, 0.22), transparent 32%),
    radial-gradient(circle at 10% 86%, rgba(232, 185, 93, 0.12), transparent 30%),
    var(--navy-900);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #0c6c65;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-300);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 2px;
  color: var(--slate-600);
}

.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #08786f;
  font-weight: 750;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(4, 17, 29, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 17, 29, 0.95);
  border-color: var(--line-dark);
  box-shadow: 0 8px 28px rgba(1, 9, 16, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  margin-right: 38px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav > a:not(.nav-download) {
  position: relative;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:not(.nav-download):hover,
.site-nav > a.is-active:not(.nav-download) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: 10px;
  padding: 9px 18px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(232, 185, 93, 0.24);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 185, 93, 0.34);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  border-radius: 3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 78% 40%, rgba(21, 173, 183, 0.24), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(232, 185, 93, 0.14), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 56%, #082f43);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 70px;
  align-items: center;
  min-height: calc(770px - var(--header-height));
  padding: 78px 0 96px;
}

.hero-copy h1 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(135deg, #fff7d5 8%, var(--gold-300) 52%, var(--gold-500));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 12px 34px rgba(232, 185, 93, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 16px 42px rgba(232, 185, 93, 0.34);
}

.btn--coral {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral-400), var(--coral-500));
  box-shadow: 0 12px 34px rgba(255, 107, 74, 0.24);
}

.btn--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--dark {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 30px rgba(7, 26, 43, 0.18);
}

.btn--soft {
  color: var(--navy-900);
  background: var(--cream-100);
  border: 1px solid var(--line-light);
}

.btn-icon {
  display: grid;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
}

.meta-chip::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal-400);
  border-radius: 99px;
  box-shadow: 0 0 0 4px rgba(55, 212, 193, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-glow {
  position: absolute;
  top: 10%;
  right: 6%;
  width: 360px;
  height: 360px;
  background: rgba(31, 213, 205, 0.16);
  border-radius: 50%;
  filter: blur(60px);
}

.screenshot-shell {
  position: absolute;
  z-index: 2;
  top: 70px;
  right: -34px;
  width: min(590px, 95%);
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.6deg);
}

.screenshot-shell::before {
  display: block;
  width: 70px;
  height: 6px;
  margin: 0 auto 9px;
  content: "";
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
}

.screenshot-shell img {
  width: 100%;
  border-radius: 18px;
}

.app-badge {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 19px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.app-badge img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
}

.app-badge strong,
.app-badge small {
  display: block;
}

.app-badge strong {
  color: var(--navy-900);
  font-size: 1.06rem;
}

.app-badge small {
  color: var(--slate-600);
}

.float-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 72px;
  height: 88px;
  color: var(--navy-900);
  background: linear-gradient(145deg, #ffffff, #dedfd8);
  border: 5px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
  place-items: center;
  font-family: Georgia, serif;
  font-size: 2.15rem;
  font-weight: 900;
}

.float-tile--one {
  right: 22px;
  bottom: 0;
  color: #c83c35;
  transform: rotate(12deg);
}

.float-tile--two {
  bottom: 44px;
  left: 20px;
  color: #08786f;
  transform: rotate(-12deg);
}

.hero-wave {
  position: absolute;
  right: -10%;
  bottom: -100px;
  left: -10%;
  height: 170px;
  background: var(--cream-50);
  border-radius: 50% 50% 0 0;
}

.quick-strip {
  position: relative;
  z-index: 4;
  margin-top: -42px;
}

.quick-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(7, 26, 43, 0.07);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 22px 24px;
}

.quick-item + .quick-item {
  border-left: 1px solid var(--line-light);
}

.quick-icon {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  color: #08786f;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 12px;
  place-items: center;
  font-weight: 900;
}

.quick-item strong,
.quick-item span {
  display: block;
}

.quick-item strong {
  font-size: 0.96rem;
}

.quick-item span {
  overflow: hidden;
  color: var(--slate-600);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(7, 26, 43, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card::after {
  position: absolute;
  right: -42px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(20, 184, 166, 0.07);
  border-radius: 50%;
}

.feature-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 13px;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-number,
.feature-card:nth-child(5) .feature-number {
  color: var(--navy-950);
  background: var(--gold-300);
}

.feature-card:nth-child(3) .feature-number,
.feature-card:nth-child(6) .feature-number {
  background: var(--teal-500);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--slate-600);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 28px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 216, 143, 0.38);
}

.game-card h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.game-card p {
  max-width: 290px;
}

.game-card .text-link {
  position: absolute;
  bottom: 26px;
  left: 28px;
  color: var(--gold-300);
}

.suit {
  position: absolute;
  right: 20px;
  bottom: 3px;
  color: rgba(255, 255, 255, 0.06);
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
}

.game-card:nth-child(2) .suit,
.game-card:nth-child(5) .suit {
  color: rgba(255, 107, 74, 0.11);
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  background: var(--navy-900);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item:hover img {
  opacity: 0.88;
  transform: scale(1.035);
}

.gallery-item::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  content: "+";
  background: rgba(4, 17, 29, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item:first-child img {
  min-height: 578px;
}

.gallery-caption {
  margin-top: 18px;
  color: var(--slate-600);
  font-size: 0.94rem;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 74px;
  align-items: center;
}

.showcase-art {
  position: relative;
}

.showcase-art::before {
  position: absolute;
  inset: 12% -5% -8% 18%;
  content: "";
  background: rgba(20, 184, 166, 0.16);
  border-radius: 50%;
  filter: blur(44px);
}

.showcase-art img {
  position: relative;
  width: 100%;
  border: 8px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  color: var(--navy-950);
  content: "✓";
  background: var(--gold-300);
  border-radius: 8px;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 90px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.2), transparent 26%),
    linear-gradient(135deg, var(--navy-950), #0a2d42);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 4.5rem);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
  opacity: 0.55;
}

.breadcrumb a:hover {
  color: var(--gold-300);
}

.page-hero-mark {
  position: relative;
  justify-self: end;
  width: 270px;
  height: 270px;
}

.page-hero-mark::before,
.page-hero-mark::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 35px;
  transform: rotate(12deg);
}

.page-hero-mark::before {
  inset: 12px;
}

.page-hero-mark::after {
  inset: 36px;
  transform: rotate(-9deg);
}

.page-hero-mark img {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 152px;
  height: 152px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 62px;
  align-items: start;
}

.prose {
  min-width: 0;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 64px 0 20px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.prose h3 {
  margin: 34px 0 12px;
}

.prose p,
.prose li {
  color: #4e6069;
}

.prose strong {
  color: var(--navy-900);
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose li + li {
  margin-top: 9px;
}

.lead-paragraph {
  color: var(--slate-800) !important;
  font-size: 1.15rem;
  line-height: 1.82;
}

.toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.toc strong {
  display: block;
  margin-bottom: 14px;
  color: var(--navy-900);
  font-size: 0.9rem;
}

.toc ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 8px 10px;
  color: var(--slate-600);
  border-radius: 9px;
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.toc a:hover,
.toc a.is-current {
  color: #08786f;
  background: rgba(20, 184, 166, 0.08);
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.download-panel > img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.download-panel h2,
.download-panel h3 {
  margin-bottom: 8px;
}

.download-panel p {
  margin-bottom: 0;
  color: var(--slate-600);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  overflow: hidden;
  background: var(--cream-100);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.spec-item {
  padding: 22px 24px;
}

.spec-item + .spec-item {
  border-left: 1px solid var(--line-light);
}

.spec-item dt {
  margin-bottom: 5px;
  color: var(--slate-600);
  font-size: 0.8rem;
}

.spec-item dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 800;
}

.step-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 26px 28px 26px 86px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 26px rgba(7, 26, 43, 0.06);
  counter-increment: step;
}

.step-item::before {
  position: absolute;
  top: 24px;
  left: 26px;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--white);
  content: counter(step, decimal-leading-zero);
  background: var(--navy-900);
  border-radius: 13px;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.step-item h3 {
  margin-bottom: 7px;
}

.step-item p {
  margin-bottom: 0;
}

.notice-box {
  position: relative;
  margin: 30px 0;
  padding: 24px 26px 24px 70px;
  color: #3f545c;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-md);
}

.notice-box::before {
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  width: 31px;
  height: 31px;
  color: var(--white);
  content: "i";
  background: var(--teal-500);
  border-radius: 10px;
  place-items: center;
  font-family: Georgia, serif;
  font-weight: 900;
}

.notice-box p:last-child {
  margin-bottom: 0;
}

.tip-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tip-card,
.article-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tip-card h3,
.article-card h3 {
  margin-bottom: 10px;
}

.tip-card p,
.article-card p {
  margin-bottom: 0;
  color: var(--slate-600);
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.article-card .tag {
  align-self: flex-start;
  margin-bottom: 22px;
}

.article-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.tag {
  display: inline-flex;
  padding: 5px 10px;
  color: #08786f;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.rule-table-wrap {
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.rule-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  background: var(--white);
}

.rule-table th,
.rule-table td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
}

.rule-table th {
  color: var(--navy-900);
  background: var(--cream-100);
  font-size: 0.88rem;
}

.rule-table td {
  color: var(--slate-600);
}

.rule-table tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(7, 26, 43, 0.045);
}

.faq-item summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  color: #08786f;
  content: "+";
  background: rgba(20, 184, 166, 0.1);
  border-radius: 9px;
  place-items: center;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--slate-600);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 62px;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 86% 20%, rgba(55, 212, 193, 0.25), transparent 28%),
    linear-gradient(125deg, var(--navy-950), #0b3954);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  position: absolute;
  right: 5%;
  bottom: -90px;
  color: rgba(255, 255, 255, 0.055);
  content: "♣";
  font-family: Georgia, serif;
  font-size: 18rem;
  line-height: 1;
  transform: rotate(-10deg);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-band h2 {
  max-width: 690px;
  margin-bottom: 14px;
  color: var(--white);
}

.cta-band p {
  max-width: 640px;
  margin-bottom: 0;
}

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 52px;
  padding: 64px 0 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 850;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.footer-intro {
  max-width: 360px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-column strong {
  display: block;
  margin-bottom: 17px;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-tags span + span::before {
  margin-right: 12px;
  content: "·";
  opacity: 0.5;
}

.mobile-download {
  display: none;
}

.preview-dialog {
  width: min(940px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.preview-dialog::backdrop {
  background: rgba(2, 10, 17, 0.86);
  backdrop-filter: blur(8px);
}

.preview-dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.preview-dialog button {
  position: absolute;
  top: -17px;
  right: -12px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--navy-950);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  place-items: center;
  font-size: 1.45rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 2px;
  }

  .site-nav > a:not(.nav-download) {
    padding-inline: 9px;
    font-size: 0.88rem;
  }

  .brand {
    margin-right: 18px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 40px;
  }

  .feature-grid,
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery-item:first-child img {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    max-height: 0;
    margin: 0;
    padding: 0 20px;
    overflow: hidden;
    visibility: hidden;
    background: rgba(4, 17, 29, 0.98);
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease, padding 0.3s ease;
  }

  .site-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    padding-top: 14px;
    padding-bottom: 22px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }

  .site-nav > a:not(.nav-download) {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav-download {
    min-height: 48px;
    margin: 8px 0 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 72px 0 140px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: min(680px, 100%);
    min-height: 520px;
    margin-inline: auto;
  }

  .screenshot-shell {
    right: 0;
    width: 92%;
  }

  .quick-strip {
    margin-top: -60px;
  }

  .quick-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .quick-item:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    max-width: 680px;
    margin-top: 18px;
  }

  .split-showcase,
  .page-hero-inner,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-mark {
    position: absolute;
    right: -70px;
    bottom: -100px;
    opacity: 0.27;
  }

  .page-hero-inner {
    gap: 0;
  }

  .content-grid {
    gap: 42px;
  }

  .toc {
    position: static;
    grid-row: 1;
  }

  .download-panel {
    grid-template-columns: auto 1fr;
  }

  .download-panel .btn {
    grid-column: span 2;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .spec-item:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .cta-band-inner {
    display: block;
  }

  .cta-band .button-row {
    margin-top: 28px;
  }

  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-about {
    grid-column: span 3;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 74px;
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section,
  .section--tight {
    padding: 64px 0;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-inner {
    padding: 58px 0 126px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 350px;
    margin-top: 18px;
  }

  .screenshot-shell {
    top: 58px;
    right: -24px;
    width: 102%;
    border-radius: 20px;
  }

  .screenshot-shell img {
    border-radius: 13px;
  }

  .app-badge {
    left: 0;
    padding: 9px 14px 9px 9px;
  }

  .app-badge img {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  .float-tile {
    width: 54px;
    height: 68px;
    font-size: 1.55rem;
  }

  .float-tile--one {
    right: 4px;
    bottom: 0;
  }

  .float-tile--two {
    bottom: 4px;
    left: 5px;
  }

  .quick-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .quick-item {
    gap: 10px;
    padding: 17px 14px;
  }

  .quick-icon {
    width: 36px;
    height: 36px;
  }

  .quick-item span {
    display: none;
  }

  .feature-grid,
  .game-grid,
  .tip-grid,
  .article-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .game-card {
    min-height: 240px;
  }

  .gallery-item:first-child {
    grid-column: auto;
  }

  .gallery-item {
    min-height: 205px;
  }

  .split-showcase {
    gap: 46px;
  }

  .page-hero {
    padding: 62px 0 70px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .download-panel {
    grid-template-columns: 68px 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
  }

  .download-panel > img {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .download-panel h2 {
    font-size: 1.4rem;
  }

  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .spec-item {
    padding: 17px;
  }

  .step-item {
    padding: 74px 22px 24px;
  }

  .step-item::before {
    top: 20px;
    left: 22px;
  }

  .notice-box {
    padding: 66px 22px 22px;
  }

  .cta-band {
    padding: 38px 26px;
    border-radius: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 26px;
    padding: 52px 0 38px;
  }

  .footer-about {
    grid-column: span 2;
  }

  .footer-bottom {
    display: block;
  }

  .footer-tags {
    margin-top: 8px;
  }

  .mobile-download {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 10px 14px;
    color: var(--white);
    background: rgba(4, 17, 29, 0.96);
    border-top: 1px solid var(--line-dark);
    box-shadow: 0 -10px 30px rgba(2, 10, 17, 0.22);
    backdrop-filter: blur(16px);
  }

  .mobile-download img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .mobile-download-copy {
    min-width: 0;
    margin-right: auto;
  }

  .mobile-download-copy strong,
  .mobile-download-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-download-copy strong {
    font-size: 0.92rem;
  }

  .mobile-download-copy span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.74rem;
  }

  .mobile-download .btn {
    flex: none;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 11px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
