/* stp:base */
:root {
  --bg: #020211;
  --blue: #6ccaff;
  --white: #e4e4e4;
  --lblue: #b8cedb;
  --dblue: #30267f;
  --grey: #b1b1b1;
  --btn: #2f2f2f;
  --font-head: "Cinzel", serif;
  --font-body: "Montserrat", sans-serif;
}

html {
  font-size: calc(100vw / 1440 * 10);
  overflow-x: hidden;
  overflow-y: scroll;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
}

@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);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, p {
  font-size: inherit;
  font-weight: inherit;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--dblue);
  transition: box-shadow 0.3s ease-in-out;
}

.header.scrolled {
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.35);
}

.burger-btn {
  display: none;
  position: relative;
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0;
}

.burger-btn span {
  display: block;
  width: 3rem;
  height: 0.3rem;
  border-radius: 0.2rem;
  background: #fff;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.burger-btn.act span:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
  opacity: 0;
}

.burger-btn.act span:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}

html.menu-lock,
html.menu-lock body {
  overflow: hidden;
}

.store-btn {
  animation: store-float 3s ease-in-out infinite;
}

.store-btn:hover {
  animation-play-state: paused;
}

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

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.title h2 {
  font-family: var(--font-head);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.24;
  text-align: center;
}

.title h2 span {
  color: var(--blue);
}

.title::after {
  content: "";
  display: block;
  width: 39.2rem;
  max-width: 100%;
  height: 2.4rem;
  background: url(../img/divider.svg) center / 100% 100% no-repeat;
}

.title-left {
  align-items: flex-start;
}

.title-left h2 {
  text-align: left;
}

@media (max-width: 1024px) {
  .header .burger-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .title h2 {
    font-size: 3.2rem;
  }

  .title::after {
    width: 34.3rem;
    background-image: url(../img/divider-m.svg);
  }
}
/* /stp:base */
/* stp:header */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.4rem;
  padding: 0 8rem;
}

.logo {
  display: block;
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 0.4rem;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-link {
  padding: 0.4rem 1.2rem;
  border-radius: 0.8rem;
  font-family: var(--font-head);
  font-size: clamp(12px, 1.5rem, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--lblue);
}

.nav-link:hover {
  color: var(--blue);
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 2.4rem;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 5.2rem;
    padding: 0 1.6rem;
  }
}
/* /stp:header */
/* stp:menu */
#mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6.4rem;
  background: linear-gradient(rgba(2, 2, 17, 0.8), rgba(2, 2, 17, 0.8)), url(../img/hero-m.webp) center / cover no-repeat;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

@media (max-width: 640px) {
  #mobile-menu {
    padding-top: 5.2rem;
  }
}
/* /stp:menu */
/* stp:hero */
.hero {
  display: flex;
  align-items: flex-end;
  height: 81.2rem;
  padding: 0 8.4rem 5.6rem;
  background:
    linear-gradient(46.2deg, rgba(2, 2, 17, 0.6) 27.5%, rgba(2, 2, 17, 0) 63.4%),
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url(../img/hero.webp) center / cover no-repeat;
}

.hero-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 100%;
  max-width: 62.4rem;
}

.hero-logo {
  width: 59.2rem;
  max-width: 100%;
  height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-text p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 24rem;
  height: 6.5rem;
  padding: 1.2rem 2rem;
  border: 2px solid #fff;
  border-radius: 0.8rem;
  background: var(--btn);
  font-family: "Roboto", sans-serif;
  color: #fff;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.play-btn:hover {
  background: #444;
  border-color: var(--blue);
}

.play-btn img {
  flex: 0 0 auto;
  width: 3rem;
  height: 3.4rem;
}

.play-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 11.8rem;
  line-height: normal;
}

.play-btn-label {
  font-size: clamp(14px, 1.4rem, 1.4rem);
  font-weight: 400;
}

.play-btn-name {
  font-size: 1.8rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .hero {
    padding: 0 2.4rem 4rem;
  }
}

