@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;700&family=Outfit:wght@700;800&display=swap");
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
a, a:link, a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
aside, nav, footer, header, section, main {
  display: block;
}
h1, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}
ul, ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
img, svg {
  max-width: 100%;
  height: auto;
}
address {
  font-style: normal;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}
input::-ms-clear {
  display: none;
}
button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}
input:focus, input:active,
button:focus, button:active {
  outline: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
label {
  cursor: pointer;
}
legend {
  display: block;
}

/*------------base-styles---------------*/
:root {
  --black:#000000;
  --forest:#89C147;
  --forest-hover: rgba(137, 193, 71, 0.8);
  --coin:#f5be0d;
  --coin-hover: rgba(245, 190, 13, 0.8);
  --accent-red:#C52A12;
  --white: #ffffff;

  --font-body: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/**/
html {
  scroll-behavior: smooth;
}

.game-theme{font-family:var(--font-body);background:var(--white);color:var(--black);margin:0;padding:0;box-sizing:border-box}
.pyh-container{max-width:1200px;margin:0 auto;padding:0 20px}

.game-theme h1, .game-theme h2, .game-theme h3, .game-theme h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white)
}

.game-theme h1 {
  font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
  line-height: 1.2
}

.game-theme h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.3
}

.game-theme h3 {
  font-size: 1.375rem;
  line-height: 1.4
}

.game-theme p {
  font-size: clamp(1rem, 0.95rem + 0.28vw, 1.18rem);
  line-height: 1.65;
  margin-bottom: 1rem
}

.game-theme .pyh-section__heading{font-family:var(--font-head);font-weight:800;color:var(--forest);display:flex;align-items:center;gap:10px;margin-bottom:1.5rem;position:relative}

.game-theme .pyh-icon{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:32px;display:inline-block;line-height:1;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;color:var(--forest)}

.button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 15px;
  transition: transform .15s ease, background .2s ease;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px)
}

.button--coin {
  background: var(--coin);
  color: var(--black)
}

.button--coin:hover {
  background: var(--coin-hover)
}

.button--forest {
  background: var(--forest);
  color: var(--black)
}

.button--forest:hover {
  background: var(--forest-hover)
}

.button--outline {
  background: transparent;
  border: 2px solid var(--coin);
  color: var(--black)
}

.button--outline:hover {
  background: var(--coin-hover)
}

.badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--black);
  font-weight: 700
}

.badge--coin {
  background: var(--coin);
  color: var(--black)
}

.badge--forest {
  background: var(--forest);
  color: var(--black)
}

.panel-wood {
  background: var(--coin);
  border-radius: 24px;
}

.input {
  width: 100%;
  padding: .6rem .8rem;
  border-radius: 14px;
  background: var(--white);
}

.input:focus {
  outline: 2px solid var(--forest);
  outline-offset: 2px
}

.header-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--coin);
  border: 1px solid var(--black);
  font-weight: 700
}

/**/
.game-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffa1;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid color-mix(in oklab, var(--black) 12%, var(--white))
}

.game-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black)
}

.brand__logo {
  width: clamp(2.8125rem, 2.4554rem + 1.7857vw, 4.0625rem);
  height: clamp(2.8125rem, 2.4554rem + 1.7857vw, 4.0625rem);
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .3px;
  font-size: clamp(1rem, 0.9286rem + 0.3571vw, 1.25rem);
}

.cta-play {
  padding: 12px 24px
}

.disclaimer {
  background: var(--forest-hover);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 0;
}

.disclaimer__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px
}

.disclaimer__icon {
  width: 35px;
  height: 35px;
  flex: 0 0 22px
}

.disclaimer__text {
  font-size: .95rem;
  line-height: 1.4;
  color: var(--black)
}
@media (max-width: 768px) {
  .cta-play {
    padding: 10px 18px;
  }
  .button {
    font-size: 14px;
  }
}
/**/
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: url('/assets/img/hero-bg.webp') center/cover no-repeat;
  animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
  0% {
    background-position: center top;
  }
  50% {
    background-position: center bottom;
  }
  100% {
    background-position: center top;
  }
}


