:root {
  --red: #ff0033;
  --redopas: #ff003370;
  --dark: #000;
  --bbb: #242424;
  --bbb2: #1f1f1f;
  --darklite: #333;
  --ddark: #121212;
  --white: #cccccc;
  --pink: #da7d9b;
  --dark2: #242424;
  --gradient-color: rgba(0, 0, 0, 0.8);
  --gc2: rgba(71, 71, 71, 0.3);
  --ds: #3e47b1;
  --dslite: #6572fa;
  --arrow: #ffffff;
  --ten: rgba(0, 0, 0, 0.3);
  --bulma-family-primary: Inter, SF Pro, Segoe UI, Roboto, Oxygen, Ubuntu, Helvetica Neue, Helvetica, Arial, sans-serif;
  --bulma-family-code: Inconsolata, Hack, SF Mono, Roboto Mono, Source Code Pro, Ubuntu Mono, monospace;
}

/* :root {
  --red: #ff0033;
  --redopas: #ff003370;
  --bbb: #1a1a1a;
  --bbb2: #101010;
  --dark: #000;
  --dark2: #191919;
  --darklite: #222222;
  --ddark: #0a0a0a;
  --white: #cccccc;
  --pink: #da7d9b;
  --gradient-color: rgba(0, 0, 0, 0.8);
  --gc2: rgba(71, 71, 71, 0.3);
  --ds: #3e47b1;
  --dslite: #6572fa;
  --arrow: #ffffff;
  --ten: rgba(0, 0, 0, 0.3);
  --bulma-family-primary: Inter, SF Pro, Segoe UI, Roboto, Oxygen, Ubuntu, Helvetica Neue, Helvetica, Arial, sans-serif;
  --bulma-family-code: Inconsolata, Hack, SF Mono, Roboto Mono, Source Code Pro, Ubuntu Mono, monospace;
} */

/* 'GT Eesti Pro Display', */

@font-face {
  font-family: 'GT Eesti Pro Display';
  src: url('../fonts/gteestiprodisplay_thin.otf') format('opentype');
  font-weight: 100; /* Thin */
  font-style: normal;
}

@font-face {
  font-family: 'GT Eesti Pro Display';
  src: url('../fonts/gteestiprodisplay_light.otf') format('opentype');
  font-weight: 300; /* Light */
  font-style: normal;
}

@font-face {
  font-family: 'GT Eesti Pro Display';
  src: url('../fonts/gteestiprodisplay_regular.otf') format('opentype');
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: 'GT Eesti Pro Display';
  src: url('../fonts/gteestiprodisplay_medium.otf') format('opentype');
  font-weight: 500; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: 'GT Eesti Pro Display';
  src: url('../fonts/gteestiprodisplay_bold.otf') format('opentype');
  font-weight: 700; /* Bold */
  font-style: normal;
}

@font-face {
  font-family: 'GT Eesti Pro Display';
  src: url('../fonts/gteestiprodisplay_ultrabold.otf') format('opentype');
  font-weight: 800; /* Ultra Bold */
  font-style: normal;
}


::-webkit-scrollbar-track {
  background: transparent;        /* цвет дорожки */
  border-radius: 100px; 
}
::-webkit-scrollbar-thumb {
  background-color: #c2c2c2;    /* цвет плашки */
  border-radius: 20px;       /* закругления плашки */
  /* border: 4px solid var(--bbb); */
}
::-webkit-scrollbar {
  width: 6px;               /* ширина scrollbar */
}

::selection {
  background-color: rgba(255, 0, 51, 0.4);
  border-radius: 5px;  /* Округление углов */
}

body {
  padding-bottom: 130px;
  font-family: var(--bulma-family-primary);
  background-color: var(--bbb);
  margin: 0;
  font-weight: 400;
  letter-spacing: .2px;
}

.body-stop {
  overflow: hidden;
}

section {
  display: flex;
}

header {
  background-color: #242424;
  color: #fff;
  margin-bottom: 2px;
  padding: 1rem;
  top: 0;
  bottom: 0;
  justify-content: space-evenly;
  display: flex;
  right: 0;
  left: 0;
  height: 50px;
  position: sticky;
  z-index: 5;
  text-align: center;
}

h2, h3 {
  margin: 0;
}

/* header::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url(../img/balls/b-head-decor_newyear.png);
  background-repeat: repeat-x;
  background-size: contain;
  z-index: 6;
  pointer-events: none;
} */

/* Добавляем шарики */
header::before {
  content: '';
  position: absolute;
  top: -60px; /* Расположение шариков относительно гирлянды */
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 7; /* Поверх гирлянды */
  pointer-events: none;
}

footer {
  /* background-color: #2b2b2b; */
  background-color: rgba(51, 51, 51, 0.65);
  backdrop-filter: blur(11px);
  color: #fff;
  display: flex;
  text-align: center;
  position: fixed;
  bottom: 0;
  /* border-radius: 15px; */
  border-radius: 15px 15px 0px 0px;
  /* width: 100%; */
  padding: 5px;
  /* width: calc(100% - 30px); */
  /* width: calc(100% - 270px); */
  right: 10;
  /* margin: 10px; */
  margin: 10px 10px 0px 10px;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  gap: 5px;
  z-index: 3;
  flex-direction: column;
  align-items: center;
}


body.home footer {
  width: calc(100% - 270px);
}

body.other footer {
  width: calc(100% - 30px);
}

.sitlogo {
  width: 150px;
  height: 36px;
}

