:root {
  --sv-deep: #250038;
  --sv-space: #3a0756;
  --sv-pink: #f49bc2;
  --sv-hot: #e213a8;
  --sv-yellow: #fff064;
  --sv-blue: #5be5ff;
  --sv-white: #fff7fb;
  --sv-ink: #1e1528;
  --sv-muted: #68586d;
  --sv-card: rgba(255, 255, 255, .88);
  --sv-shadow: 0 24px 70px rgba(70, 0, 78, .24);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sv-ink);
  background: #fff7fb;
}

body.sv-lock {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.sv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 10px clamp(18px, 5vw, 76px);
  color: #fff;
  background: rgba(37, 0, 56, .94);
  border-bottom: 1px solid rgba(255, 155, 210, .28);
  backdrop-filter: blur(14px);
}

.sv-header__logo {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--sv-deep);
  background: linear-gradient(135deg, var(--sv-yellow), #ff91c9);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.04em;
  box-shadow: 0 0 30px rgba(255, 240, 100, .4);
}

.sv-header__nav {
  justify-self: end;
  display: grid;
  grid-auto-flow: column;
  gap: clamp(10px, 1.8vw, 26px);
  align-items: center;
}

.sv-header__link {
  position: relative;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
}

.sv-header__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 99px;
  background: var(--sv-yellow);
  transition: right .2s ease;
}

.sv-header__link:hover::after {
  right: 0;
}

.sv-header__burger {
  display: none;
  place-items: center;
  gap: 5px;
  width: 48px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
}

.sv-header__bar {
  width: 22px;
  height: 2px;
  border-radius: 20px;
  background: #fff;
}

.sv-hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  background: var(--sv-deep);
}

.sv-hero__image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
}

.sv-hero::after {
  content: "";
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(90deg, rgba(37, 0, 56, .82), rgba(37, 0, 56, .22) 58%, rgba(37, 0, 56, .05));
  pointer-events: none;
}

.sv-hero__copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  align-self: center;
  display: grid;
  gap: 22px;
  max-width: 660px;
  margin-left: clamp(22px, 8vw, 150px);
  padding: 34px;
}

.sv-hero__tag,
.sv-overview__label,
.sv-heroes__label,
.sv-play__label,
.sv-map__label,
.sv-reviews__label,
.sv-faq__label {
  margin: 0;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--sv-deep);
  background: var(--sv-yellow);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sv-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: .85;
  letter-spacing: -.08em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}

.sv-hero__text {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.sv-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px;
  align-items: center;
}

.sv-hero__button {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0 25px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sv-hero__button:hover {
  transform: translateY(-3px);
}

.sv-hero__button--main {
  color: var(--sv-deep);
  background: linear-gradient(135deg, var(--sv-yellow), #ff97cc);
  box-shadow: 0 0 34px rgba(255, 240, 100, .35);
}

.sv-hero__button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
}

.sv-overview {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(62px, 8vw, 118px) clamp(18px, 6vw, 96px);
  background: var(--sv-pink);
}

.sv-overview__art {
  transform: rotate(-3deg);
  border-radius: 46px;
  box-shadow: var(--sv-shadow);
  overflow: hidden;
}

.sv-overview__image {
  width: 100%;
}

.sv-overview__content {
  display: grid;
  gap: 18px;
}

.sv-overview__title,
.sv-heroes__title,
.sv-play__title,
.sv-map__title,
.sv-reviews__title,
.sv-faq__title,
.sv-contact__title {
  margin: 0;
  color: var(--sv-deep);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: .9;
  letter-spacing: -.07em;
}

.sv-overview__text,
.sv-play__text,
.sv-map__text,
.sv-contact__text {
  margin: 0;
  color: #4d284e;
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.sv-overview__fact {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7c1a9a, var(--sv-hot));
  font-weight: 850;
}

.sv-heroes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: clamp(64px, 8vw, 120px) clamp(18px, 6vw, 96px);
  background: #fff7fb;
}

.sv-heroes__headline {
  grid-column: 1 / span 4;
  display: grid;
  align-content: center;
  gap: 16px;
}

.sv-heroes__image {
  grid-column: 5 / -1;
  width: 100%;
  border-radius: 44px;
  box-shadow: var(--sv-shadow);
}

