:root {
  --bg: #07080d;
  --bg-2: #0d1018;
  --card: rgba(16, 19, 30, 0.88);
  --line: rgba(232, 220, 196, 0.12);
  --text: #f3eee4;
  --muted: #a9a8b8;
  --gold: #e2b56a;
  --gold-2: #f0d9a4;
  --cyan: #46e0c8;
  --violet: #8b6cff;
  --red: #ff5d4e;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Manrope", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(226, 181, 106, 0.12), transparent 50%),
              radial-gradient(900px 500px at 100% 0%, rgba(70, 224, 200, 0.08), transparent 45%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
iframe, video, embed { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .brand strong {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
  position: relative;
}
.site-nav { margin-left: auto; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 999px;
}
.lang-switch a.is-active {
  color: #120c06;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.lang-switch span { color: var(--muted); }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img, .custom-logo-link img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}
.brand strong { display: block; font-size: 15px; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 1280px) {
  .site-header .brand small { display: none; }
}
.nav-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-list a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list a.is-active {
  color: var(--bg);
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(0, 0, 0, 0.55);
}
body.nav-open .nav-overlay { display: block; }
.nav-overlay[hidden] { display: none !important; }
.game-grid__item { min-width: 0; }
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: end;
}
.hero__slide.is-on { display: grid; }
.hero__slide[hidden] { display: none !important; }
.hero__bg, .hero__veil, .hero__media { position: absolute; inset: 0; }
.hero__bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(1.15);
}
.hero__media--yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero__vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg--fallback { display: none; }
.hero__veil {
  background: linear-gradient(180deg, rgba(7,8,13,.25) 0%, rgba(7,8,13,.55) 40%, rgba(7,8,13,.95) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding: 90px 0 70px; }
.hero__nav {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.hero__arrow, .hero__dot {
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
}
.hero__dot.is-on { background: var(--gold); }
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 14px;
}
.hero h1, .page-hero h1, .game-hero h1 {
  font-size: clamp(38px, 7vw, 84px);
  margin: 0 0 18px;
  max-width: 14ch;
}
.hero__lead { max-width: 62ch; color: #ddd8cf; font-size: 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero__stats {
  display: flex;
  gap: 28px;
  padding-top: 10px;
}
.hero__stats strong { display: block; font-size: 28px; font-family: Syne, sans-serif; }
.hero__stats span { color: var(--muted); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
}
.btn--gold { background: linear-gradient(90deg, var(--gold), #f3d7a0); color: #1a1208; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.section-head { margin-bottom: 28px; }
.section-head h2, .gallery-band h2 { font-size: clamp(28px, 4vw, 48px); margin: 0; }
.platforms, .games-band, .featured-split, .about-band, .content-wrap, .gallery-band, .news-band { padding: 84px 0; }

.platform-grid, .game-grid, .gallery-grid {
  display: grid;
  gap: var(--ui-gap, 22px);
}
.platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platform-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.platform-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.platform-tile:hover img { transform: scale(1.08); }
.platform-tile div {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.platform-tile h3 { margin: 8px 0 6px; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.filter-tabs button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}
.filter-tabs button.is-active {
  color: #120c06;
  background: var(--gold);
  border-color: var(--gold);
}

.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.game-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.game-card:hover .game-card__media img { transform: scale(1.05); }
.game-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}
.badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}
.badge--pc { background: var(--gold); color: #1a1208; }
.badge--mobil { background: var(--cyan); color: #06221d; }
.badge--vr { background: var(--violet); color: #fff; }
.game-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card__meta { color: var(--muted); font-size: 13px; margin: 0; }
.game-card h3 { margin: 0; font-size: 24px; }
.game-card h3 a { text-decoration: none; }
.game-card__body p { color: #cfc9bd; margin: 0; }
.game-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; align-items: center; flex-wrap: wrap; }

.header-wish {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 18px;
}
.header-wish:hover { color: var(--red); border-color: var(--red); }
.wish-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: #120c06;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.wish-count[hidden] { display: none; }
.wish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
}
.wish-btn--icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  padding: 0;
  flex: 0 0 auto;
}
.wish-btn--full {
  padding: 13px 20px;
  border-radius: 999px;
}
.wish-btn.is-on, .wish-btn:hover { color: var(--red); border-color: rgba(255, 93, 78, 0.45); }
.wish-steam { margin: 10px 0 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.notice--ok { background: rgba(70, 224, 200, 0.12); color: var(--cyan); }
.notice--err { background: rgba(255, 93, 78, 0.12); color: var(--red); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.trailer {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  margin: 28px 0;
  background: #000;
}
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-label { margin: 16px 0 10px; color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.yt-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 16px;
}
.yt-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.yt-thumb img { width: 100%; height: 78px; object-fit: cover; display: block; }
.yt-thumb.is-on, .yt-thumb:hover { border-color: var(--gold); }
.sysreq {
  background: #0b0d14;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  white-space: pre-wrap;
  font: 14px/1.55 ui-monospace, Consolas, monospace;
  color: #ddd6c8;
}
.steam-widget { margin-top: 22px; }
.steam-widget iframe {
  width: 100%;
  max-width: 646px;
  height: 190px;
  border: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ui-gap, 22px);
}
.news-card, .press-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-card__body { padding: 22px; display: grid; gap: 10px; }
.news-card h2, .news-card h3 { margin: 0; font-size: 22px; }
.news-card h2 a, .news-card h3 a { text-decoration: none; }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.press-card {
  text-decoration: none;
  display: grid;
}
.press-card img { width: 100%; height: 140px; object-fit: cover; }
.press-card span { padding: 12px 14px; color: var(--muted); font-size: 13px; }

.cookie-bar {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #10131c;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.cookie-bar p { margin: 0; color: #ddd6c8; max-width: 60ch; }
.cookie-bar__actions { display: flex; gap: 12px; align-items: center; }
.cookie-bar[hidden] { display: none; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.split__media img { border-radius: 28px; box-shadow: var(--shadow); }
.about-card, .game-aside, .contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
}
.about-card {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 30px;
}
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts strong { display: block; color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.page-hero, .game-hero {
  position: relative;
  padding: 90px 0 40px;
  overflow: hidden;
}
.game-hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
}
.game-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,8,13,.2), rgba(7,8,13,.92));
}
.game-hero__content { position: relative; padding-bottom: 40px; }
.game-layout {
  display: grid;
  grid-template-columns: 1.4fr .7fr;
  gap: 32px;
}
.prose { font-size: 17px; color: #ddd6c8; }
.prose h2 { color: var(--text); margin-top: 1.4em; }
.prose a { color: var(--gold); }
.game-aside img { border-radius: 18px; margin-bottom: 18px; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid figure { margin: 0; }
.gallery-grid img { border-radius: 18px; width: 100%; height: 220px; object-fit: cover; }

.contact-form { display: grid; gap: 14px; max-width: 640px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0d14;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
  background: #06070c;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.site-footer h3 { margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 30px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; }

.is-hidden { display: none !important; }

@media (max-width: 640px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 16px; flex-wrap: wrap; }
  .hero h1, .page-hero h1, .game-hero h1 { font-size: clamp(28px, 10vw, 48px); }
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .filter-tabs button { flex: 0 0 auto; min-height: 44px; }
  .yt-thumbs { grid-template-columns: 1fr 1fr; }
  .wish-btn--full { width: 100%; }
  .platform-tile { min-height: 220px; }
  .gallery-grid img { height: 180px; }
  .game-card h3 { font-size: 20px; }
  .cookie-bar__actions { justify-content: space-between; }
  .about-card, .game-aside, .contact-form { padding: 22px; }
}