@media (max-width: 640px) {
  .hero {
    height: min(81.2rem, 100svh);
    min-height: 40rem;
    padding: 0 1.6rem 4.1rem;
    background:
      linear-gradient(46.2deg, rgba(2, 2, 17, 0.6) 27.5%, rgba(2, 2, 17, 0) 63.4%),
      linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
      url(../img/hero-m.webp) center / cover no-repeat;
  }

  .hero-info {
    gap: 1.6rem;
    max-width: none;
  }

  .hero-logo {
    width: 34.3rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    text-wrap: balance;
  }

  .hero-text p {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }

  .play-btn {
    width: 100%;
  }
}
/* /stp:hero */
/* stp:about */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  padding: 8rem 8.4rem 6.4rem;
  background: var(--bg);
}

.about-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  width: 100%;
}

.about-text {
  width: 100%;
  max-width: 84rem;
  font-size: 2.6rem;
  font-weight: 500;
  text-align: center;
  color: var(--grey);
}

.about-text .hl {
  color: var(--white);
}

.about-img {
  width: 84rem;
  height: auto;
  border-radius: 1.6rem;
}

@media (max-width: 1024px) {
  .about {
    padding: 6.4rem 2.4rem 4.8rem;
  }

  .about-text {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .about {
    gap: 2.4rem;
    padding: 4.8rem 1.6rem 3.2rem;
  }

  .about .title {
    gap: 0.4rem;
  }

  .about-body {
    gap: 2.4rem;
  }

  .about-text {
    font-size: clamp(14px, 1.6rem, 1.6rem);
    text-align: left;
  }

  .about-img {
    width: 34.3rem;
    border-radius: 0.8rem;
  }
}
/* /stp:about */
/* stp:how-to-play */
.how {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  padding: 6.4rem 8.4rem;
  background: linear-gradient(90deg, #020211 0%, #2d2d2d 50%, #020211 100%);
}

.how-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
}

.how-lead {
  max-width: 45.6rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-align: center;
}

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  width: 100%;
  max-width: 127.2rem;
}

.how-card {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  min-height: 9.6rem;
  padding: 2.4rem;
  border-radius: 0.8rem;
}

.how-card img {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.how-card p {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .how {
    padding: 4.8rem 2.4rem;
  }

  .how-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .how {
    gap: 2.4rem;
    padding: 3.2rem 1.6rem;
  }

  .how-head {
    gap: 0.8rem;
  }

  .how .title {
    gap: 0.4rem;
  }

  .how-lead {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }

  .how-cards {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .how-card {
    min-height: 5.6rem;
    padding: 0.8rem 1.6rem;
  }

  .how-card p {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }
}
/* /stp:how-to-play */
/* stp:game-experience */
.experience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  padding: 6.4rem 8.4rem 0;
  background: linear-gradient(rgba(4, 4, 19, 0.8), rgba(4, 4, 19, 0.8)), url(../img/game-experience-bg.webp) center / cover no-repeat;
}

.experience-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  width: 71.9rem;
}

.experience-text {
  font-size: 2.6rem;
  font-weight: 500;
  text-align: center;
}

.experience-img {
  flex: 0 0 auto;
  width: 50.5rem;
  height: 72.1rem;
}

@media (max-width: 1024px) {
  .experience {
    flex-direction: column;
    gap: 3.2rem;
    padding: 4.8rem 2.4rem 0;
  }

  .experience-info {
    width: 100%;
    max-width: 71.9rem;
  }

  .experience-text {
    font-size: 2.2rem;
  }

  .experience-img {
    width: 36rem;
    height: auto;
  }
}

@media (max-width: 640px) {
  .experience {
    gap: 2.4rem;
    padding: 3.2rem 1.6rem 0;
  }

  .experience-info {
    gap: 2.4rem;
  }

  .experience-text {
    font-size: clamp(14px, 1.6rem, 1.6rem);
  }

  .experience-img {
    width: 26.9rem;
  }
}
/* /stp:game-experience */
/* stp:features */
.features {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 4.8rem;
  padding: 6.4rem 8.4rem;
  background: var(--bg);
}

.features-info {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 51.6rem;
}

