* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #FFCC00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFA201; /* или любой другой цвет для эффекта при наведении */
    text-decoration: underline;    
}



body {
    font-family: Arial, sans-serif;
    background-color: #29333C;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: auto;
}

footer {
    background-color: #232A32;
    text-align: center;
    padding: 10px;
}


/* Заголовки */
h1 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFA201;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #ffcc00;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ddd;
}

/* Абзацы */
p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ccc;
}

/* Общие стили для списков */
ul, ol {
    margin: 10px 0 20px 20px;
    padding-left: 20px;
}

/* Стили для маркированных списков */
ul {
    list-style-type: disc;
}

/* Стили для нумерованных списков */
ol {
    list-style-type: decimal;
}

/* Стили для элементов списка */
li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #ddd;
}

/* Жирный текст внутри списка */
li strong {
    color: #FFA201;
}

/* Общие стили таблицы */
table {
    width: 95%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #1E1E1E;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

/* Заголовки таблицы */
th {
    background-color: #232A32;
    color: white;
    padding: 12px;
    font-size: 18px;
    text-align: left;
}

/* Ячейки таблицы */
td {
    padding: 10px;
    font-size: 16px;
    border-bottom: 1px solid #333;
}

/* Чередующиеся строки */
tr:nth-child(even) {
    background-color: #222;
}

/* Наведение на строки */
tr:hover {
    background-color: #333;
}

/* Закругленные края таблицы */
table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}
table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}
table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/* Стили для шапки */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Размещаем элементы равномерно */
    background-color: #232A32;
    padding: 10px 20px;
    flex-wrap: wrap;
}


/* Логотип */
.logo img {
    height: 40px;
}

/* Верхняя часть шапки */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
  display: none;
  font-size: 24px;
  background-color: #1f1f1f;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

/* Меняем значок на крестик, когда меню открыто */
.hamburger.open::before {
  content: '✕'; /* крестик */
}

.hamburger::before {
  content: '☰'; /* бургер */
}

/* Убираем текстовую иконку внутри <button>, если используем ::before */
.hamburger span {
  display: none;
}

