/* --- Base / Tokens --- */
:root {
    --max-w: 1200px;
    --gutter: 16px;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-1: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.12);

    --bg: #0e0f14;
    --bg-soft: #141723;
    --bg-elev: #1e232a;
    --text: #e7eaf2;
    --text-dim: #b7bfd6;
    --muted: #8a91a8;

    --accent: #f8cc27; /* яркий, заметный */
    --accent-2: #00d4ff; /* вторичный градиент */
    --success: #2ecc71;
    --warning: #f1c40f;
    --danger: #ff5c7c;

    --link: var(--accent);
    --border: #272a2e;

    --btn-fg: #0b0c10;
    --btn-bg: #fff;

    --fz-1: clamp(28px, 4vw, 44px);
    --fz-2: clamp(20px, 2.6vw, 28px);
    --fz-3: 18px;
    --fz-4: 16px;
    --fz-5: 14px;

    --leading: 1.55;
}

/*@media (prefers-color-scheme: light) {
  :root{
    --bg: #ffffff;
    --bg-soft: #f8f9fc;
    --bg-elev: #ffffff;
    --text: #111319;
    --text-dim: #454b57;
    --muted: #6b7280;
    --border: #e5e7ef;
    --btn-fg: #fff;
    --btn-bg: #111319;
  }
}*/

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font: 400 16px / var(--leading) -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Inter,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji";
    background: #181a20;
    color: var(--text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
 
}
ul,
ol {
    padding-left: 1.2rem;
}
.container {
    width: 100%;
    max-width: calc(var(--max-w) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.visually-hidden,
.sr-only {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    background: #000;
    color: #fff;
    padding: 10px 14px;
    z-index: 10000;
    border-radius: 8px;
}

:focus-visible {
    outline: 1px solid #29313d;
    outline-offset: 2px;
}

/* --- Header & Top Disclaimer --- */
.top-disclaimer {
    background: #181a20;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: var(--fz-5);
}
.top-disclaimer .container {
    display: flex;
    align-items: center;
    min-height: 40px;
}
.top-disclaimer p {
    margin: 8px 0;
}
.top-disclaimer a {
    color: #707a8a;
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    backdrop-filter: saturate(120%) blur(8px);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}
.brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 60px;
    width: auto;
}
.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

.primary-nav .nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav .nav-list a {
    display: inline-block;
    padding: 10px 6px;
    border-radius: 8px;
    color: var(--text-dim);
}
.primary-nav .nav-list a:hover {
    color: var(--text);
}
.header-utilities {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-utilities .search-form {
    display: flex;
}
.header-utilities input[type="search"] {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 10px;
    border-radius: 8px;
    min-width: 220px;
}
.lang-switch a {
    color: var(--muted);
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
}
.lang-switch a[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
}
.lang-switch a:hover {
    border-color: var(--border);
    color: var(--text);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
   border-bottom: 1px solid #272a2e;
    background: var(--bg-soft);
}
.breadcrumbs .ol,
.breadcrumbs ol {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.breadcrumbs li {
    color: var(--muted);
    font-size: var(--fz-5);
}
.breadcrumbs li a {
    color: var(--muted);
}
.breadcrumbs li a:hover {
    color: var(--text);
}
.breadcrumbs li + li::before {
    content: "/";
    color: var(--border);
    margin-right: 6px;
}

/* --- Hero --- */
.hero {
    background: #181a20;
    padding-block: clamp(40px, 8vw, 96px);
}
.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}
.hero h1 {
    font-size: var(--fz-1);
    line-height: 1.1;
    margin: 0 0 8px;
}
.hero .subtitle {
    color: var(--text-dim);
    font-size: var(--fz-3);
    margin: 0 0 18px;
    max-width: 60ch;
}
.hero .hero-ctas {
    display: flex;
    gap: 12px;
    align-items: center;
}
.hero-img {
    border-radius: 16px;
    box-shadow: var(--shadow-2);
    max-height: 360px;
    object-fit: cover;
    justify-self: end;
    width: 100%;
}

@media (max-width: 880px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    .hero-img {
        justify-self: start;
        max-height: 260px;
    }
}

/* --- Buttons --- */
.btn {
    --bgc: var(--accent);
    --fgc: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--bgc);
    color: var(--fgc);
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.06s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}
.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
}
.btn-primary {
    --bgc: linear-gradient(90deg, var(--accent), var(--accent-2));
    --fgc: #0b0c10;
}
.btn-secondary {
    --bgc: transparent;
    --fgc: var(--text);
    border-color: var(--border);
    background: var(--bg-soft);
}
.btn-link {
    background: transparent;
    color: var(--link);
    padding: 0;
    border: none;
}
.btn-ghost {
    --fgc: var(--text);
    --bgc: transparent;
    border-color: var(--border);
    background: transparent;
}
.btn-ghost:hover {
    background: var(--bg-soft);
}

/* --- Filters --- */
.filters {

    background: #1e232a;
}
.filters .container {
    padding-block: 18px;
}
.filters h2 {
    font-size: var(--fz-2);
    margin: 0 0 8px;
}
.filters-form {
    display: grid;
    gap: 16px;
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-label {
    font-size: var(--fz-5);
    color: var(--muted);
}
select {
    background: #202630;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 10px;
    border-radius: 4px;
}
select[multiple] {
    min-height: 56px;
}
.filters-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.filters-note {
    color: var(--muted);
    font-size: var(--fz-5);
    margin: 4px 0 0;
}

@media (max-width: 1200px) {
    .filters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 880px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Top Casinos (cards) --- */
.top-casinos {
    padding-block: clamp(28px, 5vw, 52px);
}
.top-casinos h2 {
    font-size: var(--fz-2);
    margin: 0 0 16px;
}
.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: center;
    background: #1e232a;
    border: 1px solid #333b47;
    border-radius: 10px;
    padding: 14px;
    box-shadow: var(--shadow-1);
    content-visibility: auto;
    contain-intrinsic-size: 160px;
}



.card-media .placeholder-logo {
    width: 100%;
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2a2f41, #23283a);
}
.card-body {
    min-width: 0;
}
.card-title {
    margin: 0 0 6px;
    font-size: 18px;
}
.card-rating {
    margin: 0 0 8px;
    color: #ffcc48;
    letter-spacing: 0.5px;
}
.card-bonus {
    margin: 0 0 8px;
    color: var(--text);
}
.card-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--text-dim);
    font-size: var(--fz-5);
}
.card-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    min-width: 180px;
}
.card-cta .affiliate-note {
    color: var(--muted);
    font-size: 12px;
    max-width: 220px;
    text-align: right;
}

@media (max-width: 880px) {
    .card {
        display: flex
;
        flex-direction: column;
        align-items: start;
    }
    .card-media {
        grid-area: media;
    }
    .card-body {
        grid-area: body;
    }
    .card-cta {
        grid-area: cta;
        align-items: stretch;
            min-width: inherit;
    width: 100%;
    justify-items: inherit;
    }
}

.page-content {
    padding-block: clamp(24px, 5vw, 48px);
}
.page-content .container > *:first-child {
    margin-top: 0;
}
.page-content .container p {
    color: var(--text);
}

