.lotto777-so-lang-select {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .lotto777-so-lang-option{
    display: flex;
    width: 100%;
  }
  
  .lotto777-so-lang-button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: #5b2f12;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .lotto777-so-lang-current {
    font-weight: bold;
    color: #5b2f12;
  }
  
  .lotto777-so-lang-arrow {
    transition: transform 0.lotto777-so-2s ease;
  }
  
  /* Поворот стрелки при наведении */
  .lotto777-so-lang-select:hover .lotto777-so-lang-arrow {
    transform: rotate(180deg);
  }

  .lotto777-so-lang-option:hover .lotto777-so-lang-arrow {
    transform: rotate(180deg);
  }
  
  .lotto777-so-lang-dropdown {
    display: none;
    position: absolute;
    top: 15px;
    padding-top: 4px;
    z-index: 1000;
    min-width: 100%;
  }
  
  .lotto777-so-lang-option a {
    display: block;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #5b2f12;
    white-space: nowrap;
  }
  
  /* Показываем dropdown прямо под EN */
  .lotto777-so-lang-select:hover .lotto777-so-lang-dropdown {
    display: block;
  }

  .lotto777-so-lang-option:hover .lotto777-so-lang-dropdown {
    display: block;
  }
  



body{
    margin: 0px;
    overflow-x: hidden
}

h1{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 48px;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    /* color: #fff; */
    margin: 0px;
}

@media (max-width:991px) {
    h1 {
        font-size: 37px;
    }
  }
  
@media (max-width:600px) {
    h1 {
        font-size: 26px;
    }
}

h2{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 38px;
    line-height: 130%;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin: 0px;
}

@media (max-width:991px) {
    h2 {
        font-size: 31px;
    }
}
  
@media (max-width:600px) {
    h2 {
        font-size: 24px;
    }
}

h3{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin: 0px;
}

@media (max-width:991px) {
    h3 {
        font-size: 19px;
    }
  }
  
@media (max-width:600px) {
    h3 {
        font-size: 14px;
    }
}

h4{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    margin: 0px;
}

p{
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16.lotto777-so-4px;
    line-height: 140%;
    margin: 0px;
    text-align: center;
}

@media (max-width:600px) {
    p {
        font-size: 14px;
    }
}

a{
    text-decoration: none;
    color: unset;
}

ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
}

section{
    padding: 80px 0px;
}

@font-face {
    font-family: Unlock;
    src: url("../lotto777-so-assets/lotto777-so-fonts/lotto777-so-unlock/lotto777-so-unlock-regular.woff");
}

@font-face {
    font-family: Inter;
    src: url("../lotto777-so-assets/lotto777-so-fonts/lotto777-so-inter/lotto777-so-inter_18pt-regular.woff");
}

@font-face {
    font-family: Bokor;
    src: url("../lotto777-so-assets/lotto777-so-fonts/lotto777-so-bokor/lotto777-so-bokor-regular.woff");
}

:root {
    --font-family: "Unlock", sans-serif;
    --second-family: "Inter", sans-serif;
    --third-family: "Bokor", sans-serif;

    --container-width: 1240px;

    --container-step: 25px;
    --container-step-tablet: 20px;
    --container-step-mobile: 16px;

    --container: calc(var(--container-width) + (var(--container-step) * 2));
}


.lotto777-so-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-step);
    display: flex;
    flex-direction: column;
    margin: auto;
    box-sizing: border-box;
    align-items: center;
}

@media (max-width:991px) {
  .lotto777-so-container {
    padding: 0 var(--container-step-tablet)
  }
}

@media (max-width:600px) {
  .lotto777-so-container {
    padding: 0 var(--container-step-mobile)
  }
}

header{
    padding: 24px 0px;
}

header .lotto777-so-container{
    flex-direction: row;
    justify-content: space-between;
}

.lotto777-so-logo{
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lotto777-so-logo__text{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-align: right;
    color: #5b2f12;
}

.lotto777-so-burger_button{
    display: none;
}

.lotto777-so-nav-list{
    display: flex;
    gap: 41px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-align: right;
    color: #5b2f12;
    align-items: center;
}

.lotto777-so-lang-code{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-align: right;
    color: #5b2f12;
    margin-right: 12px;
}

.lotto777-so-lang-button{
    background: transparent;
    border: transparent;
}

@media screen and (max-width: 600px){
    header .lotto777-so-nav-list{
        display: none;
    }

    header .lotto777-so-mobile-nav.active .lotto777-so-nav-list{
        display: flex;
        flex-direction: column;
    }

    .lotto777-so-burger_button{
        display: block;
    }
}

.lotto777-so-mobile-nav {
    display: none;
}
  
  /* Основной nav и mobile nav при ширине до 600px */
  .lotto777-so-mobile-nav {
    display: none;
  }
  
  @media (max-width: 600px) {
    .lotto777-so-main-nav {
      display: none !important;
    }

    .lotto777-so-mobile-nav .lotto777-so-nav-list{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
  
    .lotto777-so-mobile-nav {
      display: none;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: #fff;
      z-index: 999;
      padding: 1.5rem;
      box-sizing: border-box;
    }
  
    .lotto777-so-mobile-nav.lotto777-so-active {
      display: block;
    }
  
    .lotto777-so-burger_button {
      cursor: pointer;
      display: block;
    }
  }

.lotto777-so-hero-section{
    padding: 100px 0px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../lotto777-so-assets/lotto777-so-img/lotto777-so-less_realistic_desert_lanscape.webp);
    background-size: cover;
    background-position: center;
    color: white;
}

.lotto777-so-hero-section .lotto777-so-container{
    gap: 24px;
}

.lotto777-so-hero-section p{
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0.04em;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .lotto777-so-hero-section p{
        font-size: 16px;
    }
}

.lotto777-so-features-section{
    color: #5b2f12;
}

.lotto777-so-features-section .lotto777-so-container{
    gap: 24px;
}

.lotto777-so-features-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lotto777-so-features-section .lotto777-so-text-content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

  .lotto777-so-features-section .lotto777-so-section-image {
    width: 100vw;
    margin-top: 16px;     /* твой отступ сверху */
    margin-bottom: 16px;  /* твой отступ снизу */
  }
  

.lotto777-so-benefits-list{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}


.lotto777-so-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 386px;
}

