:root {
  --sky: #0bb6df;
  --sky-dark: #0574b8;
  --blue: #1257d9;
  --deep: #0a2374;
  --navy: #102454;
  --yellow: #ffd33f;
  --orange: #ff8d1f;
  --cream: #fff7d8;
  --card: #ffffff;
  --text: #143161;
  --muted: #5e7492;
  --line: rgba(255,255,255,.36);
  --shadow: 0 18px 44px rgba(4, 42, 96, .22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0ab8df 0%, #2bd4df 18%, #f8fbff 48%, #ecf7ff 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 184, 223, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  text-shadow: 0 3px 0 rgba(0,61,130,.24);
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(0,62,138,.28);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav a {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-shadow: 0 2px 0 rgba(0,70,140,.22);
}
.site-nav a:hover { color: var(--yellow); }
.nav-pill {
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe46a, #ff9b21);
  color: #173776 !important;
  text-shadow: none !important;
  box-shadow: 0 7px 0 #db650a, 0 16px 22px rgba(255,143,30,.25);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 15px;
  color: #0e3c91;
  font-size: 22px;
  font-weight: 900;
  background: #fff7cb;
  box-shadow: 0 5px 0 #f0a321;
}

.hero {
  position: relative;
  padding: 58px 0 64px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(255,234,92,.72), transparent 15%),
    radial-gradient(circle at 82% 15%, rgba(255,255,255,.42), transparent 18%),
    linear-gradient(180deg, #079ad0 0%, #14c8dd 42%, #6ae1cb 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -130px;
  height: 250px;
  background: linear-gradient(180deg, #ffc52c 0 18px, #2565e5 18px 100%);
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  box-shadow: 0 -12px 0 rgba(255,255,255,.5), inset 0 28px 0 rgba(255,255,255,.08);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 78% 35%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 45% 70%, #fff 0 2px, transparent 3px);
  background-size: 160px 160px;
}
.hero-bg-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .5; }
.orb-a { width: 260px; height: 260px; background: #72e64d; left: -80px; top: 130px; }
.orb-b { width: 220px; height: 220px; background: #2d72ff; right: -70px; top: 100px; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 46px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  font-weight: 900;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 96px);
  line-height: .92;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 7px 0 #0a54b6, 0 15px 28px rgba(0,38,102,.3);
}
.hero-subtitle {
  margin: 18px 0 12px;
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 1000;
  color: var(--yellow);
  text-shadow: 0 4px 0 #0a54b6;
}
.hero-desc {
  max-width: 650px;
  color: #effcff;
  font-size: 17px;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0,57,110,.3);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 1000;
}
.btn-primary {
  color: #143161;
  background: linear-gradient(180deg, #fff07b, #ff9a1a);
  box-shadow: 0 7px 0 #d9680d, 0 14px 28px rgba(255,141,31,.32);
}
.btn-secondary {
  color: #fff;
  background: rgba(13,79,173,.42);
  border: 1px solid rgba(255,255,255,.36);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
}
.hero-stats div {
  padding: 15px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  color: #fff;
}
.hero-stats strong { display: block; font-size: 19px; }
.hero-stats span { display: block; margin-top: 2px; color: #e7fbff; font-size: 13px; }
.hero-showcase { position: relative; min-height: 610px; }
.phone-frame {
  width: min(390px, 82vw);
  margin: 0 auto;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(180deg, #172850, #071334);
  box-shadow: 0 36px 70px rgba(0,47,108,.42), inset 0 0 0 2px rgba(255,255,255,.16);
  transform: rotate(3deg);
}
.phone-frame img {
  width: 100%;
  aspect-ratio: 943 / 2048;
  object-fit: cover;
  border-radius: 30px;
}
.floating-card {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fffbe9;
  color: #12428a;
  font-weight: 1000;
  box-shadow: 0 10px 0 #d07116, 0 18px 28px rgba(0,49,114,.22);
  animation: floaty 3.4s ease-in-out infinite;
}
.tile-one { width: 88px; height: 88px; left: 2%; top: 60px; padding: 8px; transform: rotate(-12deg); }
.tile-one img { border-radius: 18px; }
.tile-two { right: 4%; top: 138px; width: 106px; height: 70px; color: #ff9f0e; font-size: 28px; transform: rotate(9deg); animation-delay: .4s; }
.tile-three { left: 0; bottom: 110px; padding: 18px 20px; color: #ffffff; background: linear-gradient(180deg, #36dbff, #1f65ff); box-shadow: 0 10px 0 #0c3aae, 0 18px 28px rgba(0,49,114,.22); transform: rotate(-7deg); animation-delay: .9s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.section { padding: 72px 0; }
.section-title { margin-bottom: 28px; }
.section-title.center { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-title span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #e8f9ff;
  color: var(--sky-dark);
  font-weight: 1000;
  letter-spacing: .04em;
  font-size: 12px;
  text-transform: uppercase;
}
.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 52px);
  color: #12306d;
  letter-spacing: -1px;
}
.section-title p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.light-title h2, .light-title p { color: #fff; }
.light-title span { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.quick-section { background: #f7fcff; }
.game-intro-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,120,202,.1);
}
.game-logo-block {
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, #dff9ff, #fff4c7);
  box-shadow: inset 0 -12px 0 rgba(255,196,42,.18);
}
.game-logo-block img { border-radius: 30px; }
.game-intro-content h3 {
  margin: 0 0 8px;
  font-size: 36px;
  color: #0f52ca;
}
.game-intro-content p, .feature-card p, .steps-grid p, .company-note, .record-box p, .doc-card p, .doc-card li {
  color: var(--muted);
  line-height: 1.8;
}
.check-list { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #31456a;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #44d66c;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.feature-section { background: linear-gradient(180deg, #f7fcff, #e9f8ff); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.feature-card, .steps-grid article, .info-panel {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(19,126,204,.12);
  box-shadow: 0 16px 36px rgba(5, 72, 140, .1);
}
.feature-card { padding: 26px 22px; }
.feature-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 16px;
  font-size: 30px;
  background: linear-gradient(180deg, #fff7c7, #ffb22a);
  box-shadow: 0 6px 0 #da7314;
}
.feature-card h3, .steps-grid h3, .record-box h3 { margin: 0 0 8px; color: #15387c; }
.screenshots-section {
  position: relative;
  background: radial-gradient(circle at top left, rgba(255,223,73,.35), transparent 30%), linear-gradient(180deg, #09468f, #09266d 74%, #081c52);
  overflow: hidden;
}
.screenshots-section::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -90px; height: 160px;
  background: linear-gradient(180deg, #ffc52c 0 16px, #214fe2 16px 100%);
  border-radius: 50% 50% 0 0 / 46% 46% 0 0;
}
.screenshot-rail {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 26px;
  scroll-snap-type: x mandatory;
}
.screenshot-rail::-webkit-scrollbar { height: 10px; }
.screenshot-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 999px; }
.screenshot-rail figure {
  flex: 0 0 min(280px, 74vw);
  margin: 0;
  scroll-snap-align: start;
  border-radius: 30px;
  padding: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 44px rgba(0,0,0,.24);
}
.screenshot-rail img {
  width: 100%;
  aspect-ratio: 943 / 2048;
  object-fit: cover;
  border-radius: 22px;
}
.screenshot-rail figcaption {
  padding: 12px 4px 4px;
  color: #fff;
  font-weight: 900;
  text-align: center;
}
.how-section { background: #f7fcff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps-grid article { padding: 28px; }
.steps-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: #ff9b21;
  font-size: 38px;
  font-weight: 1000;
  text-shadow: 0 3px 0 #ffe06a;
}
.info-section { background: linear-gradient(180deg, #f7fcff, #dff4ff); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-panel { padding: 28px; }
.small-title { margin-bottom: 18px; }
.small-title h2 { font-size: 34px; }
.info-list { margin: 0; display: grid; gap: 12px; }
.info-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f1faff;
  border: 1px solid rgba(11,184,223,.16);
}
.info-list dt { color: #0f52ca; font-weight: 1000; margin-bottom: 5px; }
.info-list dd { margin: 0; color: #243b68; line-height: 1.7; word-break: break-word; }
.legal-links { display: grid; gap: 12px; }
.legal-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffde8, #e9f9ff);
  border: 1px solid rgba(255,176,35,.18);
  box-shadow: inset 0 -5px 0 rgba(255,184,39,.12);
}
.legal-links strong { color: #12306d; }
.legal-links span { color: var(--muted); font-size: 13px; }
.record-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #102454;
}
.record-box h3 { color: #fff; }
.record-box p { margin: 7px 0; color: rgba(255,255,255,.74); }
.site-footer {
  background: #081b45;
  color: #fff;
  padding: 34px 0 22px;
}
.footer-grid, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand-block { display: flex; align-items: center; gap: 14px; }
.footer-brand-block img { width: 64px; height: 64px; border-radius: 18px; }
.footer-brand-block strong { display: block; font-size: 22px; }
.footer-brand-block p { margin: 5px 0 0; color: rgba(255,255,255,.68); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.82); font-weight: 800; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.62); font-size: 13px; }

.doc-body { background: linear-gradient(180deg, #0ab8df 0, #eefbff 250px, #f7fcff 100%); }
.doc-header { position: relative; }
.doc-nav { gap: 14px; }
.doc-main { padding: 42px 0 70px; }
.doc-card {
  max-width: 940px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.doc-title {
  padding: 26px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0dbadd, #1f61e8);
  color: #fff;
}
.doc-title span { display: inline-block; margin-bottom: 8px; font-weight: 1000; color: var(--yellow); }
.doc-title h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); }
.doc-title p { margin: 8px 0 0; color: rgba(255,255,255,.82); }
.doc-card h2 { margin: 28px 0 10px; color: #12306d; }
.doc-card p { margin: 0 0 10px; }
.doc-card ul { padding-left: 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; min-width: 620px; }
th, td { padding: 12px; border: 1px solid #d8edf7; text-align: left; color: #445b7d; }
th { background: #e9f8ff; color: #12306d; }

@media (max-width: 960px) {
  .hero-grid, .game-intro-card, .feature-grid, .steps-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-showcase { min-height: auto; }
  .phone-frame { width: min(330px, 78vw); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1160px); }
  .site-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 76px;
    padding: 16px;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 116, 184, .96);
    box-shadow: 0 20px 38px rgba(0,44,98,.28);
  }
  .site-nav.show { display: flex; }
  .doc-nav { display: flex; position: static; flex-direction: row; background: transparent; box-shadow: none; padding: 0; }
  .doc-nav a { font-size: 13px; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { padding: 38px 0 80px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .floating-card { display: none; }
  .section { padding: 54px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .game-intro-card, .info-panel, .doc-card { padding: 22px; border-radius: 24px; }
  .game-logo-block { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .brand span { font-size: 17px; }
  .brand img { width: 42px; height: 42px; }
  .nav-wrap { height: 70px; }
  .site-nav { top: 70px; }
  .hero-copy h1 { font-size: 50px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 22px; }
  .phone-frame { width: min(290px, 82vw); border-radius: 34px; }
  .phone-frame img { border-radius: 24px; }
  .section-title h2 { font-size: 32px; }
  .game-intro-content h3 { font-size: 30px; }
  .legal-links a { flex-direction: column; align-items: flex-start; }
}

/* V2 layout adjustment: company and policy information only appears in the footer. */
.footer-grid-compact {
  align-items: flex-start;
}
.footer-company,
.footer-policy {
  max-width: 360px;
}
.footer-company h3,
.footer-policy h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #fff;
}
.footer-company p,
.footer-policy p {
  margin: 6px 0;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  font-size: 13px;
}
.footer-company a,
.footer-policy a {
  color: rgba(255,255,255,.86);
}
.footer-policy .footer-links {
  margin-bottom: 8px;
}
.footer-record {
  max-width: 320px;
}
@media (max-width: 960px) {
  .footer-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
  }
  .footer-company,
  .footer-policy {
    max-width: none;
  }
}


/* Policy content enhancement: keeps the original page layout and only styles legal text blocks. */
.policy-callout {
  margin: 16px 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffde8, #e9f9ff);
  border: 1px solid rgba(255,176,35,.22);
  box-shadow: inset 0 -5px 0 rgba(255,184,39,.12);
}
.policy-callout strong { color: #12306d; }
.policy-callout p { margin: 6px 0 0; }
.policy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}
.policy-badges span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f9ff;
  color: #0f52ca;
  font-weight: 900;
  font-size: 13px;
}
.doc-card .compact-list {
  margin-top: 8px;
}
.doc-card .compact-list li {
  margin-bottom: 6px;
}
.footer-policy-note {
  margin: 8px 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  font-size: 13px;
}


/* V3 download entrance: keeps the original website layout style while adding Android and iOS install access. */
.download-section {
  background: linear-gradient(180deg, #f7fcff, #e9f8ff);
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(circle at 12% 18%, #ffd33f 0 5px, transparent 6px),
    radial-gradient(circle at 86% 28%, #0bb6df 0 5px, transparent 6px),
    radial-gradient(circle at 45% 82%, #44d66c 0 4px, transparent 5px);
  background-size: 210px 210px;
}
.download-section .container { position: relative; z-index: 2; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.download-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(19,126,204,.12);
  background: #fff;
  box-shadow: 0 18px 42px rgba(5, 72, 140, .12);
}
.download-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #12306d;
}
.download-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}
.download-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  font-size: 42px;
  background: linear-gradient(180deg, #fff7c7, #ffb22a);
  box-shadow: 0 8px 0 #da7314, 0 18px 28px rgba(255,141,31,.22);
}
.ios-card .download-icon {
  color: #fff;
  background: linear-gradient(180deg, #36dbff, #1f65ff);
  box-shadow: 0 8px 0 #0c3aae, 0 18px 28px rgba(0,49,114,.22);
}
.app-store-btn {
  background: linear-gradient(180deg, #1f61e8, #102454);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.download-note {
  max-width: 860px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(19,126,204,.12);
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}
.download-btn::before { content: "⬇"; margin-right: 6px; }
.footer-download-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.footer-download-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: 13px;
}
.footer-download-links a:hover { color: var(--yellow); }
@media (max-width: 760px) {
  .download-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download-icon { margin: 0 auto; }
  .download-card .btn { width: 100%; }
}