.sv-heroes__notes {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.sv-heroes__note {
  padding: 28px;
  border-radius: 28px;
  background: var(--sv-deep);
  color: #fff;
}

.sv-heroes__note-title {
  margin: 0 0 8px;
  color: var(--sv-yellow);
}

.sv-heroes__note-text {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}

.sv-play {
  display: grid;
  gap: 34px;
  padding: clamp(70px, 8vw, 120px) clamp(18px, 6vw, 96px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 240, 100, .2), transparent 18rem),
    radial-gradient(circle at 90% 10%, rgba(226, 19, 168, .22), transparent 20rem),
    var(--sv-deep);
}

.sv-play__intro {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.sv-play__title {
  color: #fff;
}

.sv-play__text {
  color: rgba(255, 255, 255, .82);
}

.sv-play__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sv-play__step {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 34px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.sv-play__step::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 30%, var(--sv-pink) 32%, var(--sv-hot) 68%, transparent 70%);
  opacity: .75;
}

.sv-play__number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--sv-deep);
  background: var(--sv-yellow);
  font-weight: 950;
}

.sv-play__step-title {
  margin: 22px 0 8px;
  color: #fff;
  font-size: 1.28rem;
}

.sv-play__step-text {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.sv-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
  gap: 26px;
  align-items: center;
  padding: clamp(64px, 8vw, 120px) clamp(18px, 6vw, 96px);
  background: #fff;
}

.sv-map__image {
  width: 100%;
  border-radius: 44px;
  box-shadow: var(--sv-shadow);
}

.sv-map__copy {
  display: grid;
  gap: 16px;
}

.sv-reviews {
  display: grid;
  gap: 28px;
  padding: clamp(64px, 8vw, 110px) clamp(18px, 6vw, 96px);
  background: #f7f2f8;
}

.sv-reviews__heading {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.sv-reviews__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
}

.sv-reviews__card {
  min-height: 190px;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(70, 0, 78, .09);
}

.sv-reviews__name {
  margin: 0 0 12px;
  color: var(--sv-hot);
}

.sv-reviews__text {
  margin: 0;
  color: var(--sv-muted);
  line-height: 1.65;
}

.sv-faq {
  display: grid;
  grid-template-columns: minmax(260px, .6fr) minmax(0, 1.4fr);
  gap: 28px;
  padding: clamp(70px, 8vw, 120px) clamp(18px, 6vw, 96px);
  background: #fff7fb;
}

.sv-faq__intro {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sv-faq__list {
  display: grid;
  gap: 12px;
}

.sv-faq__item {
  padding: 22px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(70, 0, 78, .08);
}

.sv-faq__question {
  cursor: pointer;
  color: var(--sv-deep);
  font-weight: 950;
}

.sv-faq__answer {
  margin: 12px 0 0;
  color: var(--sv-muted);
  line-height: 1.6;
}

.sv-contact {
  padding: 40px clamp(18px, 6vw, 96px) 100px;
  background: #fff7fb;
}

.sv-contact__box {
  display: grid;
  gap: 14px;
  max-width: 960px;
  padding: 36px;
  border-radius: 34px;
  background: var(--sv-pink);
}

.sv-cookie {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: 18px;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  color: #fff;
  background: rgba(37, 0, 56, .96);
  box-shadow: 0 20px 70px rgba(37, 0, 56, .3);
}

.sv-cookie__text {
  margin: 0;
  line-height: 1.55;
}

.sv-cookie__link {
  color: var(--sv-yellow);
}

.sv-cookie__actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px;
}

.sv-cookie__button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.sv-cookie__button--accept {
  color: var(--sv-deep);
  background: var(--sv-yellow);
}

.sv-cookie__button--decline {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.sv-footer {
  color: #fff;
  background: var(--sv-deep);
}

.sv-footer__inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 44px 18px;
  text-align: center;
}

.sv-footer__brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 950;
}

.sv-footer p {
  margin: 0;
  opacity: .86;
}

.legal-page {
  background: #fff7fb;
}

.sv-legal {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 20px;
}

.sv-legal__title {
  margin: 0;
  color: var(--sv-deep);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: -.06em;
}

.sv-legal__section {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(70, 0, 78, .08);
}

.sv-legal__section h2 {
  margin: 0 0 12px;
  color: var(--sv-hot);
}

