:root {
  --bg: #101827;
  --bg-soft: #151f31;
  --surface: rgba(28, 40, 65, 0.78);
  --surface-strong: #1b2942;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7ff;
  --muted: #b0bcd0;
  --muted-2: #8290a8;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #8b5cf6;
  --violet-dark: #6d4cff;
  --pink: #f0abff;
  --lime: #b6f36b;
  --shell: min(1240px, calc(100% - 48px));
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% -10%, rgba(94, 78, 190, 0.24), transparent 32rem),
    radial-gradient(circle at 8% 43%, rgba(24, 170, 195, 0.13), transparent 31rem),
    var(--bg);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.15;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.7px, transparent 0.7px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
}

.ambient-cyan {
  top: 24rem;
  left: -17rem;
  background: var(--cyan);
}

.ambient-violet {
  top: 8rem;
  right: -18rem;
  background: var(--violet);
}

.page-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(15, 22, 35, 0.82);
  backdrop-filter: blur(22px);
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  gap: 38px;
}

#games, #trending { scroll-margin-top: 92px; }

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  letter-spacing: -0.04em;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.brand-part {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-part:not(:first-child)::before {
  display: none;
}

.brand-game {
  color: #f4f7ff;
}

.brand-top {
  color: var(--cyan-soft);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.24);
}

.brand-x {
  position: relative;
  z-index: 0;
  margin-left: -3px;
  min-width: 24px;
  justify-content: center;
  padding: 2px 4px 3px;
  font-size: 1.28em;
  line-height: 0.86;
  color: transparent;
  background: linear-gradient(135deg, #f0abff, #a78bfa 52%, var(--cyan-soft));
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 9px rgba(167, 139, 250, 0.28));
  isolation: isolate;
}

.brand-x::before {
  position: absolute;
  z-index: -1;
  inset: -5px -5px -4px;
  content: "";
  border: 1px solid rgba(240, 171, 255, 0.5);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(240, 171, 255, 0.2), rgba(139, 92, 246, 0.18) 55%, rgba(34, 211, 238, 0.14));
  box-shadow: 0 0 18px rgba(240, 171, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 36px;
  height: 25px;
  gap: 3px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(139, 92, 246, 0.09));
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark i {
  position: relative;
  z-index: 1;
  display: block;
  width: 5px;
  height: 15px;
  border-radius: 4px;
  transform: skew(-16deg);
  background: linear-gradient(180deg, var(--cyan-soft), var(--violet));
  box-shadow: 0 0 9px rgba(34, 211, 238, 0.28);
}

