/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f7fdfb;
    margin: 0;
    padding: 0;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    color: #0c122d;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

/* Ссылки */
a {
    color: #1b5fc1;
    text-decoration: none;
}

a:hover {
    color: #28bd86;
}

/* Кнопки */
.button, input[type="submit"], .wp-block-button__link, .casino-btn {
    background-color: #1b5fc1;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    border: none;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .casino-btn:hover {
    background-color: #28bd86;
}

/* Таблица казино */
.casino-table {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.casino-table th, .casino-table td {
    padding: 15px;
    text-align: left;
    vertical-align: middle;
}

.casino-table th {
    background-color: #1b5fc1;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.casino-table td {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

.casino-table tr:last-child td {
    border-bottom: none;
}

.casino-logo {
    display: flex;
    align-items: center;
}

.casino-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background-color: #f9f9f9;
}

.casino-bonus-cell p {
    margin: 5px 0;
}

.casino-btn-cell {
    text-align: center;
}

.casino-btn {
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
}

/* Контейнер */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Шапка */
header {
    background-color: #1b5fc1;
    padding: 20px;
    text-align: center;
    color: white;
}

.logo span {
    font-size: 26px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* Основной контент */
#main-article {
    padding: 20px 0;
}

#main-article img.center-img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#main-article ul {
    list-style-type: disc;
    padding-left: 20px;
}

#main-article ul li {
    margin-bottom: 10px;
}

/* Таблицы в основном контенте */
#main-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#main-article table, #main-article th, #main-article td {
    border: 1px solid #ddd;
}

#main-article th, #main-article td {
    padding: 10px;
    text-align: left;
}

#main-article thead {
    background-color: #1b5fc1;
    color: white;
}

/* Фиксация футера внизу страницы */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Это растянет main, чтобы футер всегда был внизу */
}
/* Общий стиль футера */
footer {
    background: linear-gradient(to right, #0c122d, #1b5fc1); /* Градиентный синий */
    color: white;
    padding: 40px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
}

/* Компактный футер */
footer {
    background: linear-gradient(to right, #0c122d, #1b5fc1); /* Градиентный синий */
    color: white;
    padding: 15px 0; /* Уменьшенные отступы */
    text-align: center;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    position: relative;
    bottom: 0;
    left: 0;
}

/* Контейнер футера */
.footer-container {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* Уменьшенные боковые отступы */
}

/* Логотип */
.footer-logo {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Социальные иконки */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: white;
    font-size: 16px; /* Уменьшенный размер иконок */
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    color: #28bd86; /* Зеленый акцент */
    transform: scale(1.1);
}

/* Навигация футера */
.footer-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px; /* Уменьшенный шрифт */
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #28bd86;
}

/* Линия-разделитель */
.footer-divider {
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 10px auto; /* Уменьшенный отступ */
}

/* Ключевые слова */
.footer-keywords {
    text-align: center;
    font-size: 12px; /* Уменьшенный размер шрифта */
    color: #e0e0e0;
    max-width: 800px;
    margin: auto;
    line-height: 1.4;
}

/* Копирайт */
.footer-copyright {
    font-size: 12px;
    margin-top: 5px; /* Уменьшенный отступ */
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 8px;
    }

    .footer-social {
        margin-top: 10px;
    }
    .casino-table{
        display: flex;
    flex-direction: column;
    }
    thead{
        display:none;
    }
    thead tr, tbody tr{
        display: flex;
    flex-direction: column;
    }
    .text-box img{
        width:100%;
        box-sizing: border-box;
    }
    footer{
        padding: 5% 5% 5% 10%;
    box-sizing: border-box;
    }
}