.features-head {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 41rem;
}

.features-lead {
  font-size: clamp(14px, 1.6rem, 1.6rem);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.4rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
}

.features-list img {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 1rem;
}

.features-shots {
  position: relative;
  flex: 0 0 auto;
  width: 70.8rem;
  height: 54.5rem;
}

.features-shot {
  position: absolute;
  height: auto;
}

.features-shot-1 {
  top: 3.9rem;
  left: 15.9rem;
  width: 50rem;
  border-radius: 0.2rem;
  transform: rotate(-6deg);
}

.features-shot-2 {
  top: 25.6rem;
  left: 11.1rem;
  width: 48.6rem;
  border-radius: 0.2rem;
  transform: rotate(4deg);
}

@media (max-width: 1024px) {
  .features {
    flex-direction: column;
    align-items: flex-start;
    gap: 3.2rem;
    padding: 4.8rem 2.4rem;
  }

  .features-info {
    width: 100%;
  }

  .features-shots {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .features {
    gap: 2.4rem;
    padding: 3.2rem 1.6rem;
  }

  .features-info {
    gap: 1.6rem;
  }

  .features-head {
    gap: 1.6rem;
  }

  .features-lead,
  .features-list li {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }

  .features-shots {
    width: 34.3rem;
    height: 26.4rem;
  }

  .features-shot-1 {
    top: 2rem;
    left: 7.7rem;
    width: 24.2rem;
  }

  .features-shot-2 {
    top: 12.5rem;
    left: 5.4rem;
    width: 23.6rem;
  }
}
/* /stp:features */
/* stp:gallery */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  padding: 6.4rem 8.4rem;
  background: linear-gradient(rgba(4, 4, 19, 0.8), rgba(4, 4, 19, 0.8)), url(../img/gallery-bg.webp) center / cover no-repeat;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 127.2rem;
}

.slider-track {
  display: flex;
  gap: 2.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 calc((100% - 4.8rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.gallery-slide {
  aspect-ratio: 408 / 255;
  height: auto;
  border-radius: 1.6rem;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: rgba(2, 2, 17, 0.7);
  transform: translateY(-50%);
  transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.slider-btn::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border: solid var(--blue);
  border-width: 0 0.2rem 0.2rem 0;
  transition: border-color 0.3s ease-in-out;
}

.slider-prev {
  left: -6.6rem;
}

.slider-prev::before {
  margin-left: 0.4rem;
  transform: rotate(135deg);
}

.slider-next {
  right: -6.6rem;
}

.slider-next::before {
  margin-right: 0.4rem;
  transform: rotate(-45deg);
}

.slider-btn:hover {
  background: var(--blue);
}

.slider-btn:hover::before {
  border-color: var(--bg);
}

.slider-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .gallery {
    padding: 4.8rem 2.4rem;
  }

  .slide {
    flex-basis: calc((100% - 2.4rem) / 2);
  }

  .slider-nav {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    margin-top: 2.4rem;
  }

  .slider-btn {
    position: static;
    transform: none;
  }
}

@media (max-width: 640px) {
  .gallery {
    gap: 2.4rem;
    padding: 3.2rem 1.6rem;
  }

  .slide {
    flex-basis: 100%;
  }

  .gallery-slide {
    aspect-ratio: 343 / 214;
    border-radius: 0.8rem;
  }

  .slider-nav {
    margin-top: 1.6rem;
  }

  .slider-btn {
    width: 4rem;
    height: 4rem;
  }
}
/* /stp:gallery */
/* stp:reviews */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  padding: 6.4rem 8.4rem;
  background: linear-gradient(90deg, #020211 0%, #2d2d2d 50%, #020211 100%);
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 3.2rem 2.4rem;
  border-radius: 1.6rem;
}

.review-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.review-avatar {
  width: 6rem;
  height: 6rem;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.review-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-name {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 600;
  text-transform: uppercase;
}

.review-rating {
  display: flex;
}

.review-rating img {
  width: 2rem;
  height: 2rem;
  padding: 0.3rem;
}

.review-text {
  width: 100%;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-align: center;
  color: var(--lblue);
}

@media (max-width: 1024px) {
  .reviews {
    padding: 4.8rem 2.4rem;
  }
}

@media (max-width: 640px) {
  .reviews {
    gap: 2.4rem;
    padding: 3.2rem 1.6rem;
  }

  .review-card {
    padding: 1.6rem;
  }

  .review-name,
  .review-text {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }
}
/* /stp:reviews */
/* stp:faq */
.faq {
  display: flex;
  justify-content: center;
  padding: 6.4rem 8.4rem;
  background: var(--bg);
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 100%;
  max-width: 84rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
}

.faq-item {
  min-height: 5.6rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--blue);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 600;
  cursor: pointer;
}

.faq-q img {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  transition: transform 0.3s ease-in-out;
}

.faq-item.closed .faq-q img {
  transform: rotate(90deg);
}

.faq-a {
  margin-top: 0.8rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  color: var(--lblue);
}

.faq-item.closed .faq-a {
  display: none;
}

@media (max-width: 1024px) {
  .faq {
    padding: 4.8rem 2.4rem;
  }
}

@media (max-width: 640px) {
  .faq {
    padding: 3.2rem 1.6rem;
  }

  .faq-list {
    gap: 0.8rem;
  }

  .faq-item {
    border-bottom-color: var(--white);
  }

  .faq-q,
  .faq-a {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }
}
/* /stp:faq */
/* stp:contact */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 53.5rem;
  padding: 0 8.4rem 6.4rem;
  background:
    linear-gradient(46.2deg, rgba(2, 2, 17, 0.6) 27.5%, rgba(2, 2, 17, 0) 63.4%),
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url(../img/contact-bg.webp) center / cover no-repeat;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 100%;
  max-width: 62.4rem;
}

.contact-logo {
  width: 38.8rem;
  max-width: 100%;
  height: auto;
}

.contact-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.contact-text h2 {
  font-family: var(--font-head);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.24;
  text-align: center;
}

.contact-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28.4rem;
  height: 5.3rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--blue);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.contact-mail:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 1024px) {
  .contact {
    padding: 0 2.4rem 4.8rem;
  }
}

