@charset "UTF-8";

:root {
  --ink: #08172f;
  --navy: #07172f;
  --accent-start: #4032f5;
  --accent-end: #00b8f2;
  --accent-pink: #ff4d8d;
  --surface: #f4f8ff;
  --line: #dce5f3;
  --muted: #60718c;
  --soft: #edf3fc;
  --container: min(calc(100% - 48px), 1240px);
  --shadow: 0 24px 70px rgba(20, 49, 102, 0.14);
}

body {
  overflow-x: hidden;
  background: #fff;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.site-header {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 243, 0.86);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-link img {
  width: auto;
  height: 44px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 30px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switcher {
  position: relative;
  align-self: center;
}

.language-switcher summary {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::marker {
  content: "";
}

.language-switcher summary:hover,
.language-switcher[open] summary {
  background: var(--soft);
}

.language-switcher summary:focus-visible,
.language-options a:focus-visible {
  outline: 2px solid var(--accent-start);
  outline-offset: 2px;
}

.language-globe {
  width: 20px;
  height: 20px;
}

.language-options {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 138px;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 49, 102, 0.16);
}

.language-options > * {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.language-option-current {
  background: var(--soft);
  font-weight: 800;
}

.language-option-current::before {
  margin-right: 7px;
  color: var(--accent-start);
  content: "✓";
}

.language-options a:hover,
.language-options a:focus-visible {
  background: var(--soft);
}

.showcase-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 48px;
  background:
    radial-gradient(circle at 85% 9%, rgba(0, 184, 242, 0.18), transparent 27%),
    linear-gradient(135deg, #f9fbff 0%, #edf5ff 100%);
}

.showcase-hero::before {
  position: absolute;
  top: 0;
  right: 13%;
  width: 1px;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(64, 50, 245, 0.18), transparent);
  content: "";
}

.showcase-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-start);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 0 0 5px rgba(0, 184, 242, 0.12);
}

.showcase-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  white-space: nowrap;
}

.showcase-heading h1 span {
  color: transparent;
  background: linear-gradient(110deg, var(--accent-start), var(--accent-end));
  background-clip: text;
  -webkit-background-clip: text;
}

.game-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.45fr);
  height: clamp(410px, 63vh, 570px);
  align-items: stretch;
  gap: 18px;
}

.game-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.game-stage-visual {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  min-height: 0;
  background: var(--navy);
}

.game-stage-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 47, 0.02) 46%, rgba(7, 23, 47, 0.48));
  content: "";
  pointer-events: none;
}

