:root {
  --bg: #04060b;
  --bg-soft: #0a0e17;
  --panel: rgba(5, 8, 14, 0.82);
  --panel-solid: #0b1018;
  --panel-elevated: rgba(9, 13, 21, 0.94);
  --line: rgba(86, 244, 255, 0.2);
  --text: #f4f8ff;
  --muted: #90a5c3;
  --accent: #56f4ff;
  --accent-soft: rgba(86, 244, 255, 0.16);
  --magenta: #d94cff;
  --blue: #2e58ff;
  --amber: #ffc261;
  --success: #bcffef;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 88, 255, 0.24), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(217, 76, 255, 0.18), transparent 24%),
    radial-gradient(circle at 30% 100%, rgba(86, 244, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #05070c 0%, #020307 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(142, 196, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 196, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 88%);
  opacity: 0.36;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(86, 244, 255, 0.22), transparent 14%),
    radial-gradient(circle at 82% 12%, rgba(217, 76, 255, 0.16), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(46, 88, 255, 0.18), transparent 24%);
  filter: blur(28px);
  opacity: 0.8;
}

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

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

video {
  display: block;
  width: 100%;
}

.site-header,
.hero,
.catalog,
.contact-cta,
.site-footer {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 8, 14, 0.82);
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(86, 244, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  width: 148px;
  height: 86px;
  flex: 0 0 148px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 18px rgba(86, 244, 255, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-overline,
.eyebrow,
.spotlight-category,
.briefing-label,
.inline-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-overline,
.eyebrow,
.section-lead,
.filter-status,
.spotlight-category,
.meta-item span,
.briefing-label,
.site-footer p:last-child {
  color: var(--muted);
}

.brand-overline {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #dceaf9;
}

.main-nav a {
  opacity: 0.86;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
  color: white;
}

.hero {
  padding: 78px 0 34px;
}

.spotlight,
.contact-cta,
.hero-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.94), rgba(4, 7, 13, 0.97)),
    linear-gradient(130deg, rgba(86, 244, 255, 0.04), transparent 42%);
  box-shadow: var(--shadow);
}

.hero-banner,
.contact-cta {
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.contact-cta h2,
.spotlight-copy h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 74px);
}

.hero-banner h1 {
  color: #f7fbff;
}

.hero-banner p {
  margin: 10px 0 0;
  display: inline-block;
  color: var(--magenta);
  font-family: "Permanent Marker", cursive;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 0.98;
  text-shadow:
    0 0 10px rgba(86, 244, 255, 0.36),
    0 0 26px rgba(217, 76, 255, 0.22);
}

.contact-cta p,
.spotlight-summary,
.briefing-box p,
.game-card__summary {
  font-size: 16px;
  line-height: 1.72;
}

.spotlight-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #8af3ff 48%, #d9fcff);
  color: #03111d;
  box-shadow: 0 18px 34px rgba(86, 244, 255, 0.24);
}

.button-ghost {
  border-color: rgba(86, 244, 255, 0.22);
  background: rgba(11, 17, 28, 0.72);
  color: #e2f2ff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(86, 244, 255, 0.42);
  background: rgba(12, 21, 37, 0.92);
}

.hero-banner::before,
.spotlight::before,
.contact-cta::before {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 244, 255, 0.14), transparent 72%);
  pointer-events: none;
}

.hero-banner {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow:
    inset 0 0 0 1px rgba(86, 244, 255, 0.08),
    0 24px 46px rgba(0, 0, 0, 0.36);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82)),
    linear-gradient(135deg, rgba(86, 244, 255, 0.04), transparent 42%, rgba(217, 76, 255, 0.08));
  pointer-events: none;
}

.hero-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner__copy {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 1;
  max-width: 760px;
}

.hero-banner__crosshair {
  position: absolute;
  top: 24px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 0.85;
}

.hero-banner__crosshair::before,
.hero-banner__crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
}

.hero-banner__crosshair::before {
  top: 50%;
  left: 8px;
  right: 8px;
  height: 2px;
  transform: translateY(-50%);
}

.hero-banner__crosshair::after {
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
}

.hero-banner__crosshair--left {
  left: 18px;
}

.hero-banner__crosshair--right {
  right: 18px;
}

.catalog {
  position: relative;
  padding: 24px 0 36px;
}

