:root {
  --bg: #120c08;
  --bg-soft: #1c140d;
  --panel: rgba(28, 20, 13, 0.72);
  --line: rgba(255, 214, 140, 0.16);
  --gold: #f3c43a;
  --gold-2: #ffe08a;
  --gold-deep: #b07a14;
  --purple: #6d4dff;
  --purple-deep: #3c2788;
  --green: #4cbe55;
  --green-deep: #2f8a38;
  --cream: #f7ecd4;
  --text: #f8f2e8;
  --muted: #c9b79c;
  --ink: #3b2610;
  --vk: #0077ff;
  --ok: #ee8208;
  --yandex: #fc3f1d;
  --rustore: #4c6fff;
  --radius: 28px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
.btn {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(109, 77, 255, 0.28), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(243, 196, 58, 0.18), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(76, 190, 85, 0.16), transparent 50%),
    linear-gradient(180deg, #1a120c 0%, #120c08 40%, #0e0a07 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/screen-main.png");
  background-size: cover;
  background-position: center 20%;
  opacity: 0.12;
  filter: blur(18px) saturate(1.2);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(16, 11, 7, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

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

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 180px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-2);
}

.nav-cta {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease;
  font-weight: 900;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

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

.hero-copy {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 196, 58, 0.12);
  border: 1px solid rgba(243, 196, 58, 0.28);
  color: var(--gold-2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.lead {
  max-width: 540px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
}

.stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background 0.18s ease;
}

.store:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.store-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
}

.store-ico svg {
  width: 44px;
  height: 44px;
  display: block;
}

.store.vk .store-ico { color: var(--vk); }
.store.ok .store-ico { color: var(--ok); }
.store.yandex .store-ico { color: var(--yandex); }
.store.rustore .store-ico {
  color: #fff;
  background: var(--rustore);
}

.store.rustore .store-ico svg {
  width: 26px;
  height: 26px;
}

.store b {
  display: block;
  font-size: 16px;
}

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

.store.is-soon {
  opacity: 0.72;
}

.hero-art {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-logo-wrap {
  position: relative;
  z-index: 3;
  margin: 0;
  line-height: 0;
  width: min(420px, 94%);
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  animation: float-y 1s ease-in-out infinite alternate;
}

@keyframes float-y {
  from { transform: translateY(0); }
  to { transform: translateY(-16px); }
}

.phone-stage {
  position: relative;
  width: min(320px, 100%);
}

.phone {
  width: 100%;
  margin: 0 auto;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(180deg, #3a2a1c, #1a120c);
  box-shadow:
    0 0 0 2px rgba(255, 214, 140, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 2;
}

.phone img {
  width: 100%;
  border-radius: 30px;
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92px;
  height: 8px;
  transform: translateX(-50%);
  background: #0b0806;
  border-radius: 99px;
  z-index: 3;
}

.tiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tile {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 30px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff6da 0%, #f0cd6a 48%, #d9a12a 100%);
  box-shadow:
    0 6px 0 #9a6a12,
    0 14px 24px rgba(0, 0, 0, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.72);
  animation: float 5.5s ease-in-out infinite;
}

.tile:nth-child(1) { top: 8%; left: 4%; animation-delay: 0s; }
.tile:nth-child(2) { top: 18%; right: 0; animation-delay: 0.4s; }
.tile:nth-child(3) { bottom: 22%; left: -8%; animation-delay: 0.8s; }
.tile:nth-child(4) { bottom: 8%; right: 6%; animation-delay: 1.2s; }
.tile:nth-child(5) { top: 48%; right: -6%; animation-delay: 0.2s; }

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

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 77, 255, 0.35), transparent 70%);
  right: 10%;
  top: 18%;
  z-index: 0;
  filter: blur(8px);
}

section {
  padding: 72px 0;
}

.section-kicker {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  font-weight: 700;
}

.video-card {
  margin-top: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #0b0806;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-card iframe,
.video-card video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(12, 8, 6, 0.2), rgba(12, 8, 6, 0.72)),
    url("../assets/screen-main.png") center / cover no-repeat;
  text-align: center;
  padding: 24px;
}

.play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #fff, var(--gold));
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.card .cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
  filter: none;
}

.mini-cal {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #b07cff, #7b4dff);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mini-cal b {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.mini-cal span {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.shots {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 32px;
  align-items: center;
}

.shot {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #1a120c;
}

.shot img {
  width: 100%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.step {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 14px;
}

.final {
  text-align: center;
  padding: 28px;
  border-radius: 36px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(109, 77, 255, 0.28), transparent 70%),
    rgba(28, 20, 13, 0.8);
  border: 1px solid var(--line);
}

.final .stores {
  max-width: 760px;
  margin: 28px auto 0;
}

footer {
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border: 2px solid var(--muted);
  border-radius: 8px;
  font-weight: 900;
  color: var(--text);
}

@media (max-width: 980px) {
  .hero,
  .shots,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero-art {
    min-height: 0;
    order: -1;
    overflow: visible;
    padding: 12px 0 8px;
  }

  .hero-logo {
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .nav-cta {
    display: none;
  }

  .tile:nth-child(n+3) {
    display: none;
  }

  .phone {
    width: 100%;
  }

  .phone-stage {
    width: min(260px, 78vw);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile,
  .hero-logo { animation: none; }
  .store { transition: none; }
}