/* --- Why Trust Us --- */
.why-trust {
    padding-block: clamp(28px, 5vw, 56px);
    background: #1e2329;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 50px 0;
}
.why-trust h2 {
    margin: 0 0 12px;
    font-size: var(--fz-2);
}
.why-trust .lead {
    margin: 0 0 16px;
    color: var(--text-dim);
}
.trust-points {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
}
.trust-point {
    background: #2a313d;
    border: 1px solid #2a313d;
    border-radius: 14px;
    padding: 14px;
}
.trust-point__title {
    margin: 0 0 6px;
    font-size: 17px;
}
.trust-point__text {
    margin: 0;
    color: var(--text-dim);
}
.trust-audit {
    margin-top: 14px;
    color: var(--muted);
    font-size: var(--fz-5);
}
@media (max-width: 1200px) {
    .trust-points {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 880px) {
    .trust-points {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .trust-points {
        grid-template-columns: 1fr;
    }
}

/* --- Rating Methodology --- */
.rating-methodology {
    padding-block: clamp(28px, 5vw, 56px);
}
.rating-methodology h2 {
    margin: 0 0 8px;
    font-size: var(--fz-2);
}
.methodology-updated {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: var(--fz-5);
}
.criteria-list {
    margin: 0;
    padding: 0;
    list-style: decimal inside;
    display: grid;
    gap: 12px;
}
.criterion {
    background: #202630;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}
.criterion__name {
    margin: 0 0 6px;
    font-size: 17px;
}
.criterion__weight {
    color: var(--muted);
    font-weight: 600;
    margin-left: 6px;
}
.criterion__desc {
    margin: 0;
    color: var(--text-dim);
}
.formula {
    margin: 16px 0 0;
    color: #ffd600;
    font-style: italic;
    background: #29313d;
    border: 1px dashed var(--border);
    padding: 10px;
    border-radius: 10px;
}
.methodology-notes {
    margin: 12px 0 0;
    color: var(--text-dim);
}
.criteria-warning {
    margin: 10px 0 0;
    color: var(--warning);
    font-weight: 600;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-elev);
}
.footer-top {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.2fr 1fr 1fr;
    padding-block: clamp(22px, 4vw, 36px);
}
.footer-brand .company {
    margin: 8px 0 0;
    color: var(--text);
}
.footer-brand .address,
.footer-brand .email {
    margin: 6px 0 0;
    color: var(--text-dim);
}
.footer-nav .footer-menu,
.footer-legal .footer-legal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.footer-nav a,
.footer-legal a {
    color: var(--text-dim);
}
.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--text);
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-block: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom .rg p {
    margin: 6px 0;
    color: var(--muted);
    max-width: 70ch;
}
.footer-bottom .copyright {
    margin: 6px 0;
    color: var(--muted);
}
@media (max-width: 880px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Tables, content helpers --- */
table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
th,
td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
}
tbody tr:nth-child(odd) {
    background: #181a20;
}

/* --- Utilities --- */
.mt-0 {
    margin-top: 0;
}
.mb-0 {
    margin-bottom: 0;
}
.tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 9999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
}

/* --- Animations / Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}



 /* ========== Dark theme styles for Bonuses repeater ========== */
.bonuses-section {
  --bg: #0f1117;
  --card: #141a23;
  --card-hover: #171f2b;
  --text: #e6e8ec;
  --muted: #a0a8b8;
  --border: #222b39;
  --accent: #60a5fa;
  --accent-2: #22d3ee;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --chip: #1b2330;
  color: var(--text);
}
.bonuses-section .muted { color: var(--muted); }

/* Layout */
.bonuses-section .bonus-list {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (max-width: 640px) {
  .bonuses-section .bonus-list { grid-template-columns: 1fr; }
}

/* Card */
.bonuses-section .bonus-item {
    background: #202630;
    border: 1px solid var(--border);
    border-left: 3px solid var(--border);
    border-radius: 12px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 6px 16px rgba(0,0,0,0.25);
    transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.bonuses-section .bonus-item:hover { transform: translateY(-2px); background: var(--card-hover); }
.bonuses-section .bonus-item.is-active {
    border-left-color: #f8cc2761;
}
.bonuses-section .bonus-item.is-expired { border-left-color: var(--border); opacity: .9; }

/* Head: chips */
.bonuses-section .bonus-item__head { display: flex; gap: 6px; flex-wrap: wrap; }
.bonuses-section .chip {
  display: inline-block; padding: 2px 8px; font-size: 12px; line-height: 1.6;
  border-radius: 999px; background: var(--chip); color: var(--text); border: 1px solid var(--border);
}
.bonuses-section .chip--accent {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(96,165,250,.18), rgba(34,211,238,.18));
  color: #cfe6ff;
}
.bonuses-section .chip--muted { color: var(--muted); background: #121822; }

/* Title */
.bonuses-section .bonus-item__title {
  margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .2px;
}

/* Meta line */
.bonuses-section .bonus-item__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  font-size: 13px; color: var(--text);
}
.bonuses-section .bonus-amount {
  padding: 2px 8px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(96,165,250,.15), rgba(34,211,238,.12));
  border: 1px solid rgba(96,165,250,.25);
  color: #d8ecff; font-weight: 600;
}
.bonuses-section .bonus-wager,
.bonuses-section .bonus-promo { color: var(--muted); }
.bonuses-section .bonus-promo { text-transform: uppercase; letter-spacing: .4px; }

