:root {
  --ink: #070918;
  --ink-2: #0d1130;
  --ink-3: #151a44;
  --line: rgba(190, 196, 255, .14);
  --moon: #eef0ff;
  --dim: #a3abd1;
  --mute: #6f78a3;
  --mint: #5ff5c8;
  --cyan: #5cd6ff;
  --violet: #a77bff;
  --rose: #e9b59c;
  --aurora: linear-gradient(92deg, var(--mint) 0%, var(--cyan) 45%, var(--violet) 100%);
  --radius: 28px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--moon);
  font: 400 17px/1.6 "Outfit", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Unbounded", "Outfit", sans-serif; line-height: 1.1; letter-spacing: -.02em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.grad { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Sky: aurora + stars behind everything */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 70% at 50% -10%, #182062 0%, #0b0f2e 45%, var(--ink) 80%); }
.sky::before, .sky::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.sky::before { width: 70vw; height: 40vh; left: -10vw; top: -8vh; background: #2ee6b8; transform: rotate(-12deg); }
.sky::after { width: 60vw; height: 45vh; right: -15vw; top: 2vh; background: #7b4dff; transform: rotate(10deg); }
.stars { position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 32%, #cfc2ff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 44%, #a8f7df 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 78%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 86%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 90%, #fff 50%, transparent 51%);
  background-size: 420px 420px; opacity: .7; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 9, 24, .62); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 20px/1 "Unbounded", sans-serif; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; color: var(--dim); }
.nav a:hover { color: var(--moon); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px;
  font: 600 17px/1 "Outfit", sans-serif; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-store { background: var(--aurora); color: #06121a; box-shadow: 0 10px 40px rgba(95, 245, 200, .25); }
.btn-store svg { width: 22px; height: 22px; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.btn-store span { line-height: 1.15; text-align: left; }
.btn-ghost { border: 1px solid var(--line); color: var(--moon); background: rgba(255, 255, 255, .03); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--mint); font-weight: 600; letter-spacing: .04em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; }
.hero p.lead { margin: 26px 0 34px; font-size: 20px; color: var(--dim); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.meta { margin-top: 30px; color: var(--mute); font-weight: 500; }
.meta b { color: var(--dim); font-weight: 600; }

.phones { position: relative; height: 640px; }
.phone { position: absolute; width: 270px; padding: 9px; border-radius: 46px;
  background: linear-gradient(150deg, #3a3f66, #10132a 30%, #0a0c1c 65%, #2f3360);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 2px rgba(167, 123, 255, .3), 0 40px 90px rgba(0, 0, 0, .7), 0 0 80px rgba(110, 90, 255, .3); }
.phone img { border-radius: 38px; }
.phone.a { left: 8%; top: 40px; transform: rotate(-6deg); z-index: 2; }
.phone.b { right: 6%; top: 0; transform: rotate(5deg); }
.phones .owl { position: absolute; z-index: 3; width: 220px; left: -4%; bottom: -10px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }

/* Sections */
section { padding: 96px 0; }
.head { max-width: 720px; margin-bottom: 48px; }
.head h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; }
.head p { margin-top: 16px; color: var(--dim); font-size: 19px; }

/* Games */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.room { position: relative; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(21, 26, 68, .7), rgba(13, 17, 48, .5));
  border: 1px solid var(--line); overflow: hidden; }
.fan { position: relative; height: 250px; margin-bottom: 22px; }
.fan img { position: absolute; width: 140px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; top: 10px;
  box-shadow: 0 0 0 1px rgba(200, 190, 255, .22), 0 20px 40px rgba(0, 0, 0, .55); transition: transform .35s ease; }
.fan img:nth-child(1) { left: 6%; transform: rotate(-9deg); }
.fan img:nth-child(2) { left: calc(50% - 70px); top: 0; z-index: 2; }
.fan img:nth-child(3) { right: 6%; transform: rotate(9deg); }
.room:hover .fan img:nth-child(1) { transform: rotate(-14deg) translateX(-8px); }
.room:hover .fan img:nth-child(3) { transform: rotate(14deg) translateX(8px); }
.room h3 { font-size: 24px; }
.room .sub { color: var(--mint); font-weight: 600; margin: 6px 0 10px; }
.room p { color: var(--dim); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(13, 17, 48, .55); }
.feat .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(95, 245, 200, .35), rgba(167, 123, 255, .25)); }
.feat .ico svg { width: 26px; height: 26px; stroke: var(--moon); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; margin-bottom: 10px; }
.feat p { color: var(--dim); font-size: 16px; }

/* Screens gallery */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 26px;
  margin-inline: calc((100vw - min(var(--wrap), 100vw - 32px)) / -2); padding-inline: calc((100vw - min(var(--wrap), 100vw - 32px)) / 2);
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.gallery img { flex: 0 0 auto; width: 250px; border-radius: 26px; scroll-snap-align: center;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .5); }

/* Quiet nights */
.quiet .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.quiet ul { list-style: none; display: grid; gap: 22px; }
.quiet li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.quiet li svg { width: 24px; height: 24px; margin-top: 3px; stroke: var(--mint); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.quiet li b { display: block; font-size: 19px; }
.quiet li span { color: var(--dim); }
.quiet .art { position: relative; display: grid; place-items: center; }
.quiet .art::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 245, 200, .25), rgba(167, 123, 255, .15) 50%, transparent 70%); }
.quiet .art img { position: relative; width: min(420px, 100%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }

/* Final CTA */
.final { text-align: center; padding: 110px 0; }
.final img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(233, 181, 156, .25); }
.final h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; }
.final p { color: var(--dim); margin: 18px auto 34px; max-width: 520px; font-size: 19px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--mute); font-size: 15px; }
footer .row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; color: var(--dim); }
footer nav a:hover, footer a.mail:hover { color: var(--moon); }
footer .legal { margin-top: 26px; max-width: 860px; line-height: 1.55; }

/* Legal pages */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 900; }
.doc .updated { color: var(--mute); margin: 14px 0 40px; }
.doc h2 { font-size: 22px; margin: 44px 0 14px; }
.doc p, .doc li { color: #cdd2ee; }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.doc a { color: var(--mint); }
.doc .note { margin-top: 34px; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(13, 17, 48, .6); }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .quiet .wrap { grid-template-columns: 1fr; }
  .phones { height: 560px; max-width: 520px; margin: 10px auto 0; width: 100%; }
  .rooms { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .quiet .art { order: -1; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  .hero { padding-top: 44px; }
  .phones { height: 470px; }
  .phone { width: 210px; border-radius: 36px; padding: 7px; }
  .phone img { border-radius: 30px; }
  .phones .owl { width: 160px; }
  .features { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .gallery img { width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .fan img { transition: none; }
}
