:root {
  --bg: #02050c;
  --bg-2: #07111f;
  --panel: rgba(8, 18, 34, 0.78);
  --panel-strong: rgba(10, 25, 45, 0.94);
  --line: rgba(72, 219, 255, 0.32);
  --line-strong: rgba(0, 167, 255, 0.78);
  --text: #f3fbff;
  --muted: #a6b8c7;
  --cyan: #38f2ff;
  --blue: #009dff;
  --violet: #8e5cff;
  --magenta: #ff4fd8;
  --lime: #b8ff6a;
  --amber: #ffd166;
  --danger: #ff6a88;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 32px rgba(56, 242, 255, 0.24);
  --radius: 8px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 157, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(255, 79, 216, 0.14), transparent 30rem),
    linear-gradient(135deg, var(--bg) 0%, #08101d 48%, #040712 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 242, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 242, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 78%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 42%, rgba(56, 242, 255, 0.05) 48%, transparent 54% 100%);
  animation: sweep 9s linear infinite;
  z-index: -1;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.14;
  z-index: 20;
}

.container {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(56, 242, 255, 0.18);
  background: rgba(2, 5, 12, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 157, 255, 0.26), rgba(142, 92, 255, 0.18)),
    rgba(8, 18, 34, 0.86);
  box-shadow: var(--glow), inset 0 0 18px rgba(56, 242, 255, 0.12);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-name span {
  color: var(--cyan);
}

.site-nav {
  display: flex;
  gap: 6px;
}

.site-nav a,
.mobile-nav a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 12px;
}

.site-nav a:hover,
.mobile-nav a:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(56, 242, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 18, 34, 0.8);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cyan);
}

.mobile-nav {
  position: fixed;
  inset: 72px 16px auto;
  z-index: 29;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 9, 18, 0.96);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 242, 255, 0.14);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08) brightness(0.7);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 12, 0.95), rgba(2, 5, 12, 0.58) 48%, rgba(2, 5, 12, 0.86)),
    linear-gradient(to top, rgba(2, 5, 12, 0.95), transparent 45%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(56, 242, 255, 0.18) 59%, transparent 60% 100%),
    linear-gradient(to right, transparent, rgba(56, 242, 255, 0.13), transparent);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: end;
  padding-block: 92px 58px;
}

.beacon-panel,
.signal-card,
.terminal-band,
.matrix-controls,
.featured-article,
.editorial-stack article,
.launch-terminal,
.launch-gallery,
.related-card,
.game-card,
.cookie-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.beacon-panel {
  width: 100%;
  min-width: 0;
  max-width: 760px;
  padding: clamp(24px, 5vw, 54px);
  border-left: 3px solid var(--cyan);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.1rem, 8vw, 5.9rem);
  line-height: 0.86;
  text-shadow: 0 0 28px rgba(56, 242, 255, 0.38);
}

.hero-copy {
  max-width: 690px;
  color: #dcecff;
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  overflow-wrap: anywhere;
}

.beacon-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.beacon-stats span {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(56, 242, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(3, 11, 22, 0.7);
  color: var(--muted);
}

.beacon-stats strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.hero-actions,
.store-links,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.store-links a,
.cookie-actions button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn {
  padding: 0 18px;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #00101c;
  box-shadow: 0 0 26px rgba(56, 242, 255, 0.32);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(0, 157, 255, 0.12);
  color: var(--text);
}

.signal-card {
  width: 100%;
  min-width: 0;
  padding: 12px;
}

.signal-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.signal-card div {
  padding: 18px 6px 6px;
}

.signal-status {
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card h2 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.signal-card p:last-child,
.section-heading p,
.article-copy p,
.launch-terminal p,
.site-footer p {
  color: var(--muted);
}

.section {
  padding-block: clamp(54px, 8vw, 98px);
}

.terminal-band {
  padding-block: 24px;
  background: rgba(0, 157, 255, 0.06);
}

.trailer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trailer-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.trailer-console {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 5, 12, 0.76);
  color: var(--muted);
  font-weight: 700;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 18px var(--danger);
  animation: pulse 1.3s ease-in-out infinite;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 18, 34, 0.72);
  color: var(--muted);
  padding: 0 14px;
  font-weight: 800;
  white-space: nowrap;
}

.tab.is-active {
  border-color: var(--cyan);
  color: #00101c;
  background: var(--cyan);
}

.slider-shell {
  position: relative;
}

.game-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 4px 4px 18px;
}

.game-slider::-webkit-scrollbar,
.tabs::-webkit-scrollbar {
  height: 8px;
}

.game-slider::-webkit-scrollbar-thumb,
.tabs::-webkit-scrollbar-thumb {
  background: rgba(56, 242, 255, 0.3);
  border-radius: 999px;
}

