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;
	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;
    margin-bottom: 50px;
}

/* 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;
    text-decoration: none;
    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;
    }
}

table {
    border: 1px solid #000000;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    color: #000000;
	border-collapse: collapse;
    width: max-content;
    min-width: 100%;
}

td {
    padding: 14px 16px;
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: top;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    letter-spacing: .05em;
    border-bottom: 1px solid #000000;

}

/* ===== Single Articles (keeps homepage-like look) ===== */
.page-article { padding: 24px 0 48px; }
.page-article .innerwrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.breadcrumbs { margin: 6px 0 18px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs__sep { opacity: .5; }
.breadcrumbs__link { text-decoration: none; opacity: .8; }
.breadcrumbs__link:hover { opacity: 1; }
.breadcrumbs__current { opacity: .9; }

.article-card{
  border-radius: 18px;
  padding: 22px;
}

.article-hero{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}
@media (max-width: 900px){
  .article-hero{ grid-template-columns: 1fr; }
}

.article-hero__title{ margin: 0 0 10px; line-height: 1.15; }
.article-hero__meta{ display:flex; align-items:center; gap:10px; opacity:.75; font-size: 14px; }
.article-hero__dot{ opacity:.6; }

.article-hero__media{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 15, 23, .10);
  box-shadow: 0 10px 30px rgba(15, 15, 23, .10);
}
.article-hero__img{ width:100%; height:auto; display:block; }

.article-content{ max-width: 820px; }
.article-content p{ line-height: 1.75; }
.article-content h2, .article-content h3{ margin-top: 22px; }
.article-content img{ max-width: 100%; height: auto; border-radius: 14px; }

.article-content table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(15, 15, 23, .10);
}
.article-content th, .article-content td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 15, 23, .08);
  vertical-align: top;
}

#menu-glavnoe-menyu {
    display: flex;
    gap: 20px;
    list-style-type: none;
}

#menu-glavnoe-menyu a {
    color: #fff;
    text-decoration: none;
}

/* ===== Header / Burger ===== */
.site-header__container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.site-header__right{
  display:flex;
  align-items:center;
  gap:14px;
}

/* Desktop menu */
.site-nav--desktop .header-menu{
  display:flex;
  align-items:center;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}
.site-nav--desktop .header-menu a{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* Burger button */
.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  padding:10px;
  position:relative;
}
.burger span{
  display:block;
  height:2px;
  width: 50%;
  background:currentColor;
  border-radius:2px;
  position:absolute;
  left:10px;
  right:10px;
  transition:transform .2s ease, top .2s ease, opacity .2s ease;
}
.burger span:nth-child(1){ top:14px; }
.burger span:nth-child(2){ top:21px; }
.burger span:nth-child(3){ top:28px; }

.burger.is-open span:nth-child(1){ top:21px; transform:rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ top:21px; transform:rotate(-45deg); }

/* Mobile menu wrapper */
.mobile-menu{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
}
.mobile-menu.is-open{ display:block; }

/* .mobile-menu__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
} */

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 92vw);
    background: #ffffff;
    border-left: 1px solid rgba(255, 255, 255, .10);
    box-shadow: -30px 0 60px rgba(0, 0, 0, .35);
    padding: 16px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateX(100%);
    transition: transform .25s ease;
}
.mobile-menu.is-open .mobile-menu__panel{ transform:translateX(0); }

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: #ffffff;
    padding-left: 16px;
}

.mobile-menu__title{ font-weight:700; }

.mobile-menu__close{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  color:inherit;
}

.site-nav--mobile .mobile-menu__list{
  list-style:none;
  margin:0;
  padding:8px 0 0;
  display:flex;
  flex-direction:column;
  gap:10px;
      background: #ffffff;
}
.site-nav--mobile .mobile-menu__list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:14px;
  text-decoration:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.site-nav--mobile .mobile-menu__list a:hover{
  background:rgba(255,255,255,.07);
}

.mobile-menu__cta{
  margin-top:auto;
  display:flex;
  justify-content:center;
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
}

/* Responsive */
@media (max-width: 980px){
  .site-nav--desktop{ display:none; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
  .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        overflow-x: hidden;
    }
    .site-header {
        padding: 2%;
    }

}

/* ===== Mobile: horizontal scroll for tables (no wrappers needed) ===== */
@media (max-width: 900px) {

  /* Весь контент статьи/поста — подставь свой селектор при необходимости */
  .article-content table,
  .entry-content table,
  .site-content table {
    display: block;                 /* важно: чтобы заработал overflow */
    max-width: 100%;
    overflow-x: auto;               /* горизонтальный скролл */
    -webkit-overflow-scrolling: touch;
    width: 100%;

    /* если у тебя были border-collapse, на display:block он может вести себя по-разному,
       но обычно визуально всё ок. При желании можно оставить как есть. */
  }

  /* чтобы таблица реально “ширилась”, а не ужималась */
  .article-content th,
  .article-content td,
  .entry-content th,
  .entry-content td,
  .site-content th,
  .site-content td {
    white-space: nowrap;            /* убирай, если хочешь переносы строк */
  }
}

.casino-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.casino-card__tag {
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}

.casino-card__tag:hover {
    background: rgba(255,255,255,.25);
}


html {
  scroll-behavior: smooth;
}

