/* PlayVault — playvaultapp.online. Palette sampled from the app's store banner. */
:root {
  --bg: #130a1a;
  --text: #f7f2fb;
  --muted: #b9abc6;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.035);
  --teal: #44dfc1;
  --violet: #c681f8;
  --grad: linear-gradient(90deg, #f2759d 0%, #c681f8 55%, #7dcffe 100%);
  --brand: linear-gradient(135deg, #9553d9 0%, #ba2db0 55%, #e02a7c 100%);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1100px 760px at -12% -14%, #5a1438 0%, rgba(90, 20, 56, 0) 62%) no-repeat,
    radial-gradient(900px 760px at 112% 30%, #2f1760 0%, rgba(47, 23, 96, 0) 62%) no-repeat,
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #130a1a;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dcaaff;
}

.lede { font-size: clamp(17px, 1.55vw, 20px); color: var(--muted); max-width: 34em; }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(19, 10, 26, 0.72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.brand-small { font-size: 16px; gap: 9px; }
.brand-small img { border-radius: 6px; }

.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: center;
}

h1 {
  font-size: clamp(50px, 7.2vw, 94px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.hero .lede { margin-bottom: 30px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 11px;
  border-radius: 999px;
  background: rgba(14, 8, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 700;
}
.check {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
}
.check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid #10251f;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(224, 42, 124, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, filter 0.15s;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }

.platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.platform::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(68, 223, 193, 0.18);
}

/* Hero device */
.stage { position: relative; padding: 44px 0 56px; }

.phone {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  aspect-ratio: 2.06 / 1;
  padding: 11px;
  border-radius: 40px;
  background: #0c0b10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 5px #1a1820,
    0 50px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 120px -20px rgba(186, 45, 176, 0.35);
  transform: rotate(-5deg);
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  container-type: inline-size;
  color: #fff;
}

.scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 85% at 78% 18%, rgba(255, 168, 120, 0.5), rgba(255, 168, 120, 0) 62%),
    radial-gradient(45% 70% at 18% 26%, rgba(125, 207, 254, 0.3), rgba(125, 207, 254, 0) 62%),
    linear-gradient(180deg, #43354f 0%, #2c2534 48%, #1b171f 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 178, 0.85) 0%, rgba(255, 220, 178, 0) 68%);
}
.orb-a { width: 17cqw; height: 17cqw; left: 60%; top: 6%; }
.orb-b { width: 10cqw; height: 10cqw; left: 82%; top: 30%; opacity: 0.8; }
.orb-c { width: 12cqw; height: 12cqw; left: 12%; top: 14%; opacity: 0.55; filter: hue-rotate(160deg); }
.street {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, #4b4352 0%, #24202a 100%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}

.ui {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.6) 100%);
}

.ui-top {
  position: absolute;
  left: 4.4cqw;
  right: 4.4cqw;
  top: 4cqw;
  display: flex;
  align-items: center;
  gap: 2.2cqw;
}
.ui-btn,
.ui-pill,
.ui-skip {
  position: relative;
  flex: none;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ui-btn { width: 6.6cqw; height: 6.6cqw; border-radius: 50%; }
.ui-back::before {
  content: "";
  position: absolute;
  left: 2.7cqw;
  top: 2.4cqw;
  width: 1.8cqw;
  height: 1.8cqw;
  border: solid #fff;
  border-width: 0 0 0.45cqw 0.45cqw;
  transform: rotate(45deg);
}
.ui-saved { background: rgba(68, 223, 193, 0.32); }
.ui-saved::before {
  content: "";
  position: absolute;
  left: 2.1cqw;
  top: 2.1cqw;
  width: 2.5cqw;
  height: 1.3cqw;
  border: solid #a5fbe8;
  border-width: 0 0 0.45cqw 0.45cqw;
  transform: rotate(-45deg);
}
.ui-pill {
  display: grid;
  place-items: center;
  height: 6.6cqw;
  padding: 0 2cqw;
  border-radius: 3.3cqw;
  font-size: 2.3cqw;
  font-weight: 700;
}
.ui-title { flex: 1; min-width: 0; line-height: 1.25; }
.ui-title strong,
.ui-title span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ui-title strong { font-size: 2.6cqw; }
.ui-title span { font-size: 1.9cqw; color: rgba(255, 255, 255, 0.68); }

.ui-center {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 9cqw;
  transform: translate(-50%, -62%);
}
.ui-pause {
  position: relative;
  width: 12.5cqw;
  height: 12.5cqw;
  border-radius: 50%;
  border: 0.55cqw solid rgba(198, 129, 248, 0.95);
  background: rgba(16, 14, 22, 0.55);
  box-shadow: 0 0 0 1.5cqw rgba(198, 129, 248, 0.16);
}
.ui-pause::before,
.ui-pause::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.15cqw;
  height: 4.4cqw;
  border-radius: 0.4cqw;
  background: #fff;
  transform: translateY(-50%);
}
.ui-pause::before { left: calc(50% - 1.9cqw); }
.ui-pause::after { left: calc(50% + 0.75cqw); }

.ui-skip { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; }
.ui-skip::before {
  content: "";
  position: absolute;
  inset: 2cqw;
  border-radius: 50%;
  border: 0.45cqw solid #fff;
  border-top-color: transparent;
  transform: rotate(-30deg);
}
.ui-skip::after {
  content: "";
  position: absolute;
  left: 1.7cqw;
  top: 1.6cqw;
  border: 0.9cqw solid transparent;
  border-bottom-color: #fff;
  border-top-width: 0;
  transform: rotate(-20deg);
}
.ui-skip-fwd { transform: scaleX(-1); }

.ui-toast {
  position: absolute;
  left: 50%;
  bottom: 10.2cqw;
  display: flex;
  gap: 3.2cqw;
  padding: 1.9cqw 2.8cqw;
  border-radius: 2.4cqw;
  background: rgba(24, 26, 38, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 2.2cqw;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-14%);
  animation: toast-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1s both;
}
.ui-toast b { color: #b994ff; }

.ui-bottom { position: absolute; left: 4.4cqw; right: 4.4cqw; bottom: 3.8cqw; }
.ui-time { font-size: 2cqw; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.ui-track {
  position: relative;
  display: block;
  height: 0.75cqw;
  margin-top: 1.3cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.24);
}
.ui-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a6cff, #c681f8);
  animation: progress 24s linear infinite alternate;
}
.ui-fill::after {
  content: "";
  position: absolute;
  right: -1.1cqw;
  top: 50%;
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.6cqw rgba(138, 108, 255, 0.35);
  transform: translateY(-50%);
}

.float {
  position: absolute;
  z-index: 2;
  background: rgba(30, 16, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75);
  font-size: 14px;
  line-height: 1.3;
}
.float-block {
  left: 0;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  color: var(--muted);
  animation: float 7s ease-in-out infinite;
}
.float-block strong { display: block; color: var(--text); font-size: 15px; }
.float-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344dfc1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.1 8.2 7.5 9.5 4.4-1.3 7.5-4.9 7.5-9.5V6Z'/%3E%3Cpath d='m8.8 8.8 6.4 6.4M15.2 8.8l-6.4 6.4'/%3E%3C/svg%3E") center / 22px no-repeat,
    rgba(68, 223, 193, 0.14);
}
.float-private {
  right: 3%;
  top: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  font-weight: 700;
  animation: float 8s ease-in-out -3s infinite;
}
.mask {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5C3 7 5 5 7.5 5h9C19 5 21 7 21 9.5v1c0 3-2.2 5-4.6 5-1.6 0-2.6-.8-3.4-1.9a1.2 1.2 0 0 0-2 0c-.8 1.1-1.8 1.9-3.4 1.9C5.2 15.5 3 13.5 3 10.5Z'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--brand);
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-14%, 1.6cqw); }
  to { opacity: 1; transform: translate(-14%, 0); }
}
@keyframes progress {
  from { width: 32%; }
  to { width: 44%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.band { padding: 104px 0; border-top: 1px solid var(--line); }
.band-alt { background: rgba(255, 255, 255, 0.022); }
.band-head { max-width: 720px; margin-bottom: 52px; }

h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features li {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.features li:hover { border-color: rgba(198, 129, 248, 0.35); transform: translateY(-2px); }
.features p,
.steps p,
.facts dd { color: var(--muted); font-size: 16px; }
.features em { font-style: normal; color: var(--text); font-weight: 600; }

.f-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(149, 83, 217, 0.42), rgba(224, 42, 124, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.f-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.16); counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts div {
  padding: 26px 26px 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.facts dt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}
.facts dt::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(68, 223, 193, 0.15);
}
.note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--muted);
  font-size: 15px;
}