.game-stage-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-stage-badge,
.game-stage-index {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.game-stage-badge {
  left: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 99px;
  background: rgba(7, 23, 47, 0.48);
}

.game-stage-index {
  right: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.game-info-bar {
  display: flex;
  flex: 0 0 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 15px 20px;
  background: #fff;
}

.game-info-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.game-info-main > img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(20, 49, 102, 0.12);
}

.game-info-main h2 {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-info-main p {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-info-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.game-category,
.game-status {
  padding: 6px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.game-category {
  color: var(--accent-start);
  background: #f1f3ff;
}

.game-status {
  color: #197455;
  background: #e8f9f1;
}

.game-status[data-status="coming-soon"] {
  color: #95620a;
  background: #fff5d9;
}

.game-status[data-status="maintenance"] {
  color: #a63a5d;
  background: #fff0f4;
}

.game-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(72px, 1fr));
  gap: 12px;
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.game-icon,
.game-more-tile {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
}

.game-icon {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-icon img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(20, 49, 102, 0.13);
}

.game-icon:hover,
.game-icon:focus-visible {
  box-shadow: 0 14px 30px rgba(64, 50, 245, 0.22);
  transform: translateY(-3px);
}

.game-icon[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--accent-start), 0 14px 30px rgba(64, 50, 245, 0.22);
}

.game-icon[data-status="coming-soon"]::after,
.game-icon[data-status="maintenance"]::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 99px;
  color: #fff;
  background: rgba(7, 23, 47, 0.7);
  content: "敬请期待";
  font-size: 9px;
  font-weight: 800;
}

.game-icon[data-status="maintenance"]::after {
  content: "维护中";
}

html[lang="en"] .game-icon[data-status="coming-soon"]::after {
  content: "Coming Soon";
}

html[lang="en"] .game-icon[data-status="maintenance"]::after {
  content: "Under Maintenance";
}

.game-icon:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.game-icon:nth-child(2) {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
}

.game-icon:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.game-icon:nth-child(4) {
  grid-column: 1 / span 2;
  grid-row: 3 / span 2;
}

.game-icon:nth-child(5) {
  grid-column: 3;
  grid-row: 3;
}

.game-icon:nth-child(6) {
  grid-column: 3;
  grid-row: 4;
}

.game-icon:nth-child(7) {
  grid-column: 1;
  grid-row: 5;
}

.game-more-tile {
  display: flex;
  grid-column: 2 / span 2;
  grid-row: 5;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  font-size: clamp(14px, 1.7vw, 19px);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 25px rgba(20, 49, 102, 0.09);
}

.more-tile-symbol {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 38px;
  padding-bottom: 30px;
}

.footer-brand img {
  width: auto;
  height: 45px;
}

html[lang="en"] .footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-content {
  min-width: 0;
}

.footer-links,
.footer-notice,
.footer-bottom {
  display: flex;
  align-items: center;
  min-width: 0;
}

.footer-links {
  justify-content: flex-end;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.footer-links span,
.footer-links a {
  white-space: nowrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

.footer-notice {
  justify-content: flex-end;
  gap: 24px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.footer-notice > span:last-child {
  min-width: 0;
}

.footer-bottom {
  justify-content: flex-end;
  gap: 15px;
  margin-top: 14px;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  text-align: right;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .game-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.48fr);
  }

  .game-info-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: calc(100% - 32px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 19px;
  }

  .brand-link img {
    height: 37px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 4px 20px;
  }

  .nav-link {
    padding: 5px 0;
    font-size: 12px;
  }

  .showcase-hero {
    padding: 30px 0 56px;
  }

  .showcase-heading {
    margin-bottom: 14px;
  }

  .showcase-heading h1 {
    font-size: clamp(28px, 9vw, 44px);
    white-space: normal;
  }

  .game-showcase {
    display: block;
    height: auto;
  }

  .game-stage {
    height: auto;
  }

  .game-stage-visual {
    flex: none;
    height: auto;
    aspect-ratio: 1.54 / 1;
  }

  .game-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 100px);
    margin-top: 14px;
  }

  .game-icon:nth-child(n),
  .game-more-tile {
    grid-column: auto;
    grid-row: auto;
  }

  .game-more-tile {
    padding: 10px;
    font-size: 14px;
  }

  .footer-inner {
    display: block;
    padding-top: 34px;
    padding-bottom: 25px;
  }

  .footer-brand img {
    height: 39px;
  }

  .footer-content {
    margin-top: 26px;
  }

  .footer-links,
  .footer-notice {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 18px;
  }

  .footer-bottom {
    margin-top: 18px;
    line-height: 1.7;
  }
}

