/* Базовые стили */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  background-color: #dde4ec;
  color: #000;
}

/* Общий стиль для всех ссылок */
a {
    color: #1183D3; 
    text-decoration: none; 
    transition: color 0.3s ease, background-color 0.3s ease;
    font-weight: 500; 
}

/* Ссылки при наведении */
a:hover {
    color: #0056b3; 
    text-decoration: none; 
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.container-header {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

main.container {
  position: relative;
  margin-top: -400px; 
  padding-top: 410px; 
}

/* Шапка */
.site-header {
  height: 124px;
  background: linear-gradient(to bottom, #003266, #0a519e);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;       
  z-index: 10;
}

.header-top {
	padding-top:5px;
}

.header-buttons {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  align-items: center;
}

.header-buttons a {
	color: #fff;
}

.header-buttons a:hover {
	color: #fff;
	text-decoration: none;
}

.menu-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #054588;
  color: white;
  border-radius: 20px;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

/* Иконка */
.icon-shield {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../img/shield-default.png');
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

/* Hover эффект для всей кнопки и иконки */
.menu-btn-link:hover {
  background-color: #063b74;
}

.download-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #054588;
  color: white;
  border-radius: 20px;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

/* Android icon default and hover */
.download-icon.android {
  background-image: url('../img/android.png'); 
}
.download-icon.android:hover {
  background-image: url('../img/android-hover.png'); 
}

/* Apple icon default and hover */
.download-icon.apple {
  background-image: url('../img/apple.png');
}
.download-icon.apple:hover {
  background-image: url('../img/apple-hover.png');
}

/* Кнопка из 3 частей */
.multi-button {
  display: flex;
  border-radius: 20px;
  height: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto', sans-serif;
  color: white;
  cursor: pointer;
}

.multi-section {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  height: 100%;
  background-color: #054588;
}

.multi-trigger {
  display: inline-flex;
  align-items: center; 
  gap: 6px; 
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 1; 
}

/* Левая иконка "настройки" */
.multi-trigger i.fas.fa-cog {
  width: 20px;
  height: 20px;
  background-image: url('../img/settings.png');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  font-style: normal;
  color: transparent;
  flex-shrink: 0;
}

.multi-trigger span {
  display: inline-block;
  line-height: 1;
}

/* Правая иконка стрелки */
.multi-trigger i.fas.fa-chevron-down {
  width: 10px;
  height: 10px;
  background-image: url('../img/arrow-down.png');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  font-style: normal;
  color: transparent;
  flex-shrink: 0;
  margin-top: 1px; 
  margin-left: 4px; 
}

.multi-section:not(:last-child) {
 margin-right:3px;
}

.multi-section:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.multi-section:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.multi-section:hover {
  background-color: #063b74;
}

.multi-section i {
  font-size: 14px;
  color: #428cdc;
  padding-left: 5px;
}

.multi-section .fa-chevron-down {
	color: #ffffff;
}

.flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.list-title {
  font-size: 18px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 15px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plus-title {
  background: #e6f7ec;
  color: #2e7d32;
}

.minus-title {
  background: #fdecea;
  color: #c62828;
}

.custom-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 15px 15px;
}

.custom-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
}

.plus-list li::before {
  content: "\f00c"; /* FA check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #2e7d32;
}

.minus-list li::before {
  content: "\f00d"; /* FA times */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #c62828;
}

/* Выпадающее меню */
.dropdown {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  background-color: #054588;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 6px 0;
  z-index: 100;
  min-width: 200px;
}

.dropdown li {
  padding: 8px 12px;
  color: white;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.dropdown li:hover {
  background-color: #063b74;
}

.dropdown.open {
  display: block;
}

/* Подвал и блок под шапкой */
.under-header {
  position: absolute;
  top: 124px; /* Высота шапки */
  left: 0;
  width: 100%;
  height: 400px;
  background-color: #0A519E;
  z-index: 0;
}

.site-footer {
  height: 333px;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-buttons {
  display: flex;
  gap: 15px;
}

.custom-buttons button {height:40px;}

.btn-orange {
  position: relative;
  background-color: #ff6900;
  color: black;
  font-weight: bold;
  font-size: 14px;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  padding-right: 40px; /* пространство под иконку */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  overflow: visible;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-orange .text {
  padding-right: 15px;
  transition: color 0.3s ease;
}

.btn-orange:hover {
  background-color: #ff8500;
  box-shadow:
    0 0 10px rgba(255, 133, 0, 0.4),
    0 0 20px rgba(255, 133, 0, 0.3),
    0 0 30px rgba(255, 133, 0, 0.2);
  color: #fff;
}

.btn-orange:hover .text {
  color: #fff000; 
}

.icon-floating {
  position: absolute;
  right: -5px;
  top: -15px;
  width: 60px;
  height: auto;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.btn-orange:hover .icon-floating {
  transform: rotate(-5deg) scale(1.05);
}

.btn-blue {
  background: linear-gradient(135deg, #3eb1f7, #42c0e3);
  color: white;
  font-weight: normal;
  font-size: 14px;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow:
    0 0 10px rgba(66, 192, 227, 0.4),
    0 0 20px rgba(66, 192, 227, 0.3),
    0 0 30px rgba(66, 192, 227, 0.2);
  transition: box-shadow 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

/* Иконка по умолчанию */
.btn-blue .custom-icon {
  width: 20px;
  height: 20px;
  background-image: url('../img/gift.png');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  transition: none;
}

/* Ховер: текст и иконка */
.btn-blue:hover span {
  color: #FFBA00;
}

.btn-blue:hover .custom-icon {
  background-image: url('../img/gift-hover.png');
}

.btn-blue:hover {
  background: linear-gradient(135deg, #3eb1f7, #0c88ab);
}

.auth-buttons {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.btn-register,
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* РЕГИСТРАЦИЯ */
.btn-register {
  background-color: #ff6900;
}

.btn-register:hover {
  background-color: #e45d00;
  box-shadow:
    0 0 12px rgba(255, 105, 0, 0.6),
    0 0 24px rgba(255, 105, 0, 0.4);
}

/* ВХОД */
.btn-login {
  background-color: #3c8cd7;
}

.btn-login:hover {
  background-color: #337fc6;
  box-shadow:
    0 0 12px rgba(60, 140, 215, 0.6),
    0 0 24px rgba(60, 140, 215, 0.4);
}

.header-bottom {
  padding: 10px 0;
}

.header-bottom-inner {
  display: flex;
  align-items: center;
}

.logo {
  flex: 0 0 236px;
  height: 40px;
}

.logo img {
  width: 236px;
  height: 40px;
  display: block;
}

.menu-wrapper {
  flex: 1;
  background-color: rgba(0, 49, 102, 0.5);
  border-radius: 30px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px; /* отступ между логотипом и меню */
  overflow: hidden;
}

.main-menu ul {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
  white-space: nowrap;
}

.main-menu a:hover {
	text-decoration:underline;
}

.columns {
  display: flex;
  gap: 20px; 
}

.left-column {
  padding-right: 0px;
}

.right-column {
  width: 300px;
  padding-right: 0px;
  padding-left: 0px;
  border-radius: 8px;
}

.center-column {
  flex: 1;
  width: 100%;
}

.left-menu-block {
  width: 240px;
  background-color: #003266;
  border-radius: 12px;
  box-sizing: border-box;
  color: white;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  overflow: hidden;
}

.bonus-banner-left {
  display: block;
  line-height: 0;
}

.bonus-banner-left img {
  width: 100%;
  display: block;
}

.menu-divider {
  height: 2px;
  background-color: #054588;
  width: 100%;
}

.left-menu {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.menu-item:hover {
  background-color: #054588;
  color: #fff;
}

.menu-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.search-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #1183D3;
  border-radius: 20px;
  height: 40px;
  width: 220px;
  margin: 12px auto;
  padding: 0 12px;
  box-sizing: border-box;
  background-color: transparent;
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  flex: 1;
}

.search-input::placeholder {
  color: #1183D3;
  text-transform: none;
}

.white-menu-white {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 10px;
}

.menu-item-white {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  transition: background-color 0.2s;
  border-bottom: 2px solid #E8ECF1;
}

.menu-item-white:last-child {
  border-bottom: none;
}

.menu-item-white img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.menu-item-white span {
  font-size: 16px;
  text-transform: uppercase;
  color: #000000;
  font-weight: 500;
}

.menu-item-white:hover {
  background-color: #E8ECF1;
}

.menu-item-white.active-white span {
  font-weight: 700;
  color: #1183D3;
}

.menu-item-white.active-white img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(86%) saturate(3044%) hue-rotate(188deg) brightness(94%) contrast(101%);
}

/* Цвет для последних двух кнопок */
.menu-item-white.gray-white {
  background-color: #E8ECF1;
}
.menu-item-white.gray-white:hover {
  background-color: #ffffff;
}

.right-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 7px;
}

.game-card {
  position: relative;
  width: 138px;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: opacity 0.3s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 60, 0.85);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  padding: 0px;
  transition: opacity 0.3s ease;
}

.game-card:hover .overlay {
  opacity: 1;
}

.game-provider {
  font-size: 14px;
  font-weight: normal;
  margin-top: 5px;
  text-align: center;
  color: #99CAFF;
}

.play-button {
  background: #FF6B00;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.play-button img {
	width: 40px;
	height: 40px;
}

.play-label {
  background: #428CDC;
  color: #002347;
  font-weight: bold;
  padding: 3px 6px;
  font-size: 12px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 5px;
}

.casino-wrapper {
  width: 300px;
  background-color: #003266;
  border-radius: 20px;
  padding-bottom: 5px;
  overflow: hidden;
}

.casino-header {
  background-color: #0A4C99;
  height: 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px; 
  margin-bottom: 5px;
}

.casino-header-2 {
  background-color: #492EAD;
  height: 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px; 
  margin-bottom: 5px;
}

.casino-title-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.casino-title {
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.casino-count {
  color: #428CDC;
  font-size: 16px;
  font-weight: 500;
}

.casino-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  text-decoration: none;
  color: #428CDC;
  font-weight: 500;
  position: relative;
  padding-right: 30px; 
}

.casino-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 11px;
  background-image: url("../img/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.casino-link:hover {
  color: #ffffff;
}

.casino-link:hover::after {
  background-image: url("../img/arrow-hover.png");
}

.promo-block {
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 20px;
}

/* Бонус баннер */
.bonus-banner {
  background: url("../img/coup.png") no-repeat center/cover;
  height: 174px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 15px;
  border-radius: 0 0 20px 20px;
  z-index: 1;
}

.get-button {
  background-color: #FA5E00;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: normal;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Плавный ховер */
.get-button:hover {
  background-color: #ff4b00;
  box-shadow: 0 6px 14px rgba(255, 75, 0, 0.4);
  transform: translateY(-1px);
  color: white;
}

.get-button-full {
  background-color: #FA5E00;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: normal;
  font-size: 18px;
  cursor: pointer;
  height: 22px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Плавный ховер */
.get-button-full:hover {
  color: #fff;
}

/* Купон блок */
.coupon-block {
  background-color: white;
  border-radius: 15px 15px 15px 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: -10px;
  position: relative;
  z-index: 2;
}

.coupon-header {
  display: flex;
  align-items: center;
  font-weight: normal;
  color: #FF5C1B;
  font-size: 18px;
  padding: 10px;
}

.coupon-icon {
  width: 16px;
  height: 20px;
  margin-right: 8px;
}

/* Серая область */
.coupon-body {
  background-color: #F0F4F8;
  text-align: center;
  padding: 15px 10px;
  margin-bottom: 15px;
}

.finger-icon {
  width: 40px;
  height: 38px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.coupon-text {
  font-weight: normal;
  margin: 0;
  font-size: 14px;
  color: #6B7D8E;
  padding-top: 10px;
}

.coupon-subtext {
  font-size: 14px;
  margin: 5px 0 0;
  color: #6B7D8E;
  padding-top: 10px;
}

.register-button {
  width: 100%;
  background-color: #7ACF00;
  color: white;
  font-weight: normal;
  font-family: Arial;
  font-size: 18px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.register-button:hover {
  background-color: #66b600;
  box-shadow: 0 6px 14px rgba(102, 182, 0, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.btn:hover {color: #fff;}

.green-button {
	padding: 10px;
	padding-top: 0px;
}

.site-footer-white {
  max-width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  padding-top: 30px;
  padding: 20px 335px 0px 275px;
}

.footer-top-white {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003266;
  padding: 20px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.footer-logo-white {
  height: 40px;
}

.footer-age-white {
  color: #1183D3;
  font-weight: normal;
  font-size: 16px;
  border: 2px solid #09437F;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-menu-white {
  display: flex;
  justify-content: space-around;
  background-color: #003266;
  color: #1183D3;
  padding: 35px 0;
  font-size: 14px;
  flex-wrap: wrap;
  padding-top: 0px;
}

.footer-menu-white a {
  color: #1183D3;
  text-decoration: none;
  margin: 5px 10px;
}

.footer-menu-white a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-downloads-white {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003266;
  padding: 25px 20px;
}

.download-button-white {
  background-color: #054588;
  color: #ffffff;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  height: 40px;
  padding: 0 15px;
}

.download-button-white .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
  cursor: pointer;
}

/* Android icon */
.android-icon {
  background-image: url("../img/android.png");
}

.android-icon:hover {
  background-image: url("../img/android-hover.png");
}

/* Apple icon */
.apple-icon {
  background-image: url("../img/apple.png");
}

.apple-icon:hover {
  background-image: url("../img/apple-hover.png");
}

.payment-icons-white {
  height: 47px;
  width: 75%;
  background-color: #04386E;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  overflow: hidden;
}

.payment-icons-white img {
  height: 27px;
  max-height: 100%;
  object-fit: contain;
}

.footer-partners-white {
  background-color: #04386E;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  height: 76px;
  padding-top:5px;
}

.footer-partners-white img {
  height: 56px;
  margin: 5px;
}

.but_full {padding-top: 20px;margin-bottom:20px;}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.slides a {color: #fff;}

.slides.active {
  opacity: 1;
  z-index: 1;
}

.slider {
  position: relative;
  width: 100%;
  height: 380px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  background-color: #003366;
  margin-bottom: 20px;
  z-index: 0;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: white;
  max-width: 45%;
  z-index: 2;
}

.text-overlay h2 {
  margin: 0;
  font-size: 27px;
  font-weight: bold;
}

.text-overlay p {
  margin-top: 8px;
  font-size: 20px;
}

.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #428CDC;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: white;
  border-color: white;
}

.slider-button {
  display: inline-block;
  margin-top: 0px;
  padding: 0 25px;
  height: 42px;
  line-height: 42px;
  background-color: #FA5E00;
  color: white;
  border-radius: 21px;
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.slider-button:hover {
  background-color: #e05400;
  transform: translateY(-2px);
}

.main-content-block {
  margin-top: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  font-family: sans-serif;
  color: #000;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #DDE4EC;
  padding: 10px 20px;
  border-radius: 12px 12px 0 0;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar-padding {
	padding:2px;
}

.main-bar {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
}

.top-bar-text {
  font-size: 16px;
  color: #333;
  flex: 1;
  font-weight: bold;
}

.site-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FA4D00;
    color: white;
    border-radius: 20px;
    font-weight: normal;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    height: 38px;
    padding: 0 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.site-button:hover {
    background-color: #d84300; /* немного темнее */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
	color: #fff;
}

.main-description {
  font-size: 15px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 20px;
}

.block-title {
  font-size: 18px;
  font-weight: bold;
  margin: 25px 0 15px;
  color: #000;
}

/* Сетка слотов */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
}

.cat-temp {
    padding: 20px 20px;
}

.slot-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.slot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.auth-buttons {
    margin-left: auto;
    display: flex;
    gap: 10px;
    position: relative;
}

.auth-modal {
    display: none;
    position: absolute;
    top: 100%; 
    right: 0; 
    transform: translateX(0); 
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1;
	margin-top: 10px;
}

.auth-box {
    width: 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.auth-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.auth-tab.active {
    color: #FA5E00;
    border-bottom: 2px solid #FA5E00;
}

.auth-body {
    padding: 15px;
}

.input-group {
    position: relative;
    margin-bottom: 12px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #FA5E00, #04386E);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-size: 14px;
    outline: none;
	box-sizing: border-box;
}

.input-group input:focus {
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #FF7A1F, #054588);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

.btn-green {
    width: 100%;
    background: #8AC926;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-transform: uppercase;
}

.btn-green:hover {
    background: #78b021;
}

.forgot-link {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    color: #428CDC;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-footer {
    background: #f3f3f3;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.social-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	padding-top: 20px;
	padding-bottom: 15px;
}

.social-icons a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
	font-size: 18px;
    color: #333;
	text-decoration: none;
}

.social-icons a i {
    font-size: 20px; 
    color: #000; /* цвет */
}

.social-icons a i:hover {
    font-size: 20px; 
    color: #FA5E00;
}

.social-icons a:hover {
    color: #FA5E00;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Контейнер панели: выравнивание вправо */
.user-panel-container {
    display: flex;
    justify-content: flex-end;
	margin-left: auto;
}

.user-panel {
    position: relative; 
}

.user-panel-header {
    display: flex;
    align-items: center;
    color: white;
}

.user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.user-info {
    flex: 1;
    padding: 0 10px;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-messages a {
    font-size: 13px;
    color: #d1e4ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-messages a:hover {
    text-decoration: underline;
}

.user-actions {
    margin-left: auto;
}

.user-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.user-menu {
    display: none;
	margin-top: 10px;
    flex-direction: column;
    background: #f8f9fb;
    border-top: 1px solid #e3e6ea;
    border-radius: 12px;
    position: absolute;
    top: 100%; 
    right: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.user-menu a {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e3e6ea;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-menu a:last-child {
    border-bottom: none;
}

.user-menu a:hover {
    background: #dde4ec;
}

/* Скругление первого элемента при наведении */
.user-menu a:first-child:hover {
    border-radius: 12px 12px 0 0;
}

/* Скругление последнего элемента при наведении */
.user-menu a:last-child:hover {
    border-radius: 0 0 12px 12px;
}

.admin-link {
    color: #0a519e;
    font-weight: 500;
}

.logout-link {
    color: #ff4d4f;
}

.user-panel.open .user-menu {
    display: flex;
}

.berrors {
	margin-top: 20px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    font-family: sans-serif;
    color: #000;
    margin-left: 15px;
    margin-right: 15px;
}

/* Иконки действий над новостью */
/* Контейнер иконок */
.story_icons {
    display: flex;
    gap: 0px;
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
}

/* Общий стиль ссылок */
.story_icons a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

/* Иконки */
.story_icons svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}

/* Текст "Редактировать" */
.story_icons i {
    font-style: normal;
    display: flex;
    align-items: center;
}

/* Ховер */
.story_icons a:hover {
    background: rgba(10, 81, 158, 0.08);
    color: #003266;
}
.story_icons a:hover svg {
    fill: #003266;
}

/* Заголовок новости */
.shortstory .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
	margin-top: 0px;
}
.shortstory .title a {
    color: #063b74;
    text-decoration: none;
    transition: color 0.2s;
}
.shortstory .title a:hover {
    color: #0a519e;
}

/* Текст анонса */
.shortstory .text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}
.shortstory .editdate {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* Нижняя панель с кнопками */
/* Общий контейнер */
.story_tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
	padding: 10px 20px
}

/* Блок категории */
.story_tools .category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #0a519e;
    transition: color 0.2s;
    cursor: pointer;
}
.story_tools .category svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}
.story_tools .category:hover {
    color: #003266;
}
.story_tools .category:hover svg {
    fill: #003266;
}

/* Кнопка "Подробнее" */
.story_tools .btn {
    margin-left: auto; 
    background: linear-gradient(135deg, #0a519e, #003266);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.story_tools .btn:hover {
    background: linear-gradient(135deg, #003266, #0a519e);
}
.story_tools .btn:active {
    transform: scale(0.97);
}

/* Рейтинг без ховера */
.rate {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rate_stars,
.rate_like,
.rate_like-dislike {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #0a519e;
}
.rate svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/*кнопки навигации низ*/
.category a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.category svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}

.category i {
    font-style: normal;
    display: flex;
    align-items: center;
}

/* Ховер */
.category a:hover {
    background: rgba(10, 81, 158, 0.08);
    color: #003266;
}
.category a:hover svg {
    fill: #003266;
}

.shortstory .right li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.shortstory .right li svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}

.shortstory .right li i {
    font-style: normal;
    display: flex;
    align-items: center;
}

.main-description {padding-top: 10px;}
.main-description img {width: 100%;height: auto;}

/* Ховер */
.shortstory .right li a:hover {
    background: rgba(10, 81, 158, 0.08);
    color: #003266;
}
.shortstory .right li a:hover svg {
    fill: #003266;
}

.shortstory .left li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.shortstory .left li svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}

.shortstory .left li i {
    font-style: normal;
    display: flex;
    align-items: center;
}

/* Ховер */
.shortstory .left li a:hover {
    background: rgba(10, 81, 158, 0.08);
    color: #003266;
}
.shortstory .left li a:hover svg {
    fill: #003266;
}
.shortstory .grey {
	padding-left: 5px;
}

.fullstory .right li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.fullstory .right li svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}

.fullstory .right li i {
    font-style: normal;
    display: flex;
    align-items: center;
}

/* Ховер */
.fullstory .right li a:hover {
    background: rgba(10, 81, 158, 0.08);
    color: #003266;
}
.fullstory .right li a:hover svg {
    fill: #003266;
}

.fullstory .left li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.fullstory .left li svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.2s;
}

.fullstory .left li i {
    font-style: normal;
    display: flex;
    align-items: center;
}

/* Ховер */
.fullstory .left li a:hover {
    background: rgba(10, 81, 158, 0.08);
    color: #003266;
}
.fullstory .left li a:hover svg {
    fill: #003266;
}
.fullstory .grey {
	padding-left: 5px;
}
/*кнопки навигации низ*/

/* Метаданные под новостью */
.fullstory .meta {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-top: 1px solid #e3e6ea;
    font-size: 13px;
    background: #f8f9fb;
	border-radius: 0 0 16px 16px;
}
.fullstory .meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}
.fullstory .meta li {
    display: flex;
    align-items: center;
    color: #666;
}
.fullstory .meta svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: currentColor;
}

.shortstory .meta {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-top: 1px solid #e3e6ea;
    font-size: 13px;
    background: #f8f9fb;
	border-radius: 0 0 16px 16px;
}
.shortstory .meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}
.shortstory .meta li {
    display: flex;
    align-items: center;
    color: #666;
}
.shortstory .meta svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: currentColor;
}

/* Метка "Важная новость" */
.fixed_label {
    display: inline-block;
    background: #ff4d4f;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 8px;
}

/* Заголовок */
.main-bar h2 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #003266;
}
.main-bar h2 a {
    color: inherit;
    text-decoration: none;
}
.main-bar h2 a:hover {
    text-decoration: underline;
}

/* Картинка слева с обтеканием */
.main-bar h2 img {
    margin: 0px 10px 10px 10px; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Эффект при наведении на картинку */
.main-bar h2 a:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Параграфы */
.main-bar p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/*фулл новость*/
.fullstory .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
	margin-top: 0px;
}
.fullstory .title a {
    color: #1183D3;
    text-decoration: none;
    transition: color 0.2s;
}
.fullstory .title a:hover {
    color: #0a519e;
}

/* Текст анонса */
.fullstory .text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}
.fullstory .editdate {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}
/*фулл новость*/

/* Общий контейнер правой колонки */
.rightside {
    display: flex;
    flex-direction: column;
    gap: 20px;
	margin-top: 20px;
}

/* ======== Похожее ======== */
.block.rel_block {
    background: #04386E; 
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.block.rel_block .title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    padding-bottom: 8px;
    margin-bottom: 12px;
	padding-top: 0px;
	margin-top: 0px;
}

/* Список похожих новостей */
.relnews {
    list-style: none;
    margin: 0;
    padding: 0;
}

.relnews li {
    margin-bottom: 10px;
}

.relnews a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 8px 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.relnews a:hover {
    background: rgba(255,255,255,0.15);
}

/* Иконка */
.relnews svg.icon-rel {
    width: 18px;
    height: 18px;
    fill: #FA5E00; 
    flex-shrink: 0;
}

/* Заголовок новости */
.relnews b {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

/* Категория */
.relnews span {
    font-size: 12px;
    color: #AFCBE3;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 6px;
    white-space: nowrap;
}

.next-prev {margin-top:20px;}

/* Общий контейнер формы комментов */
.addcomment {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 50, 102, 0.15);
    overflow: hidden;
    font-family: Arial, sans-serif;
	margin-top: 20px;
}

/* Заголовок блока */
.addcomment h3 {
    color: #000;
    font-size: 18px;
    margin: 0;
    border-bottom: 3px solid #FA5E00;
}

/* Кнопка "Добавить комментарий" */
.plus_icon {
    background: #003266;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s ease;
}

/* Внутренняя часть */
.box_in {
    padding: 20px;
}

/* Список полей */
.ui-form {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Группы полей */
.form-group,
.combo {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Поля ввода */
.ui-form input[type="text"],
.ui-form input[type="email"],
.ui-form input[type="password"],
.ui-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccd6e0;
    font-size: 14px;
    box-sizing: border-box;
    background: #f9fbfd;
    transition: all 0.3s ease;
}
.ui-form input:focus,
.ui-form textarea:focus {
    border-color: #FA5E00;
    background: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(250, 94, 0, 0.4);
}

/* Капча */
.c-captcha {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}
.c-captcha img {
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Кнопка отправки */
.form_submit {
    margin-top: 20px;
}
.form_submit .btn {
    background-color: #FA5E00;
    color: #fff;
    padding: 6px 15px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.form_submit .btn:hover {
    background-color: #d94e00;
}

/* Прикрепить изображения */
.comments-image-uploader-area a {
    color: #003266;
    font-weight: bold;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.comments-image-uploader-area a:hover {
    color: #FA5E00;
}

/* Текстовые метки */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #003266;
}

/* Подписка на комментарии */
.ui-form li {
    width: 100%;
}

.comments-image-uploader-area {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Общий контейнер комментария */
.comment {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 50, 102, 0.15);
    padding: 15px;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
    border-left: 4px solid #003266;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment:hover {
    box-shadow: 0 4px 12px rgba(0, 50, 102, 0.25);
}

/* Инфо-часть */
.comment .com_info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

/* Аватар */
.comment .avatar {
    margin-right: 12px;
    flex-shrink: 0;
}
.comment .avatar .cover {
    display: block;
    width: 48px;
    height: 48px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #003266;
    overflow: hidden;
}
.comment .com_online {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    color: #fff;
    background: #FA5E00;
    padding: 2px 6px;
    border-radius: 6px;
	margin-right: 5px;
}

/* Имя и дата */
.comment .com_user {
    flex: 1;
}
.comment .com_user .name {
    font-size: 15px;
    color: #003266;
    font-weight: bold;
}
.comment .com_user .grey {
    font-size: 12px;
    color: #777;
}

/* Метаданные и кнопки */
.comment .meta {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Рейтинг */
.comment .rate {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.comment .rate svg {
    width: 16px;
    height: 16px;
    fill: #FA5E00;
    cursor: pointer;
    transition: fill 0.2s ease;
}
.comment .rate svg:hover {
    fill: #d94e00;
}

.comment .rate a {
	display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.comment .rate a:hover {
    background: rgba(0, 50, 102, 0.1);
    color: #FA5E00;
}

.com_user a {
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.2s, background 0.2s;
}

.com_user a:hover {
    background: rgba(0, 50, 102, 0.1);
    color: #FA5E00;
}

/* Кнопки действий */
.comm_meta {
    display: flex;
    justify-content: flex-start;
	margin-top: 10px;
}
.comm_meta .left {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.comm_meta .left svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: currentColor;
}
.comm_meta a {
	display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #0a519e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

/* Контент комментария */
.comment .com_content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.comment .com_content h4.title {
    font-size: 14px;
    color: #003266;
    margin-bottom: 6px;
}
.comment .com_content .text {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Подписи и изображения */
.comment .signature {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px dashed #ccc;
}
.comment .com_content img {
    max-width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.combo {margin-top: 15px;}

.comments {
	width: 820px;
    margin: 0 auto;
}

.next-prev {
	width: 820px;
    margin: 0 auto;
	padding-top: 0px;
}

.form_submit {
    display: flex;
    justify-content: space-between; /* капча слева, кнопка справа */
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Контейнер капчи */
.c-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 6px;
    border-radius: 8px;
}

/* Картинка капчи */
.c-captcha img {
    display: block;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* Поле ввода */
.c-captcha input {
    height: 40px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    width: 140px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.c-captcha input:focus {
    border-color: #003266;
    box-shadow: 0 0 4px rgba(0, 50, 102, 0.3);
}

/* Общие стили для карточки пользователя */
article.user-info-load {
    width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    color: #333;
}

/* Верхний блок с аватаркой и вкладками */
.box_in.dark_top.userinfo_top {
    background: linear-gradient(135deg, #003266, #005fa3);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid #00264d;
}

/* Вкладки */
.title.user_tab {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 10px;
    flex: 1;
}

.title.user_tab li {
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.title.user_tab li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.title.user_tab li.active,
.title.user_tab li:hover {
    background: rgba(255,255,255,0.2);
}

/* Аватар */
.avatar {
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.avatar .cover {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Контент */
.box_in {
    padding: 20px 30px;
}

/* Список информации */
.usinf {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.usinf li {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.usinf li:last-child {
    border-bottom: none;
}

.ui-c1 {
    font-weight: bold;
    color: #555;
}

.ui-c2 {
    color: #333;
}

/* Заголовки */
.heading {
    margin: 20px 0 10px;
    font-size: 1.2em;
    border-left: 4px solid #005fa3;
    padding-left: 10px;
    color: #005fa3;
}

/* Описание и подпись */
p {
    margin: 0 0 15px 0;
    line-height: 1.5;
}

/* Формы */
.ui-form {
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
}

input.wide,
textarea.wide,
select.wide {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input.wide:focus,
textarea.wide:focus,
select.wide:focus {
    border-color: #005fa3;
    outline: none;
}

/* Кнопка */
.btn.btn-big {
    background: #005fa3;
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn.btn-big:hover {
    background: #003f73;
}

/* Соцсети */
.soc_links {
    display: flex;
    gap: 10px;
}

.soc_links a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.soc_links a:hover {
    background: #d9d9d9;
}

.soc_links svg {
    width: 20px;
    height: 20px;
    fill: #555;
}
/* Общие стили для карточки пользователя */

/* ===== Общий стиль статьи ===== */
.story-pm {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 20px;
	width: 820px;
    margin: 0 auto;
}

/* Заголовки */
.story-pm .title.h1 {
    font-size: 24px;
    font-weight: 700;
    color: #003266;
    margin-bottom: 15px;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
}
.story-pm .heading {
    font-size: 18px;
    font-weight: 600;
    color: #0a519e;
    margin: 15px 0;
}

/* ===== Личный кабинет: меню ===== */
.story-pm .pm-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f9fc;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.story-pm #pm-menu {
    display: flex;
    gap: 12px;
}
.story-pm #pm-menu span {
    padding: 6px 12px;
    background: rgba(10, 81, 158, 0.08);
    border-radius: 6px;
    font-size: 14px;
    color: #0a519e;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.story-pm #pm-menu span:hover {
    background: #0a519e;
    color: #fff;
}

/* Статус личных сообщений */
.story-pm .pm_status {
    font-size: 13px;
    color: #666;
}

/* ===== Список сообщений ===== */
.story-pm .pmlist {
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
}

/* ===== Форма нового сообщения ===== */
.story-pm .addform.addpm .ui-form {
    list-style: none;
    padding: 0;
    margin: 0;
}
.story-pm .addform.addpm .form-group {
    margin-bottom: 12px;
}
.story-pm .addform.addpm input.wide {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.story-pm .form_submit {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.story-pm .btn.btn-big {
    background: linear-gradient(135deg, #0a519e, #003266);
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}
.story-pm .btn.btn-big:hover {
    background: linear-gradient(135deg, #003266, #0a519e);
    transform: translateY(-1px);
}
.story-pm .btn-border.btn-big {
    border: 1px solid #0a519e;
    background: transparent;
    color: #0a519e;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.story-pm .btn-border.btn-big:hover {
    background: #0a519e;
    color: #fff;
}

/* ===== Сообщения (readpm) ===== */
.story-pm .comment {
    background: #f9fbfd;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.story-pm .com_info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.story-pm .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
    flex-shrink: 0;
}
.story-pm .avatar .cover {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.story-pm .com_online {
    display: inline-block;
    font-size: 11px;
    color: #2e7d32;
    margin-top: 4px;
}

/* Имя и дата */
.story-pm .com_user .name {
    font-size: 14px;
    font-weight: 600;
    color: #0a519e;
}
.story-pm .com_user .grey {
    font-size: 12px;
    color: #888;
}

/* Метаданные (кнопки редактировать, жалоба, удалить и т.п.) */
.story-pm .meta ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}
.story-pm .meta li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #0a519e;
    cursor: pointer;
    transition: color 0.2s;
}
.story-pm .meta li svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.story-pm .meta li:hover {
    color: #003266;
}

/* Текст сообщения */
.story-pm .com_content {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
.story-pm .signature {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

/* ===== Форма ответа ===== */
.story-pm .form-sep {
    margin-top: 20px;
}
.story-pm .form-sep h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.search-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.search-btn img {
    display: block;
}

/* ==== Основной контейнер поиска ==== */
.searchpage {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	width: 820px;
    margin: 0 auto;
	margin-top: 15px;
	margin-bottom: 15px;
}
.searchpage .title {
    font-size: 24px;
    font-weight: 700;
    color: #003266;
    margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
}

/* ==== Таблицы поиска ==== */
.searchpage table {
    border-collapse: collapse;
    width: 100%;
}
.searchpage td.search {
    padding: 10px;
    vertical-align: top;
}

/* ==== Блоки и fieldset ==== */
.searchpage fieldset {
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 10px;
    background: #f9fbfd;
}
.searchpage legend {
    font-size: 14px;
    font-weight: 600;
    color: #0a519e;
    padding: 0 6px;
}

/* ==== Поля ввода и селекты ==== */
.searchpage input[type="text"],
.searchpage input[type="search"],
.searchpage select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.searchpage input[type="text"]:focus,
.searchpage input[type="search"]:focus,
.searchpage select:focus {
    border-color: #0a519e;
    box-shadow: 0 0 4px rgba(10,81,158,0.3);
    outline: none;
}

/* ==== Кнопки поиска ==== */
.searchpage .bbcodes {
    background: linear-gradient(135deg, #0a519e, #003266);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.searchpage .bbcodes:hover {
    background: linear-gradient(135deg, #003266, #0a519e);
    transform: translateY(-1px);
}
.searchpage .bbcodes:active {
    transform: translateY(0);
}

/* ==== Блок с результатами ==== */
.searchpage .search_result_num {
    margin-top: 15px;
    padding: 10px;
    background: #f7f9fc;
    border-radius: 6px;
    font-size: 14px;
}

/* ==== Дополнительные отступы и выравнивание ==== */
.searchpage .searchtable {
    margin-bottom: 0px;
}
.searchpage .searchtable div {
    font-size: 14px;
}
.searchpage table tr td {
    vertical-align: top;
}

/* ==== Ссылки внутри поиска ==== */
.searchpage a {
    color: #0a519e;
    text-decoration: none;
    transition: color 0.2s;
}
.searchpage a:hover {
    color: #003266;
}

/* Общий контейнер формы */
#registration .page_form__inner {
    max-width: 100%;
    margin: 0px 10px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

/* Заголовок */
#registration .page_form__inner .title.h1 {
    font-size: 28px;
    color: #003266;
    font-weight: bold;
    margin-bottom: 15px;
	padding-top:0px;
	margin-top: 0px;
}

/* Текст под заголовком */
#registration .page_form__inner .regtext {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Ссылки в описании */
#registration .page_form__inner .regtext a {
    color: #003266;
    text-decoration: underline;
    font-weight: 500;
}

/* Элементы формы */
#registration .page_form__inner .ui-form {
    list-style: none;
    padding: 0;
    margin: 0;
}

#registration .page_form__inner .form-group {
    margin-bottom: 20px;
}

/* Метки */
#registration .page_form__inner label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #003266;
}

/* Поля ввода */
#registration .page_form__inner input[type="text"],
#registration .page_form__inner input[type="password"],
#registration .page_form__inner input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#registration .page_form__inner input:focus {
    border-color: #003266;
    box-shadow: 0 0 6px rgba(0, 50, 102, 0.3);
    outline: none;
}

/* Кнопка проверки логина */
#registration .login_check {
    display: flex;
    gap: 10px;
}

#registration .login_check input {
    flex: 1;
}

#registration .login_check .btn {
    padding: 10px 16px;
    background: #003266;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

#registration .login_check .btn:hover {
    background: #0056b3;
}

/* Капча */
#registration .c-captcha {
    display: flex;
    align-items: center;
    gap: 15px;
}

#registration .c-captcha img {
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Кнопка отправки */
#registration .page_form__inner .form_submit {
    text-align: center;
    margin-top: 20px;
}

#registration .page_form__inner .form_submit .btn {
    padding: 12px 30px;
    font-size: 16px;
    background: #003266;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

#registration .page_form__inner .form_submit .btn:hover {
    background: #0056b3;
}

/* Общий контейнер формы */
#sendmail {
    max-width: 100%;
    margin: 0px 10px;
    background: #ffffff;
    padding: 0px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 50, 102, 0.1);
    font-family: Arial, sans-serif;
}

/* Заголовок формы */
#sendmail .title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #003266;
    font-weight: bold;
    text-align: left;
	margin-top: 0px;
	padding-top: 0px;
}

/* Группы полей */
#sendmail .form-group {
    margin-bottom: 20px;
}

/* Комбо-поля в одну линию */
#sendmail .combo {
    display: flex;
    gap: 15px;
}

#sendmail .combo_field {
    flex: 1;
}

/* Инпуты, селекты и textarea */
#sendmail input[type="text"],
#sendmail input[type="email"],
#sendmail input[type="password"],
#sendmail select,
#sendmail textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 16px;
    transition: all 0.3s ease;
}

#sendmail input:focus,
#sendmail select:focus,
#sendmail textarea:focus {
    outline: none;
    border-color: #003266;
    background-color: #ffffff;
    box-shadow: 0 0 6px rgba(0, 50, 102, 0.3);
}

/* Кнопка отправки */
#sendmail .form_submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

#sendmail .btn {
    background-color: #003266;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#sendmail .btn:hover {
    background-color: #00509e;
    transform: translateY(-2px);
}

#sendmail .btn:active {
    transform: translateY(0);
}

/* Капча */
#sendmail .c-captcha {
    display: flex;
    align-items: center;
    gap: 15px;
}

#sendmail .c-captcha img {
    border-radius: 6px;
    border: 1px solid #ccc;
}

#sendmail .c-captcha input {
    flex: 1;
}

/* Ссылки внутри формы */
#sendmail a {
    color: #00509e;
    text-decoration: none;
    transition: color 0.3s ease;
}

#sendmail a:hover {
    color: #002244;
    text-decoration: underline;
}


/* Общий контейнер пагинации */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    font-family: inherit;
}

/* Кнопки "вперед/назад" */
.page_next-prev {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page_next-prev span,
.page_next-prev a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #003266;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.page_next-prev span:hover,
.page_next-prev a:hover {
    background: #004a99;
    transform: scale(1.05);
}

.page_next-prev svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Номера страниц */
.pages {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.pages a,
.pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    background: #f2f2f2;
    color: #003266;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Активная страница */
.pages span {
    background: #003266;
    color: #fff;
}

/* Наведение на номер страницы */
.pages a:hover {
    background: #004a99;
    color: #fff;
}


/* ===== 1420px и ниже — лёгкая адаптация ===== */
@media (max-width: 1420px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .center-column {
        flex: 1;
        min-width: 400px;
    }

    .left-column {
        width: 240px;
    }

    .right-column {
        width: 300px;
    }

    .main-menu ul {
        gap: 35px;
    }
	
	.slider {
        width: 100%;
    }
	
	.main-content-block,
    .comments,
    .next-prev,
    article.user-info-load,
    .story-pm {
        width: 100% !important;
    }
	.site-footer-white {
		width: auto;
		margin: 0 auto;
		font-family: sans-serif;
		padding-top: 30px;
		padding: 20px 15px 0px 15px;
	}
}

/* ===== 1200px и ниже — сужение колонок ===== */
@media (max-width: 1200px) {
    .left-column {
        width: 240px;
    }
    .right-column {
        width: 300px;
    }
    .center-column {
        min-width: 300px;
    }
    .main-menu ul {
        gap: 25px;
    }
}

/* ===== 1024px и ниже — перестройка в колонку ===== */
@media (max-width: 1024px) {
    /* --- Оптимизация site-header --- */
    .site-header {
        height: auto;
        padding: 0px 0;
    }

    .header-top {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
    }

    .header-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .header-bottom {
        padding: 10px 0;
    }

    .header-bottom-inner {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }

    .logo {
        flex: none;
        text-align: center;
    }

    .menu-wrapper {
        margin-left: 0;
        width: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
    }

    .main-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .auth-buttons {
        margin-left: 0;
    }

    /* --- Контентные колонки --- */
    .columns {
        flex-direction: column;
        gap: 10px;
    }

    .right-column {display: none;}
    .center-column {
        width: 100% !important;
        min-width: auto;
    }

    /* --- left-menu-block на всю ширину --- */
    .left-menu-block {
        width: 100% !important;
    }

    /* --- Слайдер и контент --- */
    .slider {
        width: 100%;
    }

    .payment-icons-white {
        width: auto;
        flex-wrap: wrap;
        gap: 10px;
		height: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
    }
	.footer-partners-white {
		height: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.bonus-banner-left {
		display: flex;
		justify-content: center; 
		align-items: center;     
	}
	.bonus-banner-left img {
		width: fit-content;
		display: block;
	}
	.search-wrapper {
		width: 90%;
	}
	.promo-block {
		width: 100%;
		border-radius: 20px;
		overflow: hidden;
		padding-bottom: 20px;
	}
	.bonus-banner {
		background: url(../img/coup.png) no-repeat center center;
		margin-bottom: 20px;
	}
	.casino-wrapper {
		width: 100%;
	}
	.multi-button {display:none;}
	.menu-wrapper {display:none;}
	.site-header {
		flex-direction: row-reverse;
		z-index: 1;
	}
}

/* ===== 768px и ниже — планшеты/смартфоны ===== */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    /* Кнопки в шапке */
    .header-buttons {
        flex-direction: row;
        align-items: center;
    }
	.header-buttons {
        flex-wrap: unset;
    }
	.user-avatar img {
		width: 28px;
		height: 28px;
		border-radius: 50%;
		border: 2px solid white;
		object-fit: cover;
	}

    .custom-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Карточки игр */
    .right-block {
        justify-content: center;
    }

    .game-card {
        width: 100%;
        height: auto;
    }

    .slot-grid {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }
	.menu-btn-link,
    .download-block,
    .multi-button {
        width: 100%;
        justify-content: center;
		box-sizing: content-box;
		padding: 0 0px;
    }
	.btn-blue {
		margin-bottom: 7px;
	}
	.main-bar h2 img {
		width: 100%;
		margin: 0px 10px 10px 0px;
	}
	.footer-downloads-white {
		display: block;
	}
	.download-button-white {
		margin-bottom: 15px;
		justify-content: center;		
	}
	.fullstory .meta {
		display: block;
	}
	.fullstory .left li svg {
		padding-left: 6px;
	}
	.edit_btn, .del, .mass, .complaint {display: none;} 
	.comment .com_user .grey {
		display: block;
		padding-left: 5px;
	}
	.slider {
		height: 270px;
	}
	.text-overlay h2 {
		margin: 0;
		font-size: 22px;
		font-weight: bold;
	}
	.text-overlay p {
		margin-top: 8px;
		font-size: 18px;
	}
	.slider-button {
		display: inline-block;
		margin-top: 0px;
		padding: 0 15px;
		height: 30px;
		line-height: 30px;
		background-color: #FA5E00;
		color: white;
		border-radius: 21px;
		font-size: 18px;
		font-weight: normal;
		text-transform: uppercase;
		text-decoration: none;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
		transition: background-color 0.3s ease, transform 0.2s ease;
	}
}

@media (max-width: 550px) {

    /* Кнопки в шапке */
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }
	.header-buttons {
        flex-wrap: unset;
    }
	.user-panel-container {
		margin-top: 10px;
	}
	.auth-buttons {
        margin-left: 0;
		margin-top: 10px;
    }
	.text-overlay {
		left: 10px;
		max-width: 250px;
	}
	.footer-menu-white {
		justify-content: space-between;
	}
	.slider {
		height: 200px;
	}
	.text-overlay h2 {
		margin: 0;
		font-size: 18px;
		font-weight: bold;
	}
	.text-overlay p {
		margin-top: 8px;
		font-size: 14px;
	}
}

/* ===== 480px и ниже — маленькие телефоны ===== */
@media (max-width: 480px) {
    /* Шапка */
    .main-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-buttons {
        gap: 8px;
    }

    /* Контент */
    .game-card {
        width: 100%;
    }

    .slot-grid {
         grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    }
	.get-button-full {
		font-size:14px;
	}

    .menu-btn-link,
    .download-block,
    .multi-button {
        width: 100%;
        justify-content: center;
    }

    .get-button,
    .register-button {
        font-size: 16px;
        padding: 0px 0px;
    }
	.bonus-banner .get-button {
		padding: 0px 10px;
	}
	.text-overlay h2 {
		margin: 0;
		font-size: 18px;
		font-weight: bold;
	}
	.text-overlay p {
		margin-top: 8px;
		font-size: 14px;
	}
	
    .text-overlay {
        max-width: 200px;
    }

	.text-overlay {
		top: 45%;
	}
}

.close-btn {
  display: none; 
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color:#fff;
}

.burger {
  display: none;
  background: none;  
  border: none;       
  font-size: 32px;  
  cursor: pointer;
  z-index: 1100;
  color: #fff;  
  width: 40px;  
  height: 40px;
}

@media (max-width: 1320px) {
	.multi-button {display:none;}
}

@media (max-width: 1024px) {
  .left-column {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .left-column.active {
    transform: translateX(0);
  }

  .burger {
    display: block;
  }

  .close-btn {
    display: block;
  }
  .header-bottom-inner {
        flex-direction: row;
    }
  .download-block, .menu-btn-link, .custom-buttons {display: none;} 
  .site-header {
    display: flex;              
    flex-direction: row-reverse; 
    justify-content: space-between;
    align-items: center;      
    z-index: 1;
    width: 100%;     
    box-sizing: border-box; 
  }
  .under-header {
    top: 0px; 
	height: 472px;
  }
  .container-header {
	  max-width: 100%;
	  margin: 0 auto;
	  padding: 0 0px;
	  box-sizing: border-box;
	}

}

@media (max-width: 768px) {
	.under-header {
        height: 362px;
    }
}

@media (max-width: 630px) {
	.logo img {
		width: 180px;
		height: auto;
	}
	.burger {font-size: 25px;}
	.btn-register, .btn-login {padding: 5px 8px;}
	.logo {
		display: flex;              
		justify-content: center;    
		align-items: center;        
		height: 100%;    
	}
	.header-top {
		display: flex;              
		justify-content: center;    
		align-items: center;      
		height: 100%;
	}
	.under-header {
        height: 352px;
    }
	.footer-partners-white img {
		height: 20px;
		margin: 5px;
	}
}

@media (max-width: 550px) {
	.logo img {
		width: 130px;
		height: auto;
	}
	.burger {font-size: 20px;}
	.btn-register, .btn-login {padding: 5px 8px;font-size: 14px;}
	.logo {
		display: flex;             
		justify-content: center;   
		align-items: center;       
		height: 100%;    
	}
	.under-header {
        height: 285px;
    }
}

@media (max-width: 450px) {
	.logo img {
		width: 130px;
		height: auto;
	}
	.burger {font-size: 15px;}
	.btn-register, .btn-login {padding: 5px 8px;font-size: 12px;}
	.logo {
		display: flex;              
		justify-content: center;    
		align-items: center;      
		height: 100%;    
	}
}

.payment-icons-white {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px; 
  justify-content: center; 
  align-items: center;
}

.payment-icons-white img {
  max-width: 100%;
  width: 80px; 
  transition: width 0.3s ease;
}

/* Адаптивные размеры */
@media (max-width: 1024px) {
  .payment-icons-white img {
    width: 70px;
  }
}

@media (max-width: 768px) {
  .payment-icons-white img {
    width: 60px;
  }
  .promo-code {
	  font-size: 14px;
  }
  .copy-btn {
	  font-size: 14px;
  }
}

@media (max-width: 480px) {
  .payment-icons-white img {
    width: 45px;
  }
  .payment-icons-white {
	  gap: 0px;
  }
}

.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 30px;     
  height: 3px;     
  background-color: #fff; 
  border-radius: 2px;
  position: absolute;
  transition: 0.3s ease;
}

.burger span::before {
  transform: translateY(-10px); 
}

.burger span::after {
  transform: translateY(10px); 
}

@media (max-width: 400px) {
	.auth-buttons {
		display: block;
		text-align: right;
	}
	.btn-register {
		margin-bottom: 10px;
	}
	.under-header {
        height: 320px;
    }
	.burger {
	  width: 30px;  
	  height: 40px;
	}
}

	.promo-box-start {
	  margin-top: 20px;
	  margin-bottom: 10px;
	}
	
    .promo-box {
      border: 2px solid #FA5E00;
      border-radius: 10px;
      padding: 0px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #fff;
      width: 50%;
      min-width: 320px;
	  /* Центрируем по экрану */
      margin: 0 auto;
    }

    .promo-code {
      flex: 1;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      color: #333;
      letter-spacing: 1px;
    }

    .copy-btn {
      background: #FA5E00;
      color: #fff;
      border: none;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.3s;
      margin-left: auto; /* кнопка у правого края */
	  height: 66px;
    }

    .copy-btn:hover {
      background: #d94f00;
    }

    /* Всплывающее окно */
    .popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      background: #fff;
      border: 2px solid #FA5E00;
      padding: 20px 40px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      font-size: 18px;
      color: #FA5E00;
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease;
      z-index: 1000;
    }

    .popup.show {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%) scale(1);
    }
	
@media (max-width: 768px) {
  .promo-code {
	  font-size: 14px;
  }
  .copy-btn {
	  font-size: 14px;
	  height: 45px;
  }
  .promo-box {
    width: 100%;
    min-width: 220px;
  }
}

@media (max-width: 364px) {
  .promo-code {
	  font-size: 12px;
  }
  .copy-btn {
	  font-size: 12px;
	  height: 30px;
  }
}