.sv-legal__body {
  margin: 0;
  color: var(--sv-muted);
  line-height: 1.7;
}

.sv-legal__body ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.sv-legal__section p,
.sv-legal__section li {
  color: var(--sv-muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .sv-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .sv-header__burger {
    display: grid;
  }

  .sv-header__nav {
    position: fixed;
    inset: 72px 0 0 0;
    display: grid;
    grid-auto-flow: row;
    align-content: start;
    gap: 0;
    padding: 24px;
    background: rgba(37, 0, 56, .98);
    transform: translateX(100%);
    transition: transform .22s ease;
  }

  .sv-header__nav.is-open {
    transform: translateX(0);
  }

  .sv-header__link {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 1rem;
  }

  .sv-overview,
  .sv-map,
  .sv-faq {
    grid-template-columns: 1fr;
  }

  .sv-heroes {
    grid-template-columns: 1fr;
  }

  .sv-heroes__headline,
  .sv-heroes__image,
  .sv-heroes__notes {
    grid-column: 1;
  }

  .sv-play__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sv-reviews__rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .sv-hero {
    min-height: 700px;
  }

  .sv-hero__image {
    min-height: 700px;
  }

  .sv-hero__copy {
    margin-left: 0;
    padding: 24px 18px;
    align-self: end;
  }

  .sv-hero__actions,
  .sv-overview__facts,
  .sv-heroes__notes,
  .sv-play__steps,
  .sv-cookie,
  .sv-cookie__actions {
    grid-template-columns: 1fr;
  }

  .sv-hero__button,
  .sv-cookie__button {
    width: 100%;
  }

  .sv-overview__art {
    transform: none;
  }

  .sv-cookie {
    align-items: stretch;
  }
}

/* Adaptive safety patch */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 980px) {
  .sv-header {
    position: sticky;
    z-index: 1000;
    backdrop-filter: none;
  }

  .sv-header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 999;
    width: 100vw;
    min-width: 100vw;
    height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: stretch;
    gap: 8px;
    padding: 26px clamp(18px, 6vw, 48px);
    overflow-y: auto;
    color: #fff;
    background:
      radial-gradient(circle at 18% 12%, rgba(255, 240, 100, .18), transparent 16rem),
      linear-gradient(180deg, rgba(37, 0, 56, .98), rgba(59, 7, 86, .98));
    transform: translate3d(100vw, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
  }

  .sv-header__nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sv-header__link {
    display: grid;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
  }

  .sv-header__link::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .sv-hero {
    min-height: 680px;
  }

  .sv-hero__image {
    min-height: 680px;
    object-position: 58% center;
  }

  .sv-hero::after {
    background: linear-gradient(180deg, rgba(37, 0, 56, .22), rgba(37, 0, 56, .72) 50%, rgba(37, 0, 56, .94));
  }

  .sv-hero__copy {
    align-self: end;
    max-width: none;
    margin-left: 0;
    padding: 24px 18px 44px;
  }

  .sv-hero__title {
    font-size: clamp(2.65rem, 11vw, 4.8rem);
    line-height: .9;
  }

  .sv-overview,
  .sv-heroes,
  .sv-play,
  .sv-map,
  .sv-reviews,
  .sv-faq,
  .sv-contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sv-overview__art,
  .sv-map__image,
  .sv-heroes__image {
    border-radius: 28px;
  }

  .sv-play__step,
  .sv-reviews__card,
  .sv-faq__item,
  .sv-contact__box {
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .sv-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .sv-header__logo {
    min-height: 42px;
    padding: 0 16px;
    font-size: .9rem;
  }

  .sv-header__burger {
    width: 44px;
    height: 44px;
  }

  .sv-header__nav {
    top: 68px;
    height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
  }

  .sv-hero {
    min-height: 640px;
  }

  .sv-hero__image {
    min-height: 640px;
  }

  .sv-hero__actions {
    grid-template-columns: 1fr;
  }

  .sv-hero__button {
    width: 100%;
  }

  .sv-cookie {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    padding: 14px;
    border-radius: 18px;
  }
}

/* Header fixed-position patch */
body {
  padding-top: 72px;
}

.sv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

@media (max-width: 520px) {
  body {
    padding-top: 68px;
  }
}
