/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');

:root {
  --bg: #0a0a0a;
  --white: #ffffff;
  --accent: #ebce02;
  --blue: #0e8ffa;
  --purple: #7000ff;
  --footer-bg: #0b0e17;
  --pill-bg: #001f38;
  --font: 'Inter', 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; }
html.menu-lock, html.menu-lock body { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--font); font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s, background-color .3s, border-color .3s, transform .3s, box-shadow .3s; }
button { font: inherit; color: inherit; cursor: pointer; }
section { position: relative; overflow: hidden; background: var(--bg); }

#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; height: 7.5rem; padding: 0 8rem; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(5rem); backdrop-filter: blur(5rem); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 .2rem 1.2rem rgba(0, 0, 0, .35); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 128rem; margin: 0 auto; border-bottom: 1px solid var(--white); }
.logo { display: block; font-size: 2rem; line-height: 2.4rem; }
.logo:hover { opacity: .75; }
.logo span { display: block; }
.logo-b { font-weight: 900; }
.nav { display: flex; align-items: center; gap: 4rem; }
.nav-link { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.2; text-transform: uppercase; color: var(--white); }
.nav-link:hover { color: var(--accent); }

.burger-btn { display: none; position: relative; width: 2.4rem; height: 2.4rem; padding: 0; background: transparent; border: 0; z-index: 101; }
.burger-btn span { position: absolute; left: .25rem; width: 1.9rem; height: .2rem; background: var(--accent); transition: transform .3s, top .3s, opacity .3s; }
.burger-btn span:nth-child(1) { top: .6rem; }
.burger-btn span:nth-child(2) { top: 1.1rem; }
.burger-btn span:nth-child(3) { top: 1.6rem; }
.burger-btn.act span:nth-child(1) { top: 1.1rem; transform: rotate(45deg); }
.burger-btn.act span:nth-child(3) { top: 1.1rem; transform: rotate(-45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }

#mobile-menu { position: fixed; top: 7.5rem; left: 0; width: 100%; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; background: rgba(97, 96, 96, .6); -webkit-backdrop-filter: blur(2rem); backdrop-filter: blur(2rem); }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.menu-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; padding: 5.5rem 4.6rem; }

.store-btn { display: inline-block; }
.store-btn img { width: 33.1rem; height: 6.4rem; }
.store-btn:hover { opacity: .85; transform: scale(1.04); }
.hero-store { animation: store-float 3s ease-in-out infinite; }
.hero-store:hover { animation-play-state: paused; }
@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }

.deco { position: absolute; max-width: none; pointer-events: none; z-index: 0; }