.new-year-countdown {
  position: absolute;
  bottom: 25%;
  left: 10%;
  padding: 8px 8px;
  font-size: 16px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  transition: .05s ease;
}

.baner-bk {
  position: absolute;
  bottom: 25%;
  left: 10%;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  opacity: .3;
  transition: .5s ease;
}

.baner-yyyvideo {
  position: absolute;
  bottom: 0;
  padding: 8px;
  left: 0;
  /* display: none; */
  max-width: 350px;
  max-height: 80px;
  /* font-size: 16px;
  font-weight: bold; */
  cursor: pointer;
  /* opacity: .3; */
  transition: .5s ease;
}

.baner-yyyvideo2 {
  /* position: absolute; */
  /* bottom: 25%; */
  left: 0;
  /* display: none; */
  max-height: 50px;
  /* font-size: 16px;
  font-weight: bold; */
  cursor: pointer;
  /* opacity: .3; */
  transition: .5s ease;
}

.baner-bk:active, .baner-bk:hover {
  opacity: 1;
}

.new-year-countdown:active {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  transform: scale(.999);
}

.new-year-title {
  margin-bottom: 5px;
  font-size: 10px;
  user-select: none;
}

.new-year-timer {
  user-select: none;
}


/* ЛОУДЕР */

body.locked {
  overflow: hidden !important; /* Добавим !important для уверенности */
  height: 100%;
}

.pageloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9); /* Полупрозрачный фон */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: all;
}

.pageloader .title2 {
  position: absolute;
  top: 52%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: 2em 0 0 0;
  font-size: 1.2em;
  letter-spacing: .1em;
  line-height: 1.5em;
  color: #fff;
  white-space: nowrap;
}

/* .pageloader::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 100%;
  content: '';
  z-index: 9999;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  box-sizing: border-box;
  border: 0 solid var(--red);
  -webkit-animation: loader-figure 1.15s infinite cubic-bezier(.215,.61,.355,1);
  animation: loader-figure 1.15s infinite cubic-bezier(.215,.61,.355,1);
} */

.pageloader.is-bottom-to-top {
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  opacity: 0;
}

@keyframes loader-figure {
  0% {
    height: 0;
    width: 0;
    background-color: #fff;
  }
  29% {
    background-color: #fff;
  }
  30% {
    height: 2em;
    width: 2em;
    background-color: transparent;
    border-width: 1em;
    opacity: 1;
  }
  100% {
    height: 2em;
    width: 2em;
    border-width: 0;
    opacity: 0;
    background-color: transparent;
  }
}

/* КОНЕЦ ЛОУДЕРА */

.title {
  height: 55px;
  gap: 20px;
  display: flex;
  padding: 5px;
  text-align: center;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-size: 16px;
  border-radius: 15px;
  background-color: rgba(51, 51, 51, 0.45);
  /* background-color: rgb(51, 51, 51); */
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
}

.title form {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  font-size: 12px;
  gap: 8px;
}

.sort-left, .sort-right {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.title h2{
  color: #fff;
  color: #fff;
  left: 60%;
}

.subTitle {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
}

.container {
  display: flex;
  width: 100%;
  flex-direction: row;
}

#file-grid-container{
  width: 100%;
}

.auth-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

/* Градиентное кольцо (Как у Яндекса) */
.profile-icon::before {
  content: "";
  position: absolute;
  border-radius: inherit;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: -2px; /* Важный момент: делает кольцо чуть больше */
  background: var(--red); /* Цвет для неподписанных пользователей */
  transition: transform 0.2s ease-in-out, filter 0.3s ease-in-out, box-shadow 0.2s ease-in-out;
  z-index: -1; /* Градиент уходит под аватар */
}

/* Градиент, если подписка активна */
.profile-icon.subscribed::before {
  background: linear-gradient(101.67deg, #48cce0 7.19%, #505add 34.11%, #be40c0 62.97%, #fba82b 92.19%);
}

.profile-icon.not-subscribed::before {
  background: var(--red);
}

/* 🔥 Ховер-эффект только для подписанных */
.profile-icon.subscribed:hover::before {
  transform: rotate(120deg);
  filter: blur(4px); /* Блюр + небольшое свечение */
}

/* 🌓 Ховер-эффект для неподписанных (без блюра) */
.profile-icon.not-subscribed:hover::before {
  box-shadow: 0 0 10px var(--red);
}

/* Аватар всегда сверху */
.avatar-login {
  width: 98%;
  height: 98%;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--darklite);
  position: relative;
  z-index: 1;
}

.logout-button, .login-button, .buy-button {
  background-color: var(--gradient-color);
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  text-align: left;
  transition: all .2s;
}

.buy-button-small {
  background-color: var(--gradient-color);
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  padding: 3px 6px 3px 6px;
  text-align: left;
  transition: all .2s ease-in-out;
}

.buy-button2 {
  background-color: var(--bbb2);
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  font-weight: 700;
  padding: 12px;
  text-align: center;
  transition: all .2s ease-in-out;
}

/* .buy-button2 span {
  color: var(--white);
} */

.logout-button:hover, .login-button:hover {
  transform: scale(1.08);
}

.logout-button:active, .login-button:active {
  transform: scale(1);
}

.buy-button:hover, .buy-button2:hover, .buy-button-small:hover {
  color: var(--dslite); /* При наведении */
  background-color: var(--gradient-color);
  text-shadow: 0px 0px 5px var(--dslite);
}

#loginwit {
  width: max-content;
}

