/* Сброс и базовые настройки */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f5f6fa;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

/* Враппер всей страницы */
.wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  padding: 20px 25px 40px;
}

/* Заголовки */
h1.page_title {
  font-family: 'Kelly Slab', cursive, Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

h2, h3 {
  color: #34495e;
  margin: 1.5rem 0 0.75rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

/* Ссылки */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #2980b9;
  text-decoration: underline;
}

/* Абзацы и текст */
p {
  margin-bottom: 1rem;
}

/* Цитаты */
blockquote {
  font-style: italic;
  color: #7f8c8d;
  border-left: 4px solid #3498db;
  padding-left: 15px;
  margin: 1.5rem 0;
  background: #ecf0f1;
  border-radius: 3px;
}

/* Списки */
ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
  color: #2c3e50;
}

li {
  margin-bottom: 0.5rem;
}

/* Изображения */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* === Новое: фиксированный размер изображений только в slots_container === */
.slots_container img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  display: block;
  margin: 1rem auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Меню навигации */
.top_navigation, .footer_nav {
  background: #2c3e50;
  padding: 10px 15px;
  border-radius: 5px;
}

.top_navigation ul.menu, .footer_nav ul.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.top_navigation ul.menu li a, .footer_nav ul.menu li a {
  color: #ecf0f1;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.top_navigation ul.menu li a:hover,
.footer_nav ul.menu li a:hover {
  background-color: #3498db;
  color: white;
}

/* Хедер логотип */
.header .logo img {
  max-height: 60px;
  display: block;
}

/* Блоки с логотипами казино */
.header_ref_block ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding-left: 0;
}

.header_ref_block ul li a img {
  max-height: 40px;
  transition: transform 0.3s ease;
}

.header_ref_block ul li a:hover img {
  transform: scale(1.1);
}

/* Кнопка "Зарегистрироваться" */
.header_bottom_block_btn {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-left: 20px;
}

.header_bottom_block_btn:hover {
  background-color: #c0392b;
}

/* Хлебные крошки */
.breadcrumbs {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 20px;
  text-align: center;
}

.breadcrumbs a {
  color: #3498db;
}

/* Структура основной статьи */
.middle_part .inner {
  padding: 20px 15px;
}

/* Подвал */
.footer {
  background-color: #2c3e50;
  color: #bdc3c7;
  padding: 20px 15px;
  margin-top: 40px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: center;
}

.footer a {
  color: #ecf0f1;
}

.footer a:hover {
  color: #3498db;
}

/* Кнопка "Наверх" */
.to_top_btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #3498db;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(52,152,219,0.5);
  display: none; /* покажи при скролле, если нужно */
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 1000;
}

/* Адаптивность */
@media (max-width: 768px) {
  .wrapper {
    padding: 15px 10px 30px;
    max-width: 100%;
  }

  .top_navigation ul.menu,
  .footer_nav ul.menu {
    flex-direction: column;
    gap: 10px;
  }

  .header_ref_block ul {
    justify-content: center;
  }

  .header_bottom_block_btn {
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
  }
}