.brand-mark i:nth-child(2) {
  height: 21px;
  background: linear-gradient(180deg, #a78bfa, #ec4899);
}

.brand-mark i:nth-child(3) {
  height: 13px;
  background: linear-gradient(180deg, #f0abff, var(--cyan));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  padding: 25px 0 23px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .045);
  white-space: nowrap;
}
.language-switch button {
  min-width: 30px;
  height: 28px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: 700 11px "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] {
  color: #081a28;
  background: var(--cyan-soft);
}
.language-switch button:hover:not([aria-pressed="true"]) { color: var(--text); }

.account-menu { position: relative; }
.account-menu [hidden] { display: none !important; }
.account-profile {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; max-width: 180px; padding: 0 14px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  border: 1px solid rgba(34, 211, 238, .5); border-radius: 999px;
  color: #e6fbff; background: rgba(34, 211, 238, .1);
  font: 700 12px "Plus Jakarta Sans", sans-serif; cursor: pointer;
}
.account-profile:hover { background: rgba(34, 211, 238, .2); }
.account-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 50;
  width: min(280px, 85vw); padding: 16px; border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 16px; color: #f4f7ff; background: #151e32;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .4);
}
.account-panel p { margin: 0 0 8px; overflow-wrap: anywhere; font-weight: 700; }
.account-panel span { display: block; font-size: 12px; line-height: 1.5; color: #a5b8d3; }
.account-panel button {
  margin-top: 14px; padding: 8px 12px; border-radius: 8px;
  color: #fff; background: #34425f; cursor: pointer;
}

.account-dialog {
  width: min(450px, calc(100vw - 28px)); max-height: calc(100dvh - 24px);
  padding: clamp(22px, 5vw, 34px); border: 1px solid rgba(134, 164, 208, .26);
  border-radius: 24px; color: #f5f8ff;
  background: radial-gradient(circle at 0 0, rgba(45, 196, 222, .11), transparent 46%), linear-gradient(155deg, #1a2940, #10192b 70%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.account-dialog::backdrop { background: rgba(3, 8, 19, .76); backdrop-filter: blur(7px); }
.account-dialog [hidden] { display: none !important; }
.account-dialog-top { display: flex; justify-content: space-between; align-items: center; }
.account-dialog-brand { display: inline-flex; align-items: center; gap: 10px; }
.account-dialog-brand .brand-mark { width: 42px; height: 32px; }
.account-dialog-brand .brand-word { font-size: 19px; }
.account-dialog-top button {
  width: 38px; height: 38px; border: 1px solid rgba(180, 200, 228, .12); border-radius: 11px;
  color: #b5c4da; background: rgba(255, 255, 255, .06);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.account-dialog-top button:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.account-dialog .account-dialog-eyebrow { margin: 29px 0 8px; color: #76d9eb; font: 700 10px "DM Mono", monospace; letter-spacing: .17em; }
.account-dialog h2 { margin: 0 0 8px; font-size: clamp(25px, 5vw, 31px); line-height: 1.16; letter-spacing: -.035em; }
.account-dialog > p:not(.account-dialog-eyebrow) { margin: 0; color: #adbed4; font-size: 13px; line-height: 1.55; }
.account-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 47px; border: 1px solid rgba(180, 203, 234, .3); border-radius: 11px;
  color: #e9f0fc; background: rgba(255, 255, 255, .055); font-size: 13px; font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease;
}
.account-google:hover { background: rgba(255, 255, 255, .1); border-color: rgba(180, 203, 234, .52); }
.google-g { color: #77a8ff; font-family: Arial, sans-serif; font-size: 21px; font-weight: 800; }
.account-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 13px; color: #8da1bd; font-size: 11px; }
.account-divider::before, .account-divider::after { content: ''; height: 1px; flex: 1; background: rgba(164, 190, 222, .18); }
.account-form { display: grid; gap: 13px; margin-top: 22px; }
.account-form label { display: grid; gap: 6px; color: #d4e0f1; font-size: 11px; font-weight: 750; }
.account-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(153, 181, 215, .27); border-radius: 11px; color: #f5f8ff; background: rgba(5, 12, 25, .56); font: 500 13px "Plus Jakarta Sans", sans-serif; outline: none; }
.account-form input:focus { border-color: rgba(113, 229, 243, .75); box-shadow: 0 0 0 3px rgba(113, 229, 243, .12); }
.account-form input::placeholder { color: #72839e; }
.account-form-error { margin: 0 !important; padding: 10px 12px; border: 1px solid rgba(248, 113, 113, .38); border-radius: 10px; color: #fecaca !important; background: rgba(127, 29, 29, .22); font-size: 12px; line-height: 1.45 !important; }
.account-submit { min-height: 48px; margin-top: 4px; border: 0; border-radius: 11px; color: #0a1a2b; background: linear-gradient(110deg, #62ddeb, #9aa7f8); box-shadow: 0 10px 23px rgba(62, 186, 218, .13); font: 800 14px "Plus Jakarta Sans", sans-serif; cursor: pointer; transition: transform 160ms ease, filter 160ms ease; }
.account-submit:hover { transform: translateY(-2px); filter: brightness(1.07); }
.account-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.account-dialog .account-unavailable {
  margin-top: 26px; padding: 13px 15px; border: 1px solid rgba(250, 204, 21, .25);
  border-radius: 12px; color: #f8dfaa; background: rgba(250, 204, 21, .07);
  font-size: 13px;
}
.account-dialog-switch {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 23px; color: #a8bbd2; font-size: 12px;
}
.account-dialog-switch button { color: #76e3f5; background: none; font-weight: 800; cursor: pointer; }
.account-dialog button:focus-visible, .account-google:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid #7ce7f4; outline-offset: 3px;
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  place-items: center;
  transition: color 180ms ease, transform 180ms ease;
}

.icon-button:hover {
  color: var(--cyan-soft);
  transform: translateY(-1px);
}

.icon-button svg,
.search-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-cta[hidden] {
  display: none;
}

.nav-cta:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
}

.hero {
  margin-top: 24px;
}

.hero-surface {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-xl);
  background: #17243a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-image,
.hero-gradient,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1.015);
}

.hero-gradient {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 16, 28, 0.86) 0%, rgba(10, 16, 28, 0.76) 27%, rgba(10, 16, 28, 0.34) 54%, rgba(10, 16, 28, 0.04) 84%),
    linear-gradient(0deg, rgba(10, 16, 28, 0.4), transparent 36%);
}

.hero-grid {
  z-index: -1;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(650px, 60%);
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 38px 0 38px 58px;
}

.hero-featured .hero-surface {
  border-color: rgba(255, 190, 95, .3);
  background: #0d131c;
}
.hero-featured .hero-image {
  left: auto;
  width: 76%;
  object-position: center 44%;
}
.hero-featured .hero-gradient {
  background: linear-gradient(90deg, #0b121b 4%, rgba(11, 18, 27, .98) 24%, rgba(11, 18, 27, .78) 43%, rgba(11, 18, 27, .05) 76%),
    linear-gradient(0deg, rgba(9, 14, 20, .45), transparent 50%);
}
.hero-featured .hero-grid, .hero-featured .hero-spark { display: none; }
.featured-tag {
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 190, 95, .45);
  border-radius: 999px;
  color: #ffd08b;
  background: rgba(77, 43, 15, .38);
  letter-spacing: .12em;
}
.featured-tag-icon { color: #ffb957; font-size: 12px; line-height: 1; }
.hero-featured h1 { margin: 16px 0 12px; font-size: clamp(45px, 5vw, 68px); }
.hero.hero-featured h1 em { color: #ffb957; text-shadow: 0 0 30px rgba(255, 151, 61, .2); }
.hero-featured .hero-copy { max-width: 440px; }
.hero-featured .hero-actions { margin-top: 23px; }
.hero-featured .featured-play {
  min-height: 48px;
  padding-inline: 26px;
  background: linear-gradient(100deg, #ffcf80, #f5a24e);
  box-shadow: 0 12px 28px rgba(230, 122, 35, .24), inset 0 1px 1px rgba(255, 255, 255, .55);
}
.hero-featured .featured-play:hover { box-shadow: 0 16px 36px rgba(230, 122, 35, .34); }

.eyebrow,
.card-label {
  margin: 0;
  color: var(--cyan-soft);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(182, 243, 107, 0.08), 0 0 16px rgba(182, 243, 107, 0.55);
}

.hero h1 {
  max-width: 620px;
  margin: 19px 0 13px;
  color: #f7f8ff;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(48px, 5.3vw, 72px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.94;
}

.hero h1 em {
  white-space: nowrap;
}

.hero h1 em {
  color: var(--cyan-soft);
  font-style: normal;
  text-shadow: 0 0 34px rgba(34, 211, 238, 0.2);
}

.hero-copy {
  max-width: 380px;
  margin: 0;
  color: #c0cada;
  font-size: 14px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07111a;
  background: linear-gradient(100deg, var(--cyan-soft), #8bdbff 48%, #bca2ff);
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.72);
}

.button-secondary,
.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.1);
}

.button-spark {
  color: var(--pink);
  font-size: 17px;
  line-height: 1;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
  color: #8e9bb0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.hero-note b {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--violet);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(230, 238, 255, 0.72);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.caption-line {
  width: 32px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}

.hero-spark {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-soft);
  box-shadow: 0 0 16px 4px rgba(34, 211, 238, 0.45);
  animation: float-spark 5s ease-in-out infinite;
}

.spark-one {
  top: 21%;
  right: 33%;
}

.spark-two {
  top: 40%;
  right: 19%;
  width: 3px;
  height: 3px;
  animation-delay: -2s;
  background: var(--pink);
  box-shadow: 0 0 14px 3px rgba(240, 171, 255, 0.6);
}

.spark-three {
  right: 38%;
  bottom: 26%;
  width: 4px;
  height: 4px;
  animation-delay: -3.4s;
}

@keyframes float-spark {
  0%,
  100% { transform: translate3d(0, 0, 0); opacity: 0.6; }
  50% { transform: translate3d(9px, -16px, 0); opacity: 1; }
}

.spotlight {
  padding-top: 34px;
}

.section-head,
.catalog-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-head h2,
.section-head h1,
.catalog h2 {
  margin: 8px 0 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}

.text-link {
  position: relative;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  transition: color 180ms ease;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0.75;
}

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

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.spotlight-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(28, 40, 65, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.spotlight-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 211, 238, 0.08);
  transform: translateY(-5px);
}

.spotlight-art {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #10192b;
}

.spotlight-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.card-preview-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hover-preview.is-previewing .card-preview-video { opacity: 1; }

.spotlight-card:hover .spotlight-art img {
  filter: saturate(1.1);
  transform: scale(1.05);
}

.spotlight-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 10, 18, 0.62), transparent 60%);
}

.spotlight-index,
.spotlight-play {
  position: absolute;
  top: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(6, 10, 18, 0.45);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  backdrop-filter: blur(12px);
}

.spotlight-index {
  left: 13px;
  padding: 5px 8px;
}

.spotlight-play {
  right: 13px;
  padding: 5px 10px;
  color: var(--cyan-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.spotlight-card:hover .spotlight-play {
  opacity: 1;
  transform: translateY(0);
}

.spotlight-info {
  display: grid;
  gap: 4px;
  padding: 15px 17px 17px;
}

.spotlight-info .card-label {
  color: var(--violet);
  font-size: 9px;
}

.spotlight-info strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  letter-spacing: -0.045em;
}

.spotlight-info > span:last-child {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog {
  padding-top: 56px;
}

.catalog-surface {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(30, 43, 69, 0.92), rgba(17, 27, 45, 0.84));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
}

.catalog-title-row {
  justify-content: flex-start;
  align-items: baseline;
  gap: 14px;
}

.catalog h2 {
  font-size: clamp(30px, 3.3vw, 42px);
}

.catalog-count {
  color: var(--muted-2);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.catalog-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.search-field {
  display: flex;
  min-width: min(100%, 286px);
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-field:focus-within {
  border-color: rgba(34, 211, 238, 0.6);
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.07), 0 0 24px rgba(34, 211, 238, 0.08);
}

.search-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 11px;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.search-field kbd {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.04);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  min-height: 33px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 10px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  border-color: rgba(34, 211, 238, 0.38);
  color: #07111a;
  background: linear-gradient(100deg, var(--cyan-soft), #a78bfa);
  box-shadow: 0 7px 19px rgba(34, 211, 238, 0.13);
}

.category-pages { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:16px; color:var(--muted-2); font-size:11px; }
.category-pages a { color:var(--cyan-soft); text-decoration:underline; text-underline-offset:3px; }
.category-pages a:hover, .category-pages a:focus-visible { color:var(--text); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.game-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(17, 27, 45, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms var(--ease);
}

.game-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.game-item::before {
  position: absolute;
  z-index: 3;
  inset: -1px;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.7), rgba(139, 92, 246, 0.52), transparent 62%);
  opacity: 0;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
  transition: opacity 260ms ease;
}

.game-item:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), 0 0 26px rgba(34, 211, 238, 0.1);
  transform: translateY(-5px);
}

