:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5f6b7a;
  --line: rgba(23, 32, 42, 0.12);
  --paper: #f7f9fc;
  --card: #ffffff;
  --blue: #1769e0;
  --green: #178c54;
  --purple: #6f42c1;
  --shadow: 0 18px 54px rgba(18, 35, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.store-body {
  background: #f8faf9;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(25, 35, 31, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
  background: white;
  color: #1f8f5f;
  font-size: 13px;
  font-weight: 900;
}

.portal-actions a:last-child {
  border-color: #1f8f5f;
  background: #1f8f5f;
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover,
.site-footer a:hover,
.link-list a:hover {
  color: var(--blue);
}

.store-main {
  overflow: hidden;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0 clamp(38px, 7vw, 72px);
}

.store-hero-copy h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.store-hero-copy p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.store-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 720px;
  min-height: 64px;
  margin: 24px 0 16px;
  border: 1px solid rgba(20, 108, 67, 0.18);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  background: white;
  box-shadow: 0 12px 34px rgba(18, 35, 61, 0.08);
}

.store-search span {
  min-width: 0;
  color: #687586;
  font-weight: 800;
}

.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  background: white;
  color: #285041;
  font-size: 13px;
  font-weight: 900;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(28px, 5vw, 46px);
}

.hero-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.hero-icon-row span,
.game-card-tags span,
.rank-signal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 999px;
  padding: 5px 11px 5px 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #2e4339;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(18, 35, 61, 0.06);
}

.hero-icon-row img,
.game-card-tags img,
.rank-signal img,
.button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.mini-icon,
.menu-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
}

.menu-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.service-strip a {
  display: grid;
  gap: 7px;
  min-height: 122px;
  align-content: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  padding: 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.07);
}

.service-strip strong {
  color: #18322a;
  font-size: 16px;
}

.service-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.portal-menu-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(34px, 6vw, 58px);
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 24px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 35, 61, 0.08);
}

.portal-menu-board div {
  display: grid;
  gap: 8px;
  border-radius: 16px;
  padding: 16px;
  background: #f8faf9;
}

.portal-menu-board h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #17372d;
  font-size: 18px;
}

.portal-menu-board a {
  color: #5f6b7a;
  font-size: 13px;
  font-weight: 850;
}

.portal-menu-board a:hover {
  color: #1f8f5f;
}

.overseas-route {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(34px, 6vw, 58px);
  border: 1px solid rgba(31, 143, 95, 0.18);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 38px);
  background:
    linear-gradient(135deg, rgba(31, 143, 95, 0.12), rgba(23, 105, 224, 0.08)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(18, 35, 61, 0.1);
}

.overseas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.overseas-grid article {
  border: 1px solid rgba(23, 32, 42, 0.09);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.overseas-grid .step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #1f8f5f;
  color: white;
  font-weight: 1000;
}

.overseas-grid p {
  margin: 0;
  color: var(--muted);
}

.store-phone-preview {
  display: grid;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 330px);
  border: 10px solid #1e2a25;
  border-radius: 34px;
  padding: 18px;
  background:
    linear-gradient(180deg, #eef9f1, #ffffff 46%),
    white;
  box-shadow: 0 28px 70px rgba(20, 38, 31, 0.2);
}

.phone-status {
  width: 78px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #26352f;
}

.phone-frame img {
  display: block;
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(23, 32, 42, 0.16);
}

.phone-frame strong,
.phone-frame span {
  display: block;
  text-align: center;
}

.phone-frame strong {
  font-size: 22px;
  line-height: 1.18;
}

.phone-frame span {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.phone-frame .button {
  width: 100%;
}

.store-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) 0;
}

.store-section.alt {
  width: 100%;
  border-block: 1px solid rgba(25, 35, 31, 0.08);
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.store-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.store-section-head h2 {
  max-width: 780px;
  margin: 0 0 10px;
  font-size: clamp(30px, 4.6vw, 54px);
}

.store-section-head p {
  max-width: 760px;
  color: var(--muted);
}

.store-app-row,
.console-grid,
.store-category-grid,
.rules-list,
.service-market-grid,
.academy-grid,
.provider-grid {
  display: grid;
  gap: 16px;
}

.store-app-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-app-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.08);
}

