: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: flex;
  align-items: center;
  min-height: 72px;
  gap: 38px;
}

.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;
  margin-left: auto;
}

.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;
  gap: 12px;
}

.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;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.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: 492px;
  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: 492px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 0 54px 58px;
}

.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,
.dev-band h2 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: 56px;
}

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

.section-head h2,
.catalog h2,
.dev-band 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(3, 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;
}

.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);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 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;
}

.dev-band {
  position: relative;
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  margin-top: 56px;
  padding: 35px 43px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, rgba(34, 32, 72, 0.94), rgba(20, 43, 67, 0.9));
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.2);
}

.dev-content {
  position: relative;
  z-index: 2;
}

.dev-band .eyebrow {
  color: var(--pink);
}

.dev-band h2 {
  max-width: 600px;
  margin-top: 9px;
  font-size: clamp(27px, 3.3vw, 43px);
}

.dev-band h2 em {
  color: #c8b4ff;
}

.dev-band p:not(.eyebrow) {
  max-width: 470px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.dev-band .button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.dev-orb {
  position: absolute;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50%;
}

.dev-orb-one {
  right: 11%;
  bottom: -160px;
  width: 400px;
  height: 400px;
  box-shadow: 0 0 80px rgba(139, 92, 246, 0.17);
}

.dev-orb-two {
  right: 2%;
  bottom: -260px;
  width: 590px;
  height: 590px;
  border-color: rgba(34, 211, 238, 0.14);
}

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

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

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

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.footer-status .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px rgba(182, 243, 107, 0.6);
}

.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(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    position: relative;
  }

  .nav-inner {
    min-height: 64px;
  }

  .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;
  }

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

  .menu-button {
    display: flex;
  }

  .hero {
    margin-top: 14px;
  }

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

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

  .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: 570px;
    justify-content: flex-end;
    padding: 34px 25px 35px;
  }

  .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: 40px;
  }

  .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;
  }

  .dev-band {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 40px;
    padding: 27px 24px;
  }

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

  .footer-status {
    width: 100%;
    margin-left: 0;
  }
}

@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; }
}

/* Slime Panic — shares the preview layout with Zombie Barrage. */
.slime-preview { border-color: rgba(143, 189, 242, .4); background: linear-gradient(130deg, #142341, #1a2739 54%, #253947); }
.slime-preview .button-primary { background: linear-gradient(115deg, #74ccff, #b8a0ff); color: #0b1830; }
