@font-face {
  font-family: Roboto Slab;
  src: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-fonts/ha3ac367f-joyreelgames-robotoslab_regular.woff2");
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-fonts/ha3ac367f-joyreelgames-montserrat_semibold.woff2");
  font-display: swap;
}

@font-face {
  font-family: Inter Display;
  src: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-fonts/ha3ac367f-joyreelgames-interdisplay_medium.woff2");
  font-display: swap;
}

@font-face {
  font-family: Kadwa;
  src: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-fonts/ha3ac367f-joyreelgames-kadwa_bold.woff2");
  font-display: swap;
}

  /* ===== Переменные ===== */
  :root {
    --container-width: 1240px;
    --container-step: 28px;
    --container-step-tablet: 26px;
    --container-step-mobile: 24px;
    --container: calc(var(--container-width) + (var(--container-step) * 2));
    --font-family: "Roboto Slab", sans-serif;
    --second-family: "Montserrat", sans-serif;
    --third-family: "Inter Display", sans-serif;
    --font7: "Kadwa", sans-serif;
    --bg: #0b0909;
    --text-white: #fff;
    --button: #d79c08;
    --text-gray: #dcdcdc;
    --stroke: #786752;
  }
  
  /* ===== Базовые ===== */
  body {
    margin: 0;
    background: var(--bg);
  }
  
  .ha3ac367f-joyreelgames-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-step);
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-wrap: wrap;
    box-sizing: border-box;
  }
  
  @media (max-width: 991px) {
    .ha3ac367f-joyreelgames-container {
      padding: 0 var(--container-step-tablet);
    }
  }
  
  @media (max-width: 600px) {
    .ha3ac367f-joyreelgames-container {
      padding: 0 var(--container-step-mobile);
    }
  }
  
  h1 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 102%;
    color: var(--text-white);
    margin: 0px;
  }
  
  h2 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 125%;
    text-align: center;
    color: var(--text-white);
    margin: 0px;
  }
  
  h3 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #f1f1f1;
    margin: 0px;
  }

  h4{
    font-family: var(--third-family);
    font-weight: 800;
    font-size: 16px;
    line-height: 137%;
    color: var(--text-white);
    margin: 0px;
  }
  
  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: var(--text-gray);
    margin: 0px;
  }
  
  ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }
  
  a {
    text-decoration: none;
    color: unset;
  }
  
  section {
    margin-bottom: 60px;
  }
  
  @media (max-width: 600px) {
    section {
      padding: 30px 0px;
    }
  }

  .ha3ac367f-joyreelgames-header{
    padding: 18px 0px;
    background: linear-gradient(180deg, #0b0909 0%, #0b0909 46.63%, #2c251b 100%);
  }

  .ha3ac367f-joyreelgames-header__container{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .ha3ac367f-joyreelgames-nav__list{
    flex-direction: row;
    gap: 32px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    text-align: center;
    color: var(--text-white);
  }

  .ha3ac367f-joyreelgames-header__btn{
    max-width: 181px;
    width: 100%;
    padding: 16px 0px;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    background: var(--button);
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #0f0f0f;
  }

  .ha3ac367f-joyreelgames-hero__content{
    width: 100%;
    border: 2px solid var(--stroke);
    border-radius: 30px;
    padding: 146.5px 0px;
    padding-left: 48px;
    box-sizing: border-box;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    background: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-img/ha3ac367f-joyreelgames-hero_bg.webp");
    background-size: cover;
    background-position: center;
    gap: 10px;
  }

  .ha3ac367f-joyreelgames-hero__text{
    max-width: 562px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ha3ac367f-joyreelgames-hero__btn{
    border-radius: 15px;
    padding: 16px 0px;
    background: var(--button);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 562px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #0f0f0f;
  }

  .ha3ac367f-joyreelgames-about__title{
    font-family: var(--font7);
    font-weight: 700;
    font-size: 40px;
    line-height: 125%;
    text-transform: capitalize;
    text-align: center;
    color: #e3e3e3;
  }

  .ha3ac367f-joyreelgames-about__content{
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .ha3ac367f-joyreelgames-about__img{
    flex: 1;
    min-width: 0px;
    max-width: 616px;
  }

  .ha3ac367f-joyreelgames-about__text{
    flex: 1;
    box-sizing: border-box;
    max-width: 528px;
    text-align: justify;
  }

  .ha3ac367f-joyreelgames-features{
    padding: 32px 0px;
  }

  .ha3ac367f-joyreelgames-features__list{
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .ha3ac367f-joyreelgames-features__item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    border: 1px solid var(--stroke);
    border-radius: 32px;
    padding: 32px 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 397.33px;
    background: linear-gradient(180deg, #0b0909 0%, #0b0909 46.63%, #2c251b 100%);
  }
  
  .ha3ac367f-joyreelgames-features__title{
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: var(--text-white);
  }

  .ha3ac367f-joyreelgames-video{
    background: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-img/ha3ac367f-joyreelgames-pirate_ship.webp");
    background-size: cover;
    background-position: center;
  }

  .ha3ac367f-joyreelgames-message{
    display: none;
    text-align: center;
  }

  .ha3ac367f-joyreelgames-active .ha3ac367f-joyreelgames-message{
    display: block;
  }

  .ha3ac367f-joyreelgames-game_section{
    padding: 40px 0px;
    background: url("/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-img/ha3ac367f-joyreelgames-pirate_ship.webp");
    background-size: cover;
    background-position: center;
  }

  .ha3ac367f-joyreelgames-game_content{
    max-width: 860px;
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .ha3ac367f-joyreelgames-game__title{
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 125%;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 24px;
  }

  .ha3ac367f-joyreelgames-game__frame{
    width: 100%;
    aspect-ratio: 860 / 498;
    margin-bottom: 16px;
    border: 1.32px solid var(--stroke);
    border-radius: 40px;
    background: yellow;
  }

  .ha3ac367f-joyreelgames-game__btn{
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    padding: 16px 0px;
    background: var(--button);
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #0f0f0f;
  }

  .ha3ac367f-joyreelgames-footer{
    padding-bottom: 40px;
    background: linear-gradient(180deg, #0b0909 0%, #0b0909 46.63%, #2c251b 100%);
  }

  .ha3ac367f-joyreelgames-footer__container{
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .ha3ac367f-joyreelgames-footer__policies{
    width: 100%;
    display: flex;
    gap: 24px;
  }

  .ha3ac367f-joyreelgames-footer__policy{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ha3ac367f-joyreelgames-footer__partners{
    max-width: 700px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .ha3ac367f-joyreelgames-footer__nav{
    width: 100%;
  }

  .ha3ac367f-joyreelgames-footer__list{
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: center;
    color: var(--button);
  }


  .ha3ac367f-joyreelgames-contact{
    margin: 70px 0px;
  }

  .ha3ac367f-joyreelgames-contact__title{
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 26px;
    line-height: 112%;
    text-align: center;
    color: var(--text-white);
  }

  .ha3ac367f-joyreelgames-contact__content{
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .ha3ac367f-joyreelgames-contact__image{
    flex: 1;
    min-width: 0px;
  }

  .ha3ac367f-joyreelgames-contact__form{
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
  }

  .ha3ac367f-joyreelgames-contact__input{
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    border: 0px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: #131313;
    background: #e5e5e5;
  }

  .ha3ac367f-joyreelgames-contact__textarea{
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    border: 0px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: #131313;
    background: #e5e5e5;
  }

  .ha3ac367f-joyreelgames-contact__button{
    border-radius: 15px;
    padding: 16px 0px;
    background: var(--button);
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #0f0f0f;
    width: 100%;
  }













  .ha3ac367f-joyreelgames-about{
    margin: 70px 0px;
  }

  .ha3ac367f-joyreelgames-about__container{
    gap: 24px;
  }

  .ha3ac367f-joyreelgames-hero-about{
    display: flex;
  }

  .ha3ac367f-joyreelgames-hero-about__content{
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .ha3ac367f-joyreelgames-hero-about__text{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
    width: 100%;
    flex: 1;
    max-width: 619px;     
  }

  .ha3ac367f-joyreelgames-hero-about__title{
    text-align: start;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 26px;
    line-height: 112%;
    color: var(--text-white);
  }

  .ha3ac367f-joyreelgames-hero-about__image{
    flex: 1;
    max-width: 596px;
    min-width: 0px;
  }

  .ha3ac367f-joyreelgames-about-features__list{
    width: 100%;
    flex-direction: row;
    border-radius: 80px;
    padding: 24px;
    box-sizing: border-box;
    background: #ecdac4;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .ha3ac367f-joyreelgames-about-features__item{
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .ha3ac367f-joyreelgames-about-features__title{
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 26px;
    line-height: 112%;
    text-align: center;
    color: #363031;
  }

  .ha3ac367f-joyreelgames-about-features__text{
    color: #363031;
  }


  .ha3ac367f-joyreelgames-disclaimer{
    margin-top: 24px;
    margin-bottom: 70px;
  }

  .ha3ac367f-joyreelgames-disclaimer__intro{
    text-align: start;
  }

  .ha3ac367f-joyreelgames-disclaimer__block{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ha3ac367f-joyreelgames-disclaimer_list{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: var(--text-gray);
    list-style: disc;
    padding-left: 25px;
  }

  .ha3ac367f-joyreelgames-disclaimer__content{
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  @media screen and (max-width: 991px) {
    .ha3ac367f-joyreelgames-about__content{
      flex-direction: column;
    }

    .ha3ac367f-joyreelgames-about__img{
      max-width: none;
      width: 100%;
    }

    .ha3ac367f-joyreelgames-about__text{
      max-width: none;
      width: 100%;
    }

    .ha3ac367f-joyreelgames-footer__policies{
      flex-direction: column;
    }

    .ha3ac367f-joyreelgames-hero-about__image{
      display: none;
    }

    .ha3ac367f-joyreelgames-hero-about__text{
      max-width: none;
    }
  }

  @media screen and (max-width: 745px) {
    .ha3ac367f-joyreelgames-contact__image{
      display: none;
    }
  }

  @media screen and (max-width: 600px) {
    .ha3ac367f-joyreelgames-footer__partners{
      display: none;
    }

    .ha3ac367f-joyreelgames-footer__list{
      flex-direction: column;
      gap: 24px;
    }

    .ha3ac367f-joyreelgames-hero__content{
      background: url(/ha3ac367f-joyreelgames-resources/ha3ac367f-joyreelgames-img/ha3ac367f-joyreelgames-hero_bg-mobile.webp);
      background-size: cover;
      background-position: center;
    }

    .ha3ac367f-joyreelgames-hero__content{
      padding: 48px 24px;
    }
  }

  .ha3ac367f-joyreelgames-rating-image-wrapper{
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    align-items: center;
  }


  .ha3ac367f-joyreelgames-rating-image{
    flex: 1;
    min-width: 0px;
  }

  .ha3ac367f-joyreelgames-rating-form{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ha3ac367f-joyreelgames-line{
    width: 100%;
    height: 1px;
    background: var(--stroke);
  }

  .ha3ac367f-joyreelgames-rating-question{
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 562px;
  }

  .ha3ac367f-joyreelgames-rating-scale{
    flex-direction: row;
    gap: 8px;
    justify-content: start;
  }

  .ha3ac367f-joyreelgames-rating-option{
    flex: 1;
    max-width: 106px;
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.1);
    background: var(--text-white);
    border: 1px solid var(--stroke);
    border-radius: 27px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #505050;
  }

  .ha3ac367f-joyreelgames-section-title{
    text-align: start;
    margin-bottom: 24px;
  }

  .ha3ac367f-joyreelgames-rating-submit-btn{
    border-radius: 15px;
    padding: 12px 0px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #0f0f0f;
    background: var(--button);
  }

  .ha3ac367f-joyreelgames-rating-option.ha3ac367f-joyreelgames-active{
    background: var(--button);
  }

  .ha3ac367f-joyreelgames-thankyou-block{
    text-align: center;
  }

  @media screen and (max-width: 991px) {
      .ha3ac367f-joyreelgames-rating-question-text{
        text-align: center;
      }

      .ha3ac367f-joyreelgames-rating-image{
        display: none;
      }

      .ha3ac367f-joyreelgames-rating-form{
        align-items: center;
        text-align: center;
      }

    .ha3ac367f-joyreelgames-section-title{
      text-align: center;
    }

    .ha3ac367f-joyreelgames-rating-question{
      width: 100%;
    }

    .ha3ac367f-joyreelgames-rating-submit-btn{
      width: 100%;
      max-width: 562px;
    }
  }



  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
  }
  
  /* Скрытое состояние */
  .overlay.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  /* Сам попап */
  .popup {
    padding: 24px;
    border-radius: 15px;
    background: var(--bg);
    color: #fff;
    text-align: center;
    max-width: 340px;
  }
  
  .popup h3 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 26px;
    line-height: 112%;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 16px;
  }
  
  .popup p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    text-align: center;
    color: #c1c1c1;
    margin-bottom: 16px;
  }
  
  .popup button {
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 15px;
    padding: 16px 40px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .popup .yes {
    background: var(--button);
    margin-bottom: 8px;
    color: #0f0f0f;
  }
  
  .popup .no {
    background: transparent;
    border: 1px solid var(--button);
    color: var(--text-white);
  }

  .ha3ac367f-joyreelgames-burger {
    width: 24px;
    height: 17px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100;
  }
  
  .ha3ac367f-joyreelgames-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--button);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .ha3ac367f-joyreelgames-burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }
  .ha3ac367f-joyreelgames-burger.active span:nth-child(2) {
    opacity: 0;
  }
  .ha3ac367f-joyreelgames-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }
  
  /* ===== Мобильное меню ===== */
  .ha3ac367f-joyreelgames-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #0b0909 0%, #2c251b 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  
  .ha3ac367f-joyreelgames-mobile-menu.active {
    transform: translateY(0);
  }
  
  .ha3ac367f-joyreelgames-mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
  }
  
  .ha3ac367f-joyreelgames-mobile-nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .ha3ac367f-joyreelgames-mobile-nav__list a {
    font-family: var(--font-family);
    font-size: 20px;
    line-height: 110%;
    color: var(--text-white);
  }
  
  .ha3ac367f-joyreelgames-mobile-btn {
    max-width: 181px;
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    background: var(--button);
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    color: #0f0f0f;
  }
  
  /* ===== Появление на мобильных ===== */
  @media screen and (max-width: 991px) {
    .ha3ac367f-joyreelgames-burger {
      display: flex;
    }
  
    .ha3ac367f-joyreelgames-nav,
    .ha3ac367f-joyreelgames-header__btn {
      display: none;
    }
  }
  
  .no-scroll {
    overflow: hidden;
  }

  .ha3ac367f-joyreelgames-vsually-hidden{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
  }