:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --line: rgba(17, 24, 39, 0.1);
  --text: #111827;
  --muted: #667085;
  --green: #33d17a;
  --blue: #48a7ff;
  --yellow: #ffd166;
  --red: #ff5c7a;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(72, 167, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(51, 209, 122, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

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

.topnav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.topnav a:hover {
  background: rgba(17, 24, 39, 0.05);
  color: var(--text);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(540px, 100%);
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.04);
  color: var(--muted);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: min(720px, calc(100vh - 74px));
  padding: 44px 0 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 28px;
}

.hero-stats span {
  display: grid;
  gap: 2px;
  min-height: 86px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.hero-stats strong {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
}

.hero-stats small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.primary-link,
.secondary-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-link,
.primary-button {
  background: var(--green);
  color: #06120c;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.04);
}

.hero-preview {
  display: grid;
  min-height: 430px;
  place-items: center;
}

.phone-shell {
  width: min(320px, 82vw);
  aspect-ratio: 9 / 16;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(150deg, #222a38, #0e1118);
  box-shadow: var(--shadow);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(160deg, #17304a, #16171f 58%, #122b1f);
  background-size: 32px 32px, 32px 32px, auto;
}

.mini-top {
  width: 80px;
  height: 6px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 36px 18px 0;
}

.mini-grid span {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #111827;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  animation: floatTile 4s ease-in-out infinite;
}

.mini-grid span:nth-child(2n) {
  animation-delay: -1.2s;
}

.mini-grid span::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.52));
}

.mini-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.mini-score {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
}

.mini-score strong {
  color: var(--yellow);
  font-size: 30px;
}

.mini-score small {
  color: var(--muted);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  margin: 8px 0 48px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.82));
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.service-head h2 {
  max-width: 520px;
  font-size: clamp(26px, 3vw, 38px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-grid article {
  min-height: 164px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: #fff;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #0f6b3e;
  font-size: 12px;
  font-weight: 950;
}

.service-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 0 24px;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.filter-group {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.filter-group > span {
  padding: 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.chip.active {
  border-color: rgba(51, 209, 122, 0.8);
  background: rgba(51, 209, 122, 0.16);
  color: var(--green);
}

.game-detail {
  padding: 18px 0 52px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb strong {
  color: var(--text);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
}

.music-cover {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 18px;
  background: #101828;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}

.music-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.music-cover::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 3px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
}

.music-sun {
  position: absolute;
  top: 38px;
  right: 56px;
  width: 86px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8c8, #ffd166 70%);
  box-shadow: 0 0 34px rgba(255, 209, 102, 0.65);
}

.music-hill {
  position: absolute;
  right: -8%;
  bottom: -18%;
  left: -8%;
  height: 48%;
  border-radius: 50% 50% 0 0;
  background: #35c86f;
}

.hill-two {
  right: -20%;
  bottom: -28%;
  left: 26%;
  height: 58%;
  background: #169b55;
}

.music-note {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: #7c3aed;
  font-size: 42px;
  font-weight: 950;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.2);
}

.note-one {
  top: 118px;
  left: 13%;
  transform: rotate(-12deg);
}

.note-two {
  top: 78px;
  left: 43%;
  color: #ef4444;
  transform: rotate(9deg);
}

.note-three {
  right: 17%;
  bottom: 128px;
  color: #2563eb;
  transform: rotate(15deg);
}

.music-flower {
  position: absolute;
  z-index: 1;
  bottom: 52px;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%),
    conic-gradient(#ff5c7a 0 20%, #ffd166 0 40%, #48a7ff 0 60%, #d28bff 0 80%, #33d17a 0);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.flower-one {
  left: 18%;
}

.flower-two {
  left: 34%;
  bottom: 82px;
}

.flower-three {
  right: 24%;
  bottom: 62px;
}

.detail-copy {
  padding-top: 4px;
}

.category-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.detail-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 46px);
}

.detail-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.store-panel {
  margin: 26px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fafc, #fff);
}

.store-panel p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  display: grid;
  min-width: 168px;
  gap: 2px;
  padding: 11px 15px;
  border-radius: 12px;
  background: #0b0f17;
  color: #fff;
}

.store-button small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-panel > small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.detail-copy h3,
.more-games h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.feature-list li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 950;
}

