@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-cyr.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-lat.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-03FF, U+2000-20FF, U+2100-214F, U+2190-21FF;
}
:root {
  --ink: #131222;
  --muted: #5d5b73;
  --paper: #f8f7ff;
  --accent: #7350ff;
  --accent-dark: #5836e9;
  --line: #ded9ef;
  --max: 1328px;
  --sans: Manrope, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  margin: 0;
  min-width: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .16em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #5e36f1; outline-offset: 4px; }
::selection { color: #1f1236; background: #d9cbff; }
[hidden] { display: none !important; }
.content-width { width: min(calc(100% - 88px), var(--max)); margin-inline: auto; }
[id] { scroll-margin-top: 90px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .6rem .9rem; background: #fff; border-radius: .7rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 10; padding: 19px 0 0; }
.nav-inner {
  align-items: center; backdrop-filter: blur(18px); background: #ffffffa8;
  border: 1px solid #fff; border-radius: 999px; box-shadow: 0 8px 39px #4f39a012;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; margin: 0 auto;
  min-height: 62px; padding: 7px 8px 7px 19px; width: min(calc(100% - 88px), var(--max));
}
.brand { align-items: center; display: inline-flex; gap: 9px; width: fit-content; text-decoration: none; font-size: .94rem; font-weight: 800; letter-spacing: -.028em; white-space: nowrap; }
.brand-dot {
  align-items: center; background: linear-gradient(145deg,#d3e6ff 6%,#9c77ff 27%,#6042eb 56%,#261479 75%,#e594ff);
  border-radius: 50%; box-shadow: 0 2px 5px #5338b65c, inset 0 1px 1px #fff; display: inline-flex;
  flex: 0 0 24px; height: 24px; justify-content: center; position: relative; transform: rotate(-24deg);
}
.brand-dot span { display: block; width: 29px; height: 8px; border: 1px solid #fbf6ff; border-radius: 50%; }
.main-nav, .nav-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(18px, 2vw, 34px); }
.main-nav a, .adult-link {
  font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap;
  transition: color .2s ease;
}
.main-nav a:hover, .adult-link:hover { color: var(--accent-dark); }
.nav-actions { justify-content: flex-end; gap: 16px; }
.adult-link span { margin-left: .2em; color: #6547d7; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center;
  gap: .8rem; padding: .66rem 1.15rem; background: var(--ink); color: white;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .9rem;
  font-weight: 800; white-space: nowrap; transition: box-shadow .25s ease, background-color .25s ease, transform .25s ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 21px #3931813b; }
.button:active { transform: translateY(0); }
.button-accent { background: var(--accent-dark); box-shadow: 0 6px 16px #6a44ee44, inset 0 1px 1px #fff5; }
.button-accent:hover { background: #4929d9; }
.button-black { background: var(--ink); }
.button span { display: inline-block; font-size: 1.08em; }
.nav-start { min-height: 44px; padding: .55rem .86rem .55rem 1.03rem; font-size: .8rem; }
.menu-toggle { display: none; }

.site-footer { background: #151221; color: #faf8ff; padding: 44px 0; }
.footer-content { display: grid; grid-template-columns: 1.05fr 1.2fr auto; gap: 32px; align-items: start; }
.footer-content nav { display: flex; flex-wrap: wrap; row-gap: 13px; column-gap: 22px; padding-top: 5px; }
.footer-content nav a { color: #e2ddec; font-size: .85rem; text-decoration: none; }
.footer-content nav a:hover { text-decoration: underline; }
.footer-brand p { color: #b8afcd; margin: 10px 0 0; font-size: .79rem; }
.motion-control { border: 1px solid #ffffff3b; background: transparent; color: #f2eaff; padding: 8px 12px; min-height: 44px; border-radius: 999px; font-size: .75rem; cursor: pointer; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
html.motion-off { scroll-behavior: auto; }
.motion-armed .motion-in { opacity: 0; transform: translateY(18px); }
.motion-armed .motion-in.is-visible { opacity: 1; transform: none; transition: opacity .55s ease, transform .7s cubic-bezier(.18,.66,.31,1); }
.motion-armed .motion-in:focus-within,
.motion-off .motion-in,
.motion-off .motion-in.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.motion-armed:not(.motion-off) .card-enter:not(.is-visible, :focus-within) { opacity: 0; }

.motion-armed:not(.motion-off) .card-enter.is-visible:not(.card-settled, :focus-within) {
  animation: card-arrival var(--card-duration, .72s) cubic-bezier(.2, .71, .25, 1)
    calc(var(--card-step, 84ms) * var(--card-order, 0)) both;
}

@keyframes card-arrival {
  from {
    opacity: 0;
    transform: translate(var(--card-x, 0px), var(--card-y, 26px)) rotate(var(--card-turn, 0deg)) scale(var(--card-scale, .966));
  }
  to { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .card-enter { --card-step: 0ms; }
}
@media (max-width: 1140px) {
  .nav-inner, .content-width { width: calc(100% - 56px); }
  .nav-inner { gap: 15px; padding-left: 13px; }
  .nav-actions { gap: 10px; }
  .main-nav { gap: 15px; }
}
@media (max-width: 810px) {
  .main-nav { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 4px; justify-content: center; align-items: center; border: 1px solid #dbd6f2; border-radius: 50%; background: #fff; width: 44px; height: 44px; cursor: pointer; }
  .menu-toggle span { width: 14px; height: 1.5px; display: block; background: #211b36; border-radius: 1px; }
  .main-nav.is-open { display: grid; position: absolute; inset: calc(100% + 7px) 28px auto; gap: 0; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px #30265b24; padding: 7px; }
  .main-nav.is-open a { padding: 13px; border-radius: 10px; }
  .main-nav.is-open a:hover { background: #f3efff; }
  .footer-content { grid-template-columns: 1fr 1.2fr; gap: 25px; }
}
@media (max-width: 590px) {
  .nav-inner, .content-width { width: calc(100% - 32px); }
  .site-header { padding-top: 10px; }
  .nav-inner { min-height: 52px; gap: 4px; padding: 4px 4px 4px 10px; }
  .brand { gap: 7px; font-size: .85rem; }
  .brand-dot { flex-basis: 19px; height: 19px; }
  .brand-dot span { width: 22px; height: 6px; }
  .nav-start { display: none; }
  .nav-actions { gap: 7px; }
  .adult-link { font-size: .76rem; min-height: 44px; display: inline-flex; align-items: center; }
  .adult-link span { display: none; }
  .menu-toggle { width: 40px; height: 40px; }
  .main-nav.is-open { left: 16px; right: 16px; }
  .site-footer { padding: 31px 0; }
  .footer-content { grid-template-columns: 1fr; gap: 20px; }
  .motion-control { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .motion-armed .motion-in { opacity: 1; transform: none; }
  .motion-armed:not(.motion-off) .card-enter { animation: none; }
  .motion-armed:not(.motion-off) .card-enter:not(.is-visible, :focus-within) { opacity: 1; }
}

@media (max-width: 355px) {
  .nav-inner { grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
  .nav-inner .brand { font-size: .76rem; gap: 5px; }
  .nav-inner .adult-link { font-size: .7rem; }
  .nav-actions { gap: 6px; }
  .menu-toggle { width: 41px; height: 41px; }
}


.metal-accent {
  display: block;
  opacity: 0;
  pointer-events: none;
}

.metal-accent[data-ready="true"] { opacity: 1; }
