/* ===================================================
   BlackBerryHead v2 - Retro Dark Purple Theme
   =================================================== */

/* Базовые сбросы и тёмный фон */
body {
  background-color: #0f0a17; /* Глубокий почти чёрный с фиолетовым отливом */
  color: #e2d9f3;           /* Мягкий светлый текст для удобства чтения */
  font-family: "Courier New", Courier, monospace, sans-serif; /* Олдскульный моноширинный шрифт */
  margin: 0;
  padding: 15px;
  line-height: 1.5;
}

/* Ограничение ширины контента для ретро-вида */
.wrapper {
  max-width: 680px;
  margin: 0 auto;
}

/* Заголовок и логотип */
.site-header {
  text-align: center;
  margin-bottom: 20px;
}

.logo-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.main-title {
  color: #d83f87; /* Лиловый акцент */
  font-size: 36px;
  margin: 5px 0;
 /* text-transform: uppercase; */
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(216, 63, 135, 0.4); /* Легкое неоновое свечение */
}

.sub-title {
  color: #a280e8; /* Фиолетовый подзаголовок */
  font-size: 1rem;
  font-weight: normal;
  margin: 0 0 15px 0;
}

/* Ретро-рамки (Fieldset) */
.retro-box {
  background-color: #1a1228;   /* Фиолетово-тёмный блок */
  border: 2px solid #5c3c8d;   /* Фиолетовая рамка */
  border-radius: 4px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0px #050308; /* Пиксельная ретро-тень */
}

.retro-legend h3 {
  color: #d83f87;             /* Лиловый цвет заголовка рамки */
  background-color: #0f0a17;
  padding: 2px 10px;
  border: 1px solid #5c3c8d;
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ссылки и Кнопки Навигации */
a {
  color: #e066a3;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 5px;
}

.nav-btn {
  display: block;
  background-color: #271a3e;
  border: 1px solid #5c3c8d;
  color: #d83f87 !important;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 3px;
  transition: all 0.15s ease-in-out;
}

.nav-btn:hover {
  background-color: #d83f87;
  color: #ffffff !important;
  border-color: #d83f87;
  text-decoration: none;
  transform: translateX(4px); /* Легкий сдвиг вправо при наведении */
}

/* Декоративные разделители */
.retro-hr {
  border: 0;
  height: 1px;
  background-color: #5c3c8d;
  margin: 15px 0;
}

.quote-text {
  color: #a280e8;
  text-align: center;
}

.meta-info {
  font-size: 0.85rem;
  color: #8c73b0;
  text-align: right;
  margin: 0;
}

/* Футер */
.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #8c73b0;
  margin-top: 30px;
}

.badge-img {
  border: 1px solid #5c3c8d;
}