.store-app-card img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  background: #eef2f6;
}

.store-app-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.store-app-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.store-app-card span {
  color: #1c7f4e;
  font-size: 12px;
  font-weight: 900;
}

.console-grid,
.store-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provider-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.console-grid article,
.store-category-grid article,
.rules-list div,
.service-market-grid article,
.academy-grid article,
.provider-grid article {
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  padding: 22px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.07);
}

.console-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #1f8f5f;
  color: white;
  font-size: 20px;
}

.store-category-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e8f5ee;
  color: #1f8f5f;
  font-size: 12px;
  font-weight: 900;
}

.service-market-grid span,
.academy-grid small,
.provider-grid strong,
.docs-feature span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef7ff;
  color: #1769e0;
  font-size: 12px;
  font-weight: 900;
}

.service-market-grid article > .mini-icon,
.provider-grid article > .mini-icon {
  margin-bottom: 12px;
}

.provider-grid strong {
  background: #e8f5ee;
  color: #1f8f5f;
}

.service-market-grid a {
  display: inline-flex;
  margin-top: 10px;
  color: #1f8f5f;
  font-size: 13px;
  font-weight: 900;
}

.academy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rules-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.console-grid p,
.store-category-grid p,
.rules-list p,
.service-market-grid p,
.academy-grid p,
.provider-grid p {
  margin: 0;
  color: var(--muted);
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 16px;
}

.docs-feature,
.docs-list a {
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.07);
}

.docs-feature {
  padding: 24px;
}

.docs-feature p {
  color: var(--muted);
}

.docs-feature a {
  color: #1f8f5f;
  font-weight: 900;
}

.docs-list {
  display: grid;
  gap: 12px;
}

.docs-list a {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.docs-list strong {
  color: #17202a;
}

.docs-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.store-form {
  border-radius: 22px;
}

.rank-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 76px) 0;
}

.rank-hero {
  margin-bottom: 28px;
}

.rank-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.rank-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.rank-icons {
  margin-top: 16px;
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rank-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  background: white;
  color: #405047;
  font-size: 13px;
  font-weight: 900;
}

.rank-tabs a.active {
  border-color: #1f8f5f;
  background: #1f8f5f;
  color: white;
}

.rank-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rank-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.07);
}

.rank-sidebar h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  color: #17202a;
  font-size: 15px;
}

.rank-sidebar h2:first-child {
  margin-top: 0;
}