/* Основное меню */
.main-menu {
    display: flex;
    gap: 15px;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

.main-menu a:hover {
    background-color: #FFA201;
    color: #111;
}

/* Навигация справа */
.header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Кнопки входа */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

/* Кнопка с иконкой поиска */
.nav-btn img {
    width: 18px;
    height: 18px;
}

/* Темная кнопка */
.nav-btn.dark {
    background-color: #1e1e1e;
    color: #fff;
}

/* Зеленая кнопка */
.nav-btn.green {
    background-color: #FFA201;
    color: #fff;
}

/* Эффекты при наведении */
.nav-btn.dark:hover {
    background-color: #2b2b2b;
}

.nav-btn.green:hover {
    background-color: #FFB900;
}

/* Эффекты при нажатии */
.nav-btn:active {
    transform: scale(0.95);
}


.auth-buttons button {
    padding: 5px 15px;
    margin-left: 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

.main {
    display: flex;
    flex: 1;
}

/* Секция загрузки приложения */
.download-app {
    width: 100%;
    max-width: 1200px; /* Чтобы не растягивалось на больших экранах */    
    padding: 20px 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin: 0 auto; /* Центрируем блок */}

.text-content {
    width: 100%;
    max-width: 1200px; /* Чтобы не растягивалось на больших экранах */    
    padding: 20px 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin: 0 auto; /* Центрируем блок */}    

/* Контейнер с изображением и текстом */
.app-container {
    max-width: 1200px;
    margin: 0 auto; /* Центрируем контент внутри */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;}

/* Левая часть: изображение */
.app-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
}

/* Правая часть: текст */
.app-info {
    width: 100%;
}

/* Список характеристик */
.system-requirements {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #fff;
}

/* Кнопки скачивания */
.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-download img {
    width: 150px;
    transition: transform 0.3s;
}

.btn-download:hover img {
    transform: scale(1.05);
}

.sidebar {
    width: 250px;
    background-color: #1f1f27;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sidebar-nav a {
    background-color: #18181f;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    position: relative;
}

.sidebar-nav a:hover {
    background-color: #2b2b33;
}

.sidebar-nav .icon {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

.sidebar-nav .badge {
    position: absolute;
    top: 5px;
    right: 10px;
    background-color: #ff3b3b;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-bottom button {
    background-color: #18181f;
    border: none;
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.sidebar-bottom button:hover {
    background-color: #2b2b33;
}

.content {
    flex: 1;
}

.banner {
    background: url('banner-image.jpg') no-repeat center center / cover;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.banner h1 {
    margin-bottom: 20px;
    font-size: 36px;
}

.banner .cta {
    padding: 10px 20px;
    background-color: #FFA201;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.banner-carousel {
    position: relative;
    width: 100%;  /* Растягиваем на всю ширину контейнера */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
}

.slide img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Кнопки переключения */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.game-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.game-categories a {
    display: flex;
    font-size: 11px; /* измените размер текста по вашему усмотрению */
    flex-direction: column;
    text-align: center; /* выравнивает текст строго по центру */
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background-color: #1e1e24;
    border-radius: 10px;
    padding: 10px;
    transition: background-color 0.3s, color 0.3s;
    width: 90px;
    height: 90px;
    white-space: nowrap;       /* запрещает перенос строк */
    overflow: hidden;          /* скрывает текст, если он выходит за пределы блока */
    text-overflow: ellipsis;   /* добавляет троеточие при переполнении */
}

.game-categories a img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.game-categories a:hover {
    background-color: #2e2e34;
    color: #FFA201;
}

/* Секция со слотами */
.games-section {
    margin-bottom: 30px;
}

.games-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.games-header h2 {
    font-size: 20px;
    color: #fff;
}

.show-all {
    color: #FFA201;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.show-all:hover {
    color: #2e8b57;
}

/* Грид для слотов */
.games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

/* Стили для слотов */
.slot {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.slot img {
    width: 100%;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.slot:hover img {
    opacity: 0.3;
}

/* Затемнение и кнопка Play */
.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Легкое затемнение */
    display: flex;
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* При наведении появляется затемнение и кнопка */
.slot:hover .slot-overlay {
    opacity: 1;
}

/* Кнопка Play по центру изображения */
.play-btn {
    background-color: #FFA201;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
    text-transform: uppercase;
}

/* Эффект при наведении */
.play-btn:hover {
    background-color: #FFB900;
    transform: scale(1.1); /* Легкое увеличение */
}

.slot-info {
    padding: 5px 8px; /* Уменьшаем отступы */
    text-align: left;
}

.slot-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    margin-bottom: 2px; /* Уменьшаем отступ между названием и провайдером */
}

.slot-provider {
    font-size: 12px;
    color: #aaa;
    margin-top: 0; /* Убираем возможные отступы сверху */
}

/* Блок с бонусами */
.bonuses {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки на больших экранах */
    gap: 20px;
    padding: 20px;
    width: 100%;
}

/* Карточка бонуса */
.bonus-card {
    min-height: 100%;
    background-color: #222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.bonus-card:hover {
    transform: translateY(-5px);
}

/* Фоновая картинка */
.bonus-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

/* Основное содержимое */
.bonus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Отступ между заголовком и кнопкой */
}

/* Заголовки */
.bonus-content h3 {
    font-size: 14px;
    color: #bbb;
    text-transform: uppercase;
}

.bonus-content h2 {
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin: 5px 0;
}

.bonus-highlight {
    color: #FFA201;
    font-size: 16px;
    font-weight: bold;
}

/* Подзаголовок */
.bonus-subtitle {
    font-size: 12px;
    color: #bbb;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Список условий */
.bonus-content ul {
    text-align: left;
    list-style-type: disc;
    padding-left: 20px;
    font-size: 14px;
    color: #ddd;
    margin: 10px 0;
    flex: 1;
}

/* Кнопки */
.bonus-buttons {
    flex: 1 1 35%;
    max-width: 35%;
    display: flex;
    align-items: center;       /* Центровка по вертикали */
    justify-content: center;   /* Центровка по горизонтали */
    text-align: center;
}

.banner-cta-title {
    font-size: 30px;
    color: #fff;
    margin: 0;
    font-weight: bold;
    text-align: center;
}

/* Кнопки */
.btn {
    padding: 10px;
    width: 48%;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Кнопка Info (темная) */
.info-btn {
    background-color: #333;
    color: white;
    border: 1px solid #444;
}

.info-btn:hover {
    background-color: #444;
}

/* Кнопка Get Bonus (зеленая) */
.get-bonus-btn {
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    background-color: #FFA201;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 350px; /* Минимальная ширина кнопки */
}

.get-bonus-btn:hover {
    background-color: #3a8b3a;
    transform: scale(1.05); /* Небольшое увеличение при наведении */
}

/* Общий стиль для баннеров */
.fullwidth-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    left: 0;
    right: 0;
}

.fullwidth-banner img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

/* Показываем только десктопное изображение по умолчанию */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.link-menu {
    display: flex;
    flex-wrap: wrap;        /* ← разрешает перенос элементов на новую строку */
    gap: 8px 15px;         /* вертикальный и горизонтальный отступ */
    padding: 3px 3px;     /* внутренние отступы для защиты от краёв */
    box-sizing: border-box; /* учитываем padding внутри ширины */
    text-decoration: underline;
}

.link-menu a {
    color: #FFCC00;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;    /* ← предотвращает разрыв текста */
}

.link-menu a:hover {
    color: #FFA201;

}

.banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.hed-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    border-radius: 12px;
    flex-wrap: wrap;
    color: white;
}

.hed-banner-image {
    flex: 1 1 60%;
    max-width: 60%;
}

.hed-banner-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.bonus-buttons {
    flex: 1 1 35%;
    max-width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-bonus-btn {
    padding: 12px 20px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    background-color: #FFCC00;
    color: #000;
    text-align: center;
}

.get-bonus-btn:hover {
    background-color: #FFA201;
    color: #000;
}

/* ✅ Обёртка для горизонтальной прокрутки */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* ✅ Таблица внутри прокручиваемой обёртки */
.table-scroll table {
    min-width: 700px;
    width: 100%;
    border-collapse: collapse;
}

.table-scroll th,
.table-scroll td {
    white-space: nowrap;
}

.bottom-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #2a2a2a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 9999;
  max-width: 90%;
  font-size: 14px;
}

.banner-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.banner-text {
  flex: 1;
}

.banner-button {
  background-color: #FFA201;
  color: #000;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 15px;
  transition: background-color 0.3s ease;
}

.banner-button:hover {
  background-color: #FFCC00;
}



/* ----------------------------------------------------------------------------Адаптивность */
@media (max-width: 1200px) {
    .bonuses {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 768px) { 
.hed-banner {
        flex-direction: column;
        text-align: center;
    }

    .hed-banner-image,
    .bonus-buttons {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .get-bonus-btn {
        width: 100%;
        max-width: 300px;
    }


    .link-menu {
        padding: 2px;
    }

    .link-menu a {
        font-size: 14px;
    }


    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }


      .hamburger {
    display: flex;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%); /* Центрирует по вертикали */
  }
  
  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    gap: 8px; /* ← уменьшенный отступ между пунктами */
    padding: 10px 0;
  }
  
    .main-menu a {
    padding: 5px 20px; /* менее высокий клик-таргет */
    font-size: 16px;
  }
  
    .header {
    position: relative;
    padding-right: 70px; /* освободить место справа под гамбургер */
  }

  .header.open .main-menu {
    display: flex;
    max-height: 500px; /* достаточная высота под меню */
  }
  
    .header-nav {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
    .header-nav a.nav-btn {
    padding: 6px 10px;
    font-size: 14px;
    white-space: nowrap;
  }
    
    
    .main {
        flex-direction: column;
    }
    
    .app-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

      .app-image {
      text-align: center; /* Центрирует только изображение */
  }

    .app-image img {
        width: 250px;
    }

      .app-info {
      text-align: left;   /* Левое выравнивание текста */
      padding: 0 10px;    /* Добавим небольшой отступ для читаемости */
  }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    

    /* ✅ Уменьшаем логотип */
    .logo img {
        height: 30px; /* Было 40px, теперь компактнее */
    }



    /* Скрываем сайдбар по умолчанию */
    .sidebar {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #1f1f27;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        height: auto;
        overflow: hidden;
        display: none; /* Полностью скрываем */
    }


    .game-categories {
        display: grid !important;  /* Принудительно убираем flex */
        grid-template-columns: repeat(4, 1fr); /* 4 значков в ряд */
        gap: 5px; /* Меньше отступов между значками */
        justify-content: center;
        align-items: center;
        padding: 10px 0;
    }

    .game-categories a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 60px;  /* Фиксированный размер */
        height: 60px;
        font-size: 10px;
        padding: 5px;
    }
    
    .game-categories a img {
        width: 30px; /* Уменьшаем значки */
        height: 30px;
    }

    .games {
        grid-template-columns: repeat(3, 1fr);
    }

    .banner h1 {
        font-size: 24px;
    }

    .bonuses {
        grid-template-columns: repeat(1, 1fr);
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    table {
        width: 100%;
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }

    ul, ol {
        padding-left: 15px;
    }

}