/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito+Sans:wght@400;700&display=swap');

:root {
  --bg: #141938;
  --bg2: #27305f;
  --txt1: #f5f7ff;
  --txt2: #c2c9e2;
  --accent1: #ffd53a;
  --accent2: #0cb8eb;
  --accent3: #ea4344;
  --extra: #556081;
  --font-head: 'Lilita One', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--txt1); font-family: var(--font-body); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { font-weight: 400; }

#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg); }
#preloader img { width: 8rem; height: 8rem; }
html.menu-lock, html.menu-lock body { overflow: hidden; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: var(--bg2); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 .2rem 1.2rem rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 3.2rem; padding: 1.2rem 12rem; }
.logo { display: block; width: 3.2rem; height: 3.2rem; border-radius: .4rem; overflow: hidden; flex: 0 0 auto; }
.logo img { width: 100%; height: 100%; }
.logo:hover { opacity: .75; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { display: flex; align-items: center; justify-content: center; padding: .8rem 1.2rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; white-space: nowrap; opacity: .5; }
.nav-link:hover { opacity: 1; color: var(--accent1); }

.burger-btn { display: none; position: relative; z-index: 101; width: 2.4rem; height: 2.4rem; border: 0; border-radius: .2rem; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; }
.burger-btn span { display: block; width: 1.1rem; height: .2rem; background: var(--txt1); transition: transform .3s, opacity .3s; }
.burger-btn.act span:nth-child(1) { transform: translateY(.3rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-.3rem) rotate(-45deg); }
.burger-btn:hover span { background: var(--accent1); }

#mobile-menu { position: fixed; top: 4rem; left: 0; width: 100%; height: 56.7rem; z-index: 99; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu nav { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 3.2rem 1.6rem; }
#mobile-menu .nav-link { width: 20rem; padding: .8rem 0; font-size: clamp(14px, 1.6rem, 1.6rem); }

main { display: block; }
.sec-bar { height: 12rem; padding: 8rem 12rem 1.6rem; background: var(--bg2); text-align: center; }
.sec-bar p { font-size: clamp(14px, 1.6rem, 1.6rem); font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.sec-head { font-family: var(--font-head); font-size: 3.2rem; line-height: 1.5; text-transform: uppercase; color: var(--txt2); text-align: center; margin-bottom: 5.6rem; }
.container { width: 100%; max-width: 120rem; margin: 0 auto; padding: 0 1.6rem; }

@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }

@media (max-width: 1024px) {
  .header-inner { padding: 1.2rem 4rem; gap: 2rem; }
  .nav { gap: 0; }
  .sec-bar { padding: 8rem 4rem 1.6rem; }
}

@media (max-width: 640px) {
  .header { background: var(--bg); }
  .header-inner { padding: .8rem 1.6rem; gap: 1.6rem; }
  .logo { width: 2.4rem; height: 2.4rem; }
  .nav { display: none; }
  .burger-btn { display: flex; }
  .sec-bar { padding: 8rem 1.6rem 1.6rem; }
  .sec-head { font-size: 2.4rem; }
}
/* /stp:base */
/* stp:hero */
.hero { position: relative; height: 90rem; background: var(--bg); overflow: hidden; }
.hero-pic { position: absolute; top: 6.4rem; left: 0; width: 100%; height: 83.6rem; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 57.3rem 1.6rem 0; text-align: center; }
.hero-title { position: relative; isolation: isolate; font-family: var(--font-head); font-size: 6.4rem; line-height: 1.3; text-transform: uppercase; white-space: nowrap; margin-bottom: 3.2rem; }
.hero-title::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: var(--bg); -webkit-text-stroke: .8rem var(--bg); }
.hero-title span { background: linear-gradient(180deg, var(--txt1), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-sub { font-size: 2.4rem; font-weight: 700; line-height: 1.5; text-shadow: 0 .2rem .8rem rgba(20, 25, 56, .8); }

@media (max-width: 1024px) {
  .hero-title { font-size: 5.2rem; }
}

@media (max-width: 640px) {
  .hero { height: 81.2rem; }
  .hero-pic { top: 4rem; height: 77.2rem; }
  .hero-content { padding: 49.6rem 1.6rem 0; }
  .hero-title { font-size: 3.2rem; white-space: normal; max-width: 29.3rem; margin-bottom: 3.2rem; }
  .hero-title::before { -webkit-text-stroke: .4rem var(--bg); }
  .hero-sub { font-size: clamp(14px, 1.6rem, 1.6rem); max-width: 23.4rem; }
}
/* /stp:hero */
/* stp:about */
.about-descr { width: 100%; max-width: 105.8rem; margin: 0 auto; padding: 8rem 1.6rem 0; text-align: center; }
.about-descr .sec-head { max-width: 88.2rem; margin: 0 auto 5.6rem; }
.about-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.br-m { display: none; }
.about-pic { display: block; margin-top: 5.6rem; }
.about-pic img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .about-descr { padding-left: 4rem; padding-right: 4rem; }
  .about-descr .sec-head { font-size: 2.8rem; }
}

@media (max-width: 640px) {
  .about-descr { padding: 8rem 1.6rem 0; }
  .about-descr .sec-head { font-size: 2.4rem; }
  .about-pic { margin-top: 2rem; }
  .br-d { display: none; }
  .br-m { display: inline; }
}
/* /stp:about */
/* stp:characters */
.characters-body { padding: 8rem 1.6rem 8rem; }
.char-cards { display: grid; grid-template-columns: repeat(5, 21.2rem); gap: 3.2rem; justify-content: center; align-items: start; }
.char-card { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; border-radius: 2.4rem; }
.char-card img { height: 14rem; width: auto; max-width: none; }
.char-txt { width: 100%; padding: 1.2rem 0; text-align: center; }
.char-txt h3 { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid rgba(12, 184, 235, .8); font-size: clamp(14px, 1.6rem, 1.6rem); font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.char-txt p { padding: 0 1.5rem; font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .char-cards { grid-template-columns: repeat(3, 21.2rem); row-gap: 4rem; }
}

@media (max-width: 640px) {
  .characters-body { padding: 8rem 2.1rem; }
  .char-cards { grid-template-columns: 1fr; gap: 3.2rem; justify-content: stretch; }
  .char-card { flex-direction: row; gap: 1.6rem; }
  .char-card img { height: 11rem; flex: 0 0 auto; }
  .char-txt { flex: 1 1 0; min-width: 0; }
  .char-txt p { padding: 0; }
}
/* /stp:characters */
/* stp:advantages */
.advantages-body { padding: 5.6rem 0 0; }
.advantages-body .sec-head { padding: 0 1.6rem; max-width: 82.1rem; margin: 0 auto 5.6rem; }
.adv-cards { display: grid; grid-template-columns: repeat(5, 21rem); gap: 3.2rem; justify-content: center; }
.adv-card { padding: 1.6rem; border-radius: 1.6rem; background: var(--extra); }
.adv-txt { padding: 1.2rem 0; text-align: center; }
.adv-txt h3 { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid rgba(234, 67, 68, .8); font-size: clamp(14px, 1.6rem, 1.6rem); font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.adv-txt p { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; }
.adv-pic { display: block; margin-top: 3.2rem; }
.adv-pic img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .adv-cards { grid-template-columns: repeat(3, 21rem); row-gap: 3.2rem; }
  .advantages-body .sec-head { font-size: 2.8rem; }
}

@media (max-width: 640px) {
  .advantages-body { padding-top: 8rem; }
  .adv-pic { margin-top: 5.6rem; }
  .advantages-body .sec-head { max-width: 26.3rem; font-size: 2.4rem; }
  .adv-cards { display: flex; gap: 1.6rem; justify-content: flex-start; overflow-x: auto; padding: 0 3.2rem; scroll-snap-type: x mandatory; scroll-padding: 0 3.2rem; }
  .adv-cards::after { content: ""; flex: 0 0 1.6rem; }
  .adv-card { flex: 0 0 27rem; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
  .adv-txt { width: 100%; }
  .adv-txt h3 { max-width: 17.8rem; margin-left: auto; margin-right: auto; }
}
/* /stp:advantages */
/* stp:reviews */
.reviews-body { padding: 8rem 1.6rem 6.8rem; }
.rev-cards { display: grid; grid-template-columns: repeat(5, 21rem); gap: 3.2rem; justify-content: center; align-items: start; }
.rev-card { display: flex; flex-direction: column; gap: 1.6rem; padding: 1.6rem; border-radius: 1.1rem; background: var(--bg2); }
.rev-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rev-name { font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.3; }
.stars { display: flex; flex: 0 0 auto; }
.stars img { width: 1.4rem; height: 1.4rem; }
.rev-card p { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .rev-cards { grid-template-columns: repeat(3, 21rem); row-gap: 3.2rem; }
}

@media (max-width: 640px) {
  .reviews-body { padding: 8rem 2.6rem; }
  .rev-cards { grid-template-columns: 1fr; gap: 3.2rem; }
}
/* /stp:reviews */
/* stp:contact */
.contact-body { width: 100%; max-width: 75.2rem; margin: 0 auto; padding: 8rem 1.6rem 0; text-align: center; }
.contact-body .sec-head { margin-bottom: 4rem; }
.mailto { display: inline-flex; align-items: center; gap: 2.4rem; font-size: 2.4rem; line-height: 1.5; }
.mail-ico { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; }
.mail-ico img { width: 3rem; height: auto; }
.mailto:hover { color: var(--accent1); }
.contact-pic { display: block; margin-top: 4rem; }
.contact-pic img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .contact-body { padding-left: 4rem; padding-right: 4rem; }
  .contact-body .sec-head { font-size: 2.8rem; }
}

@media (max-width: 640px) {
  .contact-body { padding: 8rem 2.1rem 0; }
  .contact-body .sec-head { font-size: 2.4rem; }
  .contact-pic { margin-top: 5.6rem; }
  .mailto { font-size: 2.4rem; gap: 2.4rem; }
}
/* /stp:contact */
/* stp:why-play */
.why-body { width: 100%; max-width: 94.1rem; margin: 0 auto; padding: 10.8rem 1.6rem; text-align: center; }
.why-body .sec-head { margin-bottom: 4rem; }
.why-text { max-width: 80rem; margin: 0 auto; font-size: 2.4rem; line-height: 1.5; }

@media (max-width: 1024px) {
  .why-body { padding-left: 4rem; padding-right: 4rem; }
  .why-body .sec-head { font-size: 2.8rem; }
}

@media (max-width: 640px) {
  .why-body { padding: 13.2rem 2.1rem; }
  .why-body .sec-head { font-size: 2.4rem; }
  .why-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:why-play */
/* stp:footer */
.footer { background: var(--bg2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: 10rem 12rem; }
.footer p, .footer a { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.policies { display: flex; align-items: center; justify-content: space-between; gap: 6.4rem; padding: 0 1.6rem; }
.policies a { text-decoration: underline; }
.policies a:hover { color: var(--accent1); }

@media (max-width: 1024px) {
  .footer-inner { padding: 8rem 4rem; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; justify-content: center; gap: 3.2rem; padding: 12.8rem 1.2rem; text-align: center; }
  .policies { order: -1; width: 30.5rem; padding: 0; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 9.9rem; }
.header-legal { background: var(--bg); }
.header-legal .header-inner { justify-content: flex-start; padding: 5.6rem 12rem 1.6rem; gap: .8rem; }
.back-link { display: flex; align-items: center; gap: .8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--txt2); }
.back-link i { display: block; width: 2.4rem; height: 2.4rem; position: relative; }
.back-link i::before { content: ""; position: absolute; left: .9rem; top: .9rem; width: .7rem; height: .7rem; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.back-link:hover { color: var(--accent1); }
.legal-page { padding: 8rem 1.6rem 8rem; }
.legal-content { width: 100%; max-width: 99.5rem; margin: 0 auto; color: var(--txt2); font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.5; }
.legal-content h1 { margin: 0 -10rem 5.6rem; font-family: var(--font-head); font-size: 5.6rem; line-height: 1.3; text-transform: uppercase; text-align: center; color: var(--txt2); }
.legal-content h2, .legal-content h3, .legal-content h4 { margin: 2.4rem 0 1.6rem; font-size: 2.4rem; line-height: 1.5; text-transform: uppercase; color: var(--txt2); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3, .legal-content h4 { font-size: 2rem; }
.legal-content p { margin: 0 0 1.6rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1.6rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: .4rem; }
.legal-content a { text-decoration: underline; }
.legal-content a:hover { color: var(--accent1); }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .header-legal .header-inner { padding: 5.6rem 4rem 1.6rem; }
  .legal-content h1 { margin-left: 0; margin-right: 0; font-size: 4.8rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.6rem; }
  .header-legal .header-inner { padding: 2.3rem 1.6rem .6rem; }
  .legal-page { padding: 6.4rem 1.6rem 8rem; }
  .legal-content h1 { font-size: 4rem; margin-bottom: 5.6rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title .ta-w, .anim-on .sec-head .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .hero-title .ta-w { background: none; }
.anim-on .hero-title .ta-l { display: inline-block; --r: -14deg; opacity: 0; transform-origin: 50% 100%; }
.anim-on .hero-title .ta-l:nth-child(even) { --r: 12deg; }
.anim-on .hero-title.is-in .ta-l { animation: ta-toy-drop .8s cubic-bezier(.3, 1.4, .5, 1) calc(.9s + var(--i) * .045s) both; }
.anim-on .hero-title::before { opacity: 0; }
.anim-on .hero-title.is-in::before { animation: ta-outline .45s ease-out calc(1.4s + var(--n) * .045s) both; }
.anim-on .hero-title.is-in .ta-accent { transform-origin: 50% 100%; animation: ta-hop 4.5s ease-in-out calc(2.2s + var(--n) * .045s) infinite; }
.anim-on .sec-head .ta-w { opacity: 0; transform-origin: 50% 100%; }
.anim-on .sec-head.is-in .ta-w { animation: ta-word-pop .7s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * .06s) both; }

@keyframes ta-toy-drop {
  0% { opacity: 0; transform: translateY(-7rem) rotate(var(--r)) scale(.4); }
  45% { opacity: 1; transform: translateY(0) rotate(0) scale(1.18, .78); }
  70% { transform: translateY(-1rem) scale(.94, 1.08); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-outline { from { opacity: 0; } to { opacity: 1; } }
@keyframes ta-hop {
  0%, 86%, 100% { transform: none; }
  90% { transform: translateY(-1.2rem) rotate(-3deg); }
  94% { transform: translateY(0) scale(1.08, .9); }
  97% { transform: translateY(-.3rem) rotate(1deg); }
}
@keyframes ta-word-pop {
  0% { opacity: 0; color: var(--accent1); transform: translateY(2.4rem) scale(.6); }
  55% { opacity: 1; color: var(--accent1); transform: translateY(-.4rem) scale(1.06); }
  100% { opacity: 1; color: var(--txt2); transform: none; }
}

@media (max-width: 640px) {
  .anim-on .hero-title.is-in .ta-l { animation-duration: .65s; animation-delay: calc(.8s + var(--i) * .035s); }
  .anim-on .hero-title.is-in::before { animation-delay: calc(1.2s + var(--n) * .035s); }
  .anim-on .sec-head.is-in .ta-w { animation-duration: .55s; animation-delay: calc(var(--i) * .045s); }
  .anim-on .sec-head.is-in .ta-w { animation-name: ta-word-pop-m; }
  @keyframes ta-word-pop-m {
    0% { opacity: 0; color: var(--accent1); transform: translateY(1.4rem) scale(.7); }
    55% { opacity: 1; color: var(--accent1); transform: translateY(-.2rem) scale(1.04); }
    100% { opacity: 1; color: var(--txt2); transform: none; }
  }
}
/* /stp:title-anim */
