* {
            font-family: "Arial", sans-serif; 
            margin: 0; 
            padding: 0; 
        }


html, body {
    width: 100%;
    height: 100%;
}

.fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Контейнер с фоном */
.inner {
    position: relative;
    width: 90vw;
    height: 90vh;
    background: url("pic/image0.jpg") center center no-repeat;
    background-size: contain;
}

/* Блок настроек */
.settings {

    margin-left: -6%;
padding: 1% 0% 2% 3%; /* top right bottom left */
    position: absolute;
   top: 50%;
    width: 15%;
    height: 43%;
    background: rgba(255, 255, 255, 0.85);
    
    
    box-sizing: border-box;
    overflow-y: auto;
    border-radius: 0 10px 10px 0;

 filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.9));


    /* анимация */
    transform: translateX(-150%);
    animation: slideIn 0.8s ease-out forwards;
    animation-delay: 1s;
}

/* Кадры анимации */
@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}


/* Немного косметики */
.settings h2 {
margin-top: 20%;
    margin-bottom: 2%;
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

/* Общие стили для label */
.settings label {    
 
    display: block;
    font-size: 16px;
    color: #333;
}

/* Поля ввода и select */
.settings input
 {

    width: 30%;
    margin-top: 2%;
    margin-bottom: 10%;
    padding: 10px 12px;

    font-size: 16px;
    color: #222;

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}


.settings select {

    width: 90%;
    margin-top: 2%;
    margin-bottom: 10%;
    padding: 10px 12px;

    font-size: 16px;
    color: #222;

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}


/* кнопка плей */

.button-link {
    margin-left: -10%;
    display: block;
    width: 100%;
    text-align: center;
}

.button-link .button {

    width: 50%;
    height: auto;
    display: block;
    margin: 10px auto;

}


/* кнопка помощ */

.buttonH {
  float: right;
  margin: 0% 5% 0% 0%;

    display: block;
    width: 20%;

}

/* .buttonH .button {

    width: 40%;
    height: auto;
    display: block;
    margin: 10px auto;

} */





/* телеграм код */
.tq1{
position: absolute;
 z-index: 1;
 right: 0%;
 margin-top: 2%;
}
.tq2 {
  width: 70%;
  opacity: 0;
  transition: opacity 1s ease; /* плавное проявление и исчезание */
}






/* ===== Cookie banner ===== */
#cookie-banner {
    position: fixed;
    left: 0;
    bottom: 60px;
    width: 100%;
    background: #e1e1e2;
    color: #000000;
    padding: 15px 20px;
    display: none;
    z-index: 9999;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

#cookie-banner a {
    color: #000;
    text-decoration: underline;
}

#cookie-banner .buttons {
    margin-top: 8px;
}

#cookie-banner button {
    border: none;
    padding: 7px 14px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: bold;
}

#cookie-accept {
    background: #4ea3ff;
    color: #000;
}

#cookie-decline {
    background: #555;
    color: #fff;
}

#cookie-decline:hover {
    background: #777;
}

/* ===== Footer ===== */
#site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #e1e1e2;
    color: #000;
    text-align: center;
    padding: 8px 10px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    z-index: 9998;
    box-sizing: border-box;
}

#site-footer a {
    color: #000000;
    margin: 0 6px;
    text-decoration: none;
}

#site-footer a:hover {
    text-decoration: underline;
}

#site-footer .org {
    display: block;
    margin-top: 6px;
    color: #000;
    font-size: 11px;
}


/* Блок иконок */
.block2-2025 {
        margin-top: -12%;
  text-align: center;
  padding: 1px;
}

.block2-2025 .logos {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.block2-2025 .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 600px;
  transform: rotateY(0deg) rotateX(0deg);
}

.block2-2025 .logo-item:hover {
  transform: rotateY(25deg) rotateX(6deg) translateY(-6px);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(64, 89, 101, 0.4);
}

.block2-2025 .logo1 {
  height: 55px;
  transform: translateZ(20px);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.block2-2025 .logo-item:hover .logo1 {
  transform: translateZ(25px) rotateY(-3deg) scale(1.3);
  filter: brightness(1.2);
}



.logos2 {
  background: #fff;
  padding: 20px 30px;
  width: 80%;
  border: 1px solid #ccc;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  height: 5%;
  transform: skew(-20deg);
  margin: 50px;

  z-index: -2;
  margin-top: -50px;
}





/* Футер */
.block-2025 {
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}

.policy-link {
  color: #405965;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.policy-link:hover {
  color: #0f62fe;
  text-decoration: underline;
}


/* Фон модального окна помощи*/
.modal {
  display: none; /* скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5); /* затемнение */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Контент окна */
.modal-content {
  position: relative;
  width: 70%;
  height: 70%;
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

/* Крестик закрытия */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Анимация появления окна */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}


/* Текст инструкции */
.help-text {
        margin: 10px 10px  10px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-top: 10px;
}

/* Картинка в тексте */
.help-text .inline-img {
    width: 30px;       /* маленькая картинка */
    height: auto;
    vertical-align: middle;  /* выравнивание по тексту */
    margin-left: 5px;  /* небольшой отступ слева */
}

/* Списки внутри инструкции */
.help-text ul {
    margin: 10px 10px  10px 20px;
    padding: 0;
    list-style-type: disc;
}

/* Маркеры в списках */
.li {
    margin-bottom: 6px;
        margin: 10px 10px  10px 20px;
}




/* --- Базовая адаптация --- */
@media (max-width: 768px) {

    .settings {
        width: 50%;       /* блок шире, чтобы помещалось на узких экранах */
        height: auto;     /* высота под контент */
        top: 0%;         /* немного отступ сверху */
        left: 0%;        /* центрируем по горизонтали */
    }
.block2-2025 {
        margin-top: -100%;
  text-align: center;
  padding: 1px;
}

}
