/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Nunito+Sans:wght@400&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');

:root {
  --txt1: #1e2a3f;
  --txt2: #5c5b63;
  --txt3: #374158;
  --bg1: #f7f2f0;
  --bg2: #e1d4d9;
  --bg: #f7f2f0;
  --accent1: #ceab83;
  --extra: #b48c9c;
  --font-text: 'Inter', sans-serif;
  --font-title: 'Playfair Display', serif;
  --font-name: 'Nunito Sans', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; font-family: var(--font-text); color: var(--txt1); font-weight: 400; line-height: 1.5; letter-spacing: -0.04em; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

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

p, a, summary, li, button { letter-spacing: -0.04em; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg1); }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

#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; transition: box-shadow 0.3s ease-in-out; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(92, 91, 99, 0.2); }

#mobile-menu { position: fixed; top: 4rem; left: 0; width: 100%; bottom: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 3.2rem 1.6rem; background: var(--bg1); opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in-out; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }

.burger-btn { display: none; position: relative; width: 2.4rem; height: 2.4rem; padding: 0; background: transparent; border: 0; z-index: 110; }
.burger-btn span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1px; margin-left: -0.55rem; background: var(--txt2); transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; }
.burger-btn span:nth-child(1) { transform: translateY(-0.35rem); }
.burger-btn span:nth-child(3) { transform: translateY(0.35rem); }
.burger-btn.act span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger-btn.act span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }

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

.sep { display: flex; align-items: center; justify-content: space-between; gap: 3.2rem; height: 12.8rem; padding-right: 8rem; background: var(--bg2); }
.sep__name { align-self: stretch; flex: 0 0 49.1rem; padding: 8rem 0 2.4rem 8rem; background: var(--extra); color: var(--bg1); font-size: clamp(14px, 1.6rem, 1.6rem); text-transform: uppercase; white-space: nowrap; }
.sep__icon { flex: 0 0 auto; width: 4rem; height: 4rem; }

.container { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 8rem; }

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