.navPayBtn {
  width: 40px;
  font-size: 18px;
  height: 40px;
  color: var(--dark);
  border-radius: 50%;
  background-color: #ff0033;
  border: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.navPayBtn:hover {
  color: gold;
  box-shadow: 0px 0px 15px 1px var(--redopas);
  text-shadow: 0px 0px 5px gold;
}

.donat {
  text-decoration: none;
  display: flex;
  gap: 10px;
  background-color: var(--dark);
  color: white;
  font-size: 12px;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  text-align: center;
  transition: all .2s;
}

.donat:hover {
  background-color: var(--ddark);
}

.file-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2rem;
}

/* Сайдбар для навигации */

.sidebar-container {
  padding-left: 10px;
}

.sidebar {
  width: 200px;
  background-color: rgba(51, 51, 51, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0px 10px 10px 10px;
  position: sticky;
  top: 85px;
  bottom: 0;
  left: 6px;
  overflow-y: auto;
  transition: width 0.2s ease;
  border-radius: 15px;
  z-index: 2;
  min-height: calc(100vh - 100px);
}

.sidebar-btn {
  display: flex;
  padding-top: 10px;
  flex-direction: column;
  gap: 10px;
}

.sidebar-btn2 {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-around;
}

.header-container {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.sidebar .category-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Стиль для ссылок категорий */
.sidebar .category-menu li {
  margin: 10px 0;
  text-align: center;
}

.sidebar .category-menu li:last-child {
  margin: 0;
}

.sidebar .category-menu li a {
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
  display: block;
  padding: 10px;
  background-color: var(--ddark);
  border-radius: 10px;
  transition: background-color 0.2s ease;
  position: relative;
}

/* .category-link::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

.category-link.active::after {
  transform: translateY(-50%) rotate(-45deg);
} */

.sidebar .category-menu li a:hover {
  color: var(--white);
  background-color: var(--ten)
}

/* При сворачивании боковая панель будет иметь ширину 50px */
.sidebar.closed {
  width: 50px;
}

.sidebar.closed .category-menu li a {
  font-size: 12px;
  text-align: center;
}

/* Кнопка загрузки файла всегда сверху */
#upload-btn, #upload-reviews-btn, #upload-mod-btn, #upload-btn-user {
  width: 100%;
  background-color: var(--bbb);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

#upload-btn:hover, #upload-reviews-btn:hover, #upload-mod-btn:hover, #upload-btn-user:hover {
  background-color: var(--ddark);
}

#contactOpenModal {
  text-decoration: none;
  display: flex;
  cursor: pointer;
  gap: 10px;
  background-color: var(--dark);
  color: white;
  font-size: 12px;
  border: none;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  text-align: center;
  transition: all .2s ease-in-out;
}

#contactOpenModal2 {
  background-color: var(--ds);
  color: var(--arrow);
  font-size: 16px;
  font-weight: 600;
  border: none;
  padding: 2px 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

#contactOpenModal:hover, #contactOpenModal2:hover {
  background-color: var(--ddark);
}

.apply-filters {
  background-color: var(--bbb2);
  color: white;
  padding: 5px 8px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.apply-filters:hover {
  background-color: var(--ddark);
}

.title label {
  color: #fff;
}

#reviews-btn {
  text-decoration: none;
  display: flex;
  gap: 10px;
  background-color: var(--bbb2);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  justify-content: center;
  transition: all .2s ease-in-out;
}

#reviews-btn:hover {
  background-color: var(--ddark);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  justify-content: center;
  align-items: center;
  position: relative;
  display: flex;
}

/* .review-avatar::after {
  content: '';
  position: absolute;
  top: -29px;
  left: 40px;
  transform: translateX(-100%) rotate(-32deg) scale(0.6);
  width: 60px;
  height: 60px;
  background-image: url(../img/winter-hat2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
} */

.review-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Стиль для появления подсказки при наведении */
button:disabled:hover {
  position: relative;
}

/* Появление сообщения при наведении */
button:disabled:hover::after {
  content: attr(title); /* Используем значение из атрибута title */
  position: absolute;
  top: -30px; /* Расположение подсказки сверху */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 9999;
}

#offer-btn {
  width: 100%;
  background-color: var(--bbb);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

#offer-btn:hover {
  background-color: var(--ddark);
}