.rank-sidebar a {
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.rank-sidebar a.active,
.rank-sidebar a:hover {
  background: #e8f5ee;
  color: #1f8f5f;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 42px 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(18, 35, 61, 0.07);
}

.rank-card.champion {
  border-color: rgba(31, 143, 95, 0.32);
  background: linear-gradient(135deg, #f0fbf4, #ffffff 58%);
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #f1f4f7;
  color: #17202a;
  font-size: 20px;
  font-weight: 1000;
}

.champion .rank-number {
  background: #1f8f5f;
  color: white;
}

.rank-card > img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
  background: #eef2f6;
}

.rank-info h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.rank-signal {
  width: fit-content;
  margin-bottom: 8px;
  border-color: rgba(31, 143, 95, 0.16);
  background: #f3fbf6;
  color: #1f5f45;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--muted);
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-meta span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #f1f4f7;
  color: #405047;
  font-size: 12px;
  font-weight: 900;
}

.hero {
  display: grid;
  min-height: 74svh;
  align-items: center;
  padding: clamp(58px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(255,255,255,.98), rgba(255,255,255,.86)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/202308_Hongya_Cave_at_night_from_Qiansimen_Bridge.jpg");
  background-size: cover;
  background-position: center;
}

.platform-hero {
  display: grid;
  min-height: 68svh;
  align-items: center;
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
    url("assets/promo/games-bilingual-banner.jpg");
  background-size: cover;
  background-position: center;
}

.hero-copy,
.platform-copy,
.content-band,
.legal-page {
  width: min(1080px, 100%);
}

.hero-copy h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.platform-copy h1 {
  max-width: 920px;
  margin: 0 0 22px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.platform-copy p {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.home-main {
  overflow: hidden;
  background: #f6f8fb;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  align-items: end;
  padding: clamp(64px, 9vw, 108px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 46px);
  background:
    linear-gradient(90deg, rgba(5, 18, 32, 0.82), rgba(5, 18, 32, 0.42) 54%, rgba(5, 18, 32, 0.2)),
    url("assets/promo/games-bilingual-banner.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(5, 18, 32, 0), rgba(5, 18, 32, 0.72));
  pointer-events: none;
}

.home-hero-content,
.home-game-rail {
  position: relative;
  z-index: 1;
}

.home-hero-content {
  width: min(900px, 100%);
}

.home-hero .eyebrow {
  color: #94d7ff;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-hero p {
  max-width: 700px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  overflow-wrap: anywhere;
}

.home-hero-actions,
.home-signal-row,
.home-game-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-actions .button:not(.primary) {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.92);
}

.home-signal-row {
  margin-top: 18px;
}

.home-signal-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 12px 6px 7px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.home-signal-row img {
  width: 26px;
  height: 26px;
}

.home-game-rail {
  width: min(980px, 100%);
  margin-top: clamp(34px, 6vw, 72px);
}

.home-game-rail a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(220px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #17202a;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.home-game-rail img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}

.home-game-rail span {
  min-width: 0;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.home-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 82px) 0;
}

.home-band.alt {
  width: 100%;
  border-block: 1px solid var(--line);
  background: #ffffff;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
}

.home-band-tight {
  padding-top: clamp(34px, 6vw, 64px);
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.home-section-head h2 {
  max-width: 780px;
  margin: 0;
}

.home-section-head .eyebrow {
  margin-bottom: 8px;
}

.home-step-grid,
.home-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-step-grid article,
.home-route-grid article,
.home-game-card {
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(18, 35, 61, 0.08);
}

.home-step-grid article {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
}

.home-step-grid strong {
  color: #17202a;
  font-size: 18px;
}

.home-step-grid span,
.home-route-grid p,
.home-game-card p {
  margin: 0;
  color: var(--muted);
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.72fr) minmax(220px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.home-game-card {
  overflow: hidden;
}

.home-game-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #eef2f6;
}

.home-game-card:not(.large) {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-bottom: 18px;
}

.home-game-card:not(.large) h3,
.home-game-card:not(.large) p,
.home-game-card:not(.large) a {
  margin-inline: 18px;
}

.home-game-card:not(.large) a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.home-game-card.large {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1fr);
  align-items: stretch;
}

.home-game-card.large > img {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.home-game-card.large > div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
}

.home-game-card.large span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-route-grid article {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.home-route-grid img {
  width: 48px;
  height: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  background: white;
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(18, 35, 61, 0.08);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.button.green {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.button.purple {
  border-color: var(--purple);
  background: var(--purple);
  color: white;
}

.content-band,
.legal-page {
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.content-band.alt {
  background: white;
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
}

.card-grid,
.app-download-grid,
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-stats,
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-stats article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.platform-stats strong {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

.platform-stats span {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.platform-stats p {
  margin: 0;
  color: var(--muted);
}

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

.game-grid.compact {
  margin-bottom: 18px;
}

.promo-banner {
  margin: 28px 0 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
}

.promo-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.language-switch.compact {
  margin: 0;
  gap: 6px;
}

.language-switch button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  background: white;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(18, 35, 61, 0.08);
}

.language-switch.compact button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.language-switch button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.card,
.download-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.developer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: white;
  box-shadow: var(--shadow);
}

.developer-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.developer-form input,
.developer-form select,
.developer-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 650;
}

.developer-form textarea {
  resize: vertical;
}

.developer-form .wide,
.form-actions,
.form-note {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.game-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.game-shot {
  margin: -24px -24px 18px;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1220;
}

.game-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.game-card.live {
  border-color: rgba(23, 105, 224, 0.26);
  background:
    linear-gradient(145deg, rgba(23, 105, 224, 0.08), rgba(255,255,255,0.96)),
    var(--card);
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -6px 0 14px;
}

.game-card.coming-soon {
  border-style: dashed;
  background:
    linear-gradient(145deg, rgba(111, 66, 193, 0.06), rgba(255,255,255,0.96)),
    var(--card);
}

.game-card.coming-soon::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111,66,193,.14), rgba(111,66,193,0) 68%);
  pointer-events: none;
}

.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(111, 66, 193, 0.24);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--purple);
  background: rgba(111, 66, 193, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-pill.live {
  border-color: rgba(23, 105, 224, 0.28);
  color: var(--blue);
  background: rgba(23, 105, 224, 0.08);
}

.roadmap-panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}

.section-actions {
  margin-top: 8px;
}

.card p,
.download-card p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.download-card {
  display: grid;
  gap: 18px;
}

.download-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.download-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.link-list a {
  display: flex;
  min-height: 52px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: white;
  color: var(--ink);
  font-weight: 900;
}

.legal-page {
  max-width: 920px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(24px, 4vw, 38px);
}

.legal-page ul {
  padding-left: 22px;
}

.guide-shot {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.guide-shot img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #07101f;
}

.guide-shot figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
}

.ad-placeholder {
  margin: 28px 0;
  border: 1px dashed rgba(23, 105, 224, 0.35);
  border-radius: 8px;
  padding: 18px;
  background: rgba(23, 105, 224, 0.05);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 32px 18px;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.arcade-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 225, 93, .44), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255, 79, 163, .36), transparent 22%),
    linear-gradient(135deg, #63d7ff 0%, #7d6cff 46%, #ff77bd 100%);
}

.arcade-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(14px, 4vw, 44px);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  backdrop-filter: blur(18px);
}