.lotto777-so-slots-section{
    background: #5b2f12;
    color: white;
}

.lotto777-so-slots-section .lotto777-so-container{
    gap: 40px;
}

.lotto777-so-section-intro{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lotto777-so-feature-item{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.lotto777-so-feature-item .lotto777-so-text-content{
    max-width: 580px;
    display: flex;
    flex-direction: column;
}

.lotto777-so-jackpot-info{
    gap: 24px;
}

.lotto777-so-jackpot-info a{
    border-radius: 1000px;
    padding: 14px 0px;
    max-width: 246px;
    text-align: center;
    background: #fff;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5b2f12;
    text-decoration: none;
}

.lotto777-so-slots-preview{
    padding: 28px 0px;
}

.lotto777-so-jackpot-preview{
    padding: 41.lotto777-so-5px 0px;
}

.lotto777-so-slot-description-wrapper{
    gap: 40px;
}

.lotto777-so-slot-description-block{
    gap: 24px;
    display: flex;
    flex-direction: column;
}

.lotto777-so-feature-item h3{
    text-align: start;
}

.lotto777-so-feature-item p{
    text-align: start;
}

.lotto777-so-about-section{
    color: #5b2f12;
}

.lotto777-so-about-section .lotto777-so-container{
    flex-direction: row;
    justify-content: space-between;
}

.lotto777-so-about-content{
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 24px;   
}

.lotto777-so-about-content h3{
    text-align: start;
}
.lotto777-so-about-content p{
    text-align: start;
}

footer{
    background: #5b2f12;
    padding: 40px 0px;
    color: #f1f1f1;
}

footer h4{
    margin-bottom: 16px;
}

footer .lotto777-so-container{
    gap: 24px;
}

footer p{
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.04em;
    text-align: center;
}

.lotto777-so-footer-icons{
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
    justify-content: center;
}

.lotto777-so-footer-links{
    display: flex;
    gap: 40px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #f1f1f1;
}

.lotto777-so-footer-copy{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.06em;
    color: #f1f1f1;
}

.lotto777-so-mobile{
    display: none;
}

@media screen and (max-width: 1220px){

    .lotto777-so-slots-section .lotto777-so-container{
        gap: 24px;
    }

    .lotto777-so-slots-preview{
        padding: 0px;
    }

    .lotto777-so-jackpot-preview{
        padding: 0px;
    }

    .lotto777-so-feature-item{
        justify-content: center;
        gap: 24px;
    }

    .lotto777-so-town-image{
        width: 100%;
    }

    .lotto777-so-feature-item .lotto777-so-text-content{
        max-width: unset;
    }

    .lotto777-so-slot-image{
        width: 100%;
    }

    .lotto777-so-about-section .lotto777-so-container{
        flex-wrap: wrap-reverse;
        justify-content: center;
        gap: 20px;
    }

    .lotto777-so-about-content{
        max-width: none;
        width: 100%;
    }

    .lotto777-so-about-content h3{
        text-align: center;
    }

    .lotto777-so-about-image{
        width: 100%;
    }

    section{
        padding: 40px 0px;
    }

    .lotto777-so-footer-icons{
        gap: 26px;
    }
}

@media screen and (max-width: 600px) {

    .lotto777-so-hero-section{
        background: url("../lotto777-so-assets/lotto777-so-img/lotto777-so-hero_bg_mobile.webp");
        background-size: cover;
        background-position: center;
        padding: 20px 0px;
    }

    .lotto777-so-play-button{
        align-self: center;
        width: 100%;
    }

    .lotto777-so-features-section .lotto777-so-container{
        gap: 16px;
    }

    .lotto777-so-features-section .lotto777-so-text-content{
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .lotto777-so-features-list{
        gap: 16px;
    }

    .lotto777-so-about-section .lotto777-so-section-title{
        font-size: 24px;
    }

    .lotto777-so-desctop{
        display: none;
    }

    .lotto777-so-mobile{
        display: block;
    }
}

@media screen and (max-width: 450px) {

    .lotto777-so-play-button{
        max-width: none;
    }

    .lotto777-so-footer-icons{
        gap: 16px;
        flex-direction: column;
    }
}

.lotto777-so-disclaimer_text{
    text-align: left;
}

.lotto777-so-terms .lotto777-so-container {
    align-items: baseline;
    gap: 20px;
}

.lotto777-so-terms .lotto777-so-container p{
    text-align: left;
}

.lotto777-so-terms .lotto777-so-container h2{
    text-align: left;
    font-size: 28px;
}

.lotto777-so-terms .lotto777-so-container h3{
    text-align: left;
}

.lotto777-so-terms .lotto777-so-container ul{
    text-align: left;
    list-style: outside;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 13px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16.4px;
    line-height: 140%;
    margin: 0px;
    padding-left: 14px;
}

.lotto777-so-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}