@media (max-width: 640px) {
  .burger-btn { display: block; }
  .container { padding: 0 1.6rem; }
  .sep { gap: 3.2rem; padding-right: 2rem; }
  .sep__name { flex: 0 0 18rem; padding: 8rem 0 2.4rem 2rem; }
}
/* /stp:base */
/* stp:header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; height: 5.8rem; padding: 1.2rem 8rem; background: var(--bg2); -webkit-backdrop-filter: blur(0.4rem); backdrop-filter: blur(0.4rem); }
.header__logo { display: block; width: 3.2rem; height: 3.2rem; border-radius: 0.4rem; overflow: hidden; transition: opacity 0.3s ease-in-out; }
.header__logo:hover { opacity: 0.8; }
.header__logo img { width: 100%; height: 100%; object-fit: cover; }
.header__nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { display: flex; align-items: center; justify-content: center; padding: 0.8rem 1.2rem; color: var(--txt1); font-size: clamp(12px, 1.2rem, 1.2rem); opacity: 0.5; transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out; }
.nav-link.active { opacity: 1; }
.nav-link:hover { opacity: 1; color: var(--extra); }

@media (max-width: 640px) {
  .header { height: 4rem; padding: 0.8rem 1.6rem; background: var(--bg1); }
  .header__logo { width: 2.4rem; height: 2.4rem; }
  .header__nav { display: none; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu .nav-link { width: 20rem; height: 4rem; padding: 0.8rem 0; font-size: clamp(14px, 1.6rem, 1.6rem); }
/* /stp:menu */
/* stp:hero */
.hero { position: relative; height: 90rem; overflow: hidden; background: var(--bg1); }
.hero__brand { position: absolute; z-index: 2; top: 14.2rem; left: 8rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; width: 32.6rem; }
.hero__logo { width: 32.6rem; height: 8.8rem; }
.hero__tagline { width: 100%; color: var(--extra); font-size: clamp(12px, 1.2rem, 1.2rem); line-height: normal; letter-spacing: 0.12em; text-align: center; text-transform: uppercase; }
.hero__pic { position: absolute; z-index: 1; top: 5.8rem; bottom: 0; left: 49.1rem; right: 0; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: left center; max-width: none; }
.hero__headline { position: absolute; bottom: 0; left: 0; width: 100%; height: 59.5rem; display: flex; align-items: flex-start; gap: 2.4rem; padding: 12rem 8rem; background: var(--bg2); }
.hero__sparkle { flex: 0 0 auto; width: 4rem; height: 4rem; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 3.2rem; }
.hero h1 { font-family: var(--font-title); font-size: 8rem; font-weight: 400; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.hero__text p { width: 34.1rem; font-size: clamp(14px, 1.6rem, 1.6rem); }

@media (max-width: 640px) {
  .hero { height: auto; padding-top: 4rem; display: flex; flex-direction: column; }
  .hero__brand { position: static; align-self: center; margin-bottom: 1.1rem; }
  .hero__pic { position: static; width: 100%; aspect-ratio: 375 / 243; }
  .hero__headline { position: static; height: auto; padding: 4.8rem 2.1rem 6.4rem; gap: 1.2rem; }
  .hero__text { gap: 3.2rem; width: 28.1rem; }
  .hero h1 { font-size: 6.4rem; }
  .hero__text p { width: 100%; }
}
/* /stp:hero */
/* stp:about */
.about { padding-bottom: 8rem; }
.about__row { display: flex; align-items: center; justify-content: center; gap: 4.8rem; margin-top: 9.6rem; }
.about h2 { flex: 0 0 58.1rem; color: var(--txt2); font-family: var(--font-title); font-size: 6.4rem; font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: capitalize; }
.about__row p { flex: 0 1 65.1rem; font-size: clamp(14px, 1.6rem, 1.6rem); }

@media (max-width: 1024px) {
  .about__row { flex-direction: column; align-items: flex-start; gap: 3.2rem; }
  .about h2 { flex: 0 0 auto; font-size: 5.2rem; }
  .about__row p { flex: 0 0 auto; width: 100%; }
}

@media (max-width: 640px) {
  .about__row { gap: 4.8rem; margin-top: 8rem; }
  .about h2 { font-size: 4rem; }
}
/* /stp:about */
/* stp:how-to-play */
.play { padding-bottom: 8rem; }
.play__title { margin-top: 8rem; color: var(--txt2); font-family: var(--font-title); font-size: 4rem; font-weight: 400; letter-spacing: 0; text-align: center; text-transform: capitalize; }
.play__cards { display: flex; flex-direction: column; gap: 4.8rem; margin-top: 5.6rem; }
.play__row { display: grid; gap: 2.4rem; }
.play__row--top { grid-template-columns: 33.7fr 55.9fr 33.7fr; }
.play__row--bottom { grid-template-columns: 53.7fr 71.9fr; }
.card { display: flex; flex-direction: column; gap: 2.4rem; min-width: 0; }
.card img { width: 100%; height: auto; border: 1px solid var(--txt2); border-radius: 0.4rem; box-shadow: 0 0.2rem 0.8rem rgba(92, 91, 99, 0.8); }
.card--1 img, .card--3 img { aspect-ratio: 336 / 403; }
.card--2 img { aspect-ratio: 558 / 403; }
.card--4 img { aspect-ratio: 537 / 363; }
.card--5 img { aspect-ratio: 719 / 363; }
.card__txt { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.card h3 { color: var(--txt1); font-family: var(--font-title); font-size: 2.4rem; font-weight: 400; letter-spacing: 0; text-transform: capitalize; }
.card__txt p { color: var(--txt2); font-size: clamp(12px, 1.2rem, 1.2rem); }

@media (max-width: 640px) {
  .play__title { margin-top: 8rem; font-size: 3.6rem; text-align: left; }
  .play__cards { padding: 0 0.5rem; gap: 2.4rem; }
  .play__row { grid-template-columns: 1fr; gap: 2.4rem; }
  .play__row--top, .play__row--bottom { grid-template-columns: 1fr; }
}
/* /stp:how-to-play */
/* stp:reviews */
.reviews { padding-bottom: 8rem; }
.reviews h2 { margin-top: 8rem; color: var(--txt2); font-family: var(--font-title); font-size: 6.4rem; font-style: italic; font-weight: 400; letter-spacing: 0; text-align: center; text-transform: capitalize; }
.reviews__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.4rem; max-width: 117.8rem; margin: 5.6rem auto 0; list-style: none; }
.review { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 1.6rem; border-radius: 0.4rem; background: rgba(225, 212, 217, 0.3); box-shadow: 0 0.2rem 0.2rem rgba(92, 91, 99, 0.3); }
.review--wide { grid-column: span 3; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 5.5rem; }
.review__name { color: var(--txt2); font-family: var(--font-name); font-size: clamp(14px, 1.4rem, 1.4rem); line-height: 1.3; }
.review__stars { flex: 0 0 auto; width: 7rem; height: 1.4rem; background: url('../img/star.webp') 0 0 / 1.4rem 1.4rem repeat-x; }
.review__stars--4 { width: 5.6rem; }
.review p { font-size: clamp(14px, 1.6rem, 1.6rem); }

@media (max-width: 1024px) {
  .reviews h2 { font-size: 5.2rem; }
  .reviews__list { grid-template-columns: repeat(2, 1fr); }
  .review, .review--wide { grid-column: span 1; }
  .review:last-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  .reviews h2 { padding: 0 3.2rem; font-size: 4rem; text-align: left; }
  .reviews__list { grid-template-columns: 1fr; padding: 0 0.5rem; }
  .review, .review--wide, .review:last-child { grid-column: span 1; }
}
/* /stp:reviews */
/* stp:faq */
.faq { padding-bottom: 8rem; }
.faq h2 { margin-top: 8rem; color: var(--txt2); font-family: var(--font-title); font-size: 4rem; font-weight: 400; letter-spacing: 0; text-align: center; text-transform: capitalize; }
.faq__list { display: flex; flex-direction: column; gap: 3.2rem; max-width: 79rem; margin: 5.6rem auto 0; }
.faq__item { padding: 0 1.2rem; }
.faq__item summary { display: flex; align-items: center; gap: 2.4rem; padding: 0.8rem 0 0.7rem; border-bottom: 1px solid var(--accent1); color: var(--txt2); font-size: 2.4rem; letter-spacing: -0.04rem; cursor: pointer; transition: color 0.3s ease-in-out; }
.faq__item summary:hover { color: var(--txt1); }
.faq__item summary span { flex: 1 1 auto; }
.faq__icon { flex: 0 0 2.4rem; width: 2.4rem; height: 2.4rem; transition: transform 0.3s ease-in-out; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item p { margin-top: 1.6rem; color: var(--txt3); font-size: clamp(14px, 1.6rem, 1.6rem); }

@media (max-width: 640px) {
  .faq h2 { font-size: 3.6rem; }
}
/* /stp:faq */
/* stp:contact */
.contact__body { display: flex; align-items: flex-start; }
.contact__text { display: flex; flex: 0 0 49.1rem; flex-direction: column; gap: 4rem; padding: 18.4rem 0 9.9rem 8.8rem; }
.contact h2 { color: var(--txt2); font-family: var(--font-title); font-size: 4.1rem; font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: capitalize; }
.contact__mail { display: flex; align-items: center; gap: 2.4rem; color: var(--txt1); font-size: 2.4rem; transition: color 0.3s ease-in-out; }
.contact__mail:hover { color: var(--extra); }
.contact__mail img { flex: 0 0 auto; width: 4rem; height: 4rem; }
.contact__pic { display: block; flex: 1 1 0; min-width: 0; height: 54.9rem; }
.contact__pic img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .contact__body { flex-direction: column; align-items: stretch; }
  .contact__text { flex: 0 0 auto; padding: 8rem 2.1rem 3.2rem 2.9rem; }
  .contact h2 { font-size: 4rem; }
  .contact__pic { flex: 0 0 auto; height: auto; aspect-ratio: 375 / 286; }
}
/* /stp:contact */
/* stp:footer */
.footer { padding: 7.9rem 0 8rem; border-top: 1px solid var(--accent1); background: var(--bg1); }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.6rem; }
.footer__copy { font-size: clamp(14px, 1.6rem, 1.6rem); white-space: nowrap; }
.footer__logo { display: block; width: 31.6rem; height: 8.5rem; transition: opacity 0.3s ease-in-out; }
.footer__logo:hover { opacity: 0.8; }
.footer__logo img { width: 100%; height: 100%; }
.footer__links { display: flex; align-items: center; justify-content: space-between; gap: 6.4rem; justify-self: end; width: 34rem; padding: 0 1.6rem; font-size: clamp(14px, 1.6rem, 1.6rem); }
.footer__links a { text-decoration: underline; text-underline-position: from-font; white-space: nowrap; transition: color 0.3s ease-in-out; }
.footer__links a:hover { color: var(--extra); }