.arcade-page {
  width: min(1260px, 100%);
  margin: 0 auto;
  padding: 28px clamp(12px, 3vw, 34px) 46px;
}

.arcade-hero {
  max-width: 760px;
  margin-bottom: 22px;
  color: white;
  text-shadow: 0 2px 18px rgba(20, 30, 80, .18);
}

.arcade-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: .94;
  letter-spacing: 0;
}

.arcade-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  font-weight: 750;
}

.hero-links,
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-links a,
.category-strip a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, .78);
  color: #263052;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 9px 20px rgba(22, 26, 72, .12);
}

.category-strip {
  margin: 0 0 22px;
}

.arcade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 16px;
  align-items: start;
}

.arcade-tile {
  position: relative;
  display: grid;
  gap: 9px;
  color: white;
  font-weight: 1000;
  text-align: center;
  outline: none;
}

.arcade-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border: 4px solid rgba(255, 255, 255, .84);
  border-radius: 18px;
  background: #101d3a;
  box-shadow: 0 14px 26px rgba(22, 26, 72, .25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.arcade-tile span {
  display: block;
  min-height: 34px;
  color: white;
  font-size: 13px;
  line-height: 1.12;
  text-shadow: 0 2px 8px rgba(14, 20, 70, .34);
}

.arcade-tile:hover img,
.arcade-tile:focus-visible img {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 22px 40px rgba(22, 26, 72, .34);
  filter: saturate(1.12) brightness(1.05);
}

.arcade-tile.feature img {
  border-color: rgba(255, 225, 93, .92);
  box-shadow: 0 16px 34px rgba(255, 79, 163, .28), 0 0 0 5px rgba(255, 255, 255, .28);
}

.arcade-coming {
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 16px;
  padding: 18px;
  color: white;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
}

.arcade-coming h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.coming-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coming-row span {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .78);
  color: #27304e;
  font-size: 13px;
  font-weight: 900;
}

.seo-panel {
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 44px rgba(22, 26, 72, .14);
  color: #263052;
}

.seo-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 44px);
}

.seo-panel h3 {
  margin-top: 22px;
}

.seo-panel p,
.seo-panel li {
  color: #59647c;
}

.seo-panel ol {
  margin: 0;
  padding-left: 24px;
}

.play-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 15, 38, .62);
  backdrop-filter: blur(14px);
}

