:root {
  color-scheme: light;
  --ink: #0b1411;
  --forest: #06150f;
  --fern: #0e3b2c;
  --leaf: #20c773;
  --aqua: #20c8dc;
  --sun: #ffd747;
  --coral: #ff6e58;
  --violet: #7357ff;
  --paper: #f7f4e8;
  --white: #ffffff;
  --muted: #607069;
  --line: rgba(11, 20, 17, 0.14);
  --shadow-soft: 0 24px 80px rgba(6, 21, 15, 0.22);
  --shadow-deep: 0 34px 110px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font-family:
    "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 46px;
  color: var(--white);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 21, 15, 0.9);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.brand-mark {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-name {
  display: inline-flex;
  align-items: center;
}

.brand-name span {
  color: var(--white);
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
  font-weight: 850;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: none;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 850;
}

.language-picker select {
  min-width: 112px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 0 31px 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  outline: none;
  backdrop-filter: blur(14px);
}

.language-picker select:focus-visible {
  border-color: var(--sun);
}

.language-picker option {
  background: var(--forest);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  --cursor-x: 68%;
  --cursor-y: 42%;
  min-height: 100svh;
  overflow: hidden;
  padding: 118px 46px 76px;
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 68% 42%, rgba(255, 215, 71, 0.2), transparent 28%),
    radial-gradient(circle at 86% 52%, rgba(32, 200, 220, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(6, 21, 15, 0.96) 0%, rgba(6, 21, 15, 0.86) 38%, rgba(6, 21, 15, 0.38) 72%, rgba(6, 21, 15, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 21, 15, 0.18) 0%, rgba(6, 21, 15, 0.18) 48%, rgba(6, 21, 15, 0.9) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: 46px;
  bottom: 38px;
  left: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--sun), rgba(255, 255, 255, 0.42), transparent);
  content: "";
}

.hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.hero-particles,
.hero-glow,
.hero-ribbon {
  position: absolute;
  pointer-events: none;
}

.hero-particles {
  z-index: 2;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 17%, rgba(255, 255, 255, 0.64) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 29%, rgba(255, 232, 118, 0.66) 0 2px, transparent 3px),
    radial-gradient(circle at 81% 61%, rgba(32, 200, 220, 0.48) 0 2px, transparent 3px),
    radial-gradient(circle at 61% 77%, rgba(255, 110, 88, 0.42) 0 2px, transparent 3px);
  mix-blend-mode: screen;
  opacity: 0.9;
  transform: translateZ(0);
  animation: particle-field-breathe 5.6s ease-in-out infinite alternate;
}

.hero-particles::before,
.hero-particles::after {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  filter: drop-shadow(0 0 8px rgba(255, 232, 118, 0.52));
  transform: translateZ(0);
  will-change: opacity, transform;
}

.hero-particles::before {
  top: 13%;
  left: 42%;
  background: rgba(255, 232, 118, 0.96);
  box-shadow:
    96px 46px 0 rgba(255, 255, 255, 0.76),
    178px -10px 0 rgba(32, 200, 220, 0.64),
    270px 104px 0 rgba(255, 110, 88, 0.54),
    360px 28px 0 rgba(255, 232, 118, 0.7),
    476px 166px 0 rgba(255, 255, 255, 0.52),
    586px 54px 0 rgba(32, 200, 220, 0.56),
    710px 216px 0 rgba(255, 232, 118, 0.52),
    42px 338px 0 rgba(255, 255, 255, 0.54),
    214px 430px 0 rgba(32, 200, 220, 0.5),
    628px 398px 0 rgba(255, 110, 88, 0.42),
    782px 86px 0 rgba(255, 255, 255, 0.5);
  animation: particle-twinkle 5.8s ease-in-out infinite alternate;
}

.hero-particles::after {
  top: 27%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    72px 56px 0 rgba(255, 232, 118, 0.58),
    162px -38px 0 rgba(255, 255, 255, 0.56),
    260px 128px 0 rgba(32, 200, 220, 0.58),
    352px 22px 0 rgba(255, 110, 88, 0.46),
    466px 250px 0 rgba(255, 232, 118, 0.52),
    586px 108px 0 rgba(255, 255, 255, 0.48),
    684px 306px 0 rgba(32, 200, 220, 0.46),
    -66px 246px 0 rgba(255, 232, 118, 0.46),
    118px 360px 0 rgba(255, 110, 88, 0.38),
    762px 176px 0 rgba(255, 255, 255, 0.42);
  animation: particle-twinkle 6.9s ease-in-out infinite alternate-reverse;
}

.hero-glow {
  z-index: 3;
  top: var(--cursor-y);
  left: var(--cursor-x);
  width: clamp(320px, 46vw, 620px);
  height: clamp(320px, 46vw, 620px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 248, 190, 0.34) 0%, rgba(255, 215, 71, 0.18) 28%, rgba(32, 200, 220, 0.08) 48%, transparent 72%);
  filter: blur(1px);
  opacity: 0.92;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, top, left;
}

