:root {
  --bg: #121020 !important;
  --bg-elev: #1a1729 !important;
  --bg-panel: #1a1729 !important;
  --accent: #6748fd !important;
  --accent-soft: #9b86ff !important;
  --text: #eae7ff !important;
  --muted: #a49dc6 !important;
  --line-accent: #6748fd8c !important;
}
body {
  background:
    radial-gradient(1200px 600px at 80% -10%, #6748fd29, transparent 55%),
    radial-gradient(900px 500px at 10% 20%, #34248c38, transparent 50%),
    linear-gradient(180deg, #1a1729 0%, var(--bg) 40%, #121020 100%) !important;
}

/* CrazyGames 素材为 16:10 横版游戏图，沿用同一套框式结构，仅调整取景比例 */
.tx-hardshot img,
.tx-row__frame img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

/* 桌面：词标更长，给文案列留出宽度 */
@media (min-width: 981px) {
  .tx-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  .tx-hero__copy {
    max-width: 40rem;
  }

  .tx-hero-shots {
    width: min(100%, 480px);
  }

  .tx-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
  }

  .tx-row__item {
    flex-basis: calc((100% - 2.4rem) / 3.3);
  }
}

/* 平板：单列排布 */
@media (max-width: 980px) {
  .tx-hero__title {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
  }

  .tx-row__item {
    flex-basis: calc((100% - 1.4rem) / 2.3);
  }
}

/* 手机：2x2 预览收窄，词标随宽度缩放 */
@media (max-width: 760px) {
  .tx-hero__title {
    font-size: clamp(1.7rem, 7.6vw, 2.4rem);
  }

  .tx-hero-shots {
    width: min(100%, 320px);
  }

  .tx-row__item {
    flex-basis: calc((100% - 0.7rem) / 1.3);
  }
}