* { margin:0;
   padding:0;
    box-sizing:border-box; font-family: Arial, sans-serif;
  }



  /* возраст */
  #age-gate-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;       /* полная ширина окна */
      height: 100vh;      /* полная высота окна */
      background: rgba(0,0,0,1);
      display: none;      /* скрыт по умолчанию */
      align-items: center;
      justify-content: center;
      z-index: 99999;     /* ставим самый высокий z-index */
  }

  /* Модальное окно */
  #age-gate {
      max-width: 480px;
      width: calc(100% - 40px);
      background: #111;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 12px 40px rgba(0,0,0,0.7);
      text-align: center;
      color: #fff;
      font-family: Arial, sans-serif;
  }
  #age-gate h2 { margin:0 0 10px; font-size: 1.3rem; }
  #age-gate p { margin:0 0 20px; font-size: 1rem; }
  .age-gate-buttons { display:flex; gap:12px; justify-content:center; flex-wrap: wrap; }
  .age-gate-btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .age-gate-yes { background: #990000; color: #fff; }
  .age-gate-no  { background: #222; color: #fff; }
  .age-gate-yes:hover { opacity:0.8; }
  .age-gate-no:hover { opacity:0.8; }

  /* Фон и позиция на весь экран */
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d0d; /* черный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  /* скрываем после загрузки */
  body.loaded #loader {
    display: none;
  }

  /* ---- Твоя анимация кругов ---- */
  #circularG{
  	position:relative;
  	width:113px;
  	height:113px;
  }

  .circularG{
  	position:absolute;
  	background-color:#990000; /* красный, можно менять */
  	width:26px;
  	height:26px;
  	border-radius:50%;
  	animation-name:bounce_circularG;
  	animation-duration:0.768s;
  	animation-iteration-count:infinite;
  }

  #circularG_1{ left:0; top:45px; animation-delay:0.288s; }
  #circularG_2{ left:11px; top:11px; animation-delay:0.384s; }
  #circularG_3{ top:0; left:45px; animation-delay:0.48s; }
  #circularG_4{ right:11px; top:11px; animation-delay:0.576s; }
  #circularG_5{ right:0; top:45px; animation-delay:0.672s; }
  #circularG_6{ right:11px; bottom:11px; animation-delay:0.768s; }
  #circularG_7{ left:45px; bottom:0; animation-delay:0.864s; }
  #circularG_8{ left:11px; bottom:11px; animation-delay:0.96s; }

  @keyframes bounce_circularG {
  	0% { transform:scale(1); }
  	100% { transform:scale(0.3); }
  }


  /*Квноопка вверх  */
  .scrollToTopBtn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: none; /* Скрываем кнопку по умолчанию */
      cursor: pointer;
      z-index: 1009;
border-radius: 100%;

  }


  .button-up{
    width: 50px;
    height: 50px;

  }

  .button-up:hover {
opacity: 0.5;
  }



body {
   background-color: #0d0d0d;
    color: #fff;
  }

a {
  color: #fff;
   text-decoration: none;
 }


/*Шапка  */
header {
  display: flex;
   justify-content: space-between;
    align-items: center;
     padding: 15px 50px;

    }

.logo {
width: 130px;
height: 30px;
  }

.search {
  padding: 5px 10px;
   border-radius: 5px;
    border: none;
     outline: none; }

     nav {
       display: flex;
       align-items: center;
       gap: 20px;
     }

      .nav{
       padding: 5px 10px;
       border-radius: 5px;
       background: #222;
       color: white;
       text-decoration: none;
       transition: 0.3s;
       position: relative;
      background-color:#990000;
     }

     nav .nav:hover {
       background: #333;
     }

     /* --- Выпадающее меню --- */
     .dropdown {
       position: relative;
        cursor: pointer;
     }


     .dropdown-content {
       display: none;
       position: absolute;
       top: 23px; /* появится ровно под словом */
       background: #222;
       border-radius: 5px;
       min-width: 160px;
       box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
       z-index: 1000;

     }

     .dropdown-content a {
       display: block;
       padding: 10px;
       background: #222;
       border-radius: 0;

     }

     .dropdown-content a:hover {
       background: #333;
     }

     /* показываем при наведении */
     .dropdown:hover .dropdown-content {
       display: block;
     }