.more-games {
  margin-top: 46px;
}

.more-games > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.more-games article {
  position: relative;
  display: block;
  min-height: 138px;
  overflow: hidden;
  border-radius: 16px;
  background: #101828;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.more-games article::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.more-games article img {
  width: 100%;
  height: 100%;
  min-height: 138px;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.more-games article:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}

.more-games article span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.section-heading,
.insights {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 18px;
}

#resultCount {
  color: var(--muted);
  white-space: nowrap;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 42px;
}

.game-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 278px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.game-card:hover {
  border-color: rgba(51, 209, 122, 0.34);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  transform: translateY(-2px);
}

.thumb {
  position: relative;
  display: grid;
  aspect-ratio: 1.14;
  place-items: center;
  overflow: hidden;
  background: var(--surface-2);
}

.thumb::before,
.thumb::after,
.cover-orbit,
.cover-orbit::before,
.cover-orbit::after {
  position: absolute;
  content: "";
}

.thumb::before {
  inset: 10%;
  border: 10px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.thumb::after {
  right: 9%;
  bottom: 9%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(var(--cover-tilt, 18deg));
}

.thumb-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  background: rgba(8, 10, 15, 0.74);
  font-size: 34px;
}

.cover-title {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cover-provider {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.cover-orbit {
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(var(--cover-tilt, 18deg));
}

.cover-orbit::before,
.cover-orbit::after {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.cover-orbit::before {
  top: -8%;
  left: 16%;
}

.cover-orbit::after {
  right: 3%;
  bottom: 8%;
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(8, 10, 15, 0.74);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.thumb {
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5), transparent 17%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b) 52%, var(--cover-c));
  box-shadow: inset 0 -46px 70px rgba(0, 0, 0, 0.34);
}

.thumb::before {
  inset: auto 0 0 0;
  z-index: 1;
  height: 54%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  filter: none;
}

.thumb::after {
  inset: 8px;
  z-index: 1;
  width: auto;
  height: auto;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: transparent;
  transform: none;
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: hue-rotate(var(--cover-hue)) saturate(1.06) contrast(1.02);
  transition: transform 180ms ease, filter 180ms ease;
}

.game-card:hover .cover-image {
  filter: hue-rotate(var(--cover-hue)) saturate(1.18) contrast(1.08);
  transform: scale(1.045);
}

.thumb-live .cover-variant,
.thumb-live .cover-sheen,
.thumb-live .cover-mark,
.thumb-live .cover-symbol,
.coming-soon-art {
  position: absolute;
  pointer-events: none;
}

.thumb-live .cover-variant {
  inset: 0;
  z-index: 1;
  opacity: 0.82;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0) var(--stripe), color-mix(in srgb, var(--cover-a) 42%, transparent) calc(var(--stripe) + 1%), transparent calc(var(--stripe) + 18%)),
    linear-gradient(160deg, color-mix(in srgb, var(--cover-b) 34%, transparent), transparent 58%);
  mix-blend-mode: screen;
}

.thumb-live .cover-sheen {
  inset: -28% -18% auto auto;
  z-index: 1;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  opacity: var(--sheen);
  transform: rotate(var(--cover-tilt));
}

.cover-mark {
  right: 12px;
  bottom: 58px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: #101828;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);
}

.cover-symbol {
  left: 14px;
  bottom: 56px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  background: rgba(8, 10, 15, 0.46);
  color: #fff;
  font-size: 20px;
  backdrop-filter: blur(8px);
}

.thumb-soon {
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(145deg, #eef2f7, #d8dee8 48%, #c8d0dc);
  box-shadow: inset 0 -46px 70px rgba(15, 23, 42, 0.18);
}

.thumb-soon::before {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.42));
}

.coming-soon-art {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0.28) 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.22) 52%, transparent 53%);
  opacity: 0.72;
}

.soon-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.22);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 950;
  transform: translate(-50%, -50%) rotate(var(--cover-tilt));
  backdrop-filter: blur(6px);
}

.cover-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.46), transparent 13%),
    radial-gradient(circle at 26% 72%, rgba(255, 255, 255, 0.24), transparent 17%);
}