.game-item:hover::before {
  opacity: 1;
}

.card-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #10192b;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.game-item:hover .card-image {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.05);
}

.card-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(7, 10, 17, 0.7), transparent 54%);
}

.art-label {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.game-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f8e69b;
  background: rgba(7, 10, 18, 0.48);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  backdrop-filter: blur(12px);
}

.game-plays {
  top: auto;
  right: auto;
  bottom: 10px;
  left: 11px;
  color: rgba(232, 240, 255, 0.82);
}

.card-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #07111a;
  background: linear-gradient(135deg, #d7ffff, #b9a5ff);
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.1), 0 10px 26px rgba(0, 0, 0, 0.35);
  font-size: 15px;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.6);
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.game-item:hover .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.featured-info {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 103px;
  align-content: center;
  gap: 4px;
  padding: 13px 14px 14px;
}

.featured-info .card-label {
  color: var(--violet);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.featured-info h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.featured-info p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  color: var(--muted-2);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.featured-meta strong {
  color: #f4d878;
  font-weight: 500;
}

.play-mini {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  color: var(--cyan-soft);
  background: rgba(139, 92, 246, 0.12);
  font-size: 10px;
}

.site-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  color: var(--muted-2);
}

.brand-footer .brand-word {
  font-size: 15px;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.74);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(24, 33, 56, 0.97), rgba(10, 14, 25, 0.97));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 238, 0.08);
}