.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1.5s ease-out both;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5714rem + 2.1429vw, 3.5rem);
  color: var(--coin);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.9vw + 0.5rem, 1.5rem);
  margin-bottom: 2rem;
  color: var(--white);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero__btn-link {
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero__btn-image {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.hero__btn-link:hover .hero__btn-image {
  transform: scale(1.05);
}

@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
/**/
.adventure {
  background: linear-gradient(180deg, #f9ffe8 0%, #fffbe5 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.adventure__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.adventure__panel {
  padding: 30px;
  text-align: center;
  animation: fadeInUp 1.5s ease-out both;
  background: url('/assets/img/panel-wood.webp') center/cover no-repeat;
  border-radius: 20px;
}

.adventure__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 1.5vw + 1rem, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.adventure__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.adventure__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-weight: 600;
  font-size: 1rem;
}

.adventure__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-align: center;
  gap: 8px;
}

.adventure__icon {
  width: 32px;
  height: 32px;
  display: block;
  filter: brightness(0) invert(1);
}

.adventure__cta {
  display: inline-block;
  animation: pulse 2.5s infinite;
}

.adventure__demo {
  background: #fff;
  border: 3px solid var(--forest);
  border-radius: 20px;
  padding: 10px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: float 6s ease-in-out infinite;
}

.adventure__demo-img {
  width: 100%;
  border-radius: 12px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 1024px) {
  .adventure__wrap {
    gap: 20px;
  }
  .adventure__panel {
    padding: 20px;
  }
  .adventure__features {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .adventure__wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .adventure__right {
    margin-top: 30px;
  }
  .adventure__features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .adventure__demo {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .adventure {
    padding: 40px 0;
  }
  .adventure__title {
    font-size: 1.5rem;
  }
  .adventure__text {
    font-size: 0.95rem;
  }
  .adventure__icon {
    width: 24px;
    height: 24px;
  }
  .hero__btn-image {
    height: 70px;
  }
}
/**/
.cta-spill{
  position:relative;
  overflow:hidden;
  padding:64px 0;
}

.cta-spill::before,
.cta-spill::after{
  content:"";
  position:absolute;
  inset:-20%;
  background:
          radial-gradient(120px 120px at 12% 18%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 70%),
          radial-gradient(90px 90px at 86% 28%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 70%),
          radial-gradient(70px 70px at 30% 70%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 70%);
  animation: ctaSparkle 14s linear infinite;
  pointer-events:none;
}
.cta-spill::after{ animation-delay:-7s; opacity:.7; }
@keyframes ctaSparkle{ 0%{transform:translateY(0)} 50%{transform:translateY(10px)} 100%{transform:translateY(0)} }

.cta-spill__title{
  font-family:var(--font-head);
  color:var(--black);
  text-align:center;
  font-size:clamp(1.75rem,1.1rem + 2.2vw,2.75rem);
  margin:0 0 8px;
}
.cta-spill__subtitle{
  font-family:var(--font-body);
  color:var(--forest);
  text-align:center;
  font-weight:700;
  font-size:clamp(1.05rem,.8rem + 1vw,1.5rem);
  margin:0 0 24px;
}

.cta-spill__figure{ margin:0 0 16px; display:grid; place-items:center; }
.cta-spill__img{
  width:min(720px,100%);
  display:block;
}

.cta-spill__actions{ text-align:center; margin-top:8px; }
.cta-spill__btn{ display:inline-block; animation:pulse 2.4s infinite; }
.cta-spill__btn img{ height:140px; width:auto; display:block; transition:transform .25s ease; }
.cta-spill__btn:hover img{ transform:scale(1.05); }

@keyframes pulse{ 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }

@media (max-width: 900px){
  .cta-spill__img{ width:min(560px,100%); }
}
/**/
.footer-wood{
  position:relative;
  background:url('/assets/img/panel-wood.webp') center/cover no-repeat;
  color:var(--white);
  padding:48px 0 28px;
}
.footer-wood__overlay{
  position:absolute; inset:0; background: rgb(0 0 0 / 17%);
}
.footer-wood__inner{ position:relative; z-index:1; display:flex; flex-direction:column; gap:28px; }

.footer-wood__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.footer-wood__age {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-wood__row--top .footer-wood__age img{ width:48px; height:48px; display:block; border-radius:50%; flex-wrap: nowrap }
.footer-wood__disclaimer{ margin-left:auto; }
.footer-wood__disclaimer p{ margin:0 0 10px; }
.footer-wood__btn{ white-space:nowrap; }

.footer-wood__row--middle{ align-items:flex-start; }
.footer-wood__contacts{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  flex:1 1 48%;
}
.footer-wood__contact{ min-width:180px; }
.footer-wood__label{ font-weight:700; margin-bottom:2px; }

.footer-wood__links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items: end;
  flex:1 1 40%;
  min-width:240px;
}
.footer-wood__links a{ color:var(--white); text-decoration:none; }
.footer-wood__links a:hover{ text-decoration:underline; }

.footer-wood__row--copy{ justify-content:center; }
.footer-wood__copy{ text-align:center; opacity:.9; }

@media (max-width:1080px){
  .footer-wood__row { flex-wrap: wrap;}
}
@media (max-width:1024px){
  .footer-wood{ padding:40px 0 24px; }
  .footer-wood__contacts{ gap:16px; }
}
@media (max-width:768px){
  .footer-wood__row{ gap:20px; }
  .footer-wood__disclaimer{ max-width:100%; }
  .footer-wood__btn{ width:100%; text-align:center; }
  .footer-wood__row--middle{ flex-direction:column; }
}
@media (max-width:480px){
  .footer-wood__row{ gap:16px; }
  .footer-wood__row--top .footer-wood__age img{ width:44px; height:44px; }
  .footer-wood__contact{ min-width:unset; }
  .footer-wood__copy{ font-size:.9rem; }
}
/**/
.terms {
  padding: 60px 0;
  background: #fff;
}

.terms h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5vw + 1.2rem, 2.6rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--black);
}

.terms p small {
  display: block;
  text-align: center;
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.terms__section {
  margin-bottom: 2rem;
}

.terms__section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1vw + 1rem, 1.8rem);
  margin-bottom: 0.8rem;
  color: var(--forest);
}