.cover-shape {
  position: absolute;
  display: block;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.shape-one {
  top: 31%;
  left: 13%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #fff;
  transform: rotate(calc(var(--cover-tilt) * 0.7));
}

.shape-two {
  right: 12%;
  bottom: 27%;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.72);
  transform: rotate(var(--cover-tilt));
}

.shape-three {
  right: 30%;
  top: 20%;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--yellow);
  transform: rotate(calc(var(--cover-tilt) * -1));
}

.cover-hero {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(86px, 46%);
  aspect-ratio: 1;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.18) 32%, transparent 33%),
    linear-gradient(150deg, rgba(8, 10, 15, 0.88), rgba(8, 10, 15, 0.58));
  color: #fff;
  font-size: clamp(32px, 7vw, 54px);
  font-weight: 950;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.38);
  transform: translateY(-6px) rotate(calc(var(--cover-tilt) * 0.22));
  box-shadow: 0 20px 28px rgba(0, 0, 0, 0.26);
}

.cover-gomoku .cover-hero {
  border-radius: 50%;
}

.cover-gomoku .shape-one,
.cover-gomoku .shape-two,
.cover-gomoku .shape-three {
  border-radius: 50%;
}

.cover-link .shape-one,
.cover-link .shape-three,
.cover-merge .shape-one,
.cover-merge .shape-three {
  border-radius: 8px;
}

.cover-runner .cover-hero,
.cover-sports .cover-hero {
  border-radius: 50% 50% 42% 42%;
}

.cover-bubble .shape-one,
.cover-bubble .shape-two,
.cover-bubble .shape-three {
  border-radius: 50%;
}

.cover-arcade .cover-hero {
  border-radius: 18px 30px 18px 30px;
}

.cover-soon {
  filter: saturate(0.75);
}

.cover-title {
  min-height: 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(8, 10, 15, 0.82), rgba(8, 10, 15, 0.34));
  font-size: 14px;
  line-height: 1.12;
  text-transform: uppercase;
}

.status-badge {
  position: absolute;
  right: 10px;
  bottom: 58px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 999px;
  color: #071017;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.status-badge.live {
  background: var(--yellow);
}

.status-badge.soon {
  background: #fff;
  color: #121821;
}

.card-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.card-body h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.play-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #101828;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}

.play-button:hover:not(:disabled) {
  background: #0f6b3e;
  transform: translateY(-1px);
}

.play-button:disabled {
  background: #eef2f7;
  color: var(--muted);
  cursor: not-allowed;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 0 38px;
}

.page-button {
  min-width: 42px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.page-button.active {
  border-color: rgba(51, 209, 122, 0.8);
  background: rgba(51, 209, 122, 0.18);
  color: var(--green);
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(720px, 100%);
}

.metric-grid article {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
}

.metric-grid strong {
  display: block;
  margin: 10px 0;
  color: var(--yellow);
  font-size: 26px;
}

.testimonials {
  margin: 18px 0 64px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(72, 167, 255, 0.14), transparent 22rem),
    radial-gradient(circle at 86% 20%, rgba(51, 209, 122, 0.14), transparent 22rem),
    linear-gradient(145deg, #f8fafc, #ffffff);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.09);
}

.testimonial-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.62fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.testimonial-head h2 {
  max-width: 680px;
}

.testimonial-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.testimonial-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 238px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.quote-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1849a9;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.quote-meta strong {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 0;
}

.testimonial-grid p {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.58;
}

.testimonial-grid footer {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.company {
  position: relative;
  margin: 40px 0 74px;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(72, 167, 255, 0.16), transparent 20rem),
    linear-gradient(145deg, #f8fafc, #ffffff);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.company::after {
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 340px;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 209, 122, 0.18), transparent 68%);
  pointer-events: none;
}

.company-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: center;
}

.company-hero h2 {
  max-width: 840px;
  margin-bottom: 14px;
}