@media (max-width: 640px) {
  .contact {
    min-height: 28.4rem;
    padding: 3.2rem 1.6rem 4.8rem;
    background:
      linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
      url(../img/contact-bg-m.webp) center / cover no-repeat;
  }

  .contact-info {
    gap: 1.6rem;
    max-width: none;
  }

  .contact-logo {
    width: 22.5rem;
  }

  .contact-text {
    gap: 1.6rem;
  }

  .contact-text h2 {
    font-size: 3.2rem;
  }
}
/* /stp:contact */
/* stp:footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 5.6rem 0;
  background: var(--dblue);
  font-size: clamp(14px, 1.6rem, 1.6rem);
  text-align: center;
}

.footer-docs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6rem;
  width: 100%;
  padding: 0 8.8rem;
}

.footer-docs a:hover {
  color: var(--blue);
}

@media (max-width: 1024px) {
  .footer-docs {
    padding: 0 2.4rem;
  }
}

@media (max-width: 640px) {
  .footer {
    gap: 2.4rem;
    padding: 5.6rem 1.6rem;
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }

  .footer-docs {
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 0;
  }
}
/* /stp:footer */
/* stp:legal */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1 0 auto;
  padding-top: 6.4rem;
}

.legal-page {
  padding: 8rem 21.2rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 101.6rem;
  margin: 0 auto;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  overflow-wrap: anywhere;
}

.legal-content h1 {
  margin-bottom: 1.6rem;
  font-family: var(--font-head);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.24;
  text-align: center;
}

.legal-content h2,
.legal-content h3 {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 600;
  text-transform: uppercase;
}

.legal-content h4 {
  font-size: clamp(14px, 1.5rem, 1.5rem);
  font-weight: 600;
}

.legal-content strong {
  font-weight: 600;
}

.legal-content em {
  font-style: italic;
}

.legal-content u {
  text-decoration: underline;
}

