:root {
  --bg: #0f0b1a;
  --card: #1a1429;
  --line: #2e2545;
  --text: #f6f3ff;
  --muted: #a99fc7;
  --accent: #ff4d8d;
  --accent-2: #ffb347;
  --violet: #7c4dff;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.glow {
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  pointer-events: none;
}
.glow-a { top: -160px; left: -140px; background: var(--accent); }
.glow-b { top: 120px; right: -180px; background: var(--violet); }

.top, main, .foot { position: relative; z-index: 1; }

.top {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.pill {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(255, 179, 71, 0.08);
}

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 32px; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 40px;
}
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; padding: 56px 0 64px; }
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a0f1c;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34ch;
  margin: 0 0 22px;
  font-size: 1.15rem;
  color: var(--muted);
}

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.perks li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 600;
}

.phone {
  justify-self: center;
  width: min(250px, 66vw);
  aspect-ratio: 9 / 18;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #3a2f5c, #1a1429);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(255, 77, 141, 0.25);
  transform: rotate(4deg);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 77, 141, 0.55), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(124, 77, 255, 0.6), transparent 55%),
    #1b1230;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.play {
  align-self: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.play span {
  margin-left: 5px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.phone-caption strong { display: block; font-size: 1.1rem; }
.phone-caption small { color: rgba(255, 255, 255, 0.75); }
.phone-bar {
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.phone-bar i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.soon { margin-bottom: 22px; }
.soon-big {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 14px;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a0f1c;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 40px rgba(255, 77, 141, 0.35);
}
.soon-sub {
  display: block;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-2);
}

.section-title { margin: 28px 0 12px; font-size: 1.2rem; }

.player { margin: 20px 0; }
.screen {
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.screen video {
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 9 / 16;
  background: #000;
}
@media (min-width: 700px) {
  .screen video { width: auto; height: 78vh; }
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
}
.player-bar h2 { margin: 0; font-size: 1.1rem; }
.player-bar p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  color: #1a0f1c;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  cursor: pointer;
}
.btn[disabled] { opacity: 0.4; cursor: default; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.card:hover, .card:focus-visible { border-color: var(--accent); outline: none; }
.card.current { border-color: var(--accent-2); }

.thumb {
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, #3a2a5e, #1a1228);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  font-size: 2rem;
  font-weight: 800;
}
.card .meta { padding: 10px 12px 12px; }
.card .meta strong { display: block; font-size: 0.95rem; }
.card .meta span { color: var(--muted); font-size: 0.8rem; }

.ad-slot { min-height: 0; }

.foot {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 16px 28px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}
