:root {
  --bg: #000;
  --bg-soft: #0a0a0a;
  --fg: #fff;
  --muted: #8a8a8a;
  --dim: #5c5c5c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card: #111;
  --card-2: #161616;
  --green: #1ed760;
  --green-deep: #169c46;
  --green-glow: rgba(30, 215, 96, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --nav-h: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.wrap-wide {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(22px) saturate(1.2);
  background: rgba(0, 0, 0, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, 0.82);
}

.nav-inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 16px;
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-links a,
.more-btn {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.more-btn:hover,
.nav-links a.active {
  color: var(--fg);
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.05);
}

.more {
  position: relative;
}

.more-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #111;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: none;
}

.more.open .more-menu {
  display: grid;
}

.more-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #ddd;
  font-size: 14px;
}

.more-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang {
  display: flex;
  background: #141414;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  padding: 3px;
}

.lang button {
  width: 36px;
  height: 28px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}

.lang button.active {
  background: #fff;
  color: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: #fff;
  color: #000;
}

.btn-solid:hover {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: #141414;
  color: #fff;
  border: 1px solid var(--line-strong);
}

.btn-green {
  background: var(--green);
  color: #041208;
}

.btn-green:hover {
  box-shadow: 0 10px 30px var(--green-glow);
}

.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.hero {
  padding: 88px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(30, 215, 96, 0.14);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 620;
}

.lead {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-line {
  color: var(--dim);
  font-size: 13px;
}

.logo-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.logo-stage::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 215, 96, 0.22), transparent 68%);
  filter: blur(10px);
  animation: pulse 5.5s ease-in-out infinite;
}

.logo-orb {
  position: relative;
  width: min(340px, 70vw);
  height: min(340px, 70vw);
  animation: float 6.5s var(--ease) infinite;
  filter: drop-shadow(0 30px 50px rgba(30, 215, 96, 0.18));
}

.logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-16px) rotate(3deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.search-block {
  padding: 28px 0 8px;
  text-align: center;
}

.search-block h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
  font-weight: 600;
}

.search-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  background: #f4f4f4;
  color: #111;
  border-radius: 28px;
  padding: 22px 22px 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: left;
}

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

.search-row input {
  flex: 1;
  height: 52px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 20px;
  outline: none;
}

.search-send {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: #555;
  font-size: 13px;
}

.search-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--pill);
  background: #ececec;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 36px 0 8px;
}

.stat {
  padding: 18px 16px;
  border-radius: 18px;
  background: #0d0d0d;
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section-label {
  color: var(--dim);
  font-size: 13px;
  margin-bottom: 12px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  font-weight: 620;
}

.section .sub {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 28px;
}

.console {
  margin-top: 28px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tabs button {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: #141414;
  color: #bbb;
  border: 1px solid var(--line);
  font-size: 13px;
}

.tabs button.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.shot {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(30, 215, 96, 0.04), 0 40px 120px rgba(30, 215, 96, 0.08);
}

.shot::after {
  content: "";
  position: absolute;
  inset: auto 8% -40% 8%;
  height: 50%;
  background: radial-gradient(ellipse, var(--green-glow), transparent 70%);
  pointer-events: none;
}

.shot img,
.shot video {
  width: 100%;
  height: auto;
}

.shot-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 0;
  color: var(--dim);
  font-size: 13px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  transition: transform 0.35s var(--ease), border-color 0.25s, background 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: #151515;
}

.card .ico {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--green);
}

.card .ico img {
  width: 24px;
  height: 24px;
  filter: invert(1);
  opacity: 0.92;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

.pair {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.pair.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.pair.reverse .copy {
  order: 2;
}

.mini-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.mini-shot.winamp {
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 20%, #1a1a1a, #050505);
}

.mini-shot.winamp img {
  width: min(420px, 100%);
  image-rendering: pixelated;
}

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

.os-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}

.os-card h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.os-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.dl-list {
  display: grid;
  gap: 8px;
}

.dl-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1a1a1a;
  font-size: 13px;
}

.dl-list a:hover {
  background: #222;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare article {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.compare article.good {
  background: #0c1610;
  border-color: rgba(30, 215, 96, 0.22);
}

.compare article.bad {
  background: #111;
}

.compare h3 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.compare li {
  color: var(--muted);
  margin: 8px 0;
}

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

.gallery .tall {
  grid-column: 1 / -1;
}

.gallery figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.gallery figcaption {
  padding: 10px 12px 12px;
  color: var(--dim);
  font-size: 13px;
}

.page-hero {
  padding: 72px 0 20px;
}

.page-hero h1 {
  max-width: 16ch;
}

.footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 650;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 22px;
  height: 22px;
}

.footer a {
  display: block;
  padding: 4px 0;
  color: #9a9a9a;
}

.footer a:hover {
  color: #fff;
}

.footer-note {
  color: #555;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.8s var(--ease) forwards;
}

.reveal-d1 {
  animation-delay: 0.08s;
}
.reveal-d2 {
  animation-delay: 0.16s;
}
.reveal-d3 {
  animation-delay: 0.24s;
}
.reveal-d4 {
  animation-delay: 0.32s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

[data-lang="ru"] [data-en] {
  display: none;
}

[data-lang="en"] [data-ru] {
  display: none;
}

.hidden-pane {
  display: none;
}

.hidden-pane.active {
  display: block;
}

@media (max-width: 980px) {
  .hero-grid,
  .pair,
  .pair.reverse,
  .grid-3,
  .os-grid,
  .compare,
  .gallery,
  .stats,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .pair.reverse .copy {
    order: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-right .btn-ghost {
    display: none;
  }

  .nav-right .btn-solid {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 44px;
  }

  .logo-stage {
    min-height: 280px;
  }
}