@media (max-width: 1024px) {
  .footer__row { display: flex; flex-direction: column; justify-content: center; gap: 3.2rem; }
  .footer__copy { order: 3; text-align: center; }
  .footer__logo { order: 1; }
  .footer__links { order: 2; justify-self: auto; width: 30.5rem; padding: 0; }
}

@media (max-width: 640px) {
  .footer__links { font-family: var(--font-name); }
}
/* /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 { display: block; height: auto; padding: 5.6rem 12rem 1.6rem; background: var(--bg1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.back-link { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--txt2); font-size: clamp(14px, 1.8rem, 1.8rem); transition: color 0.3s ease-in-out; }
.back-link:hover { color: var(--extra); }
.back-link img { width: 2.4rem; height: 2.4rem; }
.legal-page { padding: 8rem 0; }
.legal-content { width: 100%; max-width: 99.5rem; margin: 0 auto; color: var(--txt2); }
.legal-content > * + * { margin-top: 1.6rem; }
.legal-content h1 { margin: 0 0 5.6rem -10.3rem; font-family: var(--font-title); font-size: 5.6rem; font-style: italic; font-weight: 400; line-height: 1.3; letter-spacing: 0; text-transform: capitalize; }
.legal-content h2 { margin-top: 2.4rem; font-size: 2.4rem; text-transform: uppercase; }
.legal-content h3 { margin-top: 2.4rem; font-size: 2rem; }
.legal-content h4 { font-size: clamp(14px, 1.6rem, 1.6rem); }
.legal-content h2, .legal-content h3, .legal-content h4 { font-weight: 400; }
.legal-content p, .legal-content li { font-size: clamp(14px, 1.4rem, 1.4rem); }
.legal-content ul, .legal-content ol { padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li + li { margin-top: 0.8rem; }
.legal-content a { text-decoration: underline; transition: color 0.3s ease-in-out; }
.legal-content a:hover { color: var(--extra); }
.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 { padding: 5.6rem 4rem 1.6rem; }
  .legal-content { padding: 0 4rem; }
  .legal-content h1 { margin-left: 0; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 5.6rem; }
  .header--legal { padding: 3.2rem 1.6rem 1.6rem; }
  .legal-page { padding: 6.4rem 0 8rem; }
  .legal-content { padding: 0 1.6rem; }
  .legal-content h1 { margin-bottom: 5.6rem; font-size: 4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-l { display: inline-block; }
.anim-on .ta-hero .ta-l { opacity: 0; animation: ta-wake 1.3s cubic-bezier(0.25, 0.7, 0.3, 1) calc(0.9s + var(--i) * 0.07s) both; }
.anim-on .ta-hero .ta-loop .ta-l { animation: ta-wake 1.3s cubic-bezier(0.25, 0.7, 0.3, 1) calc(0.9s + var(--i) * 0.07s) both, ta-lull 7s ease-in-out calc(4.6s + var(--j) * 0.09s) infinite; }
.anim-on .ta-sec .ta-w { opacity: 0; }
.anim-on .ta-sec.is-in .ta-w { animation: ta-blink 1.1s cubic-bezier(0.25, 0.7, 0.3, 1) calc(var(--i) * 0.12s) both; }

@keyframes ta-wake {
  0% { opacity: 0; clip-path: inset(50% -30% 50% -30%); filter: blur(0.6rem) drop-shadow(0 0 0 rgba(206, 171, 131, 0)); color: var(--extra); transform: translateY(0.6rem); }
  45% { opacity: 1; clip-path: inset(-30% -30% -30% -30%); filter: blur(0.1rem) drop-shadow(0 0 0.8rem rgba(206, 171, 131, 0.9)); color: var(--accent1); transform: translateY(-0.2rem); }
  100% { opacity: 1; clip-path: inset(-30% -30% -30% -30%); filter: blur(0) drop-shadow(0 0 0 rgba(206, 171, 131, 0)); transform: translateY(0); }
}
@keyframes ta-lull {
  0%, 16%, 100% { transform: translateY(0); }
  8% { transform: translateY(-0.5rem); color: var(--extra); }
}
@keyframes ta-blink {
  0% { opacity: 0; clip-path: inset(50% -20% 50% -20%); filter: blur(0.4rem); color: var(--extra); transform: translateY(0.6rem); }
  55% { opacity: 1; clip-path: inset(-30% -20% -30% -20%); filter: blur(0.05rem); color: var(--extra); }
  100% { opacity: 1; clip-path: inset(-30% -20% -30% -20%); filter: blur(0); transform: translateY(0); }
}

@media (max-width: 640px) {
  .anim-on .ta-hero .ta-l { animation-duration: 1s; }
  .anim-on .ta-hero .ta-loop .ta-l { animation-duration: 1s, 7s; }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.8s; }
  @keyframes ta-wake {
    0% { opacity: 0; clip-path: inset(50% -30% 50% -30%); filter: blur(0.4rem) drop-shadow(0 0 0 rgba(206, 171, 131, 0)); color: var(--extra); transform: translateY(0.3rem); }
    45% { opacity: 1; clip-path: inset(-30% -30% -30% -30%); filter: blur(0.1rem) drop-shadow(0 0 0.6rem rgba(206, 171, 131, 0.9)); color: var(--accent1); transform: translateY(-0.1rem); }
    100% { opacity: 1; clip-path: inset(-30% -30% -30% -30%); filter: blur(0) drop-shadow(0 0 0 rgba(206, 171, 131, 0)); transform: translateY(0); }
  }
  @keyframes ta-blink {
    0% { opacity: 0; clip-path: inset(50% -20% 50% -20%); filter: blur(0.3rem); color: var(--extra); transform: translateY(0.3rem); }
    55% { opacity: 1; clip-path: inset(-30% -20% -30% -20%); filter: blur(0.05rem); color: var(--extra); }
    100% { opacity: 1; clip-path: inset(-30% -20% -30% -20%); filter: blur(0); transform: translateY(0); }
  }
}
/* /stp:title-anim */
