/* Общие настройки страницы */
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: 400px;
  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;
}

.accordion {
  margin-top: 24px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Заголовок */
.accordion-toggle {
  background: linear-gradient(135deg, #1b130e, #251a12);
  color: #f5deb3;
  cursor: pointer;
  padding: 16px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #ff8c00;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.accordion-toggle:hover {
  background: linear-gradient(135deg, #2d1f17, #332218);
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.5);
}

.accordion-toggle .toggle-icon {
  font-size: 20px;
  color: #ffa94d;
  transition: transform 0.3s ease;
}

.accordion.active .toggle-icon {
  transform: rotate(180deg);
}

/* Контент спойлера */
.accordion-content {
  background: #120e0b;
  overflow: hidden;
  max-height: 0;
  padding: 0 20px;
  border-radius: 0 0 10px 10px;
  border-left: 1px solid #ff8c0044;
  border-right: 1px solid #ff8c0044;
  border-bottom: 1px solid #ff8c0044;
  box-shadow: inset 0 0 10px rgba(255, 140, 0, 0.15);
  transition: max-height 0.6s ease, padding 0.4s ease;
}

/* Когда открыт */
.accordion.active .accordion-content {
  max-height: 1000px;
  padding: 14px 20px;
}

/* Список внутри */
.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-content li {
  background: rgba(255, 140, 0, 0.05);
  color: #ffe4b5;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: background 0.3s, transform 0.2s;
  position: relative;
}

.accordion-content li::before {
  content: '🧡';
  margin-right: 8px;
  color: #ffb84d;
}

.accordion-content li:hover {
  background: rgba(255, 140, 0, 0.15);
  transform: translateX(6px);
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

