/* ==========================================================================
   LXDPLAY — Premium dark cinematic game portal
   v2 — refined typography, spacing system, hero composition, interactions
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  /* color */
  --bg: #050507;
  --bg-alt: #0b0b0f;
  --surface: #101015;
  --surface-2: #17171d;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --text-dim: #8f8f9b;
  --accent: #e8b34b;               /* pale lighthouse amber */
  --accent-hover: #f6c96e;
  --accent-ink: #140f07;
  --live: #4ade80;
  --dev: #60a5fa;
  --concept: #c084fc;
  --soon: #e8b34b;

  /* type */
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 76px;
  --section-y: clamp(96px, 11vw, 160px);
  --container: 1280px;
  --gutter: 48px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* depth */
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(232, 179, 75, 0.18), 0 0 44px rgba(232, 179, 75, 0.09);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: rgba(232, 179, 75, 0.85); color: var(--accent-ink); }

.container {
  width: min(var(--container), calc(100% - var(--gutter)));
  margin-inline: auto;
}

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

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 34px rgba(232, 179, 75, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.09);
}

.btn--sm { padding: 12px 24px; font-size: 12px; }
.btn--lg { padding: 18px 42px; font-size: 15px; }

/* ---------- Header / Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(3, 3, 5, 0.78), rgba(3, 3, 5, 0));
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(4, 4, 7, 0.94);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  width: min(var(--container), calc(100% - var(--gutter)));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--text);
  line-height: 1;
}
.nav__logo span { color: var(--accent); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  transition: color 0.25s;
  padding: 8px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.ext-arrow { font-size: 11px; color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-dim);
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.nav__icon-btn svg { width: 19px; height: 19px; }
.nav__icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }

.nav__menu-cta { display: none; }

/* Burger */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s, width 0.35s var(--ease);
}
.nav__burger span:nth-child(2) { width: 15px; margin-right: 7px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero carousel ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bg);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s 1.1s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s var(--ease);
  z-index: 1;
}

/* separate bg layer -> slow Ken Burns drift while slide is active */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
}
.hero__slide.is-active .hero__bg {
  animation: kenburns 9s var(--ease-out) forwards;
}
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* cinematic shading: bottom gradient + side vignette + top fade for nav */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 3, 5, 0.97) 0%, rgba(3, 3, 5, 0.55) 34%, rgba(3, 3, 5, 0.12) 62%, rgba(3, 3, 5, 0.3) 100%),
    radial-gradient(ellipse 120% 90% at 50% 100%, transparent 40%, rgba(3, 3, 5, 0.42) 100%);
}

.hero__content {
  position: relative;
  width: min(var(--container), calc(100% - var(--gutter)));
  margin-inline: auto;
  padding-bottom: clamp(110px, 16vh, 170px);
}
.hero__content > * {
  opacity: 0;
  transform: translateY(30px);
}
.hero__slide.is-active .hero__content > * {
  animation: heroRise 1s var(--ease) forwards;
}
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: 0.14s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: 0.28s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: 0.42s; }

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero__label-line {
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11.5vw, 168px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 12px 70px rgba(0, 0, 0, 0.85);
}
.hero__title--md {
  font-size: clamp(38px, 5.8vw, 78px);
  letter-spacing: 0.015em;
  line-height: 1.04;
}

.hero__sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 500;
  color: rgba(244, 244, 246, 0.82);
  max-width: 52ch;
}

.hero__btns {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* arrows */
.hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(5, 5, 8, 0.35);
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow--prev { left: clamp(14px, 2.5vw, 42px); }
.hero__arrow--next { right: clamp(14px, 2.5vw, 42px); }
.hero__arrow:hover {
  background: rgba(232, 179, 75, 0.92);
  border-color: transparent;
  color: var(--accent-ink);
  transform: translateY(-50%) scale(1.06);
}

/* controls */
.hero__controls {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero__counter {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  min-width: 64px;
}
.hero__counter em {
  font-style: normal;
  color: var(--text-dim);
  font-size: 12px;
}

.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  position: relative;
  width: 52px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  transition: background 0.3s;
}
.hero__dot-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active .hero__dot-fill {
  animation: dotProgress var(--slide-ms, 6000ms) linear forwards;
}
.hero__dot.is-active.is-paused .hero__dot-fill {
  animation-play-state: paused;
}
@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.hero__dot:hover:not(.is-active) { background: rgba(255, 255, 255, 0.45); }

.hero__pause {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
  transition: background 0.25s, border-color 0.25s;
}
.hero__pause svg { width: 13px; height: 13px; }
.hero__pause:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7); }

/* scroll hint */
.hero__scrollhint {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  right: clamp(24px, 4vw, 64px);
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scrollhint span {
  width: 3px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollNudge 1.8s var(--ease) infinite;
}
@keyframes scrollNudge {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
  background: var(--bg);
  position: relative;
}
.section--alt { background: var(--bg-alt); }
/* subtle seam between sections */
.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.section--alt::before { top: 0; }
.section--alt::after { bottom: 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}
.section__kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.section__rule {
  flex: 1;
  height: 1px;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--accent) 0%, rgba(232, 179, 75, 0.25) 30%, transparent 75%);
}