.modal-card h2 {
  margin: 11px 0 7px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  letter-spacing: -0.07em;
}

.modal-card p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 20px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .nav-inner {
    gap: 20px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .hero-content {
    width: 62%;
    padding-left: 42px;
  }

  .hero h1 {
    font-size: clamp(47px, 8vw, 70px);
  }

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

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-row {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .account-profile { max-width: 90px; min-height: 34px; padding-inline: 8px; font-size: 10px; }
  .nav-actions { gap: 7px; }
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    position: relative;
  }

  .nav-inner {
    display: flex;
    min-height: 64px;
    gap: 10px;
  }

  .brand-word {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 24px;
  }

  .brand-x {
    min-width: 21px;
    font-size: 1.2em;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(13, 18, 29, 0.96);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
  }

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

  .main-nav a {
    padding: 12px;
    border-radius: 9px;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: rgba(255, 255, 255, 0.06);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .language-switch { padding: 2px; }
  .language-switch button { min-width: 25px; height: 27px; font-size: 10px; }

  .nav-cta {
    padding-inline: 13px;
    font-size: 10px;
  }

  .menu-button {
    display: flex;
  }

  .hero {
    margin-top: 14px;
  }

  .hero-surface {
    min-height: 430px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-featured .hero-image { left: 0; width: 100%; object-position: center 24%; }
  .hero-featured .hero-gradient {
    background: linear-gradient(0deg, rgba(8, 13, 20, .98) 0%, rgba(8, 13, 20, .87) 33%, rgba(8, 13, 20, .1) 90%);
  }

  .hero-gradient {
    background:
      linear-gradient(0deg, rgba(10, 16, 28, 0.86) 3%, rgba(10, 16, 28, 0.58) 55%, rgba(10, 16, 28, 0.14) 100%),
      linear-gradient(90deg, rgba(10, 16, 28, 0.38), transparent);
  }

  .hero-content {
    width: 100%;
    min-height: 430px;
    justify-content: flex-end;
    padding: 28px 25px 29px;
  }

  .hero-featured h1 { font-size: clamp(43px, 12vw, 58px); }

  .hero h1 {
    max-width: 380px;
    font-size: clamp(47px, 15vw, 70px);
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 13px;
  }

  .hero-caption {
    top: 23px;
    right: 22px;
    bottom: auto;
  }

  .spotlight,
  .catalog {
    padding-top: 28px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .spotlight-art {
    aspect-ratio: 16 / 7.5;
  }

  .catalog-surface {
    padding: 22px 14px 14px;
    border-radius: 19px;
  }

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

  .featured-info {
    min-height: 93px;
    padding: 11px 10px 12px;
  }

  .featured-info h3 {
    font-size: 14px;
  }

  .featured-info p {
    font-size: 9px;
  }

  .play-mini {
    right: 9px;
    bottom: 11px;
    width: 24px;
    height: 24px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-block: 23px;
  }

}

@media (max-width: 430px) {
  .account-profile { width: 34px; max-width: 34px; min-height: 34px; padding: 0; border-radius: 50%; font-size: 0; }
  .account-profile::before { content: attr(data-initial); font-size: 12px; }
}

@media (max-width: 360px) {
  .nav-inner { gap: 6px; }
  .brand { gap: 6px; }
  .brand-word { font-size: 14px; }
  .brand-mark { width: 29px; }
  .nav-actions { gap: 4px; }
  .nav-actions .icon-button, .nav-actions .menu-button { width: 28px; }
  .account-profile { width: 30px; max-width: 30px; min-height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.zombie-preview { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(20px, 4vw, 52px); margin-top: 30px; padding: clamp(22px, 4vw, 44px); border: 1px solid rgba(235, 175, 106, .35); border-radius: 24px; background: linear-gradient(135deg, #111b2b, #182333 58%, #2b1c1c); box-shadow: 0 22px 60px #0005; }
.zombie-preview-copy h3 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 52px); line-height: 1.05; color: #f6f1e9; }
.zombie-preview-copy p { max-width: 45ch; margin: 0 0 24px; color: #bbc7d0; line-height: 1.6; }
.zombie-preview-video { display: block; width: 100%; max-height: 420px; border-radius: 16px; background: #071018; aspect-ratio: 16 / 9; object-fit: cover; }
.zombie-preview-tall { display: none; }
@media (max-width: 700px) {
  .zombie-preview { grid-template-columns: 1fr; }
  .zombie-preview-wide { display: none; }
  .zombie-preview-tall { display: block; width: min(100%, 320px); max-height: 440px; justify-self: center; aspect-ratio: 2 / 3; }
}

/* GameTopX browse layout preview */
:root { --shell: min(1440px, calc(100% - 48px)); }
.nav-inner { grid-template-columns: auto minmax(0,1fr) auto; gap: clamp(18px,3vw,48px); }
.main-nav { justify-content: center; gap: clamp(12px,1.8vw,26px); }
.main-nav a { white-space: nowrap; }
.portal-shell { display:grid; grid-template-columns: 192px minmax(0,1fr); gap: 22px; align-items:start; padding-top:24px; }
.portal-sidebar { position:sticky; top:94px; padding:14px 10px 20px; border:1px solid var(--line); border-radius:18px; background:rgba(20,28,43,.88); }
.portal-sidebar-label { margin:18px 12px 7px; color:#8190ad; font:700 10px 'DM Mono',monospace; letter-spacing:.14em; }
.portal-sidebar-label:first-child { margin-top:4px; }
.portal-sidebar a { display:flex; gap:12px; align-items:center; padding:11px 13px; border-radius:10px; color:#c8d4e9; font-size:13px; font-weight:700; }
.portal-sidebar a:hover,.portal-sidebar a.selected { color:#fff; background:linear-gradient(90deg,rgba(139,92,246,.33),rgba(34,211,238,.09)); }
.portal-content { min-width:0; }
.portal-welcome { display:grid; grid-template-columns:minmax(0,1fr) 230px; align-items:center; gap:24px; min-height:230px; padding:30px; border:1px solid rgba(115,135,180,.32); border-radius:20px; background:radial-gradient(circle at 80% 0,rgba(86,54,162,.35),transparent 35%),linear-gradient(120deg,#18223a,#10192a 65%,#152237); }
.portal-kicker { margin:0 0 9px; color:#84e4f1; font:700 10px 'DM Mono',monospace; letter-spacing:.16em; }
.portal-welcome h1 { margin:0 0 10px; font-size:clamp(32px,4vw,55px); letter-spacing:-.045em; line-height:1.08; }
.portal-welcome p:last-child { margin:0; color:#b6c3d9; font-size:14px; }
.portal-welcome-feature { position:relative; overflow:hidden; border-radius:14px; aspect-ratio:16/10; box-shadow:0 16px 36px #080d19; }
.portal-welcome-feature img { width:100%; height:100%; object-fit:cover; }
.portal-welcome-feature span { position:absolute; inset:auto 0 0; padding:20px 12px 12px; background:linear-gradient(transparent,#08111e); color:#b8efff; font:700 9px 'DM Mono',monospace; }
.portal-welcome-feature strong { display:block; margin-top:4px; color:#fff; font:800 15px 'Plus Jakarta Sans',sans-serif; }
.portal-categories { display:flex; flex-wrap:wrap; gap:9px; margin:17px 0 29px; }
.portal-categories a { padding:9px 14px; border:1px solid var(--line); border-radius:999px; background:#1a2639; color:#dbe6f7; font-size:12px; font-weight:700; }
.portal-categories a:hover { border-color:#63c7e4; background:#223954; }
.portal-section { margin:0 0 35px; scroll-margin-top:90px; }
.portal-section-head { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:15px; }
.portal-section-head h2 { margin:0 0 4px; font-size:25px; letter-spacing:-.04em; }
.portal-section-head p:last-child { margin:0; color:#95a5bf; font-size:12px; }
.portal-section-head>a { flex:none; color:#8ce6f3; font-size:12px; font-weight:800; }
.portal-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.portal-card { position:relative; overflow:hidden; min-width:0; border:1px solid #273751; border-radius:14px; background:#172338; transition:transform .18s,border-color .18s; }
.portal-card:hover { transform:translateY(-3px); border-color:#76d7e7; }
.portal-card>img { width:100%; aspect-ratio:16/9; object-fit:cover; background:#0c1422; }
.portal-card-meta { display:flex; justify-content:space-between; gap:5px; align-items:center; padding:10px 12px 12px; }
.portal-card-meta strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f3f7ff; font-size:13px; }
.portal-card-meta small { flex:none; color:#96a8c1; font-size:10px; }
.portal-card-play { position:absolute; right:10px; top:10px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:rgba(10,17,29,.82); color:#fff; font-size:11px; }
.portal-featured { padding-top:6px; }
@media (max-width:1100px) { .portal-shell { grid-template-columns:160px minmax(0,1fr); gap:14px; } .portal-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .main-nav { gap:12px; } }
@media (max-width:720px) { :root { --shell:calc(100% - 28px); } .portal-shell { display:block; padding-top:16px; } .portal-sidebar { display:none; } .portal-welcome { grid-template-columns:1fr; min-height:0; padding:22px; } .portal-welcome-feature { display:none; } .portal-categories { flex-wrap:nowrap; overflow-x:auto; padding-bottom:7px; scrollbar-width:thin; } .portal-categories a { flex:none; } .portal-section-head { align-items:start; } .portal-section-head h2 { font-size:21px; } .portal-section-head p:last-child { display:none; } .portal-cards { gap:9px; } .portal-card-meta { display:block; padding:8px 9px 10px; } .portal-card-meta strong { display:block; font-size:12px; } .portal-card-meta small { font-size:10px; } }

/* Featured games carousel: compact moving strip above New Games */
.game-carousel { margin-bottom:26px; }
.carousel-topline { display:flex; justify-content:space-between; gap:12px; padding:2px 2px 13px; color:#8290a6; font:700 10px 'DM Mono',monospace; letter-spacing:.13em; }
.carousel-window { position:relative; overflow:hidden; }
.carousel-track { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; padding:2px 0 7px; }
.carousel-track::-webkit-scrollbar { display:none; }
.carousel-card { position:relative; flex:0 0 clamp(140px,16vw,205px); aspect-ratio:4/4; overflow:hidden; border-radius:8px; scroll-snap-align:start; background:#243044; }
.carousel-card img { width:100%; height:100%; object-fit:cover; transition:transform .2s; }
.carousel-card:hover img { transform:scale(1.05); }
.carousel-card-shade { position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.86)); }
.carousel-card-label { position:absolute; right:11px; bottom:12px; left:11px; color:#fff; text-shadow:0 2px 8px #000; }
.carousel-card-label strong { display:block; font-size:clamp(12px,1.1vw,16px); line-height:1.15; }
.carousel-card-label small { display:block; margin-top:3px; color:#dce4ed; font-size:11px; }
.carousel-arrow { position:absolute; z-index:2; top:50%; display:grid; place-items:center; width:42px; height:42px; border:1px solid #ffffff77; border-radius:50%; background:#151c20dd; color:#fff; font-size:32px; line-height:1; cursor:pointer; transform:translateY(-50%); }
.carousel-prev { left:8px; } .carousel-next { right:8px; }
.carousel-arrow:hover { background:#303b44; }
@media(max-width:720px) { .carousel-card { flex-basis:42vw; max-width:180px; } .carousel-topline span:last-child { display:none; } .carousel-arrow { width:34px; height:34px; font-size:27px; } }

/* Lower homepage sections: information, editor picks, articles */
.catalog-surface { background:transparent; border:0; box-shadow:none; padding:10px 0 28px; }
.catalog { padding-top:5px; }
.home-lower { margin-top:26px; padding-bottom:50px; }
.home-info-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,300px); gap:20px; align-items:start; }
.home-about,.home-top-games { border:1px solid #ffffff17; border-radius:10px; background:#252930; }
.home-about { padding:24px 27px; color:#e5e8ee; }
.home-about h1,.home-about h2,.home-about h3 { margin:0 0 14px; font-family:'DM Mono',monospace; letter-spacing:-.02em; }
.home-about h1,.home-about h2 { font-size:clamp(18px,2vw,26px); line-height:1.3; }
.home-about h3 { margin-top:25px; font-size:19px; }
.home-about p { margin:0 0 15px; color:#d3d6dc; font-size:14px; line-height:1.7; }
.home-about a { color:#7ce0ed; text-decoration:underline; text-underline-offset:2px; }
.home-about-more summary { width:max-content; margin-top:22px; color:#ffab40; font-weight:700; cursor:pointer; }
.home-about-more[open] summary { margin-bottom:18px; }
.home-top-games { padding:18px; }
.home-top-games h2 { display:flex; align-items:center; gap:10px; margin:0 0 14px; color:#74e4c7; font:700 20px 'DM Mono',monospace; }
.home-top-games h2 small { margin-left:auto; color:#a7b4c4; font:600 10px 'Plus Jakarta Sans',sans-serif; }
.home-top-games ol { list-style:none; padding:0; margin:0; }
.home-top-games li { border-top:1px solid #ffffff15; }
.home-top-games li a { display:grid; grid-template-columns:22px 58px minmax(0,1fr); align-items:center; gap:10px; min-height:71px; color:#f6f7fb; font-size:12px; }
.home-top-games li a:hover { color:#7ce0ed; }
.home-top-games img { width:58px; height:50px; border-radius:6px; object-fit:cover; }
.rank-number { color:#8bdef0; font:700 15px 'DM Mono',monospace; }
.home-blog { margin-top:27px; }
.home-blog-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.home-blog-heading h2 { margin:0; color:#69dcc8; font:800 27px 'DM Mono',monospace; }
.home-blog-heading a { color:#8ee5ef; font-size:12px; font-weight:700; }
.home-blog-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.home-blog-card { overflow:hidden; border:1px solid #ffffff18; border-radius:9px; background:#252930; }
.home-blog-card img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.home-blog-card span { display:block; padding:12px; }
.home-blog-card strong { display:block; color:#f4f6fb; font-size:13px; line-height:1.4; }
.home-blog-card small { display:block; margin-top:6px; color:#aeb8c5; font-size:11px; line-height:1.4; }
.home-blog-card:hover { border-color:#6ed7e5; }
@media(max-width:850px) { .home-info-layout { grid-template-columns:1fr; } .home-top-games ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; } .home-blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .home-about { padding:19px; } .home-top-games ol { grid-template-columns:1fr; } .home-blog-grid { gap:9px; } .home-blog-card strong { font-size:11px; } .home-blog-card small { display:none; } }

/* User-provided GameTopX logo */
.brand-logo { display:block; width:174px; height:auto; max-height:76px; object-fit:contain; }
.site-header .nav-inner { min-height:80px; }
.brand-footer .brand-logo { width:162px; }
.account-dialog-brand .brand-logo { width:148px; }
@media(max-width:980px) { .brand-logo { width:142px; } }
@media(max-width:720px) { .brand-logo { width:116px; max-height:58px; } .site-header .nav-inner { min-height:64px; } }