.hero-ribbon {
  z-index: 3;
  right: -12vw;
  bottom: 14%;
  width: min(58vw, 760px);
  height: min(22vw, 260px);
  border-radius: 999px;
  background:
    linear-gradient(92deg, transparent 0%, rgba(255, 215, 71, 0.06) 20%, rgba(255, 255, 255, 0.2) 44%, rgba(32, 200, 220, 0.12) 62%, transparent 82%);
  opacity: 0.5;
  transform: rotate(-11deg);
}

.hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(100%, 1220px);
  min-height: calc(100svh - 194px);
  align-items: center;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(100%, 780px);
  padding-bottom: 0;
  transform: translateY(clamp(-52px, -4vh, -18px));
}

.hero-copy::before {
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 5px;
  background: var(--sun);
  content: "";
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: 6.5rem;
  line-height: 0.88;
  font-weight: 950;
}

h2 {
  margin-bottom: 20px;
  font-size: 3.16rem;
  line-height: 1.03;
  font-weight: 930;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.78;
  font-weight: 680;
}

.hero-copy .hero-cn {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.contact-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--sun);
  color: var(--forest);
  box-shadow: 0 16px 36px rgba(255, 215, 71, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.brand-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b241a;
  color: var(--white);
}

.brand-strip div {
  display: grid;
  width: min(100%, 1180px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 auto;
}

.brand-strip span {
  display: grid;
  min-height: 72px;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-strip span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.games {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.9fr);
  gap: 64px;
  align-items: start;
  padding: 116px max(46px, calc((100% - 1180px) / 2 + 46px));
  background: var(--paper);
}

.section-kicker .eyebrow,
.studio-copy .eyebrow,
.contact .eyebrow {
  color: var(--leaf);
}

.games h2 {
  max-width: 680px;
}

.games-copy {
  padding-top: 36px;
}

.games-copy p,
.playbook p,
.studio-copy p,
.contact p {
  color: var(--muted);
  line-height: 1.78;
}

.games-copy p {
  font-size: 1.04rem;
}

.playbook {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--forest);
  color: var(--white);
}

.playbook article {
  min-height: 330px;
  padding: 46px;
  background:
    linear-gradient(155deg, rgba(32, 199, 115, 0.14), transparent 58%),
    #0a1e17;
}

.playbook article:nth-child(2) {
  background:
    linear-gradient(155deg, rgba(32, 200, 220, 0.14), transparent 58%),
    #0b201c;
}

.playbook article:nth-child(3) {
  background:
    linear-gradient(155deg, rgba(255, 110, 88, 0.14), transparent 58%),
    #102018;
}

.playbook span {
  display: inline-flex;
  margin-bottom: 90px;
  color: var(--sun);
  font-size: 1.55rem;
  font-weight: 950;
}

.playbook p {
  color: rgba(255, 255, 255, 0.68);
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 58px;
  align-items: center;
  padding: 118px max(46px, calc((100% - 1180px) / 2 + 46px));
  background: var(--white);
}

.studio-art {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 8px;
  background: var(--forest);
  box-shadow: var(--shadow-soft);
}

.studio-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 62%, rgba(6, 21, 15, 0.26)),
    linear-gradient(90deg, rgba(255, 215, 71, 0.22), transparent 36%);
  content: "";
}

.studio-art img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.studio-copy p {
  font-size: 1.04rem;
}

.contact {
  padding: 104px max(46px, calc((100% - 980px) / 2 + 46px));
  background:
    linear-gradient(135deg, rgba(255, 215, 71, 0.16), transparent 34%),
    var(--paper);
  text-align: center;
}

.contact h2 {
  margin-right: auto;
  margin-left: auto;
}

.contact p {
  max-width: 640px;
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
}

.contact-link {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(6, 21, 15, 0.2);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px max(46px, calc((100% - 1180px) / 2 + 46px));
  background: #06110d;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--sun);
  outline: none;
}

.policy-page {
  background: var(--paper);
}

.policy-main {
  min-height: 100vh;
  padding: 132px max(24px, calc((100% - 980px) / 2 + 24px)) 82px;
  background:
    linear-gradient(135deg, rgba(32, 199, 115, 0.12), transparent 28%),
    var(--paper);
}

.policy-hero {
  max-width: 840px;
  margin-bottom: 46px;
}

.policy-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 4.15rem;
  line-height: 0.98;
}

.policy-meta {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 760;
}

.policy-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.policy-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--fern);
  font-size: 0.84rem;
  font-weight: 900;
}

.policy-chip:hover,
.policy-chip:focus-visible,
.policy-chip.is-active {
  border-color: rgba(32, 199, 115, 0.5);
  background: var(--forest);
  color: var(--white);
  outline: none;
}

.policy-content {
  max-width: 920px;
  line-height: 1.78;
}

.policy-content section {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.policy-content h2 {
  margin-bottom: 18px;
  font-size: 1.72rem;
  line-height: 1.22;
}

.policy-content h3 {
  margin-top: 26px;
  color: var(--fern);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy-content li + li {
  margin-top: 10px;
}

.policy-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.62);
}

.policy-contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

.policy-contact:hover,
.policy-contact:focus-visible {
  background: var(--fern);
  outline: none;
}

.not-found {
  min-height: 100vh;
  background: var(--paper);
}

.not-found-main {
  display: flex;
  width: min(100%, 860px);
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 48px 32px;
}

.not-found-language {
  margin-bottom: 42px;
  color: var(--muted);
}

.not-found-language select {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.not-found-language option {
  background: var(--white);
  color: var(--ink);
}

.not-found-main .eyebrow {
  color: var(--leaf);
}

.not-found-main h1 {
  max-width: 640px;
  color: var(--ink);
}

.not-found-main p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.not-found-main .button {
  width: fit-content;
  margin-top: 18px;
}

@keyframes particle-twinkle {
  0%,
  100% {
    opacity: 0.52;
    transform: translate3d(0, 0, 0) scale(0.92);
  }

  48% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.14);
  }
}

@keyframes particle-field-breathe {
  0%,
  100% {
    opacity: 0.72;
  }

  46% {
    opacity: 0.98;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-particles,
  .hero-particles::before,
  .hero-particles::after,
  .hero-ribbon,
  .button,
  .contact-link {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .games,
  .studio {
    grid-template-columns: 1fr;
  }

  .games-copy {
    padding-top: 0;
  }

  .studio-art {
    min-height: 460px;
  }

  h1 {
    font-size: 4.7rem;
  }

  h2 {
    font-size: 2.46rem;
  }
}

@media (max-width: 900px) {
  .brand-strip div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-strip span:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 820px) {
  .playbook {
    grid-template-columns: 1fr;
  }

  .playbook article {
    min-height: 0;
  }

  .playbook span {
    margin-bottom: 42px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
  }

  .brand-name {
    max-width: 132px;
    font-size: 0.82rem;
  }

  .header-tools {
    gap: 9px;
  }

  .language-picker span {
    display: none;
  }

  .language-picker select {
    min-width: 86px;
    height: 36px;
    padding-right: 24px;
    padding-left: 9px;
    font-size: 0.78rem;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 8px;
    background: rgba(6, 21, 15, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    padding: 106px 18px 54px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 21, 15, 0.92), rgba(6, 21, 15, 0.75) 52%, rgba(6, 21, 15, 0.5)),
      linear-gradient(90deg, rgba(6, 21, 15, 0.8), rgba(6, 21, 15, 0.12));
  }

  .hero::after {
    right: 18px;
    bottom: 26px;
    left: 18px;
    width: auto;
    height: 1px;
  }

  .hero-bg {
    object-position: 72% center;
  }

  .hero-particles {
    opacity: 0.48;
  }

  .hero-glow {
    opacity: 0.52;
  }

  .hero-ribbon {
    right: -34vw;
    bottom: 30%;
    width: 118vw;
    height: 34vw;
    opacity: 0.42;
  }

  .hero-inner {
    min-height: calc(100svh - 160px);
    align-items: center;
  }

  .hero-copy {
    padding-top: 58px;
    padding-bottom: 22px;
    transform: translateY(-3vh);
  }

  h1 {
    max-width: 360px;
    margin-bottom: 20px;
    font-size: 2.88rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 1.92rem;
    line-height: 1.12;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 26px;
  }

  .button {
    flex: 1 1 152px;
  }

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

  .brand-strip span {
    min-height: 58px;
    font-size: 0.74rem;
  }

  .games,
  .studio,
  .contact {
    padding: 72px 18px;
  }

  .games {
    gap: 22px;
  }

  .games-copy p,
  .studio-copy p {
    font-size: 0.98rem;
  }

  .playbook article {
    padding: 34px 18px;
  }

  .studio {
    gap: 30px;
  }

  .studio-art {
    min-height: 360px;
  }

  .contact-link {
    width: 100%;
  }

  .site-footer {
    display: block;
    padding: 28px 18px 34px;
  }

  .site-footer p + p {
    margin-top: 8px;
  }

  .policy-main {
    padding: 104px 18px 58px;
  }

  .policy-hero h1 {
    font-size: 2.62rem;
  }

  .policy-content h2 {
    font-size: 1.42rem;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 17px;
    height: 17px;
  }

  .brand-name span {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    display: none;
  }
}