.play-modal[hidden] {
  display: none;
}

.play-window {
  width: min(92vw, 460px);
  height: min(88vh, 850px);
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 18px;
  overflow: hidden;
  background: #07101f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .44);
}

.play-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 255, 255, .94);
  color: #17202a;
}

.play-bar strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-bar div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.play-bar a,
.play-bar button {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(23, 32, 42, .12);
  border-radius: 8px;
  padding: 7px 10px;
  background: white;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.play-bar button {
  width: 34px;
  padding: 0;
  color: #17202a;
}

#playFrame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #07101f;
}

.modal-open {
  overflow: hidden;
}

@media (min-width: 1120px) {
  .arcade-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header,
  .store-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-actions {
    width: 100%;
  }

  .portal-actions a {
    flex: 1 1 130px;
    justify-content: center;
  }

  nav {
    width: 100%;
    gap: 10px 14px;
    font-size: 13px;
  }

  .home-hero {
    min-height: auto;
    align-items: start;
    padding-top: 52px;
  }

  .home-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.04;
  }

  .home-hero p {
    font-size: 16px;
  }

  .home-signal-row span {
    flex: 1 1 150px;
  }

  .home-hero-actions .button,
  .home-section-head .button {
    width: 100%;
  }

  .home-game-rail a {
    width: 100%;
  }

  .home-band {
    width: min(100% - 28px, 560px);
  }

  .home-band.alt {
    width: 100%;
    padding-inline: 14px;
  }

  .home-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .home-step-grid article {
    min-height: auto;
  }

  .home-game-card.large > img {
    min-height: 220px;
  }

  .card-grid,
  .app-download-grid,
  .game-grid,
  .home-step-grid,
  .home-showcase-grid,
  .home-game-card.large,
  .home-route-grid,
  .platform-stats,
  .checklist-grid,
  .developer-form,
  .store-hero,
  .service-strip,
  .portal-menu-board,
  .overseas-grid,
  .store-app-row,
  .console-grid,
  .store-category-grid,
  .rules-list,
  .service-market-grid,
  .academy-grid,
  .provider-grid,
  .docs-layout,
  .rank-layout,
  .rank-card {
    grid-template-columns: 1fr;
  }

  .rank-page {
    width: min(100% - 28px, 560px);
    padding-top: 30px;
  }

  .rank-hero h1 {
    font-size: 42px;
  }

  .rank-sidebar {
    position: static;
  }

  .rank-card {
    justify-items: start;
  }

  .rank-card .button {
    width: 100%;
  }

  .service-strip,
  .portal-menu-board,
  .overseas-route {
    width: min(100% - 28px, 560px);
    padding-bottom: 28px;
  }

  .portal-menu-board {
    padding: 12px;
  }

  .store-hero {
    width: min(100% - 28px, 520px);
    padding-top: 34px;
  }

  .store-hero-copy h1 {
    font-size: 40px;
  }

  .store-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
    padding: 16px;
  }

  .store-search .button {
    width: 100%;
  }

  .store-section {
    width: min(100% - 28px, 560px);
  }

  .store-section.alt {
    padding-inline: 14px;
  }

  .store-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .store-section-head .button {
    width: 100%;
  }

  .phone-frame {
    width: min(100%, 300px);
  }

  .store-app-card {
    grid-template-columns: 64px minmax(0, 1fr);
    border-radius: 16px;
  }

  .store-app-card img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .actions .button,
  .download-card .button {
    width: 100%;
  }

  .arcade-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .arcade-page {
    padding: 20px 14px 36px;
  }

  .arcade-hero {
    margin-bottom: 18px;
  }

  .arcade-hero h1 {
    font-size: 42px;
  }

  .arcade-hero p {
    font-size: 15px;
  }

  .arcade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .arcade-tile {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 18px;
    padding: 8px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
  }

  .arcade-tile img {
    border-width: 3px;
    border-radius: 14px;
  }

  .arcade-tile span {
    min-height: 32px;
    font-size: 14px;
  }

  .arcade-coming {
    border-radius: 14px;
  }
}