.catalog::before {
  content: "";
  position: absolute;
  top: 180px;
  right: -30px;
  width: 260px;
  aspect-ratio: 1;
  background: url("assets/virtuality-world-vw-mark.png") center/contain no-repeat;
  opacity: 0.08;
  filter: saturate(0.8) drop-shadow(0 0 28px rgba(86, 244, 255, 0.18));
  pointer-events: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.section-heading h2,
.contact-cta h2 {
  font-size: clamp(30px, 4.4vw, 50px);
}

.section-lead {
  max-width: 44ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.filter-shell {
  margin-top: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(86, 244, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 12, 21, 0.88);
  color: #dff2ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(86, 244, 255, 0.34);
}

.filter-button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #72f3ff 48%, #d94cff);
  color: #03111d;
}

.filter-status {
  margin: 14px 0 0;
  font-size: 14px;
}

.spotlight {
  --spotlight-accent: var(--accent);
  --spotlight-poster: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 8, 14, 0.72), rgba(4, 8, 14, 0.2)),
    var(--spotlight-poster) center/cover no-repeat;
  opacity: 0.16;
  filter: blur(36px);
  transform: scale(1.12);
  pointer-events: none;
}

.spotlight > * {
  position: relative;
  z-index: 1;
}

.spotlight::before {
  inset: auto 24px 14px auto;
  width: 180px;
  height: 180px;
  border-radius: 0;
  background: url("assets/virtuality-world-vw-mark.png") center/contain no-repeat;
  opacity: 0.08;
  filter: drop-shadow(0 0 24px rgba(86, 244, 255, 0.14));
}

.spotlight-media__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(86, 244, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(4, 8, 16, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(217, 76, 255, 0.06);
}

.inline-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 12, 22, 0.78);
  border: 1px solid rgba(86, 244, 255, 0.12);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.spotlight-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-category {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.spotlight-copy h3 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 48px);
}

.spotlight-hook {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--spotlight-accent);
  text-shadow: 0 0 18px rgba(86, 244, 255, 0.18);
}

.spotlight-summary {
  margin: 16px 0 0;
  color: #d9ebfb;
}

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

.meta-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(86, 244, 255, 0.1);
  background: rgba(7, 12, 21, 0.84);
}

.meta-item span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-item strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  color: white;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(86, 244, 255, 0.1);
  color: #def2ff;
  font-size: 13px;
  font-weight: 700;
}

.briefing-box {
  margin-top: 20px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(86, 244, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(46, 88, 255, 0.06), transparent 56%),
    rgba(8, 15, 28, 0.82);
}

.briefing-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.briefing-box p {
  margin: 10px 0 0;
  color: #e0f0ff;
}

.spotlight-actions {
  margin-top: 22px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.game-card {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(86, 244, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(7, 12, 21, 0.92);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(86, 244, 255, 0.26);
}

.game-card.is-selected {
  border-color: rgba(86, 244, 255, 0.34);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(217, 76, 255, 0.14);
}

.game-card__visual {
  position: relative;
  aspect-ratio: 4 / 4.55;
  overflow: hidden;
}

.game-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.04), rgba(4, 8, 16, 0.14) 42%, rgba(4, 8, 16, 0.94));
}

.game-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.game-card__play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(86, 244, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.86);
  color: #f5fbff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.game-card__play:hover,
.game-card__play:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(86, 244, 255, 0.4);
}

.game-card.is-playing .game-card__play {
  background: linear-gradient(135deg, rgba(86, 244, 255, 0.96), rgba(217, 76, 255, 0.92));
  color: #041019;
  border-color: transparent;
}

.game-card__play-icon {
  font-size: 12px;
  line-height: 1;
}

.game-card__content {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px 20px 22px;
}

.game-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(86, 244, 255, 0.1);
  background: rgba(7, 15, 27, 0.82);
  color: #dff7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-card__title {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  line-height: 1.12;
}

.game-card__summary {
  margin: 0;
  color: #d0e6f7;
  font-size: 14px;
  line-height: 1.65;
}

.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(86, 244, 255, 0.12);
  color: #bcf8ff;
  font-size: 12px;
  font-weight: 700;
}

.contact-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 10px;
  padding: 28px 30px;
  border-radius: 30px;
}

.contact-cta code {
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 40px;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .spotlight,
  .section-heading,
  .contact-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .contact-cta,
  .site-footer {
    display: grid;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 24px, 1200px);
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .main-nav {
    display: none;
  }

  .brand-mark {
    width: 118px;
    height: 68px;
    flex-basis: 118px;
    border-radius: 16px;
  }

  .hero,
  .catalog,
  .contact-cta,
  .site-footer {
    width: min(100% - 24px, 1200px);
  }

  .hero {
    padding-top: 42px;
  }

  .spotlight,
  .contact-cta {
    border-radius: 24px;
  }

  .spotlight,
  .contact-cta {
    padding-inline: 20px;
  }

  .hero-banner {
    min-height: 460px;
  }

  .hero-banner__copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

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

  .spotlight {
    gap: 18px;
    padding-block: 20px;
  }

  .game-card__visual {
    aspect-ratio: 4 / 3.8;
  }

  .contact-actions,
  .spotlight-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    padding-top: 24px;
  }
}
