@font-face {
  font-family: "Montserrat";
  src: url("/jhdfhvhdfbskvdbhfd-topstillsport-assets/jhdfhvhdfbskvdbhfd-topstillsport-fonts/jhdfhvhdfbskvdbhfd-topstillsport-montserrat-bold.woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/jhdfhvhdfbskvdbhfd-topstillsport-assets/jhdfhvhdfbskvdbhfd-topstillsport-fonts/jhdfhvhdfbskvdbhfd-topstillsport-opensans-bold.woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/jhdfhvhdfbskvdbhfd-topstillsport-assets/jhdfhvhdfbskvdbhfd-topstillsport-fonts/jhdfhvhdfbskvdbhfd-topstillsport-opensans-extrabold.woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/jhdfhvhdfbskvdbhfd-topstillsport-assets/jhdfhvhdfbskvdbhfd-topstillsport-fonts/jhdfhvhdfbskvdbhfd-topstillsport-opensans-regular.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: "Open Sans", sans-serif;
    --second-family: "Montserrat", sans-serif;
    --button: #fadd02;
    --text-gray: #f6f6f6;
    --black: #353535;
    --white: #fff;
    --stroke: #516355;
    --bg: #121412;
  }
  
  /* ===== Базовые ===== */
  body {
    margin: 0;
    background: var(--bg);
  }
  
  .jhdfhvhdfbskvdbhfd-topstillsport-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-step);
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-wrap: wrap;
    box-sizing: border-box;
  }
  
  @media (max-width: 991px) {
    .jhdfhvhdfbskvdbhfd-topstillsport-container {
      padding: 0 var(--container-step-tablet);
    }
  }
  
  @media (max-width: 600px) {
    .jhdfhvhdfbskvdbhfd-topstillsport-container {
      padding: 0 var(--container-step-mobile);
    }
  }
  
  h1 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 48px;
    line-height: 98%;
    color: var(--white);
    margin: 0px;
  }
  
  @media (max-width: 991px) {
    h1 {
      font-size: 40px;
      line-height: 108.5%;
    }
  }
  
  @media (max-width: 600px) {
    h1 {
      font-size: 32px;
      line-height: 119%;
    }
  }
  
  h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 119%;
    color: var(--white);
    margin: 0px;
  }
  
  h3 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 125%;
    color: var(--white);
    margin: 0px;
  }
  
  @media (max-width: 991px) {
    h3 {
      font-size: 15px;
    }
  }
  
  @media (max-width: 600px) {
    h3 {
      font-size: 14px;
      text-align: center;
    }
  }
  
  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: var(--white);
    margin: 0px;
  }
  
  ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }
  
  a {
    text-decoration: none;
    color: unset;
  }

  section {
    margin-bottom: 70px;
  }
  
  @media (max-width: 600px) {
    section {
      margin-bottom: 70px;
    }
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-btn{
    border-radius: 12px;
    padding: 4px 0px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 173%;
    text-transform: uppercase;
    text-align: center;
    color: var(--black);
    box-sizing: border-box;
    background: var(--button);
    width: 100%;
  }
  
  .jhdfhvhdfbskvdbhfd-topstillsport-header{
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
  }

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

  .jhdfhvhdfbskvdbhfd-topstillsport-header__menu{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    text-align: center;
    color: var(--white);
    gap: 24px;
    flex-direction: row;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-hero{
    margin-bottom: 70px;
    margin-top: 20px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-hero__content{
    padding: 50px 24px;
    box-sizing: border-box;
    width: 100%;
    padding-bottom: 72px;
    background: url(/jhdfhvhdfbskvdbhfd-topstillsport-assets/jhdfhvhdfbskvdbhfd-topstillsport-img/jhdfhvhdfbskvdbhfd-topstillsport-hero_bg.webp) no-repeat center;
    background-size: cover;
    border: 1px solid var(--stroke);
    border-radius: 30px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-hero__text{
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 558px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__title{
    text-align: center;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__list{
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__item{
    max-width: 400px;
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--stroke);
    border-radius: 22px;
    backdrop-filter: blur(24.600000381469727px);
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__image{
    width: 100%;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about__title{
    text-align: center;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about__content{
    display: flex;
    justify-content: space-between;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about__text{
    max-width: 393px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about__list{
    max-width: 824px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact__content{
    display: flex;
    justify-content: start;
    gap: 111px;
    align-items: center;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact__image{
    max-width: 100%;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact__form{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 607px;
    gap: 24px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact__input{
    padding: 16.5px 24px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 14px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: #2e2e2e;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact__textarea{
    padding: 16.5px 24px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 14px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: #2e2e2e;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about__item{
    max-width: 400px;
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
    border: 1px solid var(--stroke);
    border-radius: 22px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__item {
    position: relative; /* нужно для абсолютного псевдоэлемента */
    display: flex;
    justify-content: space-between;
    align-items: start;
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 16px;
    color: var(--text-gray);
    overflow: hidden;
    cursor: pointer;
  }
  
  /* кнопка теперь покрывает весь блок */
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__item .jhdfhvhdfbskvdbhfd-topstillsport-faq__button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
  }
  
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__item .jhdfhvhdfbskvdbhfd-topstillsport-faq__button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  
  /* Контент */
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__content {
    display: flex;
    flex-direction: column;
    align-items: start;
    z-index: 2;
    pointer-events: none; /* чтобы клик шёл сквозь контент на псевдоэлемент */
  }
  
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__question-title,
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__answer-text {
    text-align: start;
  }
  
  /* Скрываем ответ по умолчанию */
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  /* При активном вопросе — показываем ответ */
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__item.jhdfhvhdfbskvdbhfd-topstillsport-active .jhdfhvhdfbskvdbhfd-topstillsport-faq__answer {
    max-height: 500px;
  }
  .jhdfhvhdfbskvdbhfd-topstillsport-faq__item.jhdfhvhdfbskvdbhfd-topstillsport-active .jhdfhvhdfbskvdbhfd-topstillsport-faq__icon {
    transform: rotate(180deg);
    transition: transform 0.3s;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-faq__item.jhdfhvhdfbskvdbhfd-topstillsport-active .jhdfhvhdfbskvdbhfd-topstillsport-faq__content{
    gap: 12px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-legal__content{
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--stroke);
    border-radius: 24px;
    padding: 24px 0px;
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-legal__text{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    text-align: center;
    color: var(--white);
    max-width: 908px;
    margin: auto;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-footer{
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-footer__info{
    display: flex;
    justify-content: space-between;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-footer__block{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 582px;
    gap: 16px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-footer__menu{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 70px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    text-align: center;
    color: var(--button);
    flex-wrap: wrap;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact_us_page .jhdfhvhdfbskvdbhfd-topstillsport-contact{
    padding: 50px 0px;
    margin: 70px auto;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-policy{
    margin: 70px 0px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-policy__content{
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-policy__header{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

@media screen and (max-width: 1280px) {
  .jhdfhvhdfbskvdbhfd-topstillsport-about__content{
    flex-direction: column;
  }
  
  .jhdfhvhdfbskvdbhfd-topstillsport-about__text{
    max-width: 100%;
    text-align: justify;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about__list{
    margin: auto;
  }
}

.jhdfhvhdfbskvdbhfd-topstillsport-about_us_page{
  margin-top: 70px;
}

@media screen and (max-width: 991px) {
  .jhdfhvhdfbskvdbhfd-topstillsport-footer__info{
    flex-direction: column;
    gap: 24px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-footer__block{
    max-width: none;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-footer__menu{
    gap: 16px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact__content{
    flex-direction: column;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about_us_page{
    margin-top: 24px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-about_us_page .jhdfhvhdfbskvdbhfd-topstillsport-about{
    margin-bottom: 24px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-contact_us_page .jhdfhvhdfbskvdbhfd-topstillsport-contact{
    margin: 24px auto;
  }
}


@media (max-width: 871px) {
  .jhdfhvhdfbskvdbhfd-topstillsport-games__container {
    padding-right: 0;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    width: 100%;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__list.jhdfhvhdfbskvdbhfd-topstillsport-dragging {
    cursor: grabbing;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 16px;
    background: #012f37;
    padding: 12px;
    box-sizing: border-box;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__image {
    width: 100%;
    border-radius: 12px;
    display: block;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-games__list::-webkit-scrollbar {
    display: none;
  }

  @media (max-width: 871px) {
    .jhdfhvhdfbskvdbhfd-topstillsport-games__list::after {
      content: "";
      flex: 0 0 var(--container-step-mobile);
    }
  }
}

.jhdfhvhdfbskvdbhfd-topstillsport-faq_page .jhdfhvhdfbskvdbhfd-topstillsport-faq{
  margin-top: 24px;
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang-link {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  color: var(--button);
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang-link--active {
  color: var(--button);
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang-icon {
  transition: transform 0.3s ease;
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang:hover .jhdfhvhdfbskvdbhfd-topstillsport-header__lang-icon {
  transform: rotate(180deg);
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  list-style: none;
  padding: 8px 12px;
  z-index: 10;
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang:hover .jhdfhvhdfbskvdbhfd-topstillsport-header__lang-dropdown {
  display: block;
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang-item {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 18px;
  color: var(--button);
  text-decoration: none;
  display: block;
}

.jhdfhvhdfbskvdbhfd-topstillsport-header__lang-item:hover {
  text-decoration: underline;
}


.jhdfhvhdfbskvdbhfd-topstillsport-burger {
  display: none;
  position: relative;
  width: 24px;
  height: 18px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

.jhdfhvhdfbskvdbhfd-topstillsport-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FADD02;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.jhdfhvhdfbskvdbhfd-topstillsport-burger span:nth-child(1) {
  top: 0;
}

.jhdfhvhdfbskvdbhfd-topstillsport-burger span:nth-child(2) {
  top: 8px;
}

.jhdfhvhdfbskvdbhfd-topstillsport-burger span:nth-child(3) {
  bottom: 0;
}

/* ===== Крестик при активном состоянии ===== */
.jhdfhvhdfbskvdbhfd-topstillsport-burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.jhdfhvhdfbskvdbhfd-topstillsport-burger.active span:nth-child(2) {
  opacity: 0;
}

.jhdfhvhdfbskvdbhfd-topstillsport-burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 8px;
}

/* ===== Мобильное меню ===== */
@media (max-width: 766px) {
  .jhdfhvhdfbskvdbhfd-topstillsport-burger {
    display: block;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(180deg, #121412 0%, #233123 100%);
    transition: right 0.4s ease;
    z-index: 1000;
    padding-top: 100px;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-header__nav.active {
    right: 0;
  }

  .jhdfhvhdfbskvdbhfd-topstillsport-header__menu {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  body.menu-open {
    overflow: hidden;
  }
}


.jhdfhvhdfbskvdbhfd-topstillsport-age-popup {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 18, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.jhdfhvhdfbskvdbhfd-topstillsport-age-popup__content {
  background: linear-gradient(180deg, #121412 0%, #233123 100%);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-sizing: border-box;
}

.jhdfhvhdfbskvdbhfd-topstillsport-age-popup__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 28px;
  line-height: 120%;
  color: var(--white);
  margin-bottom: 16px;
}

.jhdfhvhdfbskvdbhfd-topstillsport-age-popup__text {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 137%;
  color: var(--white);
  margin-bottom: 24px;
}

.jhdfhvhdfbskvdbhfd-topstillsport-age-popup__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jhdfhvhdfbskvdbhfd-topstillsport-age-popup__close {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-family: var(--font-family);
  font-size: 16px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.jhdfhvhdfbskvdbhfd-topstillsport-age-popup__close:hover {
  color: var(--button);
}

@media (max-width: 600px) {
  .jhdfhvhdfbskvdbhfd-topstillsport-age-popup__content {
    padding: 28px 20px;
  }
  .jhdfhvhdfbskvdbhfd-topstillsport-age-popup__title {
    font-size: 22px;
  }
}

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

.jhdfhvhdfbskvdbhfd-topstillsport-message{
  display: none;
}

.jhdfhvhdfbskvdbhfd-topstillsport-active .jhdfhvhdfbskvdbhfd-topstillsport-message{
  display: block;
}