@media (max-width: 520px) {
  .showcase-heading h1 {
    letter-spacing: -0.08em;
  }

  .game-stage {
    border-radius: 18px;
  }

  .game-info-bar {
    min-height: 98px;
    padding: 15px;
  }

  .game-info-main > img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .game-info-main h2 {
    font-size: 20px;
  }

  .game-info-main p {
    font-size: 12px;
  }

  .game-info-meta {
    gap: 7px;
  }

  .game-category,
  .game-status {
    padding: 5px 8px;
    font-size: 10px;
  }

  .game-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, 84px);
  }

  .game-more-tile {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-height: 820px) and (min-width: 821px) {
  .showcase-hero {
    padding-top: 30px;
    padding-bottom: 46px;
  }

  .showcase-heading {
    margin-bottom: 14px;
  }

  .showcase-heading h1 {
    font-size: clamp(28px, 3.2vw, 44px);
  }

  .game-showcase {
    height: min(70vh, 520px);
  }

  .game-info-bar {
    flex-basis: 84px;
    min-height: 84px;
    padding: 12px 18px;
  }

  .game-info-main > img {
    width: 50px;
    height: 50px;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}

.about-page {
  background: #fff;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(0, 184, 242, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.about-hero::before,
.about-hero::after {
  position: absolute;
  border: 1px solid rgba(64, 50, 245, 0.12);
  border-radius: 50%;
  content: "";
}

.about-hero::before {
  top: -180px;
  right: 24%;
  width: 420px;
  height: 420px;
}

.about-hero::after {
  right: 9%;
  bottom: -110px;
  width: 270px;
  height: 270px;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding-top: 108px;
  padding-bottom: 124px;
}

.about-hero-copy {
  min-width: 0;
}

.about-hero h1 {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1.04;
}

.about-hero h1 span,
.about-content h2 span {
  color: transparent;
  background: linear-gradient(110deg, var(--accent-start), var(--accent-end));
  background-clip: text;
  -webkit-background-clip: text;
}

.about-hero-lede {
  max-width: 540px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.about-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 12px 18px 12px 20px;
  border-radius: 99px;
  color: #fff;
  background: linear-gradient(110deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 14px 28px rgba(64, 50, 245, 0.2);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-hero-cta span {
  font-size: 20px;
  line-height: 0.8;
}

.about-hero-cta:hover,
.about-hero-cta:focus-visible {
  box-shadow: 0 17px 34px rgba(64, 50, 245, 0.28);
  transform: translateY(-2px);
}

.about-hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  aspect-ratio: 1;
  transform: rotate(3deg);
}

.about-hero-art::before {
  position: absolute;
  inset: 16px -14px -14px 14px;
  border: 1px solid rgba(0, 184, 242, 0.36);
  border-radius: 30px;
  content: "";
}

.about-hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 26px 55px rgba(20, 49, 102, 0.2);
}

.about-hero-art-note {
  position: absolute;
  right: 20px;
  bottom: -15px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(220, 229, 243, 0.9);
  border-radius: 99px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 26px rgba(20, 49, 102, 0.12);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.about-hero-art-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.about-content {
  padding: 104px 0;
  background: #fff;
}

.about-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(50px, 8vw, 120px);
}

.about-content h2 {
  margin-top: 15px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1.05;
}

.about-story-copy {
  max-width: 560px;
  padding-top: 7px;
}

.about-story-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
}

.about-story-copy p + p {
  margin-top: 24px;
}

.about-principles {
  padding: 90px 0 104px;
  background: var(--surface);
}

.about-principles h2 {
  margin-top: 11px;
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.principle-card {
  min-height: 205px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 49, 102, 0.05);
}

.principle-index {
  color: var(--accent-start);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.principle-card h3 {
  margin-top: 26px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.principle-card p {
  max-width: 220px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.about-works-cta {
  padding: 90px 0 104px;
  background: linear-gradient(135deg, #f7f9ff 0%, #eaf7ff 100%);
}

.about-works-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-works-cta h2 {
  margin-top: 11px;
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1.08;
}

.about-works-cta h2 span {
  color: transparent;
  background: linear-gradient(110deg, var(--accent-start), var(--accent-end));
  background-clip: text;
  -webkit-background-clip: text;
}

@media (max-width: 820px) {
  .about-hero-inner {
    display: block;
    padding-top: 75px;
    padding-bottom: 86px;
  }

  .about-hero-art {
    width: min(100%, 420px);
    margin-top: 44px;
    margin-inline: auto;
    transform: rotate(2deg);
  }

  .about-content {
    padding: 76px 0;
  }

  .about-content-grid {
    display: block;
  }

  .about-story-copy {
    padding-top: 30px;
  }

  .about-principles {
    padding: 70px 0 80px;
  }

  .principles-list {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 0;
  }

  .about-works-cta {
    padding: 70px 0 80px;
  }

  .about-works-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}