.closing {
  padding: 120px 0 128px;
  border-top: 1px solid var(--line);
  background: radial-gradient(640px 340px at 50% 0%, rgba(186, 45, 176, 0.32), rgba(186, 45, 176, 0) 72%);
  text-align: center;
}
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing img { margin-bottom: 30px; border-radius: 18px; box-shadow: 0 24px 60px -16px rgba(224, 42, 124, 0.65); }
.closing h2 { font-size: clamp(38px, 5.6vw, 68px); }
.closing .lede { margin-bottom: 30px; }
.closing .chips { justify-content: center; }

.footer { padding: 30px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer .brand { color: var(--text); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }

/* 404 */
.lost { padding: 120px 0 140px; }
.lost h1 { font-size: clamp(44px, 6vw, 72px); }
.lost .lede { margin-bottom: 32px; }

/* Responsive */
@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .phone { margin: 0 auto; max-width: 600px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .band { padding: 76px 0; }
  .band-head { margin-bottom: 36px; }
  .features,
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 28px; }
  .stage { padding: 36px 0 64px; }
  .phone { border-radius: 26px; padding: 7px; box-shadow: 0 0 0 3px #1a1820, 0 30px 60px -24px rgba(0, 0, 0, 0.85); transform: rotate(-3deg); }
  .screen { border-radius: 20px; }
  .float { font-size: 12.5px; }
  .float-block { bottom: 0; padding: 9px 14px 9px 9px; gap: 10px; border-radius: 14px; }
  .float-block strong { font-size: 13.5px; }
  .float-icon { width: 32px; height: 32px; border-radius: 10px; background-size: 18px, auto; }
  .float-private { top: 0; padding: 7px 13px 7px 8px; }
  .mask { width: 22px; height: 22px; background-size: 14px, auto; }
  .closing { padding: 88px 0 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
}
