/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Устраняет проблемы с отступами */
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Убираем горизонтальную прокрутку */
}

img {
    max-width: 100%; /* Гарантируем, что изображения не выходят за пределы контейнера */
    height: auto; /* Сохраняем пропорции */
    display: block;
}

/* Общие стили */
body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
}

/* Общие настройки контейнеров */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background-color: black; /* Тёмный фон */
    padding: 20px 0; /* Отступы сверху и снизу */
}

header .container {
    display: flex;
    justify-content: space-between; /* Разделение между логотипом и кнопками */
    align-items: center; /* Выравнивание элементов по вертикали */
}

header .logo img {
    height: 40px; /* Высота логотипа */
    width: auto; /* Пропорциональная ширина */
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #fff; /* Цвет текста */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px; /* Отступы для кнопки */
    border-radius: 5px; /* Скругление углов */
    transition: background-color 0.3s ease;
}

/* Кнопка Войти */
header nav ul li a.btn-login {
    background: linear-gradient(90deg, #7B56F4 11%, #9C5DD4 100%); /* Фиолетовый градиент */
    color: #fff; /* Белый текст */
    padding: 5px 20px; /* Внутренние отступы */
    border-radius: 5px; /* Скругленные углы */
    font-weight: bold; /* Жирный текст */
    text-align: center;
    text-decoration: none; /* Убираем подчеркивание */
    display: inline-block; /* Чтобы кнопка отображалась корректно */
    transition: transform 0.3s ease; /* Анимация при наведении */
}

header nav ul li a.btn-login:hover {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}

/* Кнопка Регистрация */
header nav ul li a.btn-register {
    background: linear-gradient(90deg, #43a047, #66bb6a); /* Зелёный градиент */
    color: #fff; /* Белый текст */
    padding: 5px 20px; /* Внутренние отступы */
    border-radius: 5px; /* Скругленные углы */
    font-weight: bold; /* Жирный текст */
    text-align: center;
    text-decoration: none; /* Убираем подчеркивание */
    display: inline-block; /* Чтобы кнопка отображалась корректно */
    transition: transform 0.3s ease; /* Анимация при наведении */
}

header nav ul li a.btn-register:hover {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}

/* Обзор */
.casino-overview {
    margin: 40px auto;
    text-align: justify;
    max-width: 900px;
    color: #fff;
}
.casino-overview h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
   }
.casino-overview h2 {
    font-size: 28px;
    margin-bottom: 20px;
   }

.casino-overview p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Кнопка */
.btn-details {
    display: block;
    text-align: center;
    background-color: #2196f3;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin: 20px auto;
    transition: background-color 0.3s ease;
}

.btn-details:hover {
    background-color: #1976d2;
}

/* Карточки */
.highlight-cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.highlight-card {
    flex: 1;
    max-width: 48%;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.highlight-card img {
    width: 80px;
    margin-bottom: 15px;
}

.highlight-card.green {
    background: linear-gradient(90deg, #43a047, #66bb6a);
}

.highlight-card.orange {
    background: linear-gradient(90deg, #ef6c00, #ff9800);
}

.highlight-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 14px;
}
/* Стили для изображений внутри текста */
.casino-overview img {
    display: block; /* Убираем обтекание текстом */
    max-width: 100%; /* Ограничиваем ширину изображений */
    height: auto; /* Сохраняем пропорции */
    margin: 20px auto; /* Центрируем изображение и добавляем отступы сверху и снизу */
    border-radius: 10px; /* Опционально: добавляем скругленные углы */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Опционально: добавляем тень для стилизации */
}

/* Баннер */
.highlight {
    padding: 20px 0;
}

.highlight .highlight-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: url('banner-bg.jpg') center/cover no-repeat;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 20px; /* Внутренний отступ */
    box-sizing: border-box;
    overflow: hidden;
}

.highlight .highlight-banner img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block; /* Обеспечиваем корректное отображение */
}

.highlight .highlight-banner .text {
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.highlight .highlight-banner h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.highlight .highlight-banner p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .highlight .highlight-banner {
        flex-direction: column;
        padding: 10px; /* Уменьшаем отступы на мобильных */
        width: 100%;
        background-size: contain; /* Гарантируем полное отображение фона */
        background-position: top center;
    }

    .highlight .highlight-banner img {
        width: 100%; /* Заполняем всю ширину */
        height: auto; /* Убираем ограничения по высоте */
    }

    .highlight .highlight-banner .text {
        max-width: 100%; /* Ограничиваем текст по ширине */
        text-align: center;
        padding: 10px;
    }

    .highlight .highlight-banner h2 {
        font-size: 24px; /* Уменьшаем размер текста на мобильных */
    }

    .highlight .highlight-banner p {
        font-size: 16px; /* Уменьшаем размер текста */
    }
}


/* Футер */
footer {
    background-color: #1e1e1e;
    color: #fff;
    padding: 40px 20px;
    font-size: 14px;
    line-height: 1.8;
}

footer .footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

footer .footer-left,
footer .footer-right {
    flex: 1;
}

footer .footer-left p {
    margin: 0;
    text-align: justify;
}

footer .footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-right ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между иконкой и текстом */
}

footer .footer-right ul li i {
    font-size: 18px; /* Увеличиваем размер иконок */
    color: #4caf50; /* Зелёный цвет иконок */
    transition: transform 0.3s, color 0.3s;
}

footer .footer-right ul li:hover i {
    transform: scale(1.2); /* Увеличение размера иконки при наведении */
    color: #66bb6a; /* Светло-зелёный цвет при наведении */
}

footer .footer-right ul li span {
    font-size: 16px;
    color: #fff;
}

/* Логотипы */
footer .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; /* Расстояние между логотипами */
    margin-top: 20px;
}

footer .logos img {
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

footer .logos img:hover {
    transform: scale(1.1); /* Лёгкое увеличение при наведении */
    filter: brightness(1.2); /* Яркость при наведении */
}

/* Нижняя часть футера */
footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 10px;
}
/* Адаптивность */
@media (max-width: 768px) {
    .highlight-cards {
        flex-direction: column;
        align-items: center;
    }

    .casino-overview {
        max-width: 90%;
    }

    .highlight .highlight-banner {
        flex-direction: column;
        max-width: 100%;
    }

    footer .footer-content {
        flex-direction: column;
        text-align: center;
    }
  footer .logos {
        flex-direction: column;
        gap: 20px; /* Уменьшенный промежуток между логотипами */
    }

    footer .logos img {
        width: 100px;
    }
}