.terms__section p {
  font-family: var(--font-body);
  line-height: 1.6;
}

.terms__list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.terms__list li {
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.terms__contact {
  font-style: normal;
  line-height: 1.6;
}

.terms__contact a {
  color: var(--forest);
  text-decoration: none;
}

.terms__contact a:hover {
  text-decoration: underline;
}

@media (max-width:768px) {
  .terms {
    padding: 40px 0;
  }
  .terms h1 {
    font-size: 1.8rem;
  }
  .terms__section h2 {
    font-size: 1.4rem;
  }
}
/**/
.contact {
  padding: 60px 0;
}
.contact__content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 2rem;
}

.contact__info {
  flex: 1 1 300px;
}
.contact__info h2, .contact__note h2 {
  color: var(--black);
}

.contact__info p {
  margin-bottom: 1rem;
}

.contact__form {
  flex: 1 1 300px;
}

.contact__form-group {
  margin-bottom: 1rem;
}

.contact__input,
.contact__textarea {
  background: rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.2s ease;
}

.contact__input:focus,
.contact__textarea:focus {
  box-shadow: 0 0 0 3px var(--forest);
}

.contact__submit {
  position: relative;
  width: 100%;
  justify-content: center;
}

.contact__submit-success {
  display: none;
}

.contact__submit.sent .contact__submit-text {
  display: none;
}

.contact__submit.sent .contact__submit-success {
  display: inline-block;
}

.contact__note {
  margin-top: 3rem;
  background: url(/assets/img/panel-wood.webp) center / cover no-repeat;
  padding: 24px;
  border-left: 5px solid var(--forest);
  border-radius: 10px;
}
/**/
.age-confirm {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.age-confirm__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.age-confirm__modal {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.age-confirm__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}

.age-confirm__modal h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.age-confirm__modal p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.8rem;
}

.age-confirm__btn {
  width: 100%;
  font-weight: 700;
}