/* Контент */
.content {
  padding: 0px 20px 20px 20px;
  flex-grow: 1;
  min-height: 100vh;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.file-card:hover {
  box-shadow: 0 0 20px rgb(0 0 0 / 60%);
}

.file-preview {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
  cursor: pointer;
}

.file-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.fileSizeNumber, .fileSize {
  font-size: .7rem;
  margin: 0;
  font-family: var(--bulma-family-code);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all .2s;
}

.fileSize {
  background-color: var(--bbb2);
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
}

.fileSize:hover, .fileSize:active {
  background-color: var(--ddark);
}

.file-info-link {
  font-size: 11px;
  text-decoration: none;
  color: #fff;
}

.file-card {
  background: rgba(51, 51, 51, 0.6);
  /* background: rgb(51, 51, 51); */
  display: flex;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  /* backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px); */
  color: var(--arrow);
  flex-direction: column;
  align-items: flex-start;
  max-width: 300px;
  padding: 20px;
  height: auto;
  max-height: min-content;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s ease-in-out;
  transform: translateZ(0);
  will-change: transform, backdrop-filter;
}

.master-card p {
  white-space: pre-line;
  width: 100%;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  margin: 0;
  font-size: .8rem;
  padding: 5px;
  line-height: 1.2;
  word-break: break-word;
}

.master-card h3 {
  padding: 5px;
  margin: 0;
}

.master-card a {
  text-decoration: none;
  gap: 10px;
  background-color: #626262;
  color: white;
  font-size: 12px;
  padding: 2px 3px 2px 3px;
  border-radius: 5px;
  text-align: center;
  transition: all .2s ease-in-out;
}

.master-card a:hover {
  background-color: var(--ddark);
}

/* Контейнер для элементов управления */
.file-controls {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.file-info-bottom {
  display: flex;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 5px 0 5px;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.file-info-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.file-info-top-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.file-top {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-direction: column;
}

/* Контейнер для описания */
.description-container {
  color: #fff;
  width: 100%;
  border-radius: 12px;
  background: #121212;
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.description-container.visible {
  opacity: 1;               /* Делаем контейнер видимым */
  visibility: visible;      /* Делаем его видимым */
  height: auto;             /* Восстанавливаем высоту */
  transition: all 0.2s ease-in-out;
}

.description-container pre {
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    padding: 5px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    margin: 0;
}

/* Кнопка скачивания */
.download-button {
  text-decoration: none;
  display: flex;
  gap: 5px;
  cursor: pointer;
  background-color: var(--bbb2);
  color: white;
  font-size: 12px;
  align-items: center;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  text-align: center;
  user-select: none;
  transition: all .2s ease-in-out;
}

.download-button:hover, .download-button:active {
  background-color: var(--ddark);
}

/* Стиль для кнопки "Показать описание" */
.toggle-description {
  text-decoration: none;
  display: flex;
  gap: 10px;
  background-color: var(--bbb);
  color: white;
  font-size: 12px;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  text-align: center;
  transition: all .2s ease-in-out;
  align-items: center;
  border: none;
  cursor: pointer;
}

.toggle-description:hover {
  background-color: var(--ddark);
}

.toggle-description svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.arrow {
  width: 16px; /* Устанавливаем нужный размер */
  height: 16px;
  fill: #ffffff; /* Цвет иконки, можно изменить */
  transition: transform 0.2s ease; /* Плавный поворот */
}

/* Когда описание скрыто, стрелка вниз */
.arrow.down {
  transform: rotate(0deg); /* Обычное положение */
}

/* Когда описание открыто, стрелка вверх */
.arrow.up {
  transform: rotate(180deg); /* Поворот на 180 градусов */
}

/* Стиль для скрытого описания */
.file-description {
  opacity: 0;               /* Скрываем элемент */
  visibility: hidden;       /* Убираем его из потока */
  height: 0;                /* Устанавливаем высоту в 0 */
  overflow: hidden;         /* Скрываем содержимое */
  transition: all 0.2s ease-in-out;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Стиль для отображенного описания */
.file-description.visible {
  opacity: 1;               /* Делаем элемент видимым */
  visibility: visible;      /* Делаем его видимым */
  height: auto;             /* Восстанавливаем высоту */
  transition: all 0.2s ease-in-out;
}

/* Стиль для иконки галочки */
.check-icon {
  width: 14px;
  height: 14px;
  margin-right: 8px;
}

/* Стиль для статуса верификации */
.verified,
.not-verified {
  margin: 0;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.verified svg,
.not-verified svg {
  fill: rgb(32, 255, 32);
  width: 16px;
  height: 16px;
}

.not-verified svg {
  fill: red;
}

.not-verified:after, .verified:after {
  content: attr(titles); /* Подсказка будет содержать текст, указанный в title */
  position: absolute;
  bottom: 110%; /* Показываем подсказку над элементом */
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
  background-color: rgba(17, 17, 17, 0.8); /* Черный фон с прозрачностью */
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s;
  z-index: 10;
}

.details {
  position: relative;
}

.details2 {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  margin: 0;
}

.details:after {
  content: attr(details-text); /* Подсказка будет содержать текст, указанный в title */
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.85);
  background: rgb(17, 17, 17);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  white-space: pre;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.details2:after {
  content: attr(details-text); /* Подсказка будет содержать текст, указанный в title */
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.85);
  background: rgb(17, 17, 17);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  white-space: pre;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.details3:after {
  content: attr(details-text); /* Подсказка будет содержать текст, указанный в title */
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.85);
  background: rgb(17, 17, 17);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  white-space: pre;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.details:hover:after, .details2:hover:after, .details3:hover:after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.not-verified:hover:after, .verified:hover:after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.verified, .not-verified {
  font-size: 10px;
  white-space: nowrap;
  padding: 5px 10px 5px 10px;
  align-items: center;
  display: flex;
  gap: 5px;
  background-color: black;
  background-color: var(--bbb2);
  color: #ffffff;
  border-radius: 5px;
  transition: all .2s ease-in-out;
}

.verified:hover {
  background-color: var(--ddark);
}

.not-verified:hover {
  background-color: var(--ddark);
}

/* Стили для проверенного элемента */
.verified:after {
  color: #00ff00; /* Например, зеленый цвет для проверенного */
  text-shadow: 1px 1px 2px #00ff00;
}

/* Стили для непроверенного элемента */
.not-verified:after {
  color: red; /* Например, красный цвет для непроверенного */
  text-shadow: 1px 1px 2px red;
}

.discord-tag {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--bulma-family-code);
  color: var(--dslite);
  width: fit-content;
  transition: all .2s ease;
}

.byepodpiskafiles {
  margin: 0
}

.byepodpiskafiles button {
  border: none;
}

.discord-tag:hover {
  color: #5660d1;
}

/* Анимация для описания */
@keyframes slide-down {
  0% {
      max-height: 0;
      opacity: 0;
  }
  100% {
      max-height: 500px;
      opacity: 1;
  }
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  z-index: 8;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.603);
  padding-top: 20px;
  padding-bottom: 20px;
}

.modal-content {
  background-color: var(--bbb);
  margin: 0 auto;
  padding: 20px;
  color: #fff;
  width: 80%;
  border-radius: 15px;
  max-width: 600px;
}

.modal-content h2 {
  margin: 0;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Стили для формы */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Расстояние между элементами */
}

.form-label {
  font-weight: bold;
  font-size: 16px;
}

.form-input {
  padding: 8px;
  background-color: var(--ddark);
  font-size: 16px;
  border: none;
  width: 100%;
  color: #fff;
  border-radius: 8px;
}

.form-input3 {
  padding: 3px;
  background-color: var(--ddark);
  font-size: 12px;
  border: none;
  color: #fff;
  border-radius: 8px;
}

.form-input2 {
  padding: 8px;
  background-color: var(--ddark);
  font-size: 12px;
  border: none;
  color: #fff;
  width: 100%;
  border-radius: 8px;
}

.form-input2:focus-visible {
  box-shadow: 0px 0px 5px 1px var(--ds);
  outline: none;
}

.form-input:focus-visible {
  box-shadow: 0px 0px 5px 1px var(--ds);
  outline: none;
}

.form-file {
  display: flex;
  gap: 5px;
  flex-direction: column;
  align-items: flex-start;
  font-size: small;
  margin: 0;
}

.submit-btn {
  background-color: var(--dark);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}
.submit-btn2 {
  background-color: var(--bbb);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.submit-btn2:hover {
  background-color: var(--ddark);
}

.submit-btn:hover {
  background-color: var(--darklite);
}

.delete-button {
  background-color: var(--redopas);
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.loh-block3 {
  max-width: 200px;
}

.delete-button:hover {
  background-color: var(--red);
}

.category-link.open {
  box-shadow: 0 0 2px var(--arrow);
  transition: all .3s ease-in-out;
}

/* Активные ссылки для категории */
.category-link.active {
  box-shadow: 0 0 8px var(--white);
  transition: all .3s ease-in-out;
}

/* .category-link.active::after {
  content: "\f107";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  margin-left: 8px;
  color: var(--white);
  font-size: 0.9em;
} */

/* Активная подкатегория (пункт в раскрытом списке) */
.sub-category-menu a.itemactive {
  box-shadow: 0 0 2px var(--arrow);
  transition: all .3s ease-in-out;
}

/* Основной стиль для категории */
.category-item {
  list-style-type: none;
  margin: 5px 0;
}

/* Стиль для подкатегорий - скрыто по умолчанию */
.sub-category-menu {
  padding-left: 20px;
  list-style-type: none;
}

/* Стиль для ссылок */
.category-link {
  cursor: pointer;
  text-decoration: none;
  color: #333;
}

/* Для подкатегорий */
.sub-category-menu a {
  color: #555;
  text-decoration: none;
  padding: 5px 0;
  display: block;
}



progress {
  width: 100%;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f3f3f3;
}

progress[value] {
  background-color: #e0e0e0;
}

progress[value]::-webkit-progress-bar {
  background-color: #f3f3f3;
}

progress[value]::-webkit-progress-value {
  background-color: var(--darklite);
}

.markdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.markdown p {
  margin: 0;
}

.markdown a {
  text-decoration: none;
  color: var(--dslite);
  font-weight: 800;
  font-size: 16px;
  transition: all .2s ease-in-out;
}

.markdown a:hover {
  text-shadow: 1px 1px 2px var(--dslite);
}

/* МИНИ */
.markdownmini {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.markdownmini p {
  margin: 0;
}

.markdownmini a {
  text-decoration: none;
  color: var(--dslite);
  font-weight: 800;
  font-size: 12px;
  transition: all .2s ease-in-out;
}

.markdownmini a:hover {
  text-shadow: 1px 1px 2px var(--dslite);
}

/* КОНЕЦ МИНИ */

.copy-tooltip {
  position: absolute;
  bottom: 25%;
  left: 55%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #00ff00;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  animation: fadeInOut 1.5s ease-in-out;
  pointer-events: none;
}

.copy-tooltip2 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #00ff00;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  animation: fadeInOut 1.5s ease-in-out;
  pointer-events: none;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

.imgPrev {
  object-fit: cover;
  width: 100%;
  border-radius: 15px;
  height: 150px;
}

#file {
  display: none;
}

#file-label {
  background-color: var(--dark);
  color: white;
  padding: 10px 20px;
  border: none;
  width: fit-content;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

#file-label:hover {
  background-color: var(--darklite);
}

.achievements {
  display: flex;
  gap: 5px;
  background-color: #000000;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
}

.achievements p {
  margin: 0;
  font-size: 12px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
   -khtml-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.footer-bottom {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-direction: column;
  padding: 5px;
}

.modaldon {
  display: none;
  position: fixed;
  z-index: 8;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-contentdon {
  background-color: rgba(36, 36, 36, 0.90);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  margin: 15% auto;
  padding: 20px;
  display: block;
  max-width: 650px;
  text-align: center;
  border-radius: 15px;

}

.closedon {
  transition: all .2s ease-in-out;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closedon:hover,
.closedon:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.donat-div {
  display: flex;
  gap: 15px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.donat-input {
  padding: 8px;
  background-color: var(--ddark);
  font-size: 16px;
  border: none;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.modal-img {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-img-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-img img {
  max-width: 80%;
  max-height: 80%;
  margin: 0 auto;
  display: block;
  z-index: 1;
  transition: transform 0.2s ease; /* Плавное увеличение */
}

/* Увеличиваем и размываем второе изображение */
.blurred-img {
  position: absolute;
  transform-origin: center center;
  max-width: 90%;  /* Размытое изображение чуть больше */
  max-height: 90%;
  transform: translate(-50%, -50%) scale(1.05); /* Размытое изображение будет немного больше */
  filter: blur(8px); /* Размываем изображение */
}


.media-preview {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Устанавливаем курсор как указатель на картинке */
.modal-img img:hover {
  cursor: zoom-in;
}

#upload-btn:disabled {
  background-color: #58585871;  /* Цвет для неактивной кнопки */
  cursor: not-allowed;     /* Изменение курсора */
  opacity: 0.5;            /* Уменьшаем непрозрачность */
}

.submit-btn:disabled {
  background-color: #58585871;  /* Цвет для неактивной кнопки */
  cursor: not-allowed;     /* Изменение курсора */
  opacity: 0.5;            /* Уменьшаем непрозрачность */
}

/* Стиль для фона, чтобы он выглядел как темный слой */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}


.reviews-s {
  display: flex;
  padding: 0px 20px 20px 20px;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
}


.review-form {
  margin: .8px;
  width: 50%;
  outline: none;
  padding: 20px;
  flex-wrap: wrap;
  display: flex;
  border: none;
  gap: 20px;
  background-color: rgba(51, 51, 51, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
  flex-direction: column;
  color: #fff;
  align-items: flex-start;
  align-content: center;
}

.review-form label {
  display: block;
  font-weight: bold;
}

.review-form textarea {
  width: 95%;
}

.review-form input[type="number"] {
  width: 50px;
}

/* Стили для отзывов */

.review-container {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  gap: 15px;
}

.reviews-list {
  margin: .8px;
  padding: 20px;
  overflow-y: auto;
  background-color: rgba(51, 51, 51, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  width: 50%;
  display: flex;
  gap: 20px;
  height: 60vh;
  border-radius: 10px;
  flex-direction: column;
}

.review {
    display: flex;
    flex-direction: row;
    padding: 20px;
    color: #fff;
    background-color: var(--ddark);
    border-radius: 8px;
}

.review-middle {
  width: 100%;
  gap: 5px;
  display: flex;
  flex-direction: column;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.username {
    font-weight: bold;
    font-size: 12px;
}

.username a {
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.username a:hover:after {
  opacity: 1;
  visibility: visible;
}

.username a:after {
  content: attr(details-text);
  position: absolute;
  bottom: 105%;
  white-space: pre;
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
  background-color: rgba(67, 67, 67, 0.8);
  outline: .8px solid #ffffff73;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s;
  z-index: 10;
}

.review_form_text, .rating {
  color: #fff;
  font-size: 18px;
}

.review_text {
  min-height: 20px;
  font-size: 12px;
  white-space: pre-line;        /* Сохраняет символы переноса строк (\n) */
  word-wrap: break-word;        /* Разбивает длинные слова, если они не помещаются */
  overflow-wrap: break-word;    /* Современный аналог word-wrap */
  max-width: 100%;              /* Можно задать максимальную ширину контейнера */
  word-break: break-word; 
  font-weight: 200;
}

.star-container {
  display: flex;
  gap: 2px;
}

.star {
  width: 12px;
  background-size: contain; /* Подгоняет размер фона */
  background-repeat: no-repeat; /* Не повторять фон */
}

.star.filled {
  background-image: url('https://reduxhub.ru/assets/img/heart1.svg');
  position: relative;
}

.filled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://reduxhub.ru/assets/img/heart1.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px);
  opacity: 0.9;
  transform: scale(1);
}

/* Пустая звезда */
.star.empty {
  background-image: url('https://reduxhub.ru/assets/img/heart0.svg');
}

.review_textarea {
  height: 250px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.rating-area {
  overflow: hidden;
  width: 265px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating-area:not(:checked) > input {
  display: none;
}

.rating-area:not(:checked) > label:last-of-type {
  margin-left: 5px;
}

.rating-area:not(:checked) > label {
  float: right;
  width: 42px;
  padding: 0;
  cursor: pointer;
  font-size: 32px;
  line-height: 32px;
  color: lightgrey;
  text-shadow: 0px 0px 8px #fff;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rating-area:not(:checked) > label:before {
  content: '❤';
}

.rating-area > input:checked ~ label {
  color: var(--red);
  text-shadow: 0px 0px 8px var(--red);
}

.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label {
  color: var(--red);
  text-shadow: 0px 0px 8px var(--red);
}

.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
  color: var(--red);
  text-shadow: 0px 0px 8px var(--red);
}

.rate-area > label:active {
  position: relative;
}

.statusCont{
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.statusCont p{
  margin: 0;
  font-size: 12px;
}

.loh-block {
  margin-top: 10px;
}

.copy-text {
  background-color: #000000;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  user-select: none;
  position: relative;
  margin: 0;
  cursor: pointer;
}

.copy-text::after {
  content: "Made with ❤️ for u"; /* Текст, который появится при наведении */
  position: absolute;
  top: -30px; /* Расположить текст над элементом */
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.85);
  background-color: #1a1a1a; /* Фон для текста */
  color: #fff; /* Цвет текста */
  padding: 5px 10px; /* Внутренние отступы */
  border-radius: 4px; /* Закругление углов */
  font-size: 12px; /* Размер шрифта */
  white-space: nowrap; /* Запрет переноса текста */
  opacity: 0; /* Скрыто по умолчанию */
  pointer-events: none; /* Исключаем из взаимодействия */
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.copy-text:hover::after {
  opacity: 1; /* Показываем текст при наведении */
  transform: translateX(-50%) translateY(0) scale(1);
}

.referral-system {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.referral-input {
  display: flex;
  background-color: var(--darklite);
  border: none;
  color: var(--white);
  padding: 5px 10px;
  border-radius: 30px;
  outline: none;
  max-width: 300px;
  font-size: 16px;
  transition: border-color 0.2s;
}

#user-ref-code {
  user-select: none;
  cursor: pointer;
  color: var(--dslite);
  transition: all .2s ease-in-out;
}

#user-ref-code:hover {
  color: var(--ds);
}

.referral-code {
  display: flex;
  background-color: var(--darklite);
  border: none;
  color: var(--white);
  padding: 5px 10px;
  column-gap: 5px;
  height: 38px;
  border-radius: 30px;
  outline: none;
  max-width: 300px;
  font-size: 16px;
  transition: border-color 0.2s;
  align-items: center;
}

.promo-code-con {
  display: flex;
  background-color: var(--darklite);
  border: none;
  color: var(--white);
  width: max-content;
  padding: 3px 5px;
  column-gap: 5px;
  height: min-content;
  border-radius: 30px;
  outline: none;
  max-width: 300px;
  font-size: 16px;
  transition: border-color 0.2s;
  align-items: center;
}

.promo-code-con p {
  margin: 0;
  user-select: none;
}

.promo-code-con span {
  color: #fff;
  text-shadow: 0px 0px 8px #ffffff;
  cursor: pointer;
  transition: all .2s ease-in-out;
  position: relative;
}

.promo-code-con span:hover {
  color: #cacaca;
  text-shadow: 0px 0px 3px #cacaca;
  cursor: pointer;
}

.promo-code::after {
  content: attr(data-title); /* Берем текст из атрибута data-title */
  position: absolute;
  visibility: hidden;
  opacity: 0;
  bottom: -25px; /* Расположение подсказки */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark);
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Маленький треугольник под подсказкой */
.promo-code::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark) transparent transparent transparent;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Показываем подсказку при наведении */
.promo-code:hover::after,
.promo-code:hover::before {
  visibility: visible;
  opacity: 1;
}

.promo-img {
  width: 100%;
  border-radius: 15px;
}

.apply-button {
  background-color: var(--bbb);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.apply-button:hover {
  background-color: var(--ddark);
}

/* ОШИБКИ */

.social_but {
  display: flex;
  height: 40px;
  width: 40px;
  background: var(--darklite);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  transition: .2s;
}

.social_but:hover {
  background: #2a2a2a;
  transition: .2s;
}

.social_but:hover svg {
  fill: #f76565;
  transition: .2s;
}

.social_but svg {
  width: 16px;
  height: 16px;
  fill: rgb(255, 255, 255);
  transition: .2s;
}

.logo {
  position: relative;
  display: flex;
  gap: 5px;
  align-items: center;
}

/* .logo::after {
  content: '';
  position: absolute;
  top: -17px;
  left: 56px;
  transform: translateX(-100%) rotate(-27deg) scale(0.4);
  width: 60px;
  height: 60px;
  background-image: url(../img/winter-hat2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
} */

/* Модальное окно */
.modal-dwl {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(69 69 69 / 60%);
  z-index: 1;
  align-items: center;
  border-radius: 8px;
  justify-content: center;
}

.modal-content-dwl {
  display: flex;
  background: #242424;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  flex-direction: column;
  align-items: flex-end;
}

.modal-content-dwl p {
  margin: 0;
  padding: 5px;
  width: max-content;
}

.modal-left-dwl {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.modal-right-dwl .modal-download-button {
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 auto;
  background-color: var(--darklite);
  color: white;
  font-size: 12px;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  text-align: center;
  transition: all .2s ease-in-out;
}

.modal-right-dwl .modal-download-button:hover {
  background-color: var(--ddark);
}

.modal-foot-dwl {
  flex-direction: row;
  display: flex;
  width: 100%;
  gap: 5px;
  align-items: end;
}

.modal-foot-dwl.has-many-items {
  flex-direction: column;
  align-items: center;
}

.modal-right-dwl {
  flex: 1;
  display: flex;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
}

.modal-left-dwl p {
  margin: 0;
  padding: 5px;
  width: max-content;
  font-size: 10px;
}
/* Стили для закрытия модального окна по клику */
#modal-dwl:target {
  display: flex;
}

.inf-form {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  padding: 5px;
}

.subscribe-notification {
  font-size: 32px;
  position: absolute;
  bottom: 35%;
  right: 3%;
  z-index: 900;
}

/* Стиль для модального окна */
#shareModal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9;
}

.modal-content-share {
  left: 50%;
  position: absolute;
  background-color: rgba(51, 51, 51, 0.90);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  width: 100%;
}

#shareModal a {
  margin: 10px;
  padding: 10px;
  cursor: pointer;
}

.telegram-iconn {
  display: flex; /* Размещаем иконку в центре */
  cursor: pointer; /* Указатель при наведении */
  filter: brightness(0) invert(1);
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.telegram-icon-img {
  user-select: none;
  width: 40px; /* Ширина иконки */
  height: 40px; /* Высота иконки */
  animation: waveShake 0.8s 6; /* Анимация волнения, проигрывается один раз */
  transition: transform 0.2s; /* Анимация при наведении */
}

.telegram-icon:hover .telegram-icon-img {
  transform: scale(1.1); /* Увеличение иконки при наведении */
  animation-play-state: paused; /* Остановка анимации при наведении */
}

@keyframes waveShake {
  0%, 100% { 
      transform: rotate(0deg) translateX(0); 
  }
  25% { 
      transform: rotate(2deg) translateX(-2px); 
  }
  50% { 
      transform: rotate(-2deg) translateX(2px); 
  }
  75% { 
      transform: rotate(2deg) translateX(-2px); 
  }
}

/* Стили для модального окна */
#bblock-modal {
  display: none; /* Скрываем окно по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: Arial, sans-serif;
}
#bblock-modal-content {
  background: rgba(88, 88, 88, 0.6);
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}
#bblock-modal img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
#bblock-modal button {
  background-color: var(--ddark);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}
#bblock-modal button:hover {
  background-color: var(--bbb2);
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 3px;
  max-width: 500px;
  border: 1px solid var(--dark);
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
  color: #aaa;
}

.search-button {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 0.2s ease;
}

.search-button:hover {
  color: #a7a7a7;
}

.search-icon {
  width: 20px;
  height: 20px;
}

.search-button:focus {
  outline: none;
}

.delete-reviews-form {
  position: relative;
}

.delete-reviews-button {
  background-color: var(--redopas);
  color: white;
  padding: 5px 10px;
  position: absolute;
  width: max-content;
  transform: translateX(-100%);
  border: none;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.delete-reviews-button:hover {
  background-color: var(--red);
}

.scroll-to-top {
  position: fixed;
  bottom: 150px;
  right: 65px;
  width: 50px;
  font-size: 18px;
  height: 50px;
  background-color: rgba(7, 7, 7, 0.6);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: white;
  border: none;
  text-shadow: 0px 0px 6px #fff;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0; /* Изначально скрыта */
  transform: translateX(120px); /* Смещена вниз для анимации */
  transition: all 0.2s ease-in-out; /* Плавная анимация */
}

.scroll-to-top:hover {
  background-color: rgba(18, 18, 18, 0.6);
}

/* Появление кнопки при прокрутке */
.scroll-to-top.show {
  opacity: 1;
  transform: translateX(0); /* Восстанавливаем положение */
}

.payz {
  color: var(--dslite);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.podpiska {
  font-weight: 600;
  color:var(--red);
  font-size: 18px !important;
}

.discord-tag-container {
  display: flex;
  align-items: center;
  margin: 0;
}

.right-footer {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Стили для переключателя iOS */
/* Общие стили для контейнера */


@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
      transform: translateY(0);
  }
  to {
      opacity: 0;
      transform: translateY(20px);
  }
}

.blur-up {
  -webkit-filter: blur(5px);
  filter: blur(5px);
  transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
  -webkit-filter: blur(0);
  filter: blur(0);
}

img.lazyload:not([src]) {
	visibility: hidden;
}

.fade-box .lazyload,
.fade-box .lazyloading {
  opacity: 0;
  transition: opacity 400ms;
}

.fade-box img.lazyloaded {
  opacity: 1;
}

/* Стили для триггера */
/* Анимированные полоски загрузки */
.loader2 {
  display: inline-block;
  width: 80px;
  height: 10px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
  margin: 0 auto 5px;
}

.loader2::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.2));
  animation: loading 1.5s infinite;
  border-radius: 5px;
}

@keyframes loading {
  0% {
      left: -40px;
  }
  100% {
      left: 100%;
  }
}

/* Текст загрузки */
#load-text {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
}

.ebnyt {
  margin-bottom: 0;
  margin-top: 10px;
}

.category-type-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* НОВЫЙ ГОД БУДИТ */

#modal-christmas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Полупрозрачный черный фон */
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999; /* Высокий приоритет */
}

#modal-christmas-content {
  position: relative;
  z-index: 100000; /* Выше, чем overlay */
}

#modal-christmas-content img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.forma-sections-upload {
  display: flex;
  gap: 20px;
  flex-direction: row;
  align-items: center;
}

.forma-sections-select {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 50%;
  align-items: flex-start;
}

.footer-status {
  position: absolute; /* Абсолютное позиционирование */
  bottom: 10px; /* Расстояние от низа футера */
  right: 10px; /* Расстояние от правого края футера */
}

#twitch-widget-container iframe {
  border-radius: 15px !important;  /* Используем !important, чтобы переопределить любые другие стили */
}

.average-rating {
  color: white;
}

.file-list {
  list-style-type: none;
  padding: 0;
}

/* Стили для li с классом .file-item */
.file-item {
  margin: 5px 0;
  padding: 6px;
  background-color: rgba(255, 255, 255, 0.1); /* Полупрозрачный фон */
  outline: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  border-radius: 8px; /* Закругленные углы */
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease; /* Плавные переходы */
}

/* Эффект при наведении */
.file-item:hover {
  background-color: rgba(255, 255, 255, 0.3); /* Более яркий фон при наведении */
  transform: translateY(-2px); /* Эффект поднятия */
}

/* Плавная анимация при перетаскивании */
.file-item:active {
  transform: scale(0.98); /* Слегка уменьшить размер при нажатии */
}

.promo-note {
font-size: 10px;
color: #999;
text-align: center;
margin-top: 5px;
}