.company-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.company-seal {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(145deg, #101828, #1d2939);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18);
}

.company-seal strong {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #33d17a, #48a7ff);
  color: #071017;
  font-size: 30px;
}

.company-seal img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.company-seal span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.company-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.card-kicker {
  color: #0f6b3e;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.company-card dl,
.company-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.company-card dl div {
  display: grid;
  gap: 6px;
}

.company-card dt {
  color: #0f6b3e;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-card dd {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
}

.company-card li {
  color: #344054;
  line-height: 1.48;
  list-style: none;
}

.company-card li::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 950;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-tags span {
  padding: 9px 11px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1849a9;
  font-size: 12px;
  font-weight: 900;
}

.contact-card p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.52;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #101828;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.footer-registry a {
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 3px;
}

.site-footer {
  margin-top: 24px;
  padding: 42px 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(51, 209, 122, 0.18), transparent 22rem),
    linear-gradient(145deg, #0b1220, #111827 58%, #101828);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
  gap: 30px;
  align-items: center;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 12px;
  align-items: start;
}

.footer-mark {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #33d17a, #48a7ff);
  color: #071017;
  font-weight: 950;
}

.footer-logo {
  display: block;
  width: min(430px, 100%);
  height: auto;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.site-footer strong {
  display: block;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}

.footer-brand span:not(.footer-mark) {
  display: block;
  margin-top: 0;
  font-size: 13px;
}

.footer-registry {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-registry p {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.site-footer dl div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
}

.site-footer dt {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.play-dialog {
  width: min(760px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10131b;
  color: var(--text);
  box-shadow: var(--shadow);
}

.play-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-head,
.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.dialog-head {
  border-bottom: 1px solid var(--line);
}

.dialog-foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
}

.demo-stage {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #0c0f16;
  background-size: 28px 28px;
}

.slot-demo,
.tap-demo,
.runner-demo,
.board-demo,
.link-demo,
.merge-demo,
.bubble-demo {
  width: min(460px, 100%);
  text-align: center;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.reel {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171d28;
  font-size: clamp(38px, 10vw, 70px);
}

.demo-score {
  margin: 12px 0 0;
  color: var(--yellow);
  font-size: 22px;
  font-weight: 900;
}

.tap-target {
  display: grid;
  width: min(280px, 68vw);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  place-items: center;
  border: 12px solid rgba(51, 209, 122, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, #33d17a, #137a48);
  color: #06120c;
  cursor: pointer;
  font-size: 54px;
  font-weight: 900;
}

.runner-lane {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #14283b, #121821);
}

.runner {
  position: absolute;
  bottom: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--yellow);
  animation: hop 1.2s ease-in-out infinite;
}

.hazard {
  position: absolute;
  right: -50px;
  bottom: 28px;
  width: 42px;
  height: 72px;
  border-radius: 8px;
  background: var(--red);
  animation: runHazard 2.4s linear infinite;
}

.gomoku-board {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 3px;
  width: min(420px, 86vw);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, #e8b96a, #9f642f);
}

.gomoku-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(69, 38, 15, 0.44);
  border-radius: 50%;
  background: rgba(255, 238, 189, 0.56);
  color: transparent;
  cursor: pointer;
  font-weight: 950;
}

.gomoku-cell.black {
  background: radial-gradient(circle at 35% 30%, #5b6472, #0c1119 64%);
}

.gomoku-cell.white {
  background: radial-gradient(circle at 35% 30%, #fff, #cbd5e1 70%);
}

.link-board,
.merge-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(360px, 82vw);
  margin: 0 auto;
}

.link-tile,
.merge-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 8px;
  font-size: clamp(22px, 8vw, 38px);
  font-weight: 950;
}

.link-tile {
  background: linear-gradient(145deg, #48a7ff, #7c3aed);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.24);
}

.link-tile.open,
.link-tile.matched {
  background: linear-gradient(145deg, #ffd166, #ff8f3d);
  color: #201103;
}

.link-tile.matched {
  opacity: 0.48;
}

.merge-board {
  padding: 10px;
  border-radius: 10px;
  background: #2a3140;
}

.merge-cell {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.value-2,
.value-4 {
  background: #f5df9a;
  color: #1d2330;
}

.value-8,
.value-16 {
  background: #ffb454;
  color: #1d1004;
}

.value-32,
.value-64 {
  background: #ff6b6b;
}

.value-128,
.value-256,
.value-512,
.value-1024,
.value-2048 {
  background: #33d17a;
  color: #06120c;
}

.merge-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px auto 0;
  width: min(360px, 82vw);
}

.merge-controls button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #0c0f16;
  cursor: pointer;
  font-weight: 900;
}

.bubble-field {
  position: relative;
  height: min(340px, 70vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(160deg, #123961, #291451);
}

.bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(38px, 12vw, 62px);
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff, #7dd3fc 32%, #2563eb);
  cursor: pointer;
  animation: bubbleFloat 2.8s ease-in-out infinite;
}

@keyframes floatTile {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hop {
  50% {
    transform: translateY(-46px);
  }
}

@keyframes runHazard {
  to {
    transform: translateX(-560px);
  }
}

@keyframes bubbleFloat {
  50% {
    transform: translateY(-12px) scale(1.04);
  }
}

@media (max-width: 1040px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-band {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .more-games > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  main {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .filter-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading,
  .insights {
    align-items: start;
    flex-direction: column;
  }

  .testimonial-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .topnav {
    order: 3;
    overflow-x: auto;
  }

  .game-grid,
  .metric-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more-games > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-hero {
    grid-template-columns: 1fr;
  }

  .company-seal {
    min-height: 150px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dialog-foot {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .game-grid,
  .metric-grid,
  .testimonial-grid,
  .more-games > div {
    grid-template-columns: 1fr;
  }

  .service-band {
    padding: 18px;
  }

  .music-cover {
    min-height: 260px;
  }
}

/* Final company polish override */
main > .company#company {
  position: relative;
  display: block;
  margin: 52px auto 84px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(72, 167, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 8% 100%, rgba(51, 209, 122, 0.14), transparent 20rem),
    linear-gradient(145deg, #f8fafc, #ffffff);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
}

main > .company#company .company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 34px;
  align-items: center;
}

main > .company#company .company-seal {
  display: grid;
  min-height: 190px;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(145deg, #101828, #1d2939);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
}

main > .company#company .company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

main > .company#company .company-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body > .site-footer {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 46px 0;
  background:
    radial-gradient(circle at 86% 0%, rgba(51, 209, 122, 0.2), transparent 22rem),
    linear-gradient(145deg, #0b1220, #111827 58%, #101828);
  color: rgba(255, 255, 255, 0.72);
}

body > .site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 1fr);
  gap: 34px;
  align-items: center;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

body > .site-footer .footer-registry {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1040px) {
  main > .company#company .company-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  main > .company#company .company-hero,
  body > .site-footer .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Art direction upgrade: darker product surfaces, richer cover treatment, clearer catalog scanning. */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #edf2f7;
  --line: rgba(15, 23, 42, 0.11);
  --text: #0c1526;
  --muted: #647187;
  --green: #42e28f;
  --blue: #62d9ff;
  --yellow: #ffd66b;
  --red: #ff6f8d;
  --shadow: 0 24px 76px rgba(15, 23, 42, 0.15);
}

body {
  background:
    linear-gradient(rgba(15, 23, 42, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(98, 217, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 96% 12%, rgba(66, 226, 143, 0.1), transparent 24rem),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.topbar {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.86);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.brand-mark {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.topnav a {
  border: 1px solid transparent;
}

.topnav a:hover {
  border-color: rgba(15, 23, 42, 0.1);
  background: #fff;
  color: var(--text);
}

.search {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(690px, calc(100vh - 74px));
  margin: 18px 0 36px;
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid rgba(98, 217, 255, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 20%, rgba(98, 217, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 20% 100%, rgba(66, 226, 143, 0.16), transparent 26rem),
    linear-gradient(135deg, #07111f, #101c30 56%, #0a1d2a);
  box-shadow: 0 30px 88px rgba(8, 20, 36, 0.24);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.92), transparent 78%);
  pointer-events: none;
}

.hero-copy,
.hero-preview {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: #7cf4ac;
}

.hero h1 {
  max-width: 700px;
  color: #f8fbff;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(240, 247, 255, 0.74);
}

.hero-stats span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  color: #fff;
}

.hero-stats small {
  color: rgba(240, 247, 255, 0.58);
}

.hero .secondary-link {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero .primary-link {
  box-shadow: 0 12px 28px rgba(66, 226, 143, 0.22);
}

.hero-preview {
  min-height: 420px;
}

.phone-shell {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(98, 217, 255, 0.08);
  transform: rotate(2.5deg);
  transition: transform 220ms ease;
}

.phone-shell:hover {
  transform: rotate(0deg) translateY(-5px);
}

.service-band {
  border-color: rgba(15, 23, 42, 0.09);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 251, 0.88));
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.service-grid article {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.filter-group {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.chip {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.035);
}

.chip:hover {
  border-color: rgba(66, 226, 143, 0.6);
  background: rgba(66, 226, 143, 0.08);
}

.chip.active {
  border-color: rgba(19, 165, 94, 0.72);
  background: rgba(66, 226, 143, 0.15);
  color: #0f7a48;
}

.section-heading {
  padding-top: 34px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  min-height: 300px;
  border-color: rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
}

.game-card:hover {
  border-color: rgba(66, 226, 143, 0.52);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.15);
  transform: translateY(-4px);
}

.thumb {
  aspect-ratio: 1.04;
  background: #0a1423;
}

.thumb::after {
  border-color: rgba(255, 255, 255, 0.26);
  border-radius: 12px;
}

.cover-image {
  object-position: var(--cover-position, 50% 50%);
  filter: saturate(1.04) contrast(1.06) hue-rotate(var(--cover-hue));
  transform: scale(var(--cover-zoom, 1.02));
}

.game-card:hover .cover-image {
  filter: saturate(1.14) contrast(1.1) hue-rotate(var(--cover-hue));
  transform: scale(calc(var(--cover-zoom, 1.02) + 0.035));
}

.thumb-live .cover-variant {
  opacity: 0.65;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.46), transparent 15%),
    linear-gradient(135deg, rgba(255, 255, 255, 0) var(--stripe), color-mix(in srgb, var(--cover-a) 40%, transparent) calc(var(--stripe) + 1%), transparent calc(var(--stripe) + 18%)),
    linear-gradient(160deg, color-mix(in srgb, var(--cover-b) 28%, transparent), transparent 58%);
  mix-blend-mode: screen;
}

.thumb-live .cover-variant::before,
.thumb-live .cover-variant::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.thumb-live .cover-variant::before {
  inset: 12% auto auto 10%;
  width: 44%;
  height: 38%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(var(--cover-tilt));
}

.thumb-live .cover-variant::after {
  right: -12%;
  bottom: 13%;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: rotate(calc(var(--cover-tilt) * -0.6));
}

.cover-category,
.cover-provider {
  position: absolute;
  top: 12px;
  z-index: 3;
  max-width: 44%;
  overflow: hidden;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 16, 30, 0.68);
  color: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.cover-category {
  left: 12px;
}

.cover-provider {
  right: 12px;
  color: #a6f5ca;
}

.cover-symbol {
  bottom: 58px;
  left: 14px;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(8, 16, 30, 0.58);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.cover-mark {
  right: 14px;
  bottom: 58px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.9);
}

.cover-title {
  right: 14px;
  bottom: 13px;
  left: 14px;
  min-height: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(5, 11, 20, 0.86), rgba(5, 11, 20, 0.34));
  font-size: 13px;
  line-height: 1.14;
  text-transform: none;
}

.status-badge {
  right: 14px;
  bottom: 64px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.card-body {
  gap: 14px;
  padding: 16px;
}

.card-body h3 {
  font-size: 16px;
}

.card-meta {
  padding-top: 2px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 11px;
}

.play-button {
  min-height: 40px;
  background: linear-gradient(135deg, #0b1728, #172c45);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.play-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #0f7a48, #087a8f);
}

.insights {
  margin: 18px 0 46px;
  padding: 26px;
  border: 1px solid rgba(98, 217, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(98, 217, 255, 0.16), transparent 20rem),
    linear-gradient(135deg, #0a1423, #111f34);
  color: #fff;
}

.insights .eyebrow {
  color: #7cf4ac;
}

.insights h2 {
  color: #fff;
}

.metric-grid article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.metric-grid span,
.metric-grid small {
  color: rgba(240, 247, 255, 0.6);
}

.metric-grid strong {
  color: #a6f5ca;
}

@media (max-width: 1040px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    margin-top: 10px;
    padding: 26px 20px 30px;
    border-radius: 22px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game-card {
    min-height: 274px;
  }

  .cover-category,
  .cover-provider {
    padding: 5px 6px;
    font-size: 9px;
  }

  .cover-title {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 8px 9px;
    font-size: 12px;
  }

  .status-badge {
    right: 10px;
    bottom: 55px;
    padding: 4px 6px;
    font-size: 9px;
  }

  .cover-symbol,
  .cover-mark {
    display: none;
  }
}

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

/* Casual game-portal direction: soften the hero and keep covers readable at thumbnail size. */
.hero {
  border-color: rgba(52, 196, 144, 0.22);
  background:
    radial-gradient(circle at 82% 18%, rgba(98, 217, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 12% 92%, rgba(66, 226, 143, 0.15), transparent 23rem),
    linear-gradient(135deg, #f9fcff, #eef7fb 58%, #f5fbf8);
  box-shadow: 0 24px 70px rgba(38, 98, 112, 0.12);
}

.hero::before {
  background:
    linear-gradient(rgba(17, 82, 104, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 82, 104, 0.055) 1px, transparent 1px);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7), transparent 82%);
}

.hero h1 {
  color: #102237;
}

.hero .eyebrow {
  color: #159b61;
}

.hero-copy p:not(.eyebrow) {
  color: #5e6f83;
}

.hero-stats span {
  border-color: rgba(16, 34, 55, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(38, 98, 112, 0.06);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  color: #102237;
}

.hero-stats small {
  color: #6d7d8e;
}

.hero .secondary-link {
  border-color: rgba(16, 34, 55, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: #102237;
}

.hero-preview {
  min-height: 420px;
}

.phone-shell {
  border-color: rgba(16, 34, 55, 0.12);
  background: linear-gradient(145deg, #ffffff, #dcebf1);
  box-shadow: 0 26px 60px rgba(38, 98, 112, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.phone-screen {
  background:
    linear-gradient(rgba(16, 34, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 55, 0.04) 1px, transparent 1px),
    linear-gradient(160deg, #e9f8ff, #eef8f5 58%, #fff9e8);
  background-size: 32px 32px, 32px 32px, auto;
}

.mini-top {
  background: rgba(16, 34, 55, 0.22);
}

.mini-grid span {
  border-color: rgba(16, 34, 55, 0.12);
  background: #ffffff;
  box-shadow: 0 12px 22px rgba(38, 98, 112, 0.12);
}

.mini-score {
  border-color: rgba(16, 34, 55, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(38, 98, 112, 0.1);
  color: #102237;
}

.mini-score strong {
  color: #159b61;
}

.mini-score small {
  color: #6d7d8e;
}

.catalog-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(var(--cover-zoom, 1.01));
  transform-origin: var(--cover-position, 50% 50%);
  transition: transform 180ms ease, filter 180ms ease;
}

.game-card:hover .catalog-art {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(calc(var(--cover-zoom, 1.01) + 0.035));
}

.thumb-live .cover-variant {
  opacity: 0.38;
  mix-blend-mode: soft-light;
}

.thumb-live .cover-sheen {
  opacity: 0.22;
}

.cover-category,
.cover-provider {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.8);
  color: #102237;
  box-shadow: 0 6px 14px rgba(16, 34, 55, 0.12);
}

.cover-provider {
  color: #0c8050;
}

.cover-title {
  background: linear-gradient(90deg, rgba(6, 19, 34, 0.78), rgba(6, 19, 34, 0.18));
  box-shadow: 0 6px 16px rgba(6, 19, 34, 0.12);
}

.game-card {
  background: rgba(255, 255, 255, 0.94);
}

@media (max-width: 720px) {
  .hero-preview {
    min-height: 330px;
  }
}

/* Casual catalog cards: keep the artwork clean and move context into the card body. */
.thumb {
  aspect-ratio: 1.18;
  background: #eaf4f8;
}

.thumb::before,
.thumb::after {
  display: none;
}

.thumb-live .cover-variant,
.thumb-live .cover-sheen {
  opacity: 0 !important;
}

.card-body {
  gap: 12px;
  padding: 15px 16px 16px;
}

.card-copy {
  display: grid;
  gap: 7px;
}

.card-body h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #6d7d8e;
  font-size: 12px;
  line-height: 1.25;
}

.game-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.game-status.live {
  background: #e4f8ed;
  color: #128454;
}

.game-status.soon {
  background: #fff4d7;
  color: #9b6b00;
}

.cover-category,
.cover-provider,
.cover-title,
.status-badge,
.cover-mark,
.cover-symbol {
  display: none !important;
}