/*  перключатель языка */
     .lang-switch {
       position: relative;
       min-width: 70px;          /* ширина переключателя */
       height: 35px;          /* высота */
       background: #222;      /* тёмный фон */
       border-radius: 20px;   /* скругление "таблетка" */
       display: flex;
       align-items: center;
       justify-content: center;
       cursor: pointer;
     }

     .lang-text {
       position: relative;
       display: block;
       color: #fff;
       padding-right: 5px;
        padding-left: 5px;
       font-weight: bold;
       user-select: none;

     }

     .slider-circle {
       width: 29px;           /* размер кругляша */
       height: 29px;
       border-radius: 50%;    /* круг */

     }



     /* Скрываем бургер и мобильное меню по умолчанию */
     .burger {
       display: none;
       flex-direction: column;
       justify-content: space-between;
       width: 25px;
       height: 20px;
       cursor: pointer;
       z-index: 1001;
     }

     .burger span {
       display: block;
       height: 3px;
       background: #E60000;
       border-radius: 3px;
       transition: 0.3s;
     }

     .mobile-menu {
       display: none;
       flex-direction: column;
       background: #0d0d0d;
       position: relative;
       width: 100%;


     }




/* Верхний баннер */

.hero {
  display: flex;
  flex-direction: row;
    padding: 100px 50px;
     background-color: #121212;
    }
/* левый блок */
.hero-left {
  display: flex;
  flex-direction: column;
   width: 50%;
   align-items: center;
   text-align: center;
 justify-content: center;
   color: white;

   }
.hero-left-p{
   font-size: 36px;
}



/* Правй блок банеры */
   .hero-right {
        width: 50%;
       overflow: hidden; /* Обрезаем выходящее */
       display: flex;
       flex-direction: column;
       gap: 20px;
       position: relative;
   }

   /* Ряд фото */
   .row {
       display: flex;

       gap: 20px;
       width: max-content; /* Чтобы ряд был длинным */
   }

   /* Баннеры */
   .banner {

       background: #222;
       color: #fff;
       display: flex;
       justify-content: center;
       align-items: center;
       border-radius: 10px;
       font-size: 20px;
   }

.banner-img{
       border-radius: 10px;
  width: 150px;
  height: 225px;
 object-fit: cover;
}

   /* Анимации */
   .row-1 {
       animation: moveLeft 40s linear infinite;
   }

   .row-2 {
       animation: moveRight 40s linear infinite;
   }

   @keyframes moveLeft {
       0% { transform: translateX(0); }
       100% { transform: translateX(-450px); }
   }

   @keyframes moveRight {
       0% { transform: translateX(-450px); }
       100% { transform: translateX(0); }
   }






/* Блок с фразой и иконками */
.info-block {
  display: flex;
   justify-content: center;
    align-items: center;
     gap: 20px;
      padding: 50px;
       background: #111;
       }


.icon {
display: block;

}



.info-block-p{
    font-size: 24px;
    padding: 0px 10px 0px 10px;
    text-align: center;
}

    /* Логотип платформы */
    .kategor-logo {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 15px;
      border-radius: 50%;
      border: 2px solid #990000;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .kategor-logo:hover {
      transform: translateY(-5px); /* Подъём при наведении */
      box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4); /* Красноватая тень */
    }


/* Вертикальные блоки 3-4 по 2 горизонтально */
.vertical-section {
  display: flex;
   flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
   }

.vertical-block {
  display: flex;
   flex-direction: column;
    gap: 20px;
     flex: 1;
      min-width: 200px;
    }