@media (max-width: 1024px) {
  .header { padding: 0 4rem; }
  .nav { gap: 2.4rem; }
}
@media (max-width: 640px) {
  .header { height: 7.5rem; padding: 0 2.1rem; }
  .nav { display: none; }
  .burger-btn { display: block; }
  .menu-nav { padding: 5.5rem 4.6rem; }
  .store-btn img { width: 33.1rem; height: 6.4rem; }
}
/* /stp:base */
/* stp:footer */
.footer { background: var(--footer-bg); border-top: 1px solid var(--purple); padding: 3.2rem 14.4rem; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.footer-copy, .footer-links a { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.6rem; letter-spacing: .04em; }
.footer-links { display: flex; align-items: center; gap: 2.4rem; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 1024px) { .footer { padding: 3.2rem 4rem; } }
@media (max-width: 640px) {
  .footer { padding: 3.2rem 2.4rem; }
  .footer-in { flex-direction: column; gap: 1.6rem; }
  .footer-copy { text-align: center; }
}
/* /stp:footer */
/* stp:hero */
.hero { padding: 16.3rem 0 9.7rem; }
.glow { position: absolute; left: -37.9rem; top: -21.9rem; width: 71.5rem; height: 68.1rem; pointer-events: none; z-index: 0; }
.glow i { position: absolute; display: block; border-radius: 50%; }
.glow-1 { left: 0; top: 0; width: 65.3rem; height: 58.8rem; background: linear-gradient(135deg, #7000ff, #06fff0); filter: blur(13.4rem); }
.glow-2 { left: 8.8rem; top: 23.2rem; width: 46.8rem; height: 39.8rem; background: linear-gradient(135deg, #03fb75, #06fff0); filter: blur(17.7rem); }
.glow-3 { left: 37.8rem; top: 36.7rem; width: 31.4rem; height: 31.4rem; background: linear-gradient(135deg, #2603fb, #dc06ff); filter: blur(17.7rem); }
.glow-4 { left: 21.6rem; top: 9.5rem; width: 49.9rem; height: 39.5rem; background: linear-gradient(135deg, #fb03f5, #aa9cff); filter: blur(9.5rem); }
.hero-in { position: relative; z-index: 1; padding: 0 8rem; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; width: 61.3rem; }
.hero h1 { font-size: 6.4rem; line-height: 7.2rem; font-weight: 700; margin-bottom: 3.6rem; }
.hero-lead { font-size: 2.4rem; line-height: 3.2rem; margin-bottom: 3.2rem; }
.hero-sub { font-size: 2rem; line-height: 2.8rem; margin-bottom: 4.4rem; }
.hero-pics { position: absolute; left: 76.3rem; top: -3.6rem; width: 77.8rem; height: 60.8rem; }
.hero-pics img { position: absolute; max-width: none; object-fit: cover; }
.hero-pic-1 { left: 15rem; top: 0; width: 62.8rem; height: 60.8rem; border-radius: 2.6rem; }
.hero-pic-2 { left: 0; top: 16rem; width: 42.7rem; height: 41.1rem; border-radius: 1.5rem; }

@media (max-width: 1024px) {
  .hero { padding: 12rem 0 6rem; }
  .hero-in { padding: 0 4rem; }
  .hero-text { width: 100%; }
  .hero h1 { font-size: 5.6rem; line-height: 6.4rem; }
  .hero-pics { position: relative; left: auto; top: auto; width: 66rem; height: auto; aspect-ratio: 778 / 608; margin: 5rem auto 0; }
  .hero-pic-1 { left: 19.28%; width: 80.72%; height: 100%; }
  .hero-pic-2 { top: 26.3%; width: 54.9%; height: 67.6%; }
}
@media (max-width: 640px) {
  .hero { padding: 10.3rem 0 4.4rem; }
  .glow { top: -34.1rem; }
  .hero-in { padding: 0 2rem; }
  .hero h1 { font-size: 4.8rem; line-height: 5.6rem; text-align: center; margin-bottom: 3.6rem; }
  .hero-lead { font-size: 2rem; line-height: 2.8rem; }
  .hero-sub { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.8rem; margin-bottom: 3.2rem; }
  .hero-pics { width: 100%; margin-top: 3.6rem; }
  .hero-pic-1 { border-radius: 1.12rem; }
  .hero-pic-2 { border-radius: .65rem; }
}
.hero .store-btn { animation: store-float 3s ease-in-out infinite; }
.hero .store-btn:hover { animation-play-state: paused; }
/* /stp:hero */
/* stp:how-to-play */
.howto { padding: 10rem 0; }
.deco-h1 { left: -9.4rem; top: -11.2rem; width: 72.8rem; height: 72.8rem; }
.deco-h2 { left: 122.1rem; top: -3.6rem; width: 43.7rem; height: 43.7rem; }
.howto-in { position: relative; z-index: 1; width: 100%; max-width: 120rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6rem; }
.howto h2, .features h2, .shots h2, .contact h2 { font-size: 4.8rem; line-height: 5.6rem; font-weight: 700; }
.howto-row { display: flex; align-items: flex-start; gap: 6.4rem; width: 100%; }
.howto-img { flex: 0 0 auto; width: 53.7rem; height: auto; }
.howto-text { flex: 0 0 auto; width: 61.3rem; font-size: 2.4rem; line-height: 3.2rem; font-weight: 300; }
.howto-text p + p { margin-top: 3.2rem; }
.howto-text b { font-weight: 700; }
@media (max-width: 1024px) {
  .howto { padding: 8rem 4rem; }
  .deco-h1 { left: -20rem; }
  .deco-h2 { left: 70rem; }
  .howto-row { flex-direction: column; align-items: center; gap: 4rem; }
  .howto-img { width: 100%; max-width: 53.7rem; }
  .howto-text { width: 100%; max-width: 70rem; }
}
@media (max-width: 640px) {
  .howto { padding: 6rem 2rem; }
  .howto-in { gap: 4rem; }
  .howto h2 { font-size: 4rem; line-height: 4.8rem; }
  .howto-row { gap: 3.2rem; }
  .howto-text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.8rem; max-width: none; }
  .howto-img { max-width: none; }
  .deco-h1 { left: -25rem; top: 46.8rem; width: 47rem; height: 47rem; }
  .deco-h2 { left: 21.5rem; top: .8rem; width: 26.9rem; height: 26.9rem; }
}
/* /stp:how-to-play */
/* stp:features */
.features { padding: 10rem 0; }
.deco-f1 { left: 62.6rem; top: -.4rem; width: 62.5rem; height: 62.5rem; }
.deco-f2 { left: 104.5rem; top: 34rem; width: 54rem; height: 54rem; }
.features-in { position: relative; z-index: 1; padding-left: 13.4rem; width: 58.8rem; }
.features-list { display: flex; flex-direction: column; gap: 2.4rem; margin-top: 6rem; }
.features-list li { display: flex; align-items: center; gap: 2rem; }
.features-list img { flex: 0 0 auto; width: 9.2rem; height: 9.2rem; border-radius: 1.6rem; }
.features-list span { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.8rem; }
.features-phone { position: absolute; z-index: 1; left: 91.7rem; top: 6.7rem; width: 40.1rem; height: 71.6rem; border: .4rem solid var(--blue); border-radius: 3.5rem; object-fit: cover; }
@media (max-width: 1024px) {
  .features { padding: 8rem 4rem; }
  .features-in { width: 100%; max-width: 50rem; margin: 0 auto; padding-left: 0; }
  .features-phone { position: relative; left: auto; top: auto; margin: 5rem auto 0; width: 31rem; height: 55.3rem; }
  .deco-f1 { left: 40rem; }
  .deco-f2 { left: 60rem; }
}
@media (max-width: 640px) {
  .features { padding: 6rem 2rem; }
  .features-in { max-width: none; }
  .features h2 { font-size: 4rem; line-height: 4.8rem; text-align: center; }
  .features-list { margin-top: 4.1rem; }
  .features-list span { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 2.4rem; }
  .features-phone { margin-top: 2.4rem; width: 31rem; height: 55.2rem; }
  .deco-f1 { left: -17.2rem; top: 67.7rem; width: 41.9rem; height: 41.9rem; }
  .deco-f2 { left: 10.9rem; top: 90.8rem; width: 36.2rem; height: 36.2rem; }
}
/* /stp:features */
/* stp:screenshots */
.shots { padding: 10rem 0; }
.deco-s1 { left: -6.8rem; top: 21.3rem; width: 62.5rem; height: 62.5rem; }
.deco-s2 { left: 64rem; top: 73.1rem; width: 89.7rem; height: 89.7rem; }
.shots-in { position: relative; z-index: 1; width: 100%; max-width: 105.8rem; margin: 0 auto; }
.shots-head { display: flex; flex-direction: column; align-items: center; gap: 6rem; text-align: center; margin-bottom: 4rem; }
.shots-head p { max-width: 102.6rem; font-size: 2.4rem; line-height: 3.2rem; }
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.shots-grid img { width: 100%; aspect-ratio: 337 / 599; object-fit: cover; border: .4rem solid var(--blue); border-radius: 2rem; }
@media (max-width: 1024px) {
  .shots { padding: 8rem 4rem; }
  .shots-grid { gap: 1.6rem; }
  .deco-s2 { left: 40rem; }
}
@media (max-width: 640px) {
  .shots { padding: 6rem 0; }
  .shots-head { gap: 4rem; padding: 0 2.1rem; margin-bottom: 4rem; }
  .shots h2 { font-size: 4rem; line-height: 4.8rem; }
  .shots-head p { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 2.8rem; }
  .shots-grid { display: flex; gap: 2.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2rem; padding: 0 2rem; scrollbar-width: none; }
  .shots-grid::-webkit-scrollbar { display: none; }
  .shots-grid li { flex: 0 0 33.5rem; scroll-snap-align: center; }
  .shots-grid img { width: 33.5rem; height: 59.6rem; aspect-ratio: auto; }
  .deco-s1 { left: -30.4rem; top: 21.1rem; width: 62.5rem; height: 62.5rem; }
  .deco-s2 { left: 17.3rem; top: 23.5rem; width: 89.7rem; height: 89.7rem; }
}
/* /stp:screenshots */
/* stp:contact */
.contact { padding: 10rem 0; }
.deco-c1 { left: 102.5rem; top: 31.1rem; width: 47.9rem; height: 47.9rem; }
.deco-c2 { left: 40.1rem; top: -19.7rem; width: 47.9rem; height: 47.9rem; }
.contact-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 4rem; width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 8rem; }
.contact-text { flex: 0 0 53.7rem; display: flex; flex-direction: column; align-items: flex-start; }
.contact-text p { margin-top: 6rem; font-size: 2.4rem; line-height: 3.2rem; font-weight: 300; }
.contact-mail { margin-top: 3.2rem; display: flex; align-items: center; justify-content: center; padding: 1.2rem 2.4rem; background: var(--pill-bg); border: 1px solid var(--blue); border-radius: 2rem; font-size: 2.4rem; line-height: 3.2rem; }
.contact-mail:hover { background: var(--blue); border-color: var(--white); }
.contact-img { flex: 0 0 auto; width: 70.3rem; height: 45.1rem; object-fit: cover; border: 1px solid var(--blue); border-radius: 2rem; }
@media (max-width: 1024px) {
  .contact { padding: 8rem 4rem; }
  .contact-in { flex-direction: column; align-items: flex-start; gap: 4rem; padding: 0; }
  .contact-text { flex: none; width: 100%; max-width: 70rem; }
  .contact-img { width: 100%; max-width: 70.3rem; height: auto; aspect-ratio: 703 / 451; }
  .deco-c1 { left: 70rem; }
  .deco-c2 { left: 20rem; }
}
@media (max-width: 640px) {
  .contact { padding: 6rem 2rem; }
  .contact-in { gap: 4rem; }
  .contact-text p { margin-top: 6rem; font-size: 2rem; line-height: 2.4rem; }
  .contact h2 { font-size: 4rem; line-height: 4.8rem; }
  .contact-mail { width: 100%; padding: 1.2rem 2.4rem; font-size: 2rem; line-height: 2.8rem; }
  .contact-img { max-width: none; height: auto; aspect-ratio: 335 / 215; }
  .deco-c1 { left: 8.5rem; top: 50.6rem; width: 47.9rem; height: 47.9rem; }
  .deco-c2 { left: 11.6rem; top: -14.5rem; width: 27.2rem; height: 27.2rem; }
}
/* /stp:contact */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 7.5rem; }
.legal-page { padding: 8rem 8.8rem; }
.legal-content { max-width: 128rem; margin: 0 auto; font-size: 2.4rem; line-height: 3.2rem; font-weight: 300; }
.legal-content h1 { font-size: 3.2rem; line-height: 4rem; font-weight: 700; text-align: center; margin-bottom: 6rem; }
.legal-content h2, .legal-content h3, .legal-content h4 { font-size: 2.4rem; line-height: 3.2rem; font-weight: 700; }
.legal-content p, .legal-content ul, .legal-content ol { margin-top: 0; margin-bottom: 3.2rem; }
.legal-content ul { list-style: disc; padding-left: 3.2rem; }
.legal-content ol { list-style: decimal; padding-left: 3.2rem; }
.legal-content li { margin-bottom: .8rem; }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content a:hover { color: var(--accent); }
@media (max-width: 1024px) { .legal-page { padding: 6rem 4rem; } }
@media (max-width: 640px) {
  .legal-page { padding: 6rem 2rem; }
  .legal-content h1 { margin-bottom: 4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .ta-w { display: inline-block; white-space: nowrap; }
.anim-on .ta-hero .ta-l { display: inline-block; clip-path: polygon(-10% -20%, 35% -20%, 35% -20%, 35% -20%, 35% -20%, -10% -20%); color: var(--accent); }
.anim-on .ta-hero.is-in .ta-l { animation: ta-trace .9s cubic-bezier(.65, 0, .35, 1) both, ta-cool 1.3s ease-out both; animation-delay: calc(var(--i) * .035s); }
.anim-on .ta-hero .ta-key { background-image: linear-gradient(90deg, transparent 0%, transparent 40%, var(--accent) 48%, #fff 50%, var(--accent) 52%, transparent 60%, transparent 100%); background-size: 300% .3rem; background-repeat: no-repeat; background-position: 150% 100%; }
.anim-on .ta-hero.is-done .ta-key { animation: ta-spark 6s cubic-bezier(.45, 0, .55, 1) 1s infinite; }
@keyframes ta-trace {
  0% { clip-path: polygon(-10% -20%, 35% -20%, 35% -20%, 35% -20%, 35% -20%, -10% -20%); }
  35% { clip-path: polygon(-10% -20%, 35% -20%, 35% 65%, 35% 65%, 35% 120%, -10% 120%); }
  65% { clip-path: polygon(-10% -20%, 35% -20%, 35% 65%, 110% 65%, 110% 120%, -10% 120%); }
  100% { clip-path: polygon(-10% -20%, 110% -20%, 110% 65%, 110% 65%, 110% 120%, -10% 120%); }
}
@keyframes ta-cool {
  0% { color: var(--accent); filter: drop-shadow(0 0 .6rem var(--accent)) brightness(1.3); }
  55% { color: var(--accent); filter: drop-shadow(0 0 .4rem var(--accent)) brightness(1.1); }
  100% { color: var(--white); filter: drop-shadow(0 0 0 transparent) brightness(1); }
}
@keyframes ta-spark {
  0% { background-position: 150% 100%; }
  22% { background-position: -50% 100%; }
  100% { background-position: -50% 100%; }
}
.anim-on .ta-sec .ta-w { clip-path: inset(0 100% 0 0); color: var(--blue); transform: translateY(.8rem); }
.anim-on .ta-sec.is-in .ta-w { animation: ta-tile .7s steps(5, end) both, ta-rise .7s cubic-bezier(.2, .8, .2, 1) both, ta-wire 1.2s ease-out both; animation-delay: calc(var(--i) * .14s); }
@keyframes ta-tile { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ta-rise { from { transform: translateY(.8rem); } to { transform: none; } }
@keyframes ta-wire {
  0% { color: var(--blue); filter: drop-shadow(0 0 .5rem var(--blue)); }
  50% { color: var(--accent); filter: drop-shadow(0 0 .5rem var(--accent)); }
  100% { color: var(--white); filter: drop-shadow(0 0 0 transparent); }
}
@media (max-width: 640px) {
  .anim-on .ta-hero.is-in .ta-l { animation-duration: .75s, 1.1s; animation-delay: calc(var(--i) * .028s); }
  .anim-on .ta-sec .ta-w { transform: translateY(.5rem); }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: .6s, .6s, 1s; animation-delay: calc(var(--i) * .1s); }
  @keyframes ta-rise { from { transform: translateY(.5rem); } to { transform: none; } }
}
/* /stp:title-anim */
