/* Общие настройки страницы */
body {
  background-color: #181818;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}	

h1, h2, h3 {
  color: #ff9e00; /* Цвет для заголовков */
  font-weight: bold;
}

h2 {
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h3 {
  color: #ffcd00; /* Более светлый оттенок для подзаголовков */
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header img {
  border-radius: 50%;
  margin-top: 15px;
}

main {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Контейнеры для разделов */
section {
  background: rgba(30, 30, 30, 0.8);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  border: 1px solid #333;
}

/* Стили для списка эффектов */
ul {
  list-style-type: none;
  padding-left: 0;
}

ul li {
  background: #2a2a2a;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 8px;
  color: #ffdd44;
  font-size: 1.1em;
}

ul li:hover {
  background-color: #333;
}

/* Стили для таблиц (если используете таблицы) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 10px;
  border: 1px solid #333;
  text-align: left;
}

th {
  background-color: #222;
  color: #ff9e00;
}

td {
  background-color: #2a2a2a;
}

tr:nth-child(even) td {
  background-color: #333;
}

/* Стили для медиа-контента (иконка, скриншоты, гифки) */
.media-section {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.media-slot {
  width: 780px;
  height: 380px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9em;
  color: #aaa;
}

/* Стилизация ссылок */
a {
  color: #ff9e00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #ffdd44;
}

.media-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 720px;
  background: #111;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.modal video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close-btn {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  display: inline-block;
}
.close-btn:hover {
  color: #ff4444;
}

/* Вращающееся и светящееся лого */
.floating-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  animation: spin 10s linear infinite, glow 2s ease-in-out infinite alternate;
  z-index: 999;
}

.floating-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 4px #fdd835);
  }
  100% {
    filter: drop-shadow(0 0 15px #fdd835);
  }
}

.main-header {
  background-color: #1b1b1b;
  padding-bottom: 15px;
  border-bottom: 2px solid #444;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #111;
}

.logo img {
  height: 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #ddd;
  font-weight: bold;
  padding: 6px 12px;
  transition: background 0.3s, color 0.3s;
}

.nav-menu li a:hover {
  background: #333;
  color: #fff;
  border-radius: 4px;
}

.item-header {
  text-align: center;
  padding: 20px 0 0;
}

.item-header h1 {
  font-size: 2em;
  color: #f0c040;
  margin: 0;
}

.item-header img {
  display: block;
  margin: 10px auto 0;
}


.description-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.description-text {
  flex: 1 1 60%;
}

.description-text img {
  vertical-align: middle;
  margin-right: 10px;
}

.description-image {
  flex: 1 1 35%;
  max-width: 400px;
}

.description-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 158, 0, 0.5);
}

.top-bar {
  display: flex;
  justify-content: center; /* Центрируем всё меню */
  align-items: center;
  padding: 10px 20px;
  background: #111;
}

section h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

section p, ul {
  margin-bottom: 16px;
}

section.description {
  border: 1px solid #ff9e00;
  box-shadow: 0 0 10px #ff9e00;
}


.neon-frame {
  border: 2px solid #00c3ff;
  border-radius: 10px;
  box-shadow:
    0 0 8px #00c3ff,
    0 0 16px #00c3ff,
    0 0 24px #00c3ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  height: auto;
}

.neon-frame:hover {
  transform: scale(1.03);
  box-shadow:
    0 0 12px #00d8ff,
    0 0 24px #00d8ff,
    0 0 36px #00d8ff;
}

/* Стили контейнера с эффектом Flexbox */
.effects-container {
  display: flex;          /* используем Flexbox */
  justify-content: start; /* начнём выравнивание слева */
}

/* Устанавливаем пространство между изображением и списком */
.effects-container > * + * {
  margin-left: 20px;     /* добавляем небольшой отступ слева */
}

/* Обнуление стандартных отступов списка */
ul {
  list-style-type: none; /* убираем маркеры списка */
  padding-left: 0;       /* удаляем отступ слева */
}

/* Немного увеличиваем шрифт пунктов списка */
li {
  font-size: 18px;
}

.description-image2 {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Убираем ограничения по ширине контейнера */
  max-width: 100%; /* Убедимся, что контейнер не выходит за пределы */
  height: 100%; /* Можно установить, если хотите, чтобы контейнер заполнил всю высоту */
}

.description-image2 img {
  width: 80%; /* Увеличиваем изображение, но ограничиваем его ширину */
  max-width: 800px; /* Устанавливаем максимальную ширину */
  height: auto; /* Автоматически подстраиваем высоту */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 158, 0, 0.7);
}


.reader__item{
    display: inline-block;
    font-weight: 500;
    /*border-bottom: 1px dashed;*/
    padding-bottom: 0px;
    /*line-height: 1;*/
    cursor: pointer;
    color: #504f4f;
}

.reader__item.no-decor{
    border-bottom: none;
    margin-top: 5px;
    margin-bottom: 1px;
}