.vertical-block .item {
  background: #222;
   height: 100px;
    border-radius: 10px;
      transition: transform 0.3s, box-shadow 0.3s;
      align-items: center;
      text-align: center;
      display:flex;
      flex-direction: column;
justify-content: center;
  }

 .item {
   color: white;
   font-size: 27px;
 }
  .vertical-block:hover .item:hover {
    transform: translateY(-5px); /* Подъём при наведении */
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4); /* Красноватая тень */
    }



  /* Карточка вебкам платформы */
  .kategor-block {
    background-color: #222; /* Фон карточки */
    border-radius: 15px; /* Скругление */
    width: 220px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }




/* Горизонтальные 5 блоков для фото */
.photo-section {
  display: flex;
  justify-content: space-between;
   padding: 50px; gap: 10px;
    flex-wrap: wrap;
  }

.photo-section .photo {
  flex: 1;
   min-width: 150px;
   height: 150px;
    background: #222;
     border-radius: 10px;
    }

/* Футер */
footer { background: #111;
   padding: 50px;
    display: flex;
     justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

.footer-block {
  flex: 1;

   min-width: 200px;
 }

.footer-block h4 {
  margin-bottom: 20px;
  font-size: 19px;
}

.footer-block ul {
  list-style: none;
   display: flex;
    flex-direction: column;
    gap: 10px;
  }

.abiut_site{
  padding-top: 20px;
}






.bottom-footer { background: #0a0a0a;
   padding: 15px 50px;
    text-align: center;
    font-size: 14px;
     display: flex;
     justify-content: center;
      gap: 20px;
       flex-wrap: wrap;
     }



     /* Медиа-запросы */
     @media (max-width: 946px) {


         }



         @media (max-width: 654px) {
           * {
             margin:0;
              padding:0;
               box-sizing:border-box; font-family: Arial, sans-serif;
             }
           /*Шапка  */
           header {
             display: flex;
              justify-content: space-between;
               align-items: center;
                padding: 15px 10px 15px 10px;

               }

           .logo { font-size: 24px;
              font-weight: bold;
              color: #E60000;
             }



             /* Верхний баннер */

             .hero {
               display: flex;
               flex-direction: column;
               flex-wrap: wrap;
                 padding: 10px 10px;
                  background-color: #121212;
                 }



                 /* левый блок */
                 .hero-left {
                   display: flex;
                   flex-direction: column;
                    width: 100%;
                    height: 170px;
                    align-items: center;
                    text-align: center;
                  justify-content: center;;
                    color: white;

                    }
                 .hero-left-p{

                    font-size: 26px;
                    text-align: center;

                 }



                 /* Правй блок банеры */
                    .hero-right {
                         width: 100%;
                        overflow: hidden; /* Обрезаем выходящее */
                        display: flex;
                        flex-direction: column;
                        gap: 20px;
                        position: relative;
                    }

                    /* Ряд фото */
                    .row {
                        display: flex;

                        gap: 20px;
                        width: max-content; /* Чтобы ряд был длинным */
                    }

                    /* Баннеры */
                    .banner {

                        background: #222;
                        color: #fff;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border-radius: 10px;
                        font-size: 20px;
                    }

                 .banner-img{
                        border-radius: 10px;
                   width: 150px;
                   height: 225px;
                  object-fit: cover;
                 }


           .search {
             padding: 5px 10px;
              border-radius: 5px;
               border: none;
                outline: none; }

                nav {
                  display: flex;
                  align-items: center;

                }

                 .nav{
                   display: none;
                  padding: 5px 10px;
                  border-radius: 5px;
                  background: #222;
                  color: white;
                  text-decoration: none;
                  transition: 0.3s;
                  position: relative;
                 background-color:#990000;
                }

                nav .nav:hover {
                  background: #333;
                }

                /* --- Выпадающее меню --- */
                .dropdown {
                  position: relative;

                }


                .dropdown-content {
                  display: none;
                  position: absolute;
                  top: 23px; /* появится ровно под словом */
                  background: #222;
                  border-radius: 5px;
                  min-width: 160px;
                  box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
                  z-index: 1000;
                }

                .dropdown-content a {
                  display: block;
                  padding: 10px;
                  background: #222;
                  border-radius: 0;
                }

                .dropdown-content a:hover {
                  background: #333;
                }

                /* показываем при наведении */
                .dropdown:hover .dropdown-content {
                  display: block;
                }

                /*  перключатель языка */
                     .lang-switch {
                       position: relative;
                       min-width: 70px;          /* ширина переключателя */
                       height: 35px;          /* высота */
                       background: #222;      /* тёмный фон */
                       border-radius: 20px;   /* скругление "таблетка" */
                       display: flex;
                       align-items: center;
                       justify-content: center;
                       cursor: pointer;
                     }

                     .lang-text {
                       position: relative;
                       display: block;
                       color: #fff;
                       padding-right: 5px;
                        padding-left: 5px;
                       font-weight: bold;
                       user-select: none;

                     }

                     .slider-circle {
                       width: 29px;           /* размер кругляша */
                       height: 29px;
                       border-radius: 50%;    /* круг */

                     }
                /* Бургер */
                .burger {
                  display: flex;
                  flex-direction: column;
                  justify-content: space-between;
                  width: 35px;
                  height: 20px;
                  cursor: pointer;
                  z-index: 1001;
                }

                .burger span {
                  display: block;
                  height: 3px;
                  background: #E60000;
                  border-radius: 3px;
                  transition: 0.3s;
                }

                /* Анимация крестика */
                .burger.active span:nth-child(1) {
                  transform: rotate(45deg) translate(5px, 5px);
                }
                .burger.active span:nth-child(2) {
                  opacity: 0;
                }
                .burger.active span:nth-child(3) {
                  transform: rotate(-45deg) translate(7px, -7px);
                }



                /* Показать меню при клике */
                .mobile-menu.show {
                  display: flex;


                }

                /* Мобильное выпадающее меню */
                .dropdown-mobile {
                  text-align: center;
                  padding: 5px;
                  font-size: 20px;

                }





                  .dropdown-mobile-nas-blog_1{
                    margin-top: 20px;
                    margin-left: 40%;
                    margin-right: 40%;

                    text-align: center;
                    padding: 5px 10px;
                    border-radius: 5px;
                    background: #222;
                    color: white;
                    text-decoration: none;
                    transition: 0.3s;
                  justify-content: center;
                   background-color:#990000;
                  }
                  .dropdown-mobile-nas-blog_2{
                    margin-top: 10px;
                    margin-bottom: 10px;
                    margin-left: 40%;
                    margin-right: 40%;
                    text-align: center;
                    padding: 5px 10px;
                    border-radius: 5px;
                    background: #222;
                    color: white;
                    text-decoration: none;
                    transition: 0.3s;
                  justify-content: center;
                   background-color:#990000;
                  }

                  /* Блок с фразой и иконками */
                  .info-block {
                    display: flex;
                    flex-direction: column;
                     justify-content: center;
                      align-items: center;
                       gap: 20px;
                        padding: 10px;
                         background: #111;
                          font-size: 24px;
                         }
                         .info-block-p{
                             font-size: 20px;
                         }

                         /* Вертикальные блоки 3-4 по 2 горизонтально */
                         .vertical-section {
                           display: flex;
                            flex-wrap: wrap;
                             gap: 20px;
                             padding: 50px;
                            }

                         .vertical-block {
                           display: flex;
                            flex-direction: column;
                             gap: 20px;
                              flex: 1;
                               min-width: 200px;
                             }

                         .vertical-block .item {
                           background: #222;
                            height: 100px;
                             border-radius: 10px;
                               transition: transform 0.3s, box-shadow 0.3s;
                               align-items: center;
                               text-align: center;
                               display:flex;
                               flex-direction: column;
                         justify-content: center;
                           }

                          .item {
                            color: white;
                            font-size: 27px;
                          }
                           .vertical-block:hover .item:hover {
                             transform: translateY(-5px); /* Подъём при наведении */
                             box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4); /* Красноватая тень */
                             }



                  }
