html {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	padding: 0;
	margin: 0;
}

/* Можно чуть приукрасить заголовки */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
}


/* Общий фон страницы */
body {
    background: #fbfafa;
    color: #e5e5e5;
	padding: 0;
	margin: 0;
}

/* Контейнер */
.container--home {
    max-width: 1200px;
    margin: 40px auto;
    padding: 32px 20px 48px;
}

/* Заголовок и сабтайтл */
.page-home__title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #000000;
}

.page-home__subtitle {
    text-align: center;
    font-size: 16px;
    color: #000000;
    margin-bottom: 32px;
}

/* Сетка карточек */
.casino-grid {
    display: grid;
    gap: 24px;
}

/* 2 карточки в ряд на десктопе */
@media (min-width: 768px) {
    .casino-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Карточка казино */
.casino-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 20px 22px;
    background-color: #15151b;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6);
    isolation: isolate;

    /* фон = логотип казино */
    background-image:
        linear-gradient(120deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.55)),
        var(--casino-bg);
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.casino-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.7);
}

/* Дополнительный фильтр поверх, если нужно сильнее затемнить */
.casino-card__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.08),
        transparent 45%);
    mix-blend-mode: soft-light;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

/* Контент поверх фона */
.casino-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.casino-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* На мобильных делаем в колонку */
@media (max-width: 767.98px) {
    .casino-card__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.casino-card__main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Бейдж слева сверху */
.casino-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: #f5f5ff;
}

/* Название казино */
.casino-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* Бонус */
.casino-card__bonus {
    font-size: 14px;
    color: #f5f5f5;
}

/* Рейтинг */
.casino-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.casino-card__stars {
    font-size: 13px;
    letter-spacing: 1px;
    color: #ffd86b;
}

.casino-card__rating-value {
    font-size: 13px;
    color: #fefce8;
}

/* Кнопка справа */
.casino-card__cta {
    flex-shrink: 0;
}

.casino-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #ff8ac8 0%, #e64790 40%, #b5226f 100%);
    color: #1b1020;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.casino-card__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
    filter: brightness(1.05);
}

/* Пагинация */
.pagination-wrap {
    margin-top: 32px;
    text-align: center;
}

.pagination-wrap .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #15151b;
    color: #e5e5e5;
    text-decoration: none;
    font-size: 13px;
}

.pagination-wrap .page-numbers.current {
    background: #f97316;
    color: #050507;
}

.pagination-wrap .page-numbers:hover {
    background: #27272f;
}

/* Базовая обёртка */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

/* Контейнер общий */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        180deg,
        rgba(5, 5, 10, 0.96) 0%,
        rgba(5, 5, 10, 0.92) 65%,
        rgba(5, 5, 10, 0.88) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 24px;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.site-description {
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 2px;
}

/* Меню в хедере */
.site-header__right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav__list {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    font-size: 14px;
    text-decoration: none;
    color: #e4e4e7;
    padding: 6px 8px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
    background: rgba(244, 244, 245, 0.08);
    color: #ffffff;
}

/* CTA в хедере */
.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #f97316 0%, #ea580c 50%, #c2410c 100%);
    color: #050507;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.site-header__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.85);
    filter: brightness(1.05);
}

/* Мобилка: меню/CTA в столбик, если нужно — потом можно прикрутить бургер */
@media (max-width: 767.98px) {
    .site-header__container {
        align-items: flex-start;
    }

    .site-header__right {
        width: 100%;
        justify-content: space-between;
    }

    .site-nav__list {
        flex-wrap: wrap;
    }
}

/* === FOOTER === */

.site-footer {
    background: radial-gradient(circle at top, #111827 0%, #020617 60%, #020617 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 32px;
    margin-top: 40px;
}

.site-footer__container {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px;
    padding-bottom: 24px;
}

@media (max-width: 900px) {
    .site-footer__container {
        grid-template-columns: 1fr;
    }
}

.site-footer__logo img {
    max-height: 36px;
    width: auto;
    margin-bottom: 8px;
}

.site-footer__title {
    font-size: 18px;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 4px;
}

.site-footer__heading {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin: 0 0 10px;
}

.site-footer__text {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

.site-footer__text--small {
    font-size: 12px;
}

/* Меню в подвале */
.site-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__menu li + li {
    margin-top: 4px;
}

.site-footer__menu a {
    font-size: 13px;
    color: #e5e7eb;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.16s ease;
}

.site-footer__menu a:hover {
    opacity: 1;
}

/* Нижняя полоса */
.site-footer__bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    padding: 10px 0 14px;
    margin-top: 4px;
    background: rgba(0, 0, 0, 0.4);
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}