/* ---------- Cards (shared) ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s, background 0.45s;
}
.card:hover {
  transform: translateY(-7px);
  background: var(--surface-2);
  border-color: rgba(232, 179, 75, 0.4);
  box-shadow: var(--shadow), var(--glow);
}

.card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.92) brightness(0.96);
}
.card:hover .card__media img {
  transform: scale(1.07);
  filter: saturate(1.05) brightness(1.04);
}

/* gradient scrim over media bottoms for depth */
.card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.55), transparent 45%);
  pointer-events: none;
}

.card__body { padding: 26px 28px 30px; }

.card__cat {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.card:hover .card__title { color: #fff; }
.card__date {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.card__desc {
  margin: 12px 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- Newswire layout ---------- */
.news {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.news__featured { display: flex; flex-direction: column; }
.news__featured .card__media { aspect-ratio: auto; flex: 1; min-height: 340px; }
.news__featured .card__title { font-size: clamp(26px, 2.6vw, 34px); }
.news__featured .card__body { padding: 30px 32px 34px; }

.news__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news__item {
  display: grid;
  grid-template-columns: 172px 1fr auto;
  align-items: stretch;
  flex: 1;
}
.news__item .card__media { aspect-ratio: auto; height: 100%; min-height: 112px; }
.news__item .card__body {
  padding: 18px 8px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news__item .card__title { font-size: 16px; }
.news__item .card__date { margin-top: 7px; font-size: 12px; }
.news__item .card__cat { margin-bottom: 7px; }

.news__arrow {
  align-self: center;
  padding-right: 22px;
  font-size: 18px;
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s;
}
.news__item:hover .news__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.game-card { display: flex; flex-direction: column; }
.game-card .card__media { aspect-ratio: 4 / 3; }
.game-card .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.game-card .card__desc { flex: 1; }
.game-card .btn { align-self: flex-start; }

.badge {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
}
.badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge--live i { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  50%      { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
.badge--live    { color: var(--live);    border-color: rgba(74, 222, 128, 0.35); }
.badge--dev     { color: var(--dev);     border-color: rgba(96, 165, 250, 0.35); }
.badge--concept { color: var(--concept); border-color: rgba(192, 132, 252, 0.35); }
.badge--soon    { color: var(--soon);    border-color: rgba(232, 179, 75, 0.35); }

/* ---------- HUSH showcase ---------- */
.showcase {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.showcase__bg {
  position: absolute;
  inset: -14% 0;
  background-image:
    linear-gradient(to right, rgba(3, 3, 5, 0.97) 12%, rgba(3, 3, 5, 0.72) 48%, rgba(3, 3, 5, 0.28) 100%),
    linear-gradient(to top, rgba(3, 3, 5, 0.97), transparent 42%),
    linear-gradient(to bottom, rgba(3, 3, 5, 0.8), transparent 30%),
    var(--bg);
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.showcase__inner { position: relative; z-index: 1; padding: 140px 0; }
.showcase__content { max-width: 680px; }

.showcase__title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 176px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-shadow: 0 12px 70px rgba(0, 0, 0, 0.9);
}
.showcase__sub {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(244, 244, 246, 0.92);
}
.showcase__desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 50ch;
}

.showcase__platforms {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.showcase__platforms li {
  padding: 9px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  transition: color 0.3s, border-color 0.3s;
}
.showcase__platforms li:hover { color: var(--text); border-color: rgba(232, 179, 75, 0.5); }

/* ---------- Video section ---------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.video__poster {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease-out);
}
.video:hover .video__poster { transform: scale(1.03); }
.video__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(3, 3, 5, 0.22), rgba(3, 3, 5, 0.68));
  transition: background 0.45s;
}
.video:hover .video__overlay {
  background: radial-gradient(ellipse at center, rgba(3, 3, 5, 0.08), rgba(3, 3, 5, 0.58));
}

.video__tag {
  position: absolute;
  left: 28px; bottom: 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 244, 246, 0.85);
}

.video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(78px, 8.5vw, 104px);
  height: clamp(78px, 8.5vw, 104px);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(232, 179, 75, 0.94);
  color: var(--accent-ink);
  transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s;
  box-shadow: 0 0 0 0 rgba(232, 179, 75, 0.35);
}
.video__play svg { width: 36%; height: 36%; margin-left: 5px; }
.video__play::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(232, 179, 75, 0.4);
  animation: ringPulse 2.6s var(--ease) infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(0.85); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.18); opacity: 0; }
}
.video__play:hover {
  transform: translate(-50%, -50%) scale(1.09);
  background: var(--accent-hover);
  box-shadow: 0 0 0 22px rgba(232, 179, 75, 0.1);
}

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(44px, 6.5vw, 100px);
  align-items: center;
}
.newsletter__big {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.8vw, 96px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, var(--text) 35%, rgba(244, 244, 246, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.newsletter__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}
.newsletter__text { color: var(--text-dim); margin-bottom: 30px; max-width: 48ch; }

.newsletter__form { display: flex; gap: 14px; }
.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 16px 22px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.newsletter__input::placeholder { color: var(--text-dim); }
.newsletter__input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(232, 179, 75, 0.12);
}
.newsletter__success {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--live);
  font-weight: 600;
  animation: heroRise 0.5s var(--ease);
}
.newsletter__success::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
}

/* ---------- Support banner ---------- */
.support {
  position: relative;
  padding: clamp(110px, 13vw, 180px) 0;
  overflow: hidden;
}
.support__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 85% at 18% 115%, rgba(232, 179, 75, 0.08), transparent),
    radial-gradient(ellipse 50% 80% at 85% -12%, rgba(96, 165, 250, 0.05), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 28px),
    var(--bg-alt);
}
.support__bg::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 90vw);
  height: 70%;
  border: 1px solid rgba(232, 179, 75, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}
.support__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.support__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.support__text { color: var(--text-dim); font-size: 17px; max-width: 46ch; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: #030305;
  padding: 90px 0 44px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -0.24em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 340px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.018);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.footer__grid { position: relative; }

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border);
}
.footer__logo { font-size: 30px; }

.footer__links { display: flex; flex-wrap: wrap; gap: 34px; }
.footer__links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--accent); }

.footer__mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px 0;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__legal a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.25s;
}
.footer__legal a:hover { color: var(--text); }

.footer__meta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.footer__lang svg { width: 18px; height: 18px; }
.footer__lang select {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text);
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.25s;
}
.footer__lang select:hover { border-color: rgba(255, 255, 255, 0.4); }
.footer__lang select option { background: var(--surface); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover {
  color: var(--accent);
  border-color: rgba(232, 179, 75, 0.55);
  background: rgba(232, 179, 75, 0.06);
  transform: translateY(-4px);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  padding-top: 10px;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 2, 4, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s;
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__box {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.modal.is-open .modal__box { opacity: 1; transform: translateY(0) scale(1); }

.modal__screen {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at center, rgba(232, 179, 75, 0.06), transparent 65%),
    var(--surface);
  border-radius: var(--radius);
}
.modal__screen p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.modal__close {
  position: absolute;
  top: -20px; right: -20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 26px;
  line-height: 1;
  z-index: 1;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.modal__close:hover { transform: rotate(90deg) scale(1.05); background: var(--accent-hover); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__menu { gap: 24px; }
}

@media (max-width: 960px) {
  :root { --gutter: 40px; }

  .nav__menu {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    padding: calc(var(--nav-h) + 18px) 28px 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: rgba(4, 4, 7, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s, visibility 0s 0.4s;
    max-height: 100dvh;
    overflow-y: auto;
    z-index: -1;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }
  .nav__link {
    padding: 14px 0;
    font-size: 17px;
    width: 100%;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.25s;
  }
  .nav__menu.is-open .nav__link {
    opacity: 1;
    transform: translateX(0);
  }
  .nav__menu.is-open .nav__link:nth-child(1) { transition-delay: 0.06s; }
  .nav__menu.is-open .nav__link:nth-child(2) { transition-delay: 0.1s; }
  .nav__menu.is-open .nav__link:nth-child(3) { transition-delay: 0.14s; }
  .nav__menu.is-open .nav__link:nth-child(4) { transition-delay: 0.18s; }
  .nav__menu.is-open .nav__link:nth-child(5) { transition-delay: 0.22s; }
  .nav__menu.is-open .nav__link:nth-child(6) { transition-delay: 0.26s; }
  .nav__link::after { display: none; }
  .nav__menu-cta {
    display: inline-flex;
    margin-top: 18px;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s var(--ease) 0.3s, transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
  }
  .nav__menu.is-open .nav__menu-cta { opacity: 1; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__arrow { display: none; }

  .news { grid-template-columns: 1fr; }
  .news__featured .card__media { min-height: 240px; }

  .newsletter { grid-template-columns: 1fr; }
  .newsletter__big br { display: none; }

  .showcase { min-height: 82vh; }
  .showcase__bg { background-position: 60% center; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; --gutter: 32px; --section-y: clamp(72px, 16vw, 96px); }

  .nav.is-scrolled { height: 58px; }
  .nav__logo { font-size: 21px; }
  .nav__icon-btn:first-of-type { display: none; }

  .games-grid { grid-template-columns: 1fr; gap: 20px; }

  .hero { min-height: 580px; }
  .hero__content { padding-bottom: 128px; }
  .hero__btns { margin-top: 30px; }
  .hero__btns .btn { width: 100%; }
  .hero__counter { display: none; }
  .hero__dot { width: 40px; }
  .hero__scrollhint { display: none; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section__rule { width: 100%; }
  .section__title { white-space: normal; }

  .news__item { grid-template-columns: 116px 1fr auto; }
  .news__item .card__title { font-size: 14px; }
  .news__arrow { padding-right: 14px; }

  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }

  .showcase__platforms { gap: 8px; }
  .showcase__platforms li { padding: 8px 14px; font-size: 11px; }

  .video__tag { left: 18px; bottom: 14px; font-size: 11px; }

  .footer { padding-top: 64px; }
  .footer__top, .footer__mid { flex-direction: column; align-items: flex-start; }

  .modal__close { top: 10px; right: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}



