:root {
  --bg: #0b0b14;
  --surface: #13131f;
  --surface-2: #1a1a2b;
  --border: #2a2a40;
  --text: #ececf6;
  --muted: #9b9bb8;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --accent: var(--brand);
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section__header h2 {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand__mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--brand), var(--brand-2), var(--brand));
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.55);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav > a {
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.site-nav > a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.lang-switch {
  display: inline-flex;
  margin-left: 0.6rem;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
}

.lang-switch a[aria-current="true"] {
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-toggle__bar {
  top: 21px;
}

.nav-toggle__bar::before {
  top: -7px;
  left: 0;
  right: 0;
}

.nav-toggle__bar::after {
  top: 7px;
  left: 0;
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), #5b3df0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.4);
}

.button--small {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.link-more {
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: none;
}

.link-more:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 10vw, 7rem);
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(124, 92, 255, 0.35), transparent 70%),
    radial-gradient(50% 70% at 90% 20%, rgba(34, 211, 238, 0.22), transparent 70%);
}

.hero__inner > * {
  max-width: 760px;
}

.hero h1 {
  background: linear-gradient(120deg, #fff 30%, #b8a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.page-head {
  padding-block: clamp(2.5rem, 6vw, 4rem) 0.5rem;
  background: radial-gradient(60% 100% at 10% 0%, rgba(124, 92, 255, 0.22), transparent 70%);
}

.page-head--center {
  text-align: center;
  padding-bottom: 3rem;
}

.page-head--center .lead {
  margin-inline: auto;
}

.search input {
  width: min(460px, 100%);
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  margin-top: 0.4rem;
}

.game-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.4rem;
}

.game-card,
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--brand));
  box-shadow: var(--shadow);
}

.game-card__media,
.post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

.game-card__media img,
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card__media img,
.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.game-card__placeholder,
.post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent, var(--brand)), var(--surface-2));
}

.game-card__body,
.post-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.game-card__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.game-card__title h3,
.post-card__body h3 {
  margin: 0;
}

.game-card__title a,
.post-card__body h3 a {
  text-decoration: none;
}

.game-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.game-card__body p,
.post-card__body p {
  color: var(--muted);
  margin: 0;
}

.game-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.8rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.store:hover {
  transform: translateY(-2px);
  border-color: var(--accent, var(--brand));
}

.store .icon {
  width: 1.7rem;
  height: 1.7rem;
}

.store__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store__text small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.store__text strong {
  font-size: 1.05rem;
}

.store--small {
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
}

.store--small .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.soon {
  margin-top: 2.2rem;
  padding: 1.4rem 1.6rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.soon h3 {
  margin-bottom: 0.6rem;
  color: var(--brand-2);
}

.soon__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.soon__list li {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 600;
}

.empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

.game-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}

.game-hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(6px) saturate(1.2);
  transform: scale(1.06);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}

.game-hero__inner {
  position: relative;
}

.game-hero__title {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.game-hero__title h1 {
  margin: 0 0 0.3rem;
}

.game-hero__title .lead {
  margin: 0;
}

.game-hero__icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.game-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.game-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.game-facts div {
  display: flex;
  flex-direction: column;
}

.prose {
  max-width: 70ch;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
}

.prose a {
  color: var(--brand-2);
}

.prose code {
  background: var(--surface-2);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.prose img {
  border-radius: var(--radius);
  margin-block: 1.2rem;
}

.prose blockquote {
  margin: 1.2rem 0;
  padding: 0.4rem 1.2rem;
  border-left: 4px solid var(--accent, var(--brand));
  color: var(--muted);
}

.prose--page {
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.2rem;
}

.feature {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #000));
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery__item {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
}

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

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  max-height: 88vh;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 1.2rem;
}

.video {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, var(--surface)), var(--surface));
  border: 1px solid var(--border);
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video__play {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.video__play .icon {
  width: 3.4rem;
  height: 3.4rem;
  padding: 0.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  fill: currentColor;
  stroke: none;
}

.article__head {
  padding-block: clamp(2rem, 6vw, 3.5rem) 1rem;
  max-width: 820px;
}

.article__cover {
  max-width: 980px;
}

.article__cover img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.article__body {
  max-width: 760px;
  padding-block: 2rem;
}

.article__foot {
  max-width: 760px;
  padding-bottom: 3rem;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-block: 2.4rem 1.4rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  align-content: flex-start;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.site-footer__legal {
  padding-block: 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1.2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

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

  .lang-switch {
    align-self: flex-start;
    margin: 0.6rem 0 0;
  }

  .game-body {
    grid-template-columns: 1fr;
  }

  .game-hero__title {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
