:root {
  color-scheme: light;
  --background: #f7f8fc;
  --surface: #fff;
  --ink: #19233e;
  --muted: #525e74;
  --line: #e1e5ee;
  --blue: #373e9c;
  --green: #155e58;
  font: 100%/1.65 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--background);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, p { margin: 0; }
h1, h2 { margin: 0; font-weight: 690; line-height: 1.12; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; }
p { color: var(--muted); }
.shell { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: 1rem; padding: .45rem .8rem; background: var(--surface); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem 1.7rem;
  flex-wrap: wrap;
  padding-block: .75rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-size: 1rem; font-weight: 720; text-decoration: none; }
.studio-mark {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: .68rem;
  background: linear-gradient(140deg, #6266da, #4350aa 60%, #35418e);
  box-shadow: 0 3px 8px #3d489a29, inset 0 1px 1px #ffffff80;
}
.studio-mark::before, .studio-mark::after {
  content: "";
  position: absolute;
  inset: .42rem .35rem .46rem;
  background: #fff;
  clip-path: polygon(0 100%, 41% 12%, 78% 100%, 62% 100%, 41% 47%, 17% 100%);
}
.studio-mark::after { transform: translate(.33rem, .19rem) scale(.8); opacity: .68; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem clamp(.85rem, 2vw, 1.8rem); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .94rem; text-decoration: none; }
.site-header nav a:hover { color: var(--blue); }
.site-header nav .language { min-height: 36px; padding-inline: .75rem; color: var(--blue); border: 1px solid var(--line); border-radius: 100vmax; background: #fff9; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid #e1e4f2;
  border-radius: 1.65rem;
  background: radial-gradient(ellipse at 86% 72%, #d8e8ff 0%, transparent 55%), linear-gradient(118deg, #fff 11%, #f4f4ff 57%, #e6e3fa 100%);
}
.hero-copy { width: 60%; }
.studio-name { display: block; margin-bottom: .9rem; color: var(--blue); font-size: .96rem; font-weight: 650; }
h1 { margin-bottom: 1rem; font-size: clamp(2.75rem, 5.5vw, 5.2rem); letter-spacing: -.057em; }
html[lang="en"] h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.hero-copy p { max-width: 33rem; font-size: clamp(1rem, 1.45vw, 1.15rem); }
.hero-art { position: absolute; z-index: -1; right: -3%; bottom: -40%; width: 50%; aspect-ratio: 1; pointer-events: none; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 39% 29%, #ffffff 0%, #eff8ff 26%, #d9dbf8 62%, #c5d4f5 83%);
  box-shadow: inset -12px -12px 36px #aab7e380, inset 6px 8px 25px #ffffffd0, 0 0 64px #fff8;
}
.orbit {
  position: absolute;
  inset: 21% -7%;
  border: 1px solid #ffffffde;
  border-radius: 50%;
  transform: rotate(-31deg);
  box-shadow: 0 0 0 1px #7887c11a, 0 0 24px #bac8ee48;
}
.orbit-inner { inset: 31% -12%; transform: rotate(-31deg); }
.app-chip {
  position: absolute;
  width: clamp(3.5rem, 7vw, 6.25rem);
  aspect-ratio: 1;
  padding: .38rem;
  border: 1px solid #ffffffee;
  border-radius: 25%;
  background: #ffffffc9;
  box-shadow: 0 18px 38px #47538c33, inset 0 1px 1px #fff;
}
.app-chip img { width: 100%; height: 100%; border-radius: 22%; }
.app-chip-dual { left: 28%; top: 19%; transform: rotate(-13deg); }
.app-chip-bang { left: 54%; top: 32%; transform: rotate(12deg); }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.65rem); margin-top: 1.6rem; }
.product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1rem, 2.35vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: 0 10px 32px #35446b08;
}
.product-heading { display: flex; align-items: center; gap: .75rem; }
.product-heading img { flex: none; border-radius: .72rem; }
.product h2 { font-size: clamp(1.4rem, 2.35vw, 2rem); letter-spacing: -.035em; }
.product-heading span { display: block; margin-top: .15rem; color: var(--muted); font-size: .9rem; }
.product-copy { flex: 1; }
.media { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; aspect-ratio: 2 / 1; border-radius: .95rem; }
.game-media { background: radial-gradient(ellipse at 49% 80%, #c1e0d5, #dfefe8 68%, #f1f7f1 100%); }
.game-media img { width: 80%; height: 80%; object-fit: cover; border: 4px solid #fffc; border-radius: .8rem; box-shadow: 0 14px 34px #234d4233; }
.bang-media { background: #f1f1fb; }
.bang-media img { position: absolute; width: 175%; max-width: none; right: 0; top: -34%; }
.product-links { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1rem; border-top: 1px solid var(--line); padding-top: .4rem; }
.product-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; text-decoration: none; }
.product-links a:hover { text-decoration: underline; }
.dual-product .product-links { color: var(--green); }
.bang-product .product-links { color: var(--blue); }
.product-links .primary-link { font-weight: 700; }
.game-details { color: var(--muted); font-size: .93rem; }
.game-details summary { display: list-item; min-height: 44px; padding-block: .57rem; font-weight: 650; color: var(--green); cursor: pointer; }
.game-details ul { margin: .2rem 0 .55rem; padding-left: 1.25rem; }
.game-details li + li { margin-top: .27rem; }

.studio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; padding: clamp(1.25rem, 3.2vw, 2.2rem); border-block: 1px solid var(--line); }
.studio-grid h2 { margin-bottom: .55rem; font-size: 1.15rem; }
.studio-grid a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.1rem 1.7rem; color: var(--muted); font-size: .875rem; }

@media (max-width: 55rem) {
  .hero-art { width: 58%; right: -12%; bottom: -24%; }
}
@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .hero { min-height: 17rem; padding-block: 1.7rem; }
  .hero-copy { width: 90%; }
  .hero-art { width: 67%; right: -24%; bottom: -35%; opacity: .6; }
  .app-chip { display: none; }
  .products { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 33rem) {
  .site-header nav { column-gap: .77rem; }
  .site-header nav a { font-size: .875rem; }
  .hero { border-radius: 1.18rem; padding-inline: 1.2rem; }
  .hero-copy { width: 100%; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); padding-inline: .45rem; }
}