/* Extra attributes list */
.bonuses-section .bonus-attrs {
  margin: 6px 0 0; padding: 0; list-style: none;
  display: grid; gap: 4px 12px; grid-template-columns: 1fr;
  font-size: 13px; color: var(--muted);
}
@media (min-width: 640px) {
  .bonuses-section .bonus-attrs { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.bonuses-section .bonus-attrs li {
  display: flex; gap: 6px; align-items: baseline;
  border-left: 2px solid #1f2a3a; padding-left: 8px;
}
.bonuses-section .bonus-attr-label { color: #cbd5e1; }

/* Footer */
.bonuses-section .bonus-item__foot {
  margin-top: 2px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.bonuses-section .bonus-valid { color: var(--muted); font-size: 12.5px; }

/* Button (scoped, не ломает глобальные .btn) */
.bonuses-section .btn.btn-primary {
    --btn-bg: #f8cc27;
    --btn-shadow: none;
    background: var(--btn-bg);
    color: #0b1220;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    box-shadow: var(--btn-shadow);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.bonuses-section .btn.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.bonuses-section .btn.btn-primary:active { transform: translateY(0); filter: brightness(.98); }

/* Subtle separators inside card */
.bonuses-section .bonus-item__meta + .bonus-item__foot { border-top: 1px solid var(--border); padding-top: 10px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bonuses-section .bonus-item,
  .bonuses-section .btn.btn-primary { transition: none; }
}

.cgr-subnav {
    --_bg: var(--bg-elev, var(--bg-soft, #1e232a));
    --_bd: var(--border, #333b47);
    --_fg: var(--text, #e7eaf2);
    --_fg-dim: var(--text-dim, #b7bfd6);
    --_accent: var(--accent, #ffd600);
    --_accent2: var(--accent-2, #fcd636);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    margin: 12px 0 16px;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #2a313d;
    max-width: fit-content;
}
.cgr-subnav::-webkit-scrollbar{ height: 8px; }
.cgr-subnav::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.12);
  border-radius: 999px;
}

/* Ссылки */
.cgr-subnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    color: var(--_fg-dim);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .1px;
    transition: background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .08s ease;
    /* border: 1px solid #2b2b2b; */
}
.cgr-subnav__link:hover {
    color: var(--_fg);
    background: rgb(42 49 61);
    border-color: rgba(255,255,255,.10);
}
.cgr-subnav__link:focus-visible{
  outline: 2px solid color-mix(in oklab, var(--_accent) 60%, white 40%);
  outline-offset: 2px;
}

/* Активная вкладка */
.cgr-subnav__link.is-active {
    color: #ffffff;
    background: #2a313d;
    border-color: transparent;
    transform: translateY(-1px);
}

.cgr-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .2px;
    color: #000000;
    background: rgb(255 214 0);
    border: 1px solid rgba(255,255,255,.16);
}

.cgr-subnav__link.is-active .cgr-badge {
    background: rgb(248 204 39);
    border-color: rgba(0,0,0,.22);
    color: #0b0c10;
}

/* Небольшая адаптация */
@media (max-width: 560px){
  .cgr-subnav{ gap: 6px; padding: 6px; }
  .cgr-subnav__link{ height: 34px; padding: 0 10px; font-size: 13px; }
}



/* --- Print --- */
@media print {
    .site-header,
    .top-disclaimer,
    .filters,
    .hero,
    .card-cta .btn,
    .site-footer {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
}

/* --- Small tweaks for WordPress core elements --- */
.alignwide {
    max-width: calc(var(--max-w) + 2 * var(--gutter));
    margin-inline: auto;
}
.alignfull {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}
.wp-block-image img {
    border-radius: 12px;
}

/* --- Single Casino --- */
.casino-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}
.casino-hero .casino-title {
    font-size: var(--fz-1);
    margin: 0 0 6px;
}
.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 10px;
}


@media (max-width: 991px) {
.rating-row {
   flex-wrap: wrap;
    }}



    .rating-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(90deg, #2d9872, #2d9872);
        color: #ffffff;
        font-weight: 800;
        box-shadow: var(--shadow-2);
    }
.rating-stars {
    color: #ffcc48;
    letter-spacing: 0.5px;
}
.rating-caption {
    color: #ffffff;
    font-size: 16px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.badge {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 6px 10px;
    color: var(--text-dim);
}
.hero-media .hero-img {
    border-radius: 16px;
    box-shadow: var(--shadow-2);
}
.hero-media .hero-placeholder {
    height: 260px;
    border-radius: 16px;
    background: linear-gradient(135deg, #23283a, #1a1e2b);
}

.rg-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: var(--fz-5);
}

.facts {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 16px;
}
.facts-card {
    background: #181a20;
    border-radius: 14px;
    padding: 14px;
    border-block: 1px solid #272a2e;
}
.facts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.facts-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 8px;
}
.facts-list li:last-child {
    border-bottom: 0;
}
.facts-list span {
    color: var(--muted);
}
.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.facts-aside {
    position: relative;
    background: #181a20;
    border-radius: 14px;
    border-block: 1px solid #272a2e;
}
.cta-card {
    position: sticky;
    top: 90px;
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 10px;
}
.cta-rating {
    text-align: center;
}
.badge-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(90deg, #ffd600, #fcd636);
    color: #0b0c10;
    font-weight: 800;
    box-shadow: var(--shadow-2);
    font-size: 20px;
}
.cta-card .stars {
    margin-top: 6px;
    color: #ffcc48;
}
.trust-points--compact {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--text-dim);
    font-size: var(--fz-5);
}
.muted {
    color: var(--muted);
}

.pros-cons {
    padding-block: clamp(20px, 4vw, 36px);
    background: #181a20;
    border-block: 1px solid #272a2e;
}
.pc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


@media (max-width: 768px) {
.pc-grid {
    grid-template-columns: 1fr;
    }}



.pc-card {
    background: #202630;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow-1);
}
.pc-card ul {
    margin: 8px 0 0;
}
.pc-card li {
    margin: 0 0 6px;
}
.pc-pros .pc-card h2,
.pc-cons .pc-card h2 {
    margin-top: 0;
}
.pc-pros li::marker {
    color: #10b981;
}
.pc-cons li::marker {
    color: #ef4444;
}

.box {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}
.box-soft {
    background: #202630;
    position: relative;
    overflow: hidden;
}

.box-soft:before {
    content: '';
    width: 50px;
    height: 50px;
    display: block;
    background: #f8cc27;
    position: absolute;
    top: -28px;
    left: -28px;
    transform: rotate(45deg);
}


.gallery-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.gallery-item img {
    border-radius: 12px;
    box-shadow: var(--shadow-1);
}

.meter {
    height: 7px;
    background: #181a20;
    border: 1px solid #29313d;
    border-radius: 9999px;
    overflow: hidden;
}
.meter .bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd600, #fcd636);
}
.meter-caption {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.faq-item {
    border-radius: 12px;
    padding: 10px;
    background: var(--bg-elev);
    position: relative;
    border: 1px solid #b7bfd65c;
}
.faq-item + .faq-item {
    margin-top: 10px;
}
summary {
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    position: relative;
    list-style: none;
}



/* Убираем стандартный маркер в Firefox */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before, .faq-item summary::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 12px;
    height: 2px;
    background-color: #ffd600;
    transition: all 0.3s ease;
    transform-origin: center;
}


.faq-item summary::before {
  transform: translateY(-50%);
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

/* Состояние открыто - превращаем в минус */
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

/* Плавная анимация контента */
.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.faq-item[open] .faq-a {
  max-height: 500px; /* Достаточно большое значение для контента */
  padding: 1rem;
}


 .faq-a {
    color: var(--text-dim);
    margin-top: 8px;
}

@media (max-width: 1100px) {
    .casino-hero .container {
        grid-template-columns: 1fr;
    }
    .facts {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.breadcrumbs {
    background: #181a20;
}

/* --- Casino Archive UI --- */
.archive-head {
    padding-block: 14px;
    border-bottom: 1px solid var(--border);
}
.archive-title {
    margin: 0;
}
.archive-desc {
    color: var(--text-dim);
    margin-top: 6px;
}

.filters {
    padding-block: 14px;
}
.filters-form {
    display: grid;
    gap: 12px;
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 991px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .filters-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-label {
    color: var(--muted);
    font-size: 13px;
}
.filters-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.active-filters {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}
.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}



.card-media img {
    border-radius: 10px;
}
.placeholder-logo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: linear-gradient(135deg, #23283a, #1a1e2b);
}
.card-title {
    margin: 0 0 4px;
}
.card-rating {
    color: #ffd600;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
}
.card-bonus {
    margin: 0 0 6px;
}
.card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-dim);
    margin: 0;
    padding: 0;
}
.card-meta li {
    list-style: none;
}
.card-cta {
    display: grid;
    gap: 8px;

}
.affiliate-note {
    color: var(--muted);
    font-size: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 16px 0 0;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0 4px;
    padding: 0 8px;
}
.page-numbers.current {
    background: linear-gradient(135deg,#ffe27a,#ffb300);
    font-weight: 700;
    color: #000;
}

/* --- Header base --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-elev, #111827);
    border-bottom: 1px solid var(--border, #1f2937);
    backdrop-filter: saturate(120%) blur(6px);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text, #e5e7eb);
}
.brand__logo {
    font-size: 22px;
}
.brand__name {
    font-weight: 700;
}

.main-nav {
    margin-left: auto;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Buttons --- */
.btn,
.icon-btn,
.btn-lang {
    --_bg: var(--bg-soft, #0f172a);
    --_bd: var(--border, #1f2937);
    --_fg: var(--text, #e5e7eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--_bd);
    background: var(--_bg);
    color: var(--_fg);
    height: 36px;
    border-radius: 10px;
    padding: 0 12px;
    font:
        600 14px/1 system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Inter,
        Arial;
}
.btn:hover,
.icon-btn:hover,
.btn:hover,
.icon-btn:hover,
.btn-lang:hover {
}
.btn:focus,
.icon-btn:focus,
.btn:focus, .icon-btn:focus, .btn-lang:focus {
    outline: 2px solid #fbd332;
    outline-offset: 2px;
}

.btn-primary {
    --_bg: linear-gradient(90deg, var(--accent, #60a5fa), var(--accent-2, #a78bfa));
    --_bd: transparent;
    color: #0b0c10;
}
.icon-btn {
    padding: 0 10px;
    min-width: 36px;
}

/* --- Search in header --- */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border, #1f2937);
    background: var(--bg, #0b0c10);
    border-radius: 12px;
    padding: 6px;
    width: clamp(220px, 30vw, 420px);
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.header-search:focus-within {
    border-color: color-mix(in oklab, var(--accent, #60a5fa) 70%, white 30%);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent, #60a5fa) 30%, transparent);
}
.search-input {
    flex: 1 1 auto;
    min-width: 100px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text, #e5e7eb);
    font:
        500 14px/1.2 system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Inter,
        Arial;
}
.search-input::placeholder {
    color: var(--muted, #94a3b8);
}
.search-submit {
    white-space: nowrap;
}
.search-close {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 24px;
    width: 24px;
    line-height: 24px;
    padding: 0;
    border-radius: 8px;
    opacity: 0.7;
}
.search-close:hover {
    opacity: 1;
}

/* Подсказки */
.search-suggest {
    position: absolute;
    left: -1px;
    right: -1px;
    top: calc(100% + 8px);
    max-height: 260px;
    overflow: auto;
    border: 1px solid var(--border, #1f2937);
    border-radius: 12px;
    background: var(--bg-elev, #111827);
    padding: 8px;
    box-shadow: var(--shadow-2, 0 10px 30px rgba(0, 0, 0, 0.35));
}

/* Mobile behavior: сворачиваем форму до иконки */
@media (max-width: 900px) {
    .header-search {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 60px;
        width: auto;
        display: none;
    }
    .site-header.is-search-open .header-search {
        display: flex;
    }
    .site-header.is-search-open .search-toggle[aria-expanded="true"] {
        background: color-mix(in oklab, var(--accent, #60a5fa) 20%, var(--bg-soft, #0f172a));
    }
}

/* ===== Header (ваша разметка) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #181a20;
    border-bottom: 1px solid #333b47;
    backdrop-filter: saturate(120%) blur(6px);
}
.container.header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
}

/* Бренд */
.brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text, #e5e7eb);
}
.brand .logo:hover {
    opacity: 0.9;
}
.brand .logo-text {
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Навигация (можно дополнить под wp_nav_menu) */
.primary-nav {
    margin-left: auto;
}
.primary-nav ul {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 10px;
    color: var(--text, #e5e7eb);
    text-decoration: none;
}
.primary-nav a:hover {
    background: color-mix(in oklab, var(--bg-soft, #0f172a) 85%, white 15%);
}

/* Правая часть: поиск + языки */
.header-utilities {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Поиск */
.searchform {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border, #1f2937);
    background: var(--bg, #0b0c10);
    border-radius: 12px;
    padding: 6px;
    width: clamp(220px, 28vw, 420px);
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.searchform:focus-within {
    border-color: color-mix(in oklab, var(--accent, #60a5fa) 70%, white 30%);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent, #60a5fa) 30%, transparent);
}
.searchform #s {
    flex: 1 1 auto;
    min-width: 100px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text, #e5e7eb);
    font:
        500 14px/1.2 system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Inter,
        Arial;
}
.searchform #s::placeholder {
    color: var(--muted, #94a3b8);
}
.searchform #searchsubmit {
    --_bg: linear-gradient(90deg, var(--accent, #60a5fa), var(--accent-2, #a78bfa));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    border: 0;
    background: var(--_bg);
    color: #0b0c10;
    font-weight: 700;
    cursor: pointer;
}
.searchform #searchsubmit:hover {
    filter: brightness(1.05);
}
.searchform #searchsubmit:focus {
    outline: 2px solid var(--accent, #60a5fa);
    outline-offset: 2px;
}

/* Языки */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px;
    background: var(--bg-soft, #0f172a);
    border: 1px solid var(--border, #1f2937);
    border-radius: 12px;
}
.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    color: var(--text, #e5e7eb);
    text-decoration: none;
    border: 1px solid transparent;
}
.lang-switch a:hover {
    background: color-mix(in oklab, var(--bg-soft, #0f172a) 85%, white 15%);
}
.lang-switch a[aria-current="true"],
.lang-switch a.is-active {
    background: color-mix(in oklab, var(--accent, #60a5fa) 20%, var(--bg-soft, #0f172a));
    border-color: color-mix(in oklab, var(--accent, #60a5fa) 50%, var(--border, #1f2937));
}
.lang-switch a[aria-disabled="true"] {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

/* Доступность: если у темы нет стандартного класса WP */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    position: static !important;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    white-space: normal;
}

@media (max-width: 560px) {
    .container.header-inner {
        flex-wrap: nowrap;
            padding: 0px 14px;
    }
    .primary-nav {
        order: 3;
        width: 100%;
    }
    .header-utilities {
        order: 2;
        margin-left: auto;
    }
    .searchform {
        width: min(100%, 360px);
    }
}

/* ===== Кастомный скроллбар (глобально) ===== */
html,
body {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--scroll-thumb, #374151) var(--scroll-track, #0b0c10);
}
::-webkit-scrollbar {
    width: 12px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--scroll-track, #0b0c10);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--scroll-thumb, #374151),
        color-mix(in oklab, var(--scroll-thumb, #374151) 80%, white 20%)
    );
    border: 3px solid var(--scroll-track, #0b0c10);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: color-mix(in oklab, var(--accent, #60a5fa) 40%, var(--scroll-thumb, #374151));
}

/* Тонкий скролл для внутренних списков — добавляйте класс .scroll-thin на элемент */
.scroll-thin {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb, #465062) var(--scroll-track, #0f172a);
}
.scroll-thin::-webkit-scrollbar {
    width: 6px;
    height: 8px;
}
.scroll-thin::-webkit-scrollbar-track {
    background: var(--scroll-track, #0f172a);
}
.scroll-thin::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb, #465062);
    border: 2px solid var(--scroll-track, #0f172a);
    border-radius: 9999px;
}

/* Search page minimal styles */
.search-page .search-hero {
    margin-bottom: 16px;
}
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}
.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filters__label {
    color: #9aa8c2;
    font-size: 14px;
}
.filters__tabs {
    display: flex;
    gap: 6px;
}
.filters__tabs a {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    font-size: 13px;
    color: #e6e9ef;
    opacity: 0.92;
}
.filters__tabs a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
}
.filters__tabs a.is-active, .filters__tabs a.is-active, .filters__tabs a[aria-current="true"] {
    background: #ffd600;
    color: #0b0c10;
    border-color: rgba(255, 255, 255, 0.18);
}

.results {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.result {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}
.result__thumb img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.result__title {
    margin: 0 0 4px;
    font-size: 18px;
}
.result__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.result__excerpt {
    margin: 0 0 8px;
    color: #c8d2ea;
}
.result__actions .btn {
    padding: 8px 10px;
    border-radius: 10px;
}
@media (max-width: 560px) {
    .result {
        grid-template-columns: 1fr;
    }
    .result__thumb {
        order: -1;
    }
    .result__thumb img {
        width: 100%;
        height: auto;
    }
}

/* Pagination */
.pagination {
    margin: 18px 0;
    display: flex;
    justify-content: center;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    margin: 0 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}
.pagination .page-numbers.current {
    background: linear-gradient(135deg,#ffe27a,#ffb300);
    color: #0b0c10;
    border-color: transparent;
}

/* ===== Primary nav (desktop + mobile) ===== */
.primary-nav {
    position: relative;
}
.primary-nav .nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.12s ease;
}
.primary-nav .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}
.primary-nav .nav-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 134, 255, 0.28);
}
.primary-nav .nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #e6e9ef;
    margin: 3px 0;
    border-radius: 2px;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}
.primary-nav .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Desktop layout */
.menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu > li {
    position: relative;
}
.menu > li > .menu-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #e6e9ef;
    text-decoration: none;
    opacity: 0.92;
    transition:
        background 0.18s,
        opacity 0.18s,
        transform 0.12s;
}
.menu > li > .menu-link:hover {
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
    transform: translateY(-1px);
}
.menu > li.menu-item-has-children > .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #e6e9ef;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.12s ease;
}
.menu > li.menu-item-has-children > .submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}
.menu > li.menu-item-has-children > .submenu-toggle[aria-expanded="true"] .ico {
    transform: rotate(180deg);
}
.menu .ico {
    transition: transform 0.18s ease;
}

/* Dropdowns */
.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 1000;
    margin: 8px 0 0;
    padding: 0;
    background: rgba(15, 17, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(6, 10, 26, 0.28);
    list-style: none;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
        flex-wrap: nowrap;
        flex-direction: column;
}
.menu .sub-menu li {
    position: relative;
}
.menu .sub-menu a.menu-link {
    display: flex;
    padding: 8px 10px;
    border-radius: 8px;
    color: #e6e9ef;
    text-decoration: none;
    opacity: 0.92;
    line-height: 1.2;
}
.menu .sub-menu a.menu-link:hover {
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
}
.menu .sub-menu .submenu-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    color: #e6e9ef;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #e6e9ef;
    cursor: pointer;
    transition: background 0.18s 
ease, transform 0.12s 
ease;
}

/* Flyout for 3+ level */
.menu .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-left: -3px;
}

/* Show on hover/focus (desktop) */
@media (hover: hover) {
    .menu > li:hover > .sub-menu,
    .menu > li:focus-within > .sub-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .menu .sub-menu li:hover > .sub-menu,
    .menu .sub-menu li:focus-within > .sub-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Mobile panel */
@media (max-width: 860px) {
    .primary-nav .nav-toggle {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .menu {
        position: fixed;
        inset: var(--safe-top, 0) 0 0 0;
        top: calc(env(safe-area-inset-top) + 56px);
        display: block;
        height: calc(100vh - 56px - env(safe-area-inset-top));
        overflow: auto;
        padding: 12px;
        background: rgba(11, 12, 16, 0.96);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition:
            transform 0.22s ease,
            opacity 0.18s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .primary-nav.is-open .menu {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        flex-direction: column;
        align-items: start;
    }
    /* burger animation */
    .primary-nav.is-open .nav-toggle__bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    .primary-nav.is-open .nav-toggle__bar:nth-child(2) {
        opacity: 0;
    }
    .primary-nav.is-open .nav-toggle__bar:nth-child(3) {
       transform: translateY(-5px) rotate(-45deg);
        position: absolute;
        top: 19px;
    }

    .menu > li {
              margin: 2px 0;
        width: 100%;
    }
    .menu > li > .menu-link {
        display: flex;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
    }
    .menu > li.menu-item-has-children > .submenu-toggle {
        position: absolute;
        right: 12px;
        top: 2px;
        width: 32px;
        height: 32px;
    }
    .menu .sub-menu {
        position: static;
        margin: 6px 0 8px;
        padding: 6px 6px 6px 10px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    .menu .sub-menu[hidden] {
        display: none !important;
    }
}

/* Accessibility and misc */
@media (prefers-reduced-motion: reduce) {
    .menu * {
        transition: none !important;
    }
}

/* Hero base */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 88px) 0;
    color: #e6e9ef;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero h1 {
    margin: 0 0 10px;
    line-height: 1.1;
    max-width: 600px;
    font-size: 60px;
}

@media (max-width: 576px) {
.hero h1 {
    font-size: 42px;
    }}

.hero .lead {
    margin: 0 0 8px;
    font-size: clamp(16px, 2.2vw, 20px);
    color: #c8d0e0;
}
.hero .subtitle {
    margin: 0 0 16px;
    color: #929aa5;
}

/* Trustmarks */
.trustmarks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 10px 0 14px;
    padding: 0;
    list-style: none;
}
.tm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgb(42 49 61);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.tm-ico-wrap {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #f4c826;
    border: 1px solid #f7c924;
    padding: 2px;
}
.tm-ico {
    display: block;
}
.tm-text {
    font-weight: 400;
    font-size: 13px;
    color: #e6e9ef;
}

/* CTA */
.hero-ctas .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    color: #202630;
    background: #ffd600;
    border: 0;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 20px rgb(252 214 54 / 10%);
    line-height: 1.4;
    height: inherit;
    font-size: 16px;
}
.hero-ctas .btn.btn-primary:hover {
    transform: translateY(-1px);
}

/* Meta dates */
.hero-meta {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    color: #2eba78;
    font-size: 13px;
}
.hero-meta .meta-item {
    display: flex;
    gap: 6px;
    align-items: baseline;
}
.hero-meta dt {
    color: #c8d0e0;
    font-weight: 600;
}
.hero-meta dd {
    margin: 0;
}

/* Background chips (casino-like) */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}




/* Responsive */
@media (max-width: 860px) {
    .trustmarks {
        gap: 6px 8px;
    }
    .tm {
        padding: 5px 8px;
    }
}



/* Номер в карточке */
.cards .card {
    position: relative;
    padding-top: 8px; /* место под бейдж */
}
.card .card-rank {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 27px;
    height: 27px;
    border-radius: 6px;
    color: #ffd600;
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    z-index: 5;
}

/* Кнопка "Загрузить ещё" */
.loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}
.load-more {
    position: relative;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #e6e9ef;
    cursor: pointer;
}
.load-more:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Спиннер */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Кнопка */
.loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}
.load-more {
    position: relative;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #e6e9ef;
    cursor: pointer;
}
.load-more:disabled {
    opacity: 0.65;
    cursor: default;
}

/* Стрелки вниз вместо спиннера */
.chevrons {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
}
.chev {
    opacity: 0.85;
    transform: translateY(0);
    animation: chev-bob 1.4s ease-in-out infinite;
}
.chev.d1 {
    animation-delay: 0.12s;
    opacity: 0.78;
}
.chev.d2 {
    animation-delay: 0.24s;
    opacity: 0.7;
}

@keyframes chev-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* Во время загрузки — чуть быстрее и ярче */
.load-more.is-loading .chevrons .chev {
    animation-duration: 0.6s;
    opacity: 0.95;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .chev {
        animation: none;
    }
}

/* Общие усилители для топ-3 */
.cards .card.is-top {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Золото (#1) */
.cards .card.is-gold {
    background: #2d2810;
    border-color: rgba(255, 214, 106, 0.4);
}
.cards .card.is-gold .card-rank {
    background: linear-gradient(135deg, #ffe27a, #ffb300);
    color: #3b2c00;
    box-shadow:
        0 8px 24px rgba(255, 191, 0, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.1) inset;
}

/* Серебро (#2) */
.cards .card.is-silver {
    background: #333b47;
    border-color: rgba(206, 216, 224, 0.4);
}
.cards .card.is-silver .card-rank {
    background: linear-gradient(135deg, #e6eef5, #aeb7c2);
    color: #16202a;
    box-shadow:
        0 8px 24px rgba(174, 183, 194, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.1) inset;
}

/* Бронза (#3) */
.cards .card.is-bronze {
    background: #cd8c5a1a;
    border-color: rgba(205, 140, 90, 0.45);
}




.cards .card.is-bronze .card-rank {
    background: linear-gradient(135deg, #e6b07a, #b87333);
    color: #2b1a0f;
    box-shadow:
        0 8px 24px rgba(184, 115, 51, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.1) inset;
}

/* Небольшой «блик» для золота (тонкий, не отвлекающий) */
.cards .card.is-gold::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%),
        radial-gradient(60% 20% at 80% 0%, rgba(255, 255, 255, 0.08), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.6;
    animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine {
    0% {
        background-position:
            -120% 0,
            0 0;
    }
    100% {
        background-position:
            220% 0,
            0 0;
    }
}

/* Учитываем motion preferences */
@media (prefers-reduced-motion: reduce) {
    .cards .card.is-gold::after {
        animation: none;
    }
}

.site-footer {
    background: #181a20;
    color: #ffffff;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
}
.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 960px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e6e9ef;
    opacity: 0.9;
    border-block: 1px solid #272a2e;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-menu a {
    color: #c8cdd7;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}
.footer-menu a:hover,
.footer-menu a:focus {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-menu .current-menu-item > a {
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 10px;
}
.footer-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aab2bf;
}
.footer-copy .sep {
    opacity: 0.6;
}

.footer-logo img {
    height: 26px;
    width: auto;
    filter: grayscale(100%) brightness(120%);
}

/* Фокус для доступности */
.footer-menu a:focus-visible {
    outline: 2px solid #6b86ff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Можно в ваш общий стиль */
.tax-hero {
    padding: 16px 0 8px;
}
.tax-intro {
    color: #c8cdd7;
    margin-top: 8px;
}

.tax-seo-bottom {
    padding: 24px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 16px;
}
.tax-seo-body {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.tax-seo-body.is-collapsed {
    max-height: 280px;
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.tax-seo-toggle {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #e6e9ef;
    cursor: pointer;
}
.tax-seo-toggle[aria-expanded="true"]::after {
    content: "▲";
}
.tax-seo-toggle[aria-expanded="false"]::after {
    content: "▼";
}

/* Доступность */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1px, 1px);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) {
    .primary-nav {
        position: relative;
        display: flex;
        justify-content: end;
    }
}

/* --- Single Slot --- */
.slot-hero {
    padding: 18px 0;
    border-bottom: 1px solid var(--border, #1f2937);
    background: var(--bg-elev, #111827);
}
.slot-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 30px);
}
.slot-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 33px;
    background: #202630;
    border: inherit;
    color: #2eba78;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
}
.badge-rating {
    color: #ffcc48;
    border-color: #664;
}
.badge-hot {
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    color: #111;
}
.badge-hit {
    background: linear-gradient(90deg, #22c55e, #84cc16);
    color: #111;
}
.badge-editors-choice {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    color: #111;
}

.slot-meta-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 14px;
}


@media (max-width: 576px) {
.slot-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}


.slot-meta-grid > div {
    background: var(--bg, #0b0c10);
    border-radius: 8px;
    padding: 10px;
}
.slot-meta-grid span {
    display: block;
    color: var(--muted, #94a3b8);
    font-size: 12px;
}
.slot-meta-grid strong {
    font-size: 16px;
}

/* Demo */
.slot-demo {
    padding: 18px 0;
}
.demo-wrap {
    position: relative;
}
.demo-poster {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #1f2937);
}
.poster-media img,
.poster-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #0b0c10;
}
.poster-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #00000066, #00000099);
}
.btn-play {
    font-size: 16px;
    padding: 10px 16px;
    border-radius: 12px;
}
.demo-note {
    position: absolute;
    left: 12px;
    bottom: 10px;
    color: #cbd5e1;
    font-size: 12px;
}
.demo-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #1f2937);
}
.frame-holder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}
.frame-holder iframe {
    width: 100%;
    height: 100%;
}
.btn-exit {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* Content */
.slot-content {
    padding: 8px 0 20px;
}
.slot-article {
    max-width: 800px;
}
.slot-specs {
    padding-left: 18px;
}
.slot-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Related */
.slot-related {
    padding: 10px 0 20px;
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    gap: 12px;
}
.cards-8 {
    grid-template-columns: repeat(6, 1fr);
}
.cards-4 {
    grid-template-columns: repeat(4, 1fr);
}
.slot-card {
    position: relative;
    background: linear-gradient(180deg, #181a20, #0e111a);
    border: 1px solid #333b47;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
@media (max-width: 1024px) {
    .cards-8 {
        grid-template-columns: repeat(4, 1fr);
    }
    .cards-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 720px) {
    .cards-8,
    .cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 420px) {
    .cards-8,
    .cards-4 {
       grid-template-columns: 1fr 1fr;
    }
}

.slot-card {
    position: relative;
    background: linear-gradient(180deg, #181a20, #181a20);
    border: 1px solid #333b47;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease,
        box-shadow 0.2s ease;
}
.slot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}
.card-link {
    display: grid;
    grid-template-rows: auto auto auto;
    text-decoration: none;
    color: inherit;
}


@media (max-width: 768px) {
.card-link {
display: flex;
    text-decoration: none;
    color: inherit;
    flex-direction: column;
    }
}



.card-media {
        position: relative;

    left: 0;
}
@media (max-width:991px) {
.card-media {
    max-width: 170px;
    }}


.card-media img,
.ph-media {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #0b0c10;
}
.card-labels {
    position: absolute;
    left: 8px;
    top: 8px;
    display: flex;
    gap: 6px;
}


.home-slot-grid .card-media img {
    height: 130px;
}


.slot-related .card-media img {
    height: 130px;
}


.label {
    font: 700 11px/1 system-ui;
    padding: 6px 8px;
    border-radius: 9999px;
    color: #111;
}
.label-hot {
    background: linear-gradient(90deg, #ef4444, #f59e0b);
}
.label-hit {
    background: linear-gradient(90deg, #22c55e, #84cc16);
}
.label-editors-choice {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
}
.ghost-play {
    position: absolute;
    right: 8px;
    bottom: 8px;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 1px solid #ffffff33;
    background: #00000055;
    color: #fff;
}

.card-head {
    padding: 10px;
}
.card-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
}
.card-provider {
    color: var(--muted, #94a3b8);
    font-size: 12px;
}

.card-specs {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 10px;
    border-top: 1px solid var(--border, #1f2937);
    flex-wrap: wrap;
}
.card-specs li {
    display: grid;
    place-items: center;
    background: #2a313d;
    color: #2ebd85;
    border-radius: 10px;
    min-width: 64px;
    height: 40px;
}
.card-specs strong {
    font-size: 12px;
}
.card-specs span {
    font-size: 11px;
    color: #9ca3af;
}

/* Визуальные акценты по волатильности */
.slot-card.vol-low {
    box-shadow: 0 0 0 1px #22c55e55 inset;
}
.slot-card.vol-high {
    box-shadow: 0 0 0 1px #f59e0b55 inset;
}
.slot-card.vol-very-high {
    box-shadow: 0 0 0 1px #ef444455 inset;
}

/* Фильтры/архив */
.archive-head {
    padding: 12px 0;
    border-bottom: 1px solid var(--border, #1f2937);
}
.filters {
    padding: 12px 0;
}
.filters-form {
    display: grid;
    gap: 12px;
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}



    @media (max-width: 991px) {
        .filters-grid {
            grid-template-columns: repeat(1, 1fr);   
        }}

        @media (max-width: 991px) {
            option {
            height: 25px;
            }}


.filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-label {
    color: #f2f3f6;
    font-size: 14px;
    position: relative;
}




.range-rtp {
    display: flex;
    gap: 8px;
}
.range-rtp input {
    width: 100%;
}
.filters-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* Кнопки базовые (если нет) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border, #1f2937);
    background: var(--bg-soft, #0f172a);
    color: var(--text, #e5e7eb);
    font-weight: 700;
}
.btn-primary {
    background: linear-gradient(90deg, #ffd600, #fcd636);
    color: #2c3031;
    border: inherit;
}
.btn-ghost {
    background: #29313d;
    border-color: #29313d;
    color: #fcd535;
}
.btn-link {
    background: transparent;
    border: 0;
    color: #e6e9ef;
}
.btn-secondary {
    background: #181a20;
    color: #ffd600;
    cursor: pointer;
}



.hero-bg {
    position: absolute; inset: 0;
    overflow: hidden; pointer-events: none;
  }
  
 /* Контейнер фона (если не задано) */
.hero-bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Базовый стиль одной фишки: двигаем её по top/left, а не по translateY */
.hero-bg .chip {
  position: absolute;
  left: var(--x);                 /* например, "37%" из inline-стиля */
  top: calc(-1 * var(--size));   /* старт — сразу над блоком hero-bg */
  width: var(--size);            /* например, "40px" */
  height: var(--size);
  transform: translateX(-50%);   /* центрируем по оси X */
  opacity: var(--op, .10);
  color: var(--chip, #e74c3c);
  will-change: top, transform;
  animation: chip-fall var(--dur) linear var(--delay, 0s) infinite;
}

/* Вращаем ТОЛЬКО внутренний <use> — отдельная анимация transform уже не конфликтует */
.hero-bg .chip use{
  transform-origin: 50% 50%;
  transform-box: fill-box;           /* важно для Safari/WebKit */
  animation: chip-spin calc(var(--dur) * 0.9) linear var(--delay, 0s) infinite;
}

/* Падение относительно высоты hero-bg: от -size до 100% + size */
@keyframes chip-fall{
  0%   { top: calc(-1 * var(--size)); opacity: 0; }
  6%   { opacity: var(--op, .12); }                  /* мягкий въезд */
  100% { top: calc(100% + var(--size)); opacity: 0; }
}

/* Чистое вращение внутреннего содержимого */
@keyframes chip-spin{
  0%   { transform: rotate(var(--rot, 0deg)); }
  100% { transform: rotate(calc(var(--rot, 0deg) + var(--spin, 360deg))); }
}

/* Цветовые пресеты */
.chip--red    { --chip: #e74c3c; }
.chip--blue   { --chip: #3b82f6; }
.chip--green  { --chip: #22c55e; }
.chip--black  { --chip: #111827; }
.chip--violet { --chip: #8b5cf6; }
.chip--gold   { --chip: #c9a227; }

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg .chip { animation: none; opacity: .12; }
  .hero-bg .chip use { animation: none; }
}
  


  .more-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.tax-cards .btn--go {
    background: linear-gradient(90deg, #ffd600, #fcd636) !important;
    color: #202630  !important;
    font-weight: 500  !important;
    border-color: none !important;
}


.expert-badge img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    top: 8px;
    height: 100%;
}


.expert-badge .eb-head {
    margin: 0;
    font-weight: 600;
    font-size: 20px;
    color: #f0ba0d;
}

a.eb-avatar {
    width: 100px;
    height: 100px;
}

.eb-body {
    width: calc(100% - 200px);
}

@media (max-width: 991px) {
.eb-body {
    width: 100%;
    }}


.eb-head a {
     color: #f0ba0d;   
}

.eb-note a {
     color: #f0ba0d;   
}

.expert-badge .eb-job {
    color: #e7eaf2;
    font-size: 16px;
    margin: 2px 0 8px;
}

.expert-badge .eb-bio {
    margin: 0;
    color: #a0a7bb;
    font-size: 14px;
}


option {
    padding: 4px;
    font-size: 14px;
}

@media (max-width: 576px) {
option {
        font-size: 14px;
            padding: 2px;
    }}


.hero-media {
    max-width: 470px;
}


h2 {
    color: #eaecef;
}



#bonus h2 {
    position: relative;
}

#bonus h2:before {
    content: '';
    width: 45px;
    height: 3px;
    background: #fcd536;
    position: absolute;
    bottom: -3px;
}


.box-soft {
    background: #202630;
    margin-bottom: 20px;
    background: #1e2329;
    padding: 20px;
    border-radius: 16px;
}

.expert-badge .eb-note {
    font-size: 13px;
    color: #a0a7bb;
    margin: 6px 0 0;
}



input[type="text"] {
    background: #202630;
    height: 38px;
    border: none;
    border-radius: 4px;
    padding: 11px;
       font-size: 16px;
    margin-bottom: 18px;
    color: #a0a7bb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}


textarea {
    background: #202630;
    border: none;
    border-radius: 4px;
    padding: 11px;
       font-size: 16px;
    margin-bottom: 18px;
    color: #a0a7bb;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}


input[type="email"] {
    background: #202630;
    height: 38px;
    border: none;
    border-radius: 4px;
    padding: 11px;
        font-size: 16px;
    margin-bottom: 18px;
    color: #a0a7bb;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

::placeholder {
  color: #a0a7bb;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
         font-size: 16px;
}


@media (max-width: 768px) {
::placeholder {
         font-size: 14px;
    }}





#cg-review-form .filter-label {
             font-size: 16px;
}


input[type="number"] {
    background: #202630;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 10px;
    border-radius: 4px;
}


form#cg-review-form {
    margin: 0 0 40px 0;
}


@media (max-width: 768px) {
.expert-badge {
   flex-wrap: wrap;
    }}



    @media (max-width: 768px) {
.expert-badge img {
    width: 100px;
    height: 100px;
    }}



    @media (max-width: 768px) {
.top-disclaimer p {
        margin: 8px 0;
    line-height: 1.2;
    font-size: 12px;
    }}



    button.btn.btn-primary.btn-play {
        padding: 20px;
        height: inherit;
        font-size: 18px;
        cursor: pointer;
    }



    .card-link .card-title {
        height: 50px;
        line-height: 1.2;
        padding-top: 0;
    }

.expert-hero
    .expert-short {
        margin: 12px 0 0;
        color: #b7babf;
    }


    .expert-hero
    .expert-job {
        color: #f9cf2b;
        margin: 6px 0 0;
    }


    .expert-hero {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 20px;
        align-items: center;
        margin-bottom: 20px;
        background: #1e232a;
        padding: 20px;
        border-radius: 12px;
    }



.expert-page
    .expert-hero img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 10px;
        background: #f5f5f5;
    }

    .expert-content {
        margin: 24px 0;
        background: #1e232a;
        padding: 20px;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }


    .expert-content:before {
        content: '';
        width: 50px;
        height: 50px;
        display: block;
        background: #f8cc27;
        position: absolute;
        top: -28px;
        left: -28px;
        transform: rotate(45deg);
    }



   .expert-section .card a {
        color: #f8cc27;
        text-decoration: none;
    }


    .expert-section .card .meta {
        font-size: 12px;
        color: #8a91a8;
        margin-top: auto;
    }


    .expert-section .card {
    border: 1px solid #333b47;
}



.expert-badge {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 16px 0;
    padding: 12px;
    border: 1px solid #272a2e;
    border-radius: 8px;
}

.tax-cards .btn--go {
    background: #fcd534;
    border-color: #fcd534 !important;
    color: #fff;
    font-weight: 600;
    box-shadow: inherit !important;
}

.tax-cards .card__logo {
    max-height: 56px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}


img.attachment-medium.size-medium.wp-post-image {
    height: 130px;
}

.card .card-media a img {
    height: auto;
}

.filters {
    padding: 12px;
    margin: 20px 0;
    border-radius: 6px;
}



#slot-grid
.card-media {
    width: 100%;
    max-width: 100%;
}


.home-slot-grid
.card-media {
    width: 100%;
    max-width: 100%;
}


#topCasinosList .card-media img {
    height: inherit; 
}






/* БОНУСЫ */

/* ===== Dark Elite — компактные бонус‑карточки ===== */
:root{
  --bg: #0b0f14;
  --card: #11161c;
  --card-2: #0e141a;
  --text: #e7eaee;
  --muted: #9aa4b2;
  --border: #1b2430;
  --accent: #f8cc27;      /* золото */
  --accent-2: #e2bd6b;
  --ok: #2bb673;
  --warn: #9aa4b2;
  --shadow: 0 8px 24px rgba(0,0,0,.45);
}

.casino-bonuses{
  display:grid;
  gap:12px;
  margin-block:12px 20px;
}
@media (min-width: 980px){
  .casino-bonuses{ grid-template-columns: 1fr 1fr; gap:14px; }
}

.bonus-card{
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.bonus-card:is(:hover,:focus-within){
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.55);
  border-color: #233041;
}
.bonus-card.is-active{ box-shadow: 0 10px 26px rgba(200,160,79,.12), var(--shadow); }
.bonus-card.is-active{ border-left: 3px solid var(--accent); }
.bonus-card.is-expired{ opacity:.65; border-left:3px solid var(--warn); }

/* Шапка */
.bonus-head{
  display:flex; align-items:center; gap:8px; margin-bottom:6px;
}
.bonus-title{
  font-weight: 700; font-size: 14px; letter-spacing:.2px;
}

/* Бейджи */
.tag{
  display:inline-flex; align-items:center;
  padding:2px 7px; font-size:13px; line-height:1.4; border-radius:999px;
  background: rgba(200,160,79,.12); color: var(--accent-2);
  border:1px solid rgba(200,160,79,.25); text-transform: uppercase;
}
.tag-gray{
  background: rgba(154,164,178,.12); color:#c8d0da; border:1px solid rgba(154,164,178,.25);
}

/* Свойства — компактная таблица */
.bonus-props{
  list-style:none; margin:0 0 8px; padding:0;
  border:1px solid var(--border); border-radius:10px; overflow:hidden;
}
.bonus-props li{
  display:grid; grid-template-columns: 140px 1fr; gap:10px; align-items:center;
  padding:7px 10px; background: rgba(255,255,255,.01);
}
.bonus-props li + li{ border-top:1px solid var(--border); }
.bonus-props li span{ color: var(--muted); font-size:14px; }
.bonus-props li b{ color: var(--text); font-size:16px; font-weight:600; }

/* Промокод как капсула */
.bonus-props code{
  background: rgba(226,189,107,.08);
  border:1px dashed rgba(226,189,107,.35);
  color: var(--accent-2);
  padding:2px 6px; border-radius:8px; font-size:12px;
}

/* Сроки */
.bonus-props time{ color:#cfd6df; }

/* CTA низ карточки */
.bonus-cta{
  display:flex; align-items:center; gap:10px;
  padding-top:8px; border-top:1px solid var(--border);
}
.bonus-cta .muted{ margin:0; color: var(--muted); font-size:12px; }

/* Кнопка — золотой градиент, компактно */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:9px; text-decoration:none; font-weight:700;
  letter-spacing:.2px; font-size:13px;
}
.btn-primary {
    background: #ffd600;
    color: #111;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 6px 16px rgba(200,160,79,.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover{
  filter:saturate(1.05) brightness(1.05);
  box-shadow: 0 10px 22px rgba(200,160,79,.32), inset 0 1px 0 rgba(255,255,255,.3);
}

/* Вариант компактнее на телефоне */
@media (max-width: 560px){
  .bonus-props li{ grid-template-columns: 1fr; gap:6px; padding:7px 9px; }
  .bonus-title{ font-size:13.5px; }
  .btn{ padding:7px 11px; font-size:12.5px; }
}

/* Доп: саб‑навигация (если нужно под тёмную тему) */
.casino-subnav {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    background: #181a20;
    border: inherit;
    border-radius: 10px;
    padding: 0;
}
.casino-subnav .subnav-link {
    color: #f8cc27;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    background: #2a313d;
}
.casino-subnav .subnav-link:hover{ color: var(--text); background: rgba(255,255,255,.04); }
.casino-subnav .subnav-link.is-active {
    color: #111;
    background: linear-gradient(90deg, #ffd600, #fcd636);
}

.casino-subnav .subnav-link.is-active {
    color: #f7cb25;
    background: #2a313d;
}

p.lead {
    font-size: 28px;
    font-weight: 700;
    color: #eaecef;
}

.bonus-title {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .2px;
}


.rating-row strong  {
        color: #ffffff;
    font-size: 20px;
}

.reviews-list {
    background: #202630;
    padding: 20px;
    border-radius: 16px;
}


.hero-ctas .btn-ghost {
    color: #fff;
}

/* Сетка превью (можно оставить свою) */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px,1fr)); gap:12px; }
.gallery-grid .lb { display:block; border-radius:10px; overflow:hidden; }

/* Лайтбокс */
.lb-overlay {
  position:fixed; inset:0; display:none;
  background:rgba(0,0,0,.92); z-index:9999;
  align-items:center; justify-content:center;
}
.lb-overlay.is-open { display:flex; }
.lb-box { position:relative; max-width:95vw; max-height:92vh; }
.lb-img { max-width:95vw; max-height:82vh; object-fit:contain; border-radius:12px; display:block; box-shadow:0 10px 30px rgba(0,0,0,.5); }
.lb-cap { color:#fff; margin-top:10px; text-align:center; font:500 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

/* Кнопки */
.lb-btn {
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.14); color:#fff; border:0; cursor:pointer;
  display:grid; place-items:center; font-size:24px; line-height:1;
}
.lb-prev { left:-56px; }
.lb-next { right:-56px; }
.lb-close { top:-56px; right:0; transform:none; font-size:18px; }
.lb-btn:hover { background:rgba(255,255,255,.22); }

@media (max-width:640px){
  .lb-prev { left:8px; }
  .lb-next { right:8px; }
  .lb-close { top:8px; right:8px; }
}


/* Контейнеры */
.cgr-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 16px; }
.cgr-archive-head { margin-bottom: 20px; }
.cgr-archive-title { margin: 0 0 8px; }

/* Навигация по типам */
.cgr-tax-nav__list { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 16px 0 24px; padding: 0; list-style: none; }
.cgr-tax-nav__item.is-active .cgr-tax-nav__link {
    background: #ffd600;
    color: #181a20;
    font-weight: 500;
    border: 1px solid #ffd600;
}
.cgr-tax-nav__item--child .cgr-tax-nav__link { opacity: .9; }
.cgr-tax-nav__link { display: inline-block; padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; color: inherit; }

/* Сетка карточек */
.cgr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cgr-card { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.cgr-card__thumb { display: block; aspect-ratio: 16/9; background: #f6f7f9; }
.cgr-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cgr-card__noimg { display:flex; align-items:center; justify-content:center; height:100%; color:#9aa; font-size:12px; }
.cgr-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.cgr-card__title { margin: 0; font-size: 18px; }
.cgr-card__title a { text-decoration: none; }
.cgr-card__meta { font-size: 13px; color: #666; }
.cgr-card__list { margin: 6px 0 0; padding-left: 16px; }
.cgr-card__actions { margin-top: auto; }
.cgr-btn { display: inline-block; padding: 8px 12px; background: #0ea5e9; color: #fff; border-radius: 8px; text-decoration: none; }
.cgr-btn:hover { background: #0284c7; }

/* Чипы/бейджи */
.cgr-chip { display: inline-block; padding: 2px 8px; font-size: 12px; border-radius: 999px; background: #eef2ff; color:#111; border: 1px solid #e5e7eb; }
.cgr-chip--muted { background: #f3f4f6; color:#666; }
.cgr-chip--mini { font-size: 11px; padding: 1px 6px; }

/* Пагинация */
.cgr-pagination { margin: 22px 0; text-align: center; }
.cgr-pagination .page-numbers { display:inline-block; padding:6px 10px; margin:0 2px; border:1px solid #ddd; border-radius:6px; text-decoration:none; color:inherit; }
.cgr-pagination .current { background:#111; color:#fff; border-color:#111; }


    /* Для мобильных устройств */
    @media screen and (max-width: 768px) {
        .responsive-table {
          display: block;
          overflow-x: auto;
          white-space: nowrap;
          border-radius: 0;
        }
        
        .responsive-table thead {
          display: none; /* Скрываем заголовки на мобильных */
        }
        
        .responsive-table tr {
          display: block;
          margin-bottom: 1rem;
          border: 1px solid #ddd;
        }
        
        .responsive-table td {
            display: block;
            text-align: start;
            border-bottom: 1px solid #eee;
            position: relative;
            white-space: normal;
        }
        
        .responsive-table td::before {
          content: attr(data-label);
          position: absolute;
          left: 12px;
          width: 45%;
          padding-right: 10px;
          white-space: nowrap;
          text-align: left;
          font-weight: bold;
        }
      }



.page-content .container, .page-content__more {
    background: #1e2329;
    padding: 20px;
    border-radius: 16px;
    margin: 20px auto;
}



      .page-content .container h2,
      .page-content__more  h2 {
        position: relative;
      }


      .page-content .container h2::before,
      .page-content__more  h2::before {
        content: "";
        position: absolute;
        width: 100px;
        height: 3px;
        background: #ffd600;
        bottom: -6px;
    }




    .page-content .container h3, 
    .page-content .container h4,
     .page-content__more h3,
      .page-content__more h3 {
        color: #b7bfd6;
        font-weight: 600;
    }




thead {
    background: #2a313d;
}


/* Упрощенная версия */
.menu-item-has-children:hover > .sub-menu,
.sub-menu:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

/* Создаем мостик между пунктом меню и подменю */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}


hr.box-soft {
    background: #1e232a;
    padding: 0;
}


.reviews-list .faq-item .faq-a {
	max-height: fit-content;
}

.faq-item .faq-a {
    max-height: auto;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    height: auto;
}

.faq-a
p.p1 {
    margin: 0;
}


.cgr-toc {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #2a313d;
    position: relative;
}

.cgr-toc__chevron {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
  margin-left: 8px;
}

.cgr-toc__chevron::before {
  content: "▼";
  display: inline-block;
}

/* Стрелка вниз в открытом состоянии */
.cgr-toc[open] .cgr-toc__chevron {
  transform: rotate(180deg);
}

 /* Стили для лайтбокса */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            animation: fadeIn 0.3s;
        }

        .lightbox-content {
            position: relative;
            margin: auto;
            padding: 20px;
            max-width: 90%;
            max-height: 90%;
            top: 50%;
            transform: translateY(-50%);
            text-align: center;
        }

        .lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

        .lightbox-caption {
            color: white;
            margin-top: 15px;
            font-size: 18px;
        }

        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }

        .close:hover {
            color: #bbb;
        }

        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -50px;
            color: white;
            font-weight: bold;
            font-size: 24px;
            transition: 0.3s;
            user-select: none;
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
        }

        .prev {
            left: 0;
            border-radius: 0 5px 5px 0;
        }

        .next {
            right: 0;
            border-radius: 5px 0 0 5px;
        }

        .prev:hover, .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            padding: 20px;
            list-style: none;
            margin: 0;
        }



        @media (max-width: 991px) {
            .gallery-grid {
grid-template-columns: 1fr 1fr;
            }}

        .gallery-item {
            cursor: pointer;
            transition: transform 0.3s;
        }

        .gallery-item:hover {
            transform: scale(1.05);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
        }

        .lb {
            display: block;
            text-decoration: none;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }