:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  background: #08090c;
  color: #f6f7fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 0%, #202638 0, #0c0e14 30rem, #08090c 52rem); }
a { color: inherit; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(8, 9, 12, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #6d93ff; color: #071126; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .12em; }
.brand small { margin-top: 2px; color: #9299aa; font-size: 11px; }

.languages { display: flex; gap: 4px; }
.languages button { padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #9399a8; cursor: pointer; }
.languages button:hover, .languages button.is-active { background: #242938; color: #fff; }

main { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.hero { max-width: 700px; padding: clamp(72px, 10vw, 128px) 8px clamp(50px, 8vw, 86px); }
.eyebrow, .game-kicker { margin: 0 0 12px; color: #77a0ff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero > p:last-child { max-width: 570px; margin: 24px 0 0; color: #aeb4c1; font-size: clamp(17px, 2vw, 20px); line-height: 1.75; }

.games { display: grid; gap: 24px; padding-bottom: 90px; }
.game-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 25vw, 240px);
  align-items: center;
  min-height: 360px;
  padding: clamp(30px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 34px;
  background: #12151d;
  isolation: isolate;
}
.game-card::before { position: absolute; inset: auto -8% -45% 40%; z-index: -1; height: 130%; border-radius: 50%; content: ""; filter: blur(8px); opacity: .44; }
.game-card--wudao::before { background: radial-gradient(circle, #89542c 0, transparent 66%); }
.game-card--guardian::before { background: radial-gradient(circle, #7f3440 0, transparent 66%); }
.game-card--xplanet::before { background: radial-gradient(circle, #134f75 0, transparent 66%); }
.game-copy { max-width: 590px; }
.game-card h2 { margin: 0; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; }
.game-card p:not(.game-kicker) { max-width: 560px; margin: 18px 0 27px; color: #c0c5d0; font-size: 17px; line-height: 1.75; }
.game-card > img { justify-self: end; width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 24%; box-shadow: 0 28px 70px rgba(0, 0, 0, .45); }

.store-button { display: inline-flex; align-items: center; gap: 9px; min-width: 164px; padding: 8px 16px 9px; border: 1px solid #747986; border-radius: 11px; background: #050506; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.store-button:hover { transform: translateY(-2px); border-color: #fff; }
.store-button .apple { width: 24px; height: 24px; fill: #fff; }
.store-button small, .store-button strong { display: block; }
.store-button small { font-size: 9px; line-height: 1; }
.store-button strong { margin-top: 2px; font-size: 19px; line-height: 1; }

footer { display: flex; justify-content: space-between; gap: 24px; width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 28px 8px 42px; border-top: 1px solid rgba(255, 255, 255, .08); color: #737a89; font-size: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 720px) {
  .site-header { position: relative; align-items: flex-start; flex-direction: column; gap: 12px; padding: 12px 16px; }
  .languages { width: 100%; overflow-x: auto; }
  .languages button { flex: 1 0 auto; }
  main { width: min(100% - 24px, 560px); }
  .hero { padding-top: 64px; }
  .game-card { grid-template-columns: 1fr 88px; min-height: 300px; padding: 28px 24px; border-radius: 26px; }
  .game-card > img { align-self: start; width: 82px; border-radius: 22%; }
  .game-card p:not(.game-kicker) { grid-column: 1 / -1; font-size: 15px; }
  .game-card h2 { font-size: 30px; }
  footer { flex-direction: column; width: calc(100% - 24px); }
}