.game-card {
  scroll-snap-align: start;
  overflow: hidden;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-card-body {
  padding: 16px;
}

.game-meta,
.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.game-card h3,
.catalog-card h3,
.related-card h3 {
  margin: 10px 0 8px;
}

.game-card p,
.catalog-card p,
.related-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.score {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(184, 255, 106, 0.32);
  border-radius: 999px;
  color: var(--lime);
}

.icon-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(2, 5, 12, 0.78);
  color: var(--cyan);
  box-shadow: var(--glow);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-prev {
  left: -12px;
}

.slider-next {
  right: -12px;
}

.matrix-section {
  background:
    linear-gradient(180deg, rgba(142, 92, 255, 0.08), transparent),
    rgba(0, 0, 0, 0.12);
}

.matrix-controls {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(150px, 1fr));
  gap: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.matrix-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.matrix-controls input,
.matrix-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(56, 242, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(2, 5, 12, 0.76);
  color: var(--text);
  padding: 0 12px;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 18px;
}

.suggestions button {
  min-height: 34px;
  border: 1px solid rgba(56, 242, 255, 0.26);
  border-radius: 999px;
  background: rgba(56, 242, 255, 0.08);
  color: var(--cyan);
  padding: 0 12px;
  font-weight: 700;
}

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

.catalog-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  min-height: 140px;
  padding: 12px;
  border: 1px solid rgba(56, 242, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(8, 18, 34, 0.68);
}

.catalog-card img {
  width: 100%;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
  border-radius: 6px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(56, 242, 255, 0.36);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.featured-article {
  overflow: hidden;
}

.featured-article img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.article-copy {
  padding: clamp(22px, 4vw, 38px);
}

.article-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1;
}

.text-link {
  color: var(--cyan);
  justify-content: flex-start;
}

.editorial-stack {
  display: grid;
  gap: 12px;
}

.editorial-stack article {
  padding: 18px;
}

.editorial-stack span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-stack h3 {
  margin: 10px 0 0;
  font-size: 1.12rem;
}

.launch-section {
  background: linear-gradient(180deg, transparent, rgba(0, 157, 255, 0.08));
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.launch-gallery {
  padding: 12px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbs img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(56, 242, 255, 0.24);
  border-radius: 6px;
}

.launch-terminal {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

.launch-terminal h2 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}

.rating-orb {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(184, 255, 106, 0.45);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(184, 255, 106, 0.16);
}

.rating-row strong,
.rating-row span {
  display: block;
}

.rating-row span {
  color: var(--muted);
}

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

.pros-cons div,
.requirements {
  border: 1px solid rgba(56, 242, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(2, 5, 12, 0.48);
  padding: 16px;
}

.pros-cons h3,
.requirements h3 {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.pros-cons ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.requirements {
  margin-top: 12px;
}

.requirements dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.requirements dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.requirements dt {
  color: var(--text);
  font-weight: 800;
}

.requirements dd {
  margin: 0;
  text-align: right;
}

.store-links {
  margin-top: 18px;
}

.store-links a {
  min-width: 104px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 157, 255, 0.12);
  color: var(--text);
  padding: 0 15px;
}

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

.related-card {
  overflow: hidden;
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.related-card div {
  padding: 14px;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid rgba(56, 242, 255, 0.18);
  background: rgba(2, 5, 12, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-weight: 800;
}

.cookie-widget {
  position: fixed;
  left: 16px;
  bottom: 18px;
  z-index: 40;
  width: min(268px, calc(100vw - 32px));
  padding: 16px;
  border-color: var(--line-strong);
  background: rgba(6, 15, 29, 0.94);
  transform: translateX(0);
  transition: opacity 260ms ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-widget.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: cookieSlide 360ms ease both;
}

.cookie-light {
  width: 42px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.cookie-widget h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.cookie-widget p {
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-actions button {
  min-width: 92px;
  border: 1px solid var(--line);
  background: rgba(0, 157, 255, 0.12);
  color: var(--text);
  padding: 0 14px;
}

.cookie-actions button:first-child {
  border-color: transparent;
  background: var(--cyan);
  color: #00101c;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.09);
  }
}

@keyframes sweep {
  from {
    transform: translateX(-40%);
  }
  to {
    transform: translateX(40%);
  }
}

@keyframes cookieSlide {
  from {
    transform: translateX(-24px);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content,
  .editorial-layout,
  .launch-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 56px;
  }

  .signal-card {
    max-width: 520px;
  }

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

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

  .catalog-card {
    grid-template-columns: 120px 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: 100%;
    max-width: none;
    padding-inline: 12px;
  }

  .site-header {
    min-height: 66px;
    padding: 11px 12px;
  }

  .mobile-nav {
    inset: 66px 12px auto;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .beacon-panel {
    padding: 22px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 0.94;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .beacon-stats {
    display: grid;
  }

  .trailer-strip,
  .trailer-console {
    align-items: flex-start;
    flex-direction: column;
  }

  .trailer-console {
    width: 100%;
    padding-block: 14px;
  }

  .matrix-controls,
  .catalog-grid,
  .related-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-card img {
    aspect-ratio: 16 / 9;
  }

  .slider-prev,
  .slider-next {
    display: none;
  }

  .featured-article img {
    height: 240px;
  }

  .cookie-widget {
    left: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