.legal-content ul,
.legal-content ol {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 2.4rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content a {
  color: #005eff;
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}

.legal-content a:hover {
  color: var(--blue);
}

@media (max-width: 1024px) {
  .legal-page {
    padding: 6.4rem 2.4rem;
  }
}

@media (max-width: 640px) {
  .legal-main {
    padding-top: 5.2rem;
  }

  .legal-page {
    padding: 5.6rem 1.6rem;
  }

  .legal-content {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }

  .legal-content h1 {
    font-size: 3.2rem;
  }

  .legal-content h2,
  .legal-content h3,
  .legal-content h4 {
    font-size: clamp(14px, 1.4rem, 1.4rem);
  }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .ta-w {
  display: inline-block;
  white-space: nowrap;
}

.anim-on .ta-l {
  display: inline-block;
  position: relative;
}

.anim-on .title h2 .ta-w,
.anim-on .title h2 .ta-l {
  color: inherit;
}

.anim-on .ta-hero .ta-l {
  opacity: 0.12;
  filter: blur(0.3rem) drop-shadow(0 0 0 rgba(108, 202, 255, 0));
  transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  animation: ta-find 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(1s + var(--i) * 0.06s) both;
}

.anim-on .ta-hero .ta-l::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  margin: -1.6rem 0 0 -1.6rem;
  border: 0.1rem solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: ta-ping 0.8s ease-out calc(1.25s + var(--i) * 0.06s) both;
}

.anim-on .ta-hero .ta-shade .ta-l {
  animation:
    ta-find 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(1s + var(--i) * 0.06s) both,
    ta-shade 8s ease-in-out calc(5s + var(--j) * 0.07s) infinite;
}

.anim-on .ta-sec .ta-l {
  opacity: 0;
}

.anim-on .ta-sec.is-in .ta-l {
  animation: ta-lens 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 0.045s) both;
}

.anim-on .title::after {
  clip-path: inset(0 50% 0 50%);
}

.anim-on .title.is-in::after {
  animation: ta-rule 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
}

@keyframes ta-find {
  0% {
    opacity: 0.12;
    filter: blur(0.3rem) drop-shadow(0 0 0 rgba(108, 202, 255, 0));
    transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  }
  55% {
    opacity: 1;
    color: #fff;
    filter: blur(0) drop-shadow(0 0 0.8rem rgba(108, 202, 255, 0.9));
    transform: translate(0, 0) rotate(0deg) scale(1.35);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 0 rgba(108, 202, 255, 0));
    transform: none;
  }
}

@keyframes ta-ping {
  0% { opacity: 0; transform: scale(0.2); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes ta-shade {
  0%, 14%, 100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 0 rgba(2, 2, 17, 0));
  }
  6% {
    opacity: 0.3;
    filter: blur(0.12rem) drop-shadow(0 0.2rem 0.4rem rgba(2, 2, 17, 0.9));
  }
}

@keyframes ta-lens {
  0% {
    opacity: 0;
    filter: blur(0.6rem) drop-shadow(0 0 0 rgba(108, 202, 255, 0));
    transform: scale(1);
  }
  40% {
    opacity: 1;
    color: #fff;
    filter: blur(0) drop-shadow(0 0 1rem rgba(108, 202, 255, 0.8));
    transform: translateY(-0.4rem) scale(1.28);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 0 rgba(108, 202, 255, 0));
    transform: none;
  }
}

@keyframes ta-rule {
  0% { clip-path: inset(0 50% 0 50%); opacity: 0; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

@media (max-width: 640px) {
  .anim-on .ta-hero .ta-l {
    animation-duration: 0.7s;
  }

  .anim-on .ta-hero .ta-l::after {
    width: 2.6rem;
    height: 2.6rem;
    margin: -1.3rem 0 0 -1.3rem;
    animation-duration: 0.6s;
  }

  .anim-on .ta-hero .ta-shade .ta-l {
    animation-duration: 0.7s, 8s;
  }

  .anim-on .ta-sec.is-in .ta-l {
    animation-duration: 0.7s;
  }
}
/* /stp:title-anim */
