@font-face {
  font-family: 'RazerF5Bold';
  src: url('./dehinted-RazerF5-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  background-color: #1c1c1c;
  color: white;
  min-height: 100vh;
  font-family: 'RazerF5Bold', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
}

.container {
  flex-direction: column;
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 2px solid #acacac;
  border-radius: 20px;
  box-shadow: 0 0 12px #acacac;
  background: transparent;
  padding: 30px;
  backdrop-filter: blur(14px);
}

.top-button {
  margin-bottom: 10px;
}

.container-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.columns-wrapper {
  /* flex не нужен, чтобы колонки шли одна под другой */
  width: 100%;
  max-width: 500px; /* ограничение ширины контейнера */
  margin: 0 auto; /* центрируем */
}

.column {
  width: 100%; /* чтобы занять всю ширину .columns-wrapper */
  max-width: 500px; /* одинаковая максимальная ширина */
  margin-bottom: 20px; /* отступ между колонками */
  box-sizing: border-box;
}

.part {
  background: transperent;
  border: 2px solid #acacac;
  border-radius: 20px;
  padding: 6px 20px;
  font-family: 'RazerF5Bold', sans-serif;
  color: white;
  box-shadow: 0 0 12px #acacac;
  margin: 20px 0 10px;
  max-width: max-content;
}

.genre {
  font-size: 0.85rem;
  color: #bbbbbb;
  margin-left: 6px;
  font-family: 'RazerF5Bold', sans-serif;
  display: inline; /* по умолчанию в строке */
}


.list {
  background: transperent;
  gap: 10px; /* или любое значение, которое вам нужно */
  line-height: 3;
  backdrop-filter: blur(10px);
  border: 2px solid #acacac;
  border-radius: 20px;
  padding: 6px 20px;
  font-family: 'RazerF5Bold', sans-serif;
  box-shadow: 0 0 12px #acacac;
  margin: 20px 0 10px;
  max-width: max-content;
}

.list ul {
  padding-left: 3px; /* отступ слева */
  margin: 0;
  list-style: inside disc;
}

.list ul li {
  margin-bottom: 5px; /* расстояние между пунктами */
  line-height: 1.3; /* высота строки внутри пункта */
  color: white;
}


footer {
  text-align: center;
  margin-top: 30px;
  color: gray;
  font-size: 14px;
}

.btn {
  width: auto;
  background: #acacac;
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  /* убираем свечение по умолчанию */
  box-shadow: none;
}

.btn:hover {
  /* увеличиваем кнопку */
  transform: scale(1.05);
  /* добавляем свечение */
  box-shadow: 0 0 8px 4px #acacac;
  cursor: pointer;
}

.parts-row {
  display: flex;
  align-items: center;
  gap: 15px; /* расстояние между "Фильмы" и "Язык:" */
}

.language-part img {
  width: 20px; /* размер флага */
  height: auto;
  vertical-align: middle;
  border-radius: 2px; 
  cursor: pointer;
  transition: transform 0.2s ease;
}

.language-part a:hover img {
  transform: scale(1.1);
}

.language-part a + a {
  margin-left: 4px;
}


.btn:hover{transform:scale(1.05);}

@media (max-width: 768px) {
  body {
    padding: 20px 10px;
  }

  .container {
    padding: 20px;
  }
  
  .genre {
    display: block;       /* перенос на новую строку */
    margin-left: 0;       /* убираем отступ */
    margin-top: 2px;      /* небольшой отступ сверху */
  }
}
