@font-face {
    font-family: 'CustomFont';
    src: local('Arial'), local('Helvetica'), local('sans-serif');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #1a5fd8;
    --primary-hover: #2f72e6;
    --primary-rgb: 26, 95, 216;
    --accent: #0f3d91;
    --accent-hover: #1a5fd8;
    --accent-rgb: 15, 61, 145;
    --on-primary: #ffffff;

    --bg: #eef2f8;
    --surface: #ffffff;
    --surface-muted: #ffffff;
    --footer-bg: #0b1f47;

    --text: #1e293b;
    --text-muted: #334155;
    --text-soft: #64748b;

    --border: #d5deeb;

    --container-max: 1200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --font-family: 'CustomFont', Arial, Helvetica, sans-serif;
    --line-height: 1.6;

    --blockquote-border: #2563eb;
    --blockquote-bg: #eff6ff;
    --blockquote-text: #334155;

    --btn-login-bg: #2fa84f;
    --btn-login-text: #ffffff;
    --btn-login-border: #2fa84f;
    --btn-login-hover-bg: #27913f;
    --btn-login-hover-text: #ffffff;
    --btn-register-bg: #1a5fd8;
    --btn-register-text: #ffffff;
    --btn-register-hover-bg: #2f72e6;
    --btn-register-hover-text: #ffffff;

    --nav-link-color: #ffffff;
    --nav-link-hover: #ffffff;
    --nav-link-hover-bg: rgba(255,255,255,0.12);
    --mobile-nav-bg: #f8fafc;
    --mobile-nav-border: #d5deeb;
    --mobile-nav-link-color: #1e293b;
    --mobile-nav-link-hover: #2563eb;
    --mobile-nav-link-hover-bg: rgba(37, 99, 235, 0.08);
    --mobile-nav-submenu-link-color: #64748b;
    --mobile-nav-submenu-link-hover: #2563eb;
    --mobile-nav-submenu-link-hover-bg: rgba(37, 99, 235, 0.05);

    --breadcrumb-link-color: #475569;
    --breadcrumb-link-hover: #1a5fd8;
    --breadcrumb-current-color: #1e293b;
    --breadcrumb-sep-color: #94a3b8;

    --scroll-top-bg: #f8fafc;
    --scroll-top-color: #2563eb;
    --scroll-top-hover-bg: #2563eb;

    --content-link-color: #1a5fd8;
    --content-link-hover: #0f3d91;

    --content-btn-login-bg: transparent;
    --content-btn-login-text: #1a5fd8;
    --content-btn-login-border: #1a5fd8;
    --content-btn-login-hover-bg: #1a5fd8;
    --content-btn-login-hover-text: #ffffff;
    --content-btn-register-bg: #2fa84f;
    --content-btn-register-text: #ffffff;
    --content-btn-register-hover-bg: #27913f;
    --content-btn-register-hover-text: #ffffff;

    --header-btn1-bg: transparent;
    --header-btn1-text: #ffffff;
    --header-btn1-border: rgba(255,255,255,0.6);
    --header-btn1-hover-bg: rgba(255,255,255,0.12);
    --header-btn1-hover-text: #ffffff;
    --header-btn2-bg: #2fa84f;
    --header-btn2-text: #ffffff;
    --header-btn2-hover-bg: #27913f;
    --header-btn2-hover-text: #ffffff;

    --table-head-bg: #0f3d91;
    --table-head-text: #ffffff;
    --table-row-odd-bg: var(--surface);
    --table-row-even-bg: #f4f7fb;
    --table-row-hover: rgba(26, 95, 216, 0.05);
    --table-body-text: var(--text-muted);

    --section-bg: #ffffff;
    --section-border: #d5deeb;
    --section-radius: 12px;
    --section-shadow: 0 1px 3px rgba(15,23,42,0.06);

    --bonus-bar-bg: #0f172a;
    --bonus-bar-text: #ffffff;
    --bonus-bar-accent: #6366f1;
    --bonus-bar-btn-bg: #22c55e;
    --bonus-bar-btn-text: #ffffff;

    --author-bg: #ffffff;
    --author-border: #d5deeb;
    --author-name-color: #1e293b;
    --author-name-hover: #2563eb;
    --author-bio-color: #64748b;

    --header-bg: #0b1f47;
    --header-border: #0b1f47;
    --header-shadow: 0 2px 12px rgba(0,0,0,0.06);
    /* 0 в max-width схлопывает ширину img; «без ограничения» в настройках = CSS none */
    --header-logo-height: 42px;
    --header-logo-max-width: none;
    --header-burger-color: #ffffff;

    --footer-text: #ffffff;
    --footer-text-muted: #c7d2e3;
    --footer-heading-color: #ffffff;
    --footer-link-color: #ffffff;
    --footer-link-hover: #7fb2ff;
    --footer-border: rgba(255,255,255,0.1);
    --footer-copy-color: #ffffff;

    --payments-title-color: #1e293b;
    --payments-card-bg: #f1f5f9;
    --payments-card-radius: 10px;
    --payments-name-color: #64748b;

    --reviews-card-bg: #f8fafc;
    --reviews-card-border: #e2e8f0;
    --reviews-name-color: #1e293b;
    --reviews-star-color: #f59e0b;
    --reviews-date-color: #94a3b8;
    --reviews-text-color: #64748b;

    --casino-title-color: #1e293b;
    --casino-card-bg: #ffffff;
    --casino-card-border: #e2e8f0;
    --casino-card-radius: 12px;
    --casino-logo-bg: #1a365d;
    --casino-rating-color: #22c55e;
    --casino-bonus-color: #22c55e;
    --casino-btn-bg: #22c55e;
    --casino-btn-text: #ffffff;
    --casino-btn-hover-bg: #16a34a;

    --toc-header-bg: #0f3d91;
    --toc-header-text: #ffffff;
    --toc-header-hover-bg: #1a5fd8;
    --toc-header-hover-text: #ffffff;
    --toc-header-open-bg: #1a5fd8;
    --toc-header-open-text: rgba(255, 255, 255, 1);
    --toc-icon-color: rgba(255, 255, 255, 1);
    --toc-link-color: #334155;
    --toc-link-hover: #1a5fd8;
    --toc-border: #d5deeb;

    --faq-question-color: #1e293b;
    --faq-answer-color: #475569;
    --faq-border: #d5deeb;
    --faq-hover-bg: #f8fafc;
    --faq-icon-color: #94a3b8;
    --pgrid-card-radius: 14px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, button, input, select, textarea {
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg);
    color: var(--text);
    line-height: var(--line-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .page-section,
html[dir="rtl"] .dlmi-author__info,
html[dir="rtl"] .dlmi-footer {
    text-align: right;
}

html[dir="rtl"] .dlmi-nav__submenu {
    left: auto;
    right: 0;
}

html[dir="rtl"] .mobile-nav .mobile-submenu {
    padding: 0.15rem 1.2rem 0.35rem 0;
}

html[dir="rtl"] .breadcrumbs__sep svg {
    transform: scaleX(-1);
}

/* ================================================================
   SITE HEADER
   ================================================================ */
.dlmi-header {
    background: var(--header-bg, var(--bg));
    border-bottom: 1px solid var(--header-border, var(--border));
    box-shadow: var(--header-shadow, 0 2px 12px rgba(0,0,0,0.06));
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dlmi-header__row {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dlmi-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.dlmi-header__logo-img {
    height: var(--header-logo-height, 42px);
    width: auto;
    min-width: 24px;
    max-width: var(--header-logo-max-width, none);
    display: block;
    object-fit: contain;
}

.dlmi-header__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    letter-spacing: -0.02em;
}

/* Desktop navigation */
.dlmi-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dlmi-nav a {
    text-decoration: none;
}

.dlmi-nav__link {
    color: var(--nav-link-color, var(--text-muted));
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.dlmi-nav__link:hover,
.dlmi-nav__link.active {
    color: var(--nav-link-hover, var(--primary));
    background: var(--nav-link-hover-bg, rgba(var(--primary-rgb), 0.08));
}

/* Desktop dropdown */
.dlmi-nav__dropdown {
    position: relative;
}

.dlmi-nav__dropdown > a,
.dlmi-nav__dropdown > span {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--nav-link-color, var(--text-muted));
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.dlmi-nav__dropdown > a::after,
.dlmi-nav__dropdown > span::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.dlmi-nav__dropdown:hover > a::after,
.dlmi-nav__dropdown:hover > span::after {
    transform: rotate(-135deg);
}

.dlmi-nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1002;
    list-style: none;
    padding: 0.4rem 0;
}

.dlmi-nav__dropdown:hover .dlmi-nav__submenu {
    display: block;
}

.dlmi-nav__submenu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--nav-link-color, var(--text-muted));
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.dlmi-nav__submenu a:hover {
    background: var(--surface-muted);
    color: var(--nav-link-hover, var(--primary));
}

.dlmi-nav__submenu a.active {
    color: var(--nav-link-hover, var(--primary));
}

/* Header buttons */
.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.header-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    line-height: 1.3;
    box-sizing: border-box;
}

.header-actions .btn-login {
    background: var(--header-btn1-bg);
    color: var(--header-btn1-text);
    border-color: var(--header-btn1-border);
}

.header-actions .btn-login:hover {
    background: var(--header-btn1-hover-bg);
    color: var(--header-btn1-hover-text);
    border-color: var(--header-btn1-hover-bg);
}

.header-actions .btn-register {
    background: var(--header-btn2-bg);
    color: var(--header-btn2-text);
    border-color: var(--header-btn2-bg);
}

.header-actions .btn-register:hover {
    background: var(--header-btn2-hover-bg);
    color: var(--header-btn2-hover-text);
    border-color: var(--header-btn2-hover-bg);
}

/* Hamburger */
.dlmi-header__burger {
    display: none;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.dlmi-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--header-burger-color, var(--text));
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.dlmi-header__burger span:nth-child(1) { top: 4px; }
.dlmi-header__burger span:nth-child(2) { top: 13px; }
.dlmi-header__burger span:nth-child(3) { top: 22px; }

.dlmi-header__burger.active span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}
.dlmi-header__burger.active span:nth-child(2) {
    opacity: 0;
}
.dlmi-header__burger.active span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
}

/* Mobile header: action buttons row (legacy, hidden in mirror-1) */
.header-mobile-actions {
    display: none !important;
    flex: 0 0 auto;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.header-mobile-actions .header-action-btn {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.header-mobile-actions .header-action-btn:hover {
    transform: translateY(-1px);
}

/* Mobile nav overlay (disabled — dropdown mode) */
.mobile-nav-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* Mobile navigation panel — dropdown overlay from top */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--mobile-nav-bg, var(--surface));
    border-bottom: 1px solid var(--mobile-nav-border, var(--border));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 0;
    flex-direction: column;
    gap: 0;
    z-index: 998;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.3s;
    overflow-y: auto;
    max-height: 75vh;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    padding: 0.75rem 1rem 1rem;
}

.mobile-nav__close {
    display: none;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav__links > a:not(.btn),
.mobile-nav__links > .mobile-dropdown > .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.85rem;
    color: var(--mobile-nav-link-color, var(--nav-link-color, var(--text)));
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
    position: relative;
}

.mobile-nav__links > a:not(.btn):hover,
.mobile-nav__links > a.active,
.mobile-nav__links > .mobile-dropdown > .mobile-dropdown-toggle:hover,
.mobile-nav__links > .mobile-dropdown > .mobile-dropdown-toggle.active {
    color: var(--mobile-nav-link-hover, var(--nav-link-hover, var(--primary)));
    background: var(--mobile-nav-link-hover-bg, var(--nav-link-hover-bg, rgba(var(--primary-rgb, 99, 102, 241), 0.07)));
    text-decoration: none;
    transform: translateX(2px);
}

.mobile-nav__links > a:not(.btn):active {
    transform: translateX(2px) scale(0.98);
}

.mobile-nav__buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--mobile-nav-border, var(--border));
}

.mobile-nav__buttons .btn {
    flex: 1;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.mobile-nav__buttons .btn:active {
    transform: scale(0.97);
}

.mobile-nav__buttons .btn-login {
    background: var(--header-btn1-bg);
    color: var(--header-btn1-text);
    border: 1.5px solid var(--header-btn1-border);
}

.mobile-nav__buttons .btn-login:hover {
    background: var(--header-btn1-hover-bg);
    color: var(--header-btn1-hover-text);
    border-color: var(--header-btn1-hover-bg);
}

.mobile-nav__buttons .btn-register {
    background: var(--header-btn2-bg);
    color: var(--header-btn2-text);
    border: 1.5px solid var(--header-btn2-bg);
}

.mobile-nav__buttons .btn-register:hover {
    background: var(--header-btn2-hover-bg);
    color: var(--header-btn2-hover-text);
    border-color: var(--header-btn2-hover-bg);
}

/* Mobile dropdown */
.mobile-nav .mobile-dropdown {
    display: flex;
    flex-direction: column;
}

.mobile-nav .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    color: var(--mobile-nav-link-color, var(--text));
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    text-align: left;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.mobile-nav .mobile-dropdown-toggle:hover,
.mobile-nav .mobile-dropdown-toggle.active {
    color: var(--mobile-nav-link-hover, var(--primary));
    background: var(--mobile-nav-link-hover-bg, rgba(var(--primary-rgb, 99, 102, 241), 0.07));
    text-decoration: none;
    transform: translateX(2px);
}

.mobile-nav .mobile-submenu {
    display: block;
    padding: 0.15rem 0 0.35rem 1.2rem;
}

.mobile-nav .mobile-submenu a {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    color: var(--mobile-nav-submenu-link-color, var(--text-muted));
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.mobile-nav .mobile-submenu a:hover,
.mobile-nav .mobile-submenu a.active {
    color: var(--mobile-nav-submenu-link-hover, var(--mobile-nav-link-hover, var(--primary)));
    background: var(--mobile-nav-submenu-link-hover-bg, rgba(var(--primary-rgb, 99, 102, 241), 0.05));
    text-decoration: none;
    transform: translateX(2px);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn, a.btn {
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.btn-login, a.btn.btn-login {
    background: var(--btn-login-bg);
    color: var(--btn-login-text);
    border: 2px solid var(--btn-login-border) !important;
}

.btn-login:hover, a.btn.btn-login:hover {
    background: var(--btn-login-hover-bg);
    color: var(--btn-login-hover-text);
    border-color: var(--btn-login-hover-bg) !important;
}

.btn-register {
    background: var(--btn-register-bg);
    color: var(--btn-register-text);
}

.btn-register:hover {
    background: var(--btn-register-hover-bg);
    color: var(--btn-register-hover-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.25);
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */
.breadcrumbs-wrap {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.6rem 1.5rem 0;
    box-sizing: border-box;
}

.breadcrumbs-wrap .breadcrumbs {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.55rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
    list-style: none;
    margin: 0;
    font-size: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.breadcrumbs-wrap + .page-wrapper {
    padding-top: 0.75rem;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.breadcrumbs__item a {
    color: var(--breadcrumb-link-color, var(--text-muted));
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs__item a:hover {
    color: var(--breadcrumb-link-hover, var(--primary));
}

.breadcrumbs__sep {
    color: var(--breadcrumb-sep-color, var(--text-soft));
    opacity: 0.5;
    user-select: none;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.breadcrumbs__sep svg {
    display: block;
}

.breadcrumbs__current {
    color: var(--breadcrumb-current-color, var(--text));
    font-weight: 500;
}

/* ================================================================
   PAGE WRAPPER & CONTENT
   ================================================================ */
.page-wrapper {
    flex: 1;
    width: 100%;
    padding: 1rem 0 3rem;
}

.page-wrapper__inner {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-section {
    background: var(--section-bg, var(--surface));
    border: 1px solid var(--section-border, var(--border));
    border-radius: var(--section-radius, var(--radius-lg));
    padding: 1rem;
    box-shadow: var(--section-shadow, 0 2px 12px rgba(0,0,0,0.06));
}

.page-section h1 {
    color: var(--text);
    margin-bottom: 1.25rem;
    font-size: 2.125rem;
    font-weight: 800;
    line-height: 1.2;
}

.page-section h2 {
    color: var(--text);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Превью стилей и контент с обычным <hr> (не только be-divider из редактора) */
.page-section hr,
.page-section hr.be-divider {
    border: none;
    height: 2px;
    background: var(--primary);
    opacity: 0.35;
    border-radius: 1px;
    margin: 1.25rem 0;
}

.page-section h3 {
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
}
.page-section .faq-question h3 {
    padding-bottom: 0;
    margin: 0;
}

.page-section h4 {
    color: var(--text);
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.page-section strong, .page-section b {
    font-weight: 700;
    color: var(--text);
}

.page-section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.page-section a:not(.btn) {
    color: var(--content-link-color, var(--primary));
    text-decoration: none;
    transition: color 0.2s;
}

.page-section a:not(.btn):hover {
    color: var(--content-link-hover, var(--primary-hover));
    text-decoration: underline;
}

.page-section .dlmi-sc-toc-list a:not(.btn):hover {
    text-decoration: none;
    color: var(--primary);
}

.page-section img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    max-height: 500px;
}

.page-section blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--blockquote-border);
    background: var(--blockquote-bg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--blockquote-text);
    font-size: 1.02rem;
    line-height: 1.7;
}

.page-section blockquote p {
    margin-bottom: 0.5rem;
    color: inherit;
}

.page-section blockquote p:last-child {
    margin-bottom: 0;
}

.page-section ul, .page-section ol {
    margin-bottom: 1.25rem;
    padding-left: 1.8rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.page-section ul li, .page-section ol li {
    margin-bottom: 0.6rem;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.page-section ul li { list-style-type: disc; }
.page-section ol li { list-style-type: decimal; }

/* ================================================================
   IMAGE FLOAT (inline shortcodes imgleft / imgright)
   ================================================================ */
.img-float-left {
    float: left;
    margin: 0.25rem 1.5rem 1rem 0;
    max-width: 40%;
}

.img-float-right {
    float: right;
    margin: 0.25rem 0 1rem 1.5rem;
    max-width: 40%;
}

.img-float-left img,
.img-float-right img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.img-float-left ~ ul,
.img-float-left ~ ol,
.img-float-right ~ ul,
.img-float-right ~ ol {
    overflow: hidden;
    padding-left: 2.5rem;
}

.be-img-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.be-img-center img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.be-img-left {
    text-align: left;
}

.be-img-left img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.be-img-right {
    text-align: right;
}

.be-img-right img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* ================================================================
   COLUMNS (block editor)
   ================================================================ */
.be-columns {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.be-columns--2 { grid-template-columns: repeat(2, 1fr); }
.be-columns--3 { grid-template-columns: repeat(3, 1fr); }
.be-columns--4 { grid-template-columns: repeat(4, 1fr); }

.be-col > *:last-child {
    margin-bottom: 0;
}

/* ================================================================
   CONTENT BUTTONS
   ================================================================ */
.content-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.content-buttons .btn {
    padding: 0.7rem 1.6rem;
    background: var(--content-btn-register-bg, #2563eb);
    color: var(--content-btn-register-text, #ffffff);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.content-buttons .btn-login {
    background: var(--content-btn-login-bg, transparent);
    color: var(--content-btn-login-text, #2563eb);
    border: 2px solid var(--content-btn-login-border, #2563eb);
}

.content-buttons .btn-login:hover {
    background: var(--content-btn-login-hover-bg, #2563eb);
    color: var(--content-btn-login-hover-text, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.content-buttons .btn-register:hover {
    background: var(--content-btn-register-hover-bg, #3b82f6);
    color: var(--content-btn-register-hover-text, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

/* ================================================================
   TOC SHORTCODE
   ================================================================ */
.dlmi-sc-toc {
    margin: 1.5rem 0;
    border: none;
    border-radius: 0;
    background: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dlmi-sc-toc-toggle {
    width: auto;
    padding: 0.6rem 1.75rem;
    background: var(--toc-header-bg, var(--primary));
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--toc-header-text, #fff);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s, width 0.3s, border-radius 0.3s;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
    letter-spacing: 0.02em;
}

.dlmi-sc-toc-toggle:hover {
    background: var(--toc-header-hover-bg, var(--primary-hover));
    color: var(--toc-header-hover-text, var(--toc-header-text, #fff));
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-1px);
}

.dlmi-sc-toc-toggle:active {
    transform: translateY(0);
}

.dlmi-sc-toc.open .dlmi-sc-toc-toggle {
    width: 100%;
    background: var(--toc-header-open-bg, var(--toc-header-hover-bg, var(--primary-hover)));
    color: var(--toc-header-open-text, var(--toc-header-hover-text, var(--toc-header-text, #fff)));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: none;
    justify-content: center;
}

.dlmi-sc-toc.open .dlmi-sc-toc-toggle svg {
    transform: rotate(180deg);
}

.dlmi-sc-toc-title { flex: none; }

.dlmi-sc-toc-toggle svg {
    flex-shrink: 0;
    transition: transform 0.25s;
    width: 14px;
    height: 14px;
    stroke: var(--toc-icon-color, #fff);
}

.dlmi-sc-toc-list {
    display: none;
    width: 100%;
    padding: 1.25rem 1.5rem 1.25rem;
    background: var(--surface-muted);
    border: 1px solid var(--toc-border, var(--border));
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: tocSlideDown 0.3s ease;
}

@keyframes tocSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dlmi-sc-toc.open .dlmi-sc-toc-list {
    display: block;
}

.dlmi-sc-toc-list ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.dlmi-sc-toc-list li,
.page-section .dlmi-sc-toc-list ol li {
    margin-bottom: 0;
    padding: 0;
    font-size: 0;
}

.dlmi-sc-toc-list li::marker {
    content: none;
}

.dlmi-sc-toc-list li.toc-sub {
    padding-left: 0;
}

.dlmi-sc-toc-list li.toc-sub a {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-muted);
}

.dlmi-sc-toc-list a {
    display: inline-block;
    width: 100%;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--toc-link-color, var(--text));
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--toc-border, var(--border));
    border-radius: var(--radius-md);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, transform 0.25s ease;
    line-height: 1.4;
    box-sizing: border-box;
}

.dlmi-sc-toc-list a:hover {
    color: var(--toc-link-hover, var(--primary));
    text-decoration: none;
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-container {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid var(--faq-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:has(.faq-question.active) {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.08);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    font-family: inherit;
    line-height: inherit;
    text-align: left;
    color: var(--faq-question-color);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: color 0.2s, background 0.2s;
}

.faq-question:hover {
    background: var(--faq-hover-bg);
    color: var(--primary);
}

.faq-question.active {
    color: var(--primary);
}

.faq-question .faq-question-text,
.faq-question h3,
.faq-question span {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: inherit;
    text-align: left;
    min-width: 0;
    line-height: 1.4;
}

.faq-question h3.faq-question-text {
    margin-top: 0;
    margin-bottom: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    min-height: 24px;
    max-height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--faq-icon-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.25s, color 0.25s;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
}

.faq-icon svg {
    display: none;
}

.faq-question.active .faq-icon {
    background: var(--primary);
    color: var(--on-primary, #fff);
}

.faq-question.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer.active {
    max-height: 2000px;
}

.faq-answer::before {
    content: '';
    display: block;
    height: 1px;
    background: var(--faq-border);
    margin: 0 1.25rem;
}

.faq-answer-inner {
    padding: 1rem 1.25rem 1.25rem;
    color: var(--faq-answer-color);
    line-height: 1.7;
    font-size: 0.92rem;
}

.faq-answer-inner p, .faq-answer p {
    margin: 0 0 0.65em;
    color: inherit;
    line-height: inherit;
    font-size: inherit;
}

.faq-answer-inner p:last-child, .faq-answer p:last-child {
    margin-bottom: 0;
}

/* ================================================================
   REVIEWS SHORTCODE
   ================================================================ */
.dlmi-sc-reviews {
    margin: 1.5rem 0;
}

/* ── Carousel layout ── */
.dlmi-sc-reviews[data-layout="carousel"] .dlmi-sc-reviews__wrap {
    position: relative;
}

.dlmi-sc-reviews__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
}

.dlmi-sc-reviews__track::-webkit-scrollbar {
    display: none;
}

.dlmi-sc-reviews__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.15s;
}

.dlmi-sc-reviews__arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.dlmi-sc-reviews__arrow--prev { left: -12px; }
.dlmi-sc-reviews__arrow--next { right: -12px; }

.dlmi-sc-reviews__track .dlmi-sc-reviews__card {
    flex: 0 0 320px;
    min-width: 280px;
}

/* ── Grid layout ── */
.dlmi-sc-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ── Card ── */
.dlmi-sc-reviews__card {
    position: relative;
    background: var(--reviews-card-bg, var(--surface));
    border: 1px solid var(--reviews-card-border, var(--border));
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.dlmi-sc-reviews__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dlmi-sc-reviews__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dlmi-sc-reviews__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--reviews-name-color, var(--text));
    flex: 1;
    min-width: 0;
}

.dlmi-sc-reviews__rating {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.dlmi-sc-reviews__rating svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dlmi-sc-reviews__date {
    font-size: 0.78rem;
    color: var(--reviews-date-color, var(--text-soft));
    margin-top: -0.2rem;
}

.dlmi-sc-reviews__date:empty {
    display: none;
}

.dlmi-sc-reviews__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--reviews-text-color, var(--text-muted));
}

/* ── Reviews responsive ── */
@media (max-width: 768px) {
    .dlmi-sc-reviews__grid {
        grid-template-columns: 1fr;
    }

    .dlmi-sc-reviews__track .dlmi-sc-reviews__card {
        flex: 0 0 calc(100% - 8px);
        min-width: 0;
        scroll-snap-align: center;
    }
    .dlmi-sc-reviews__track {
        scroll-snap-type: x mandatory;
    }

    .dlmi-sc-reviews__arrow {
        width: 30px;
        height: 30px;
    }

    .dlmi-sc-reviews__arrow--prev { left: -6px; }
    .dlmi-sc-reviews__arrow--next { right: -6px; }
}

/* ================================================================
   AUTHOR BLOCK — compact / miniature
   ================================================================ */
.dlmi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0 1rem;
    background: var(--author-bg, var(--surface));
    border: 1px solid var(--author-border, var(--border));
    border-radius: var(--radius-lg);
}

.dlmi-author__photo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.dlmi-author__info {
    flex: 1;
    min-width: 0;
}

.dlmi-author__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--author-name-color, var(--text));
    margin: 0 0 0.15rem;
}

.dlmi-author__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.dlmi-author__name a:hover {
    color: var(--author-name-hover, var(--primary));
}

.dlmi-author__bio {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--author-bio-color, var(--text-muted));
    margin: 0;
}

.dlmi-author__bio p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* ================================================================
   TABLES
   ================================================================ */
.table-wrapper, .content-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 600px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

table thead tr {
    background: var(--table-head-bg);
    color: var(--table-head-text);
}

table thead td, table thead th {
    padding: 0.65rem 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    color: var(--table-head-text) !important;
}

table tbody tr {
    background: var(--table-row-odd-bg);
}

table tbody tr:nth-child(even) {
    background: var(--table-row-even-bg);
}

table tbody tr:hover {
    background: var(--table-row-hover);
}

table td, table th {
    padding: 0.55rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table tbody td,
table tbody th {
    color: var(--table-body-text);
}

table tr:last-child td, table tr:last-child th {
    border-bottom: none;
}

table td p, table th p {
    margin: 0 0 0.25rem;
}

table td p:last-child, table th p:last-child {
    margin-bottom: 0;
}

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: box-shadow 0.2s;
}

.review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.4rem;
}

.review-author {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.review-date {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.review-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.92rem;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.dlmi-error-page {
    text-align: center;
    padding: 4rem 1rem;
}

.dlmi-error-page__code {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 0 0 0.5rem;
}

.dlmi-error-page__title {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 0.75rem;
}

.dlmi-error-page__message {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ================================================================
   BONUS BAR (sticky bottom bar)
   ================================================================ */
.dlmi-bonus-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, calc(100% + 80px));
    width: 94%;
    max-width: var(--container-max);
    z-index: 9999;
    background: var(--bonus-bar-bg);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06) inset;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.dlmi-bonus-bar.show {
    transform: translate(-50%, 0);
}

.dlmi-bonus-bar__glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bonus-bar-accent), transparent);
    opacity: 0.7;
}

.dlmi-bonus-bar__icon {
    flex-shrink: 0;
}

.dlmi-bonus-bar__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.dlmi-bonus-bar__content {
    flex: 1;
    min-width: 0;
}

.dlmi-bonus-bar__text {
    color: var(--bonus-bar-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.dlmi-bonus-bar__sub {
    color: var(--bonus-bar-text);
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    line-height: 1.3;
    margin-top: 1px;
}

.dlmi-bonus-bar__btn {
    flex-shrink: 0;
    padding: 0.65rem 1.8rem;
    background: var(--bonus-bar-btn-bg);
    color: var(--bonus-bar-btn-text) !important;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: filter 0.2s, transform 0.15s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.dlmi-bonus-bar__btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .dlmi-bonus-bar {
        bottom: 12px;
        width: 96%;
        padding: 0.7rem 1rem;
        gap: 0.7rem;
        border-radius: 14px;
    }
    .dlmi-bonus-bar__icon img { width: 38px; height: 38px; }
    .dlmi-bonus-bar__text { font-size: 0.85rem; }
    .dlmi-bonus-bar__btn { padding: 0.55rem 1.2rem; font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .dlmi-bonus-bar__sub { display: none; }
    .dlmi-bonus-bar__icon img { width: 32px; height: 32px; }
}

/* ================================================================
   SCROLL TO TOP
   ================================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: var(--scroll-top-bg, var(--surface));
    color: var(--scroll-top-color, var(--primary));
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease,
                background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    z-index: 999;
}

.scroll-top-btn svg {
    transition: transform 0.25s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--scroll-top-hover-bg, var(--primary));
    color: var(--on-primary);
    border-color: var(--scroll-top-hover-bg, var(--primary));
    box-shadow: 0 4px 16px rgba(var(--primary-rgb, 99, 102, 241), 0.25);
}

.scroll-top-btn:hover svg {
    transform: translateY(-2px);
}

.scroll-top-btn:active {
    transform: scale(0.93);
}

/* ================================================================
   FOOTER
   ================================================================ */
.dlmi-footer {
    background: var(--footer-bg);
    padding: 2.5rem 0 1.25rem;
    margin-top: auto;
    border-top: 1px solid var(--border);
    color: var(--footer-text);
}

.dlmi-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dlmi-footer__top {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 1.75rem;
}

.dlmi-footer__col-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
}

.dlmi-footer__logo {
    margin: 0;
}

.dlmi-footer__logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.dlmi-footer__col-desc {
    flex: 0 1 420px;
    min-width: 0;
}

.dlmi-footer__pages-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 15px;
    flex: 1 1 auto;
    margin-left: auto;
    align-self: flex-end;
}

.dlmi-footer__pages-nav a {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.dlmi-footer__pages-nav a:hover {
    color: var(--footer-link-hover);
}

.dlmi-footer__col-nav {
    flex: 0 0 auto;
}

.dlmi-footer__heading {
    font-weight: 600;
    font-size: 1rem;
    color: var(--footer-heading-color);
    margin-bottom: 0.75rem;
}

.dlmi-footer__desc {
    color: var(--footer-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.dlmi-footer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dlmi-footer__nav a {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.dlmi-footer__nav a:hover {
    color: var(--footer-link-hover);
}

.dlmi-footer__bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 1.25rem;
    text-align: center;
}

.dlmi-footer__bottom-inner {
    margin: 0 auto;
}

.dlmi-footer__copy {
    color: var(--footer-copy-color);
    font-size: 0.85rem;
    margin: 0;
}


/* ================================================================
   RESPONSIVE — tablets (max-width: 1055px)
   ================================================================ */
@media (max-width: 1055px) {
    .dlmi-header__row {
        padding: 0.7rem 1rem;
    }

    .dlmi-nav,
    .header-actions,
    .lang-switcher {
        display: none;
    }
    .mobile-lang-switcher { display: flex; }

    .dlmi-header__burger {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    .page-wrapper {
        padding: 1rem 0;
    }

    .page-wrapper__inner {
        padding: 0 1rem;
    }

    .breadcrumbs-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-section {
        padding: 1.5rem 1.5rem;
    }

    .page-section h1 { font-size: 1.75rem; }
    .page-section h2 { font-size: 1.35rem; }
    .page-section h3 { font-size: 1.15rem; }
    .page-section h4 { font-size: 1.05rem; }
    .page-section p,
    .page-section ul li,
    .page-section ol li { font-size: 1rem; }

    .img-float-left,
    .img-float-right {
        float: none;
        max-width: 100%;
        margin: 1rem auto;
        display: block;
    }

    .be-columns--2,
    .be-columns--3,
    .be-columns--4 {
        grid-template-columns: 1fr;
    }

    .img-float-left img,
    .img-float-right img {
        margin: 0 auto;
    }

    .content-buttons {
        gap: 0.8rem;
    }

    .dlmi-sc-toc-list ol {
        grid-template-columns: 1fr;
    }

    .dlmi-sc-toc-list {
        padding: 1rem;
    }

    .dlmi-sc-toc-toggle {
        font-size: 0.82rem;
        padding: 0.5rem 1.25rem;
    }

    .reviews-container {
        grid-template-columns: 1fr;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 16px;
        width: 38px;
        height: 38px;
    }

}

@media (max-width: 768px) {
    .dlmi-footer__top {
        flex-direction: column;
        gap: 1.5rem;
    }

    .dlmi-footer__inner {
        padding: 0 1rem;
    }

    .dlmi-footer__col-desc {
        flex-basis: auto;
    }

    .dlmi-footer__pages-nav {
        justify-content: flex-start;
        align-self: auto;
        gap: 10px 15px;
        flex-basis: 100%;
        margin-left: 0;
    }
}

/* ================================================================
   RESPONSIVE — small phones (max-width: 480px)
   ================================================================ */
@media (max-width: 480px) {
    .dlmi-header__row {
        padding: 0.6rem 0.75rem;
    }

    .dlmi-header__logo-img {
        height: 30px;
    }

    .mobile-nav.active {
        padding: 0.5rem 0.75rem 0.75rem;
    }

    .page-wrapper {
        padding: 0.75rem 0;
    }

    .page-wrapper__inner {
        padding: 0 0.75rem;
    }

    .breadcrumbs-wrap {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .page-section {
        padding: 1.25rem 1rem;
    }

    .page-section h1 { font-size: 1.5rem; }
    .page-section h2 { font-size: 1.2rem; }
    .page-section h3 { font-size: 1.05rem; }
    .page-section h4 { font-size: 1rem; }

    .dlmi-author {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .dlmi-footer__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem 1.25rem;
    }

    table {
        font-size: 0.85rem;
        min-width: 480px;
    }
}

/* Language switcher */
.lang-switcher-toggle svg {
    display: block;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
}
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.lang-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm, 6px);
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.lang-switcher-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.lang-switcher-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 4.5rem;
    background: var(--bg, #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 80;
    overflow: hidden;
}
.lang-switcher.open .lang-switcher-dropdown { display: block; }
.lang-switcher.open .lang-switcher-arrow { transform: rotate(180deg); }
.lang-switcher-option {
    display: block;
    padding: 0.45rem 0.75rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.lang-switcher-option:hover,
.lang-switcher-option.active {
    background: var(--surface-muted, var(--surface));
    color: var(--primary);
}
.mobile-lang-switcher {
    display: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 0 0.25rem;
}
.lang-switcher-item {
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 6px);
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}
.lang-switcher-item.active {
    border-color: var(--primary);
    color: var(--primary);
}


/* === Promo blocks === */
/* ================================================================
   Page-local promo blocks (bonus, slots, advantages, cta, stats, banner, providers)
   ================================================================ */

.promo-bonus {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 2rem 0;
    overflow: hidden;
    background: var(--promo-bg, var(--surface, #171a21));
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.promo-bonus__panel {
    position: relative;
    flex: 0 0 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    background: var(--promo-color, var(--primary, #e04646));
    color: var(--promo-fg, var(--on-primary, #fff));
}

.promo-bonus__panel::before,
.promo-bonus__panel::after {
    content: '';
    position: absolute;
    right: -9px;
    width: 18px;
    height: 18px;
    background: var(--bg, var(--surface, #0f1115));
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-radius: 50%;
    z-index: 2;
}

.promo-bonus__panel::before { top: -10px; }
.promo-bonus__panel::after { bottom: -10px; }

.promo-bonus__badge-value {
    position: relative;
    z-index: 1;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-align: center;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.promo-bonus__main {
    display: flex;
    flex: 1 1 260px;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    min-width: 0;
    padding: 1.25rem 1.35rem 1.25rem 1.2rem;
}

.promo-bonus__body { flex: 1 1 200px; min-width: 0; }

.promo-bonus .promo-bonus__title,
.promo-bonus h2.promo-bonus__title,
.promo-bonus h3.promo-bonus__title,
.promo-bonus p.promo-bonus__title {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    font-family: inherit;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 780;
    font-style: normal;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--promo-bg-fg, var(--text, inherit));
}

.promo-bonus .promo-bonus__text,
.promo-bonus p.promo-bonus__text {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--text-muted, inherit);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.5;
}

.promo-bonus .promo-bonus__note,
.promo-bonus p.promo-bonus__note {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    color: var(--text-soft, var(--text-muted, inherit));
    font-size: 0.78rem;
    line-height: 1.4;
}

.promo-bonus__action { flex: 0 0 auto; }

.promo-bonus a.promo-bonus__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 0.88rem 1.45rem;
    border: 0;
    border-radius: 999px;
    background: var(--promo-btn, var(--promo-color, var(--primary, #e04646)));
    color: var(--promo-btn-fg, var(--on-primary, #fff));
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(var(--promo-btn-rgb, var(--promo-rgb, var(--primary-rgb, 224, 70, 70))), 0.32);
}

.promo-bonus a.promo-bonus__btn:hover {
    filter: brightness(1.06);
}

.promo-bonus[data-variant="band"] {
    border-radius: 12px;
}

.promo-bonus[data-variant="band"] .promo-bonus__panel {
    flex-basis: 96px;
    padding: 0.85rem 0.7rem;
}

.promo-bonus[data-variant="band"] .promo-bonus__badge-value { font-size: 1.35rem; }

.promo-bonus[data-variant="band"] .promo-bonus__main {
    padding: 0.9rem 1.15rem;
}

.promo-bonus[data-variant="band"] .promo-bonus__title {
    font-size: 1.12rem;
    margin-bottom: 2px;
}

/* ── CTA ── */
.promo-cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    margin: 2rem 0;
    padding: 1.6rem 1.6rem 1.6rem 1.75rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(var(--promo-rgb, var(--primary-rgb, 224, 70, 70)), 0.16) 0%, transparent 42%),
        var(--promo-bg, var(--surface, #171a21));
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.promo-cta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    background: var(--promo-color, var(--primary, #e04646));
    border-radius: 999px;
}

.promo-cta__copy { flex: 1 1 280px; min-width: 0; }

.promo-cta .promo-cta__title,
.promo-cta h2.promo-cta__title,
.promo-cta h3.promo-cta__title,
.promo-cta p.promo-cta__title {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    font-family: inherit;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    font-weight: 760;
    font-style: normal;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--promo-bg-fg, var(--text, inherit));
}

.promo-cta .promo-cta__sub,
.promo-cta p.promo-cta__sub {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 42rem;
    color: var(--text-muted, inherit);
    font-size: 0.98rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
}

.promo-cta__action { flex: 0 0 auto; }

.promo-cta a.promo-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 0.85rem 1.45rem;
    border: 0;
    border-radius: var(--radius-md, 8px);
    background: var(--promo-btn, var(--promo-color, var(--primary, #e04646)));
    color: var(--promo-btn-fg, var(--on-primary, #fff));
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(var(--promo-btn-rgb, var(--promo-rgb, var(--primary-rgb, 224, 70, 70))), 0.28);
}

.promo-cta[data-variant="split"] {
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.promo-cta[data-variant="split"]::before { display: none; }

.promo-cta[data-variant="split"] .promo-cta__copy {
    padding: 1.7rem 1.7rem 1.7rem 1.85rem;
}

.promo-cta[data-variant="split"] .promo-cta__action {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 1.5rem 1.7rem;
    background: var(--promo-color, var(--primary, #e04646));
}

.promo-cta[data-variant="split"] a.promo-cta__btn {
    background: var(--promo-btn, var(--on-primary, #fff));
    color: var(--promo-btn-fg, var(--promo-color, var(--primary, #e04646)));
    box-shadow: none;
}

.promo-cta[data-variant="split"] .promo-cta__btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.97);
}

/* ── Advantages ── */
.promo-adv { margin: 2rem 0; }

.promo-adv .promo-adv__heading,
.promo-adv h2.promo-adv__heading,
.promo-adv h3.promo-adv__heading,
.promo-adv p.promo-adv__heading {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    min-height: 1.2em;
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1.25;
    color: var(--promo-bg-fg, var(--text, inherit));
}

.promo-adv__card,
.promo-stats__cell,
.promo-providers__item {
    position: relative;
}

.promo-adv__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.promo-adv__card {
    padding: 1.1rem;
    background: var(--promo-bg, var(--surface, #171a21));
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-top: 3px solid var(--promo-btn, var(--promo-color, var(--primary, #e04646)));
    border-radius: var(--radius-md, 8px);
}

.promo-adv__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    background: rgba(var(--promo-rgb, var(--primary-rgb, 224, 70, 70)), 0.14);
    border-radius: var(--radius-sm, 5px);
    color: var(--promo-color, var(--primary, #e04646));
}

.promo-adv .promo-adv__title,
.promo-adv h2.promo-adv__title,
.promo-adv h3.promo-adv__title,
.promo-adv p.promo-adv__title {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1.3;
    color: var(--promo-bg-fg, var(--text, inherit));
}

.promo-adv .promo-adv__text,
.promo-adv p.promo-adv__text {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--text-muted, inherit);
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.45;
}

/* ── Stats ── */
.promo-stats { margin: 2rem 0; }

.promo-stats__eyebrow {
    margin: 0 0 12px;
    color: var(--text-soft, var(--text-muted, inherit));
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.promo-stats__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--border, rgba(255,255,255,.1));
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
}

.promo-stats__cell {
    padding: 1.1rem 1rem;
    background: var(--promo-bg, var(--surface, #171a21));
}

.promo-stats__num {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 760;
    line-height: 1.1;
    color: var(--promo-color, var(--promo-bg-fg, var(--text, inherit)));
}

.promo-stats__label {
    margin-top: 5px;
    color: var(--text-soft, var(--text-muted, inherit));
    font-size: 0.88rem;
    line-height: 1.4;
}

/* ── Bonus banner ── */
.promo-bbn { margin: 1.6rem 0 2.1rem; }

.promo-bbn__card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
    padding: 1.35rem 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--primary-rgb, 224, 70, 70), 0.18), transparent 55%),
        var(--surface, #171a21);
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-left: 4px solid var(--primary, #e04646);
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.promo-bbn[data-variant="band"] .promo-bbn__card {
    border-left-width: 1px;
    border-top: 4px solid var(--primary, #e04646);
}

.promo-bbn__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    background: rgba(var(--primary-rgb, 224, 70, 70), 0.16);
    border-radius: var(--radius-md, 8px);
    color: var(--primary, #e04646);
}

.promo-bbn__body { flex: 1 1 240px; min-width: 0; }

.promo-bbn__eyebrow {
    margin: 0 0 4px;
    color: var(--primary, #e04646);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.promo-bbn__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text, inherit);
}

.promo-bbn__terms {
    margin: 8px 0 0;
    color: var(--text-soft, var(--text-muted, inherit));
    font-size: 0.78rem;
    line-height: 1.5;
}

.promo-bbn__action {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.promo-bbn__code {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.promo-bbn__code-label {
    color: var(--text-soft, var(--text-muted, inherit));
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.promo-bbn__code-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg, var(--surface-muted, #0f1115));
    border: 1px dashed var(--primary, #e04646);
    border-radius: var(--radius-sm, 5px);
    color: var(--text, inherit);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.promo-bbn__code-btn:hover {
    background: rgba(var(--primary-rgb, 224, 70, 70), 0.1);
}

.promo-bbn__copy-ico { opacity: 0.7; }

.promo-bbn__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 0.82rem 1.3rem;
    border-radius: var(--radius-md, 8px);
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(var(--primary-rgb, 224, 70, 70), 0.24);
}

.promo-bbn[data-variant="band"] .promo-bbn__ico {
    width: 44px;
    height: 44px;
}

.promo-bbn[data-variant="band"] .promo-bbn__title { font-size: 1.15rem; }

@media (max-width: 640px) {
    .promo-cta,
    .promo-bbn__card {
        padding: 1.2rem;
    }
    .promo-cta[data-variant="split"] .promo-cta__action {
        width: 100%;
        min-width: 0;
    }
    .promo-bonus {
        flex-direction: column;
    }
    .promo-bonus__panel {
        flex: 0 0 auto;
        width: 100%;
        min-height: 84px;
        padding: 1.05rem 1rem;
    }
    .promo-bonus__panel::before,
    .promo-bonus__panel::after {
        right: auto;
        left: -10px;
        width: 18px;
        height: 18px;
    }
    .promo-bonus__panel::before { top: auto; bottom: -10px; left: 18%; }
    .promo-bonus__panel::after { left: auto; right: 18%; bottom: -10px; }
    .promo-bonus__main {
        padding: 1.15rem 1.15rem 1.25rem;
    }
    .promo-bonus a.promo-bonus__btn { width: 100%; }
}

/* ── Slots rail ── */
.promo-slots {
    margin: 1.8rem 0 2.2rem;
    min-width: 0;
    max-width: 100%;
}

.promo-slots__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.promo-slots .promo-slots__title,
.promo-slots h2.promo-slots__title,
.promo-slots h3.promo-slots__title,
.promo-slots p.promo-slots__title {
    display: block;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1.25;
    color: var(--text, inherit);
}

.promo-slots__nav { display: flex; gap: 8px; }

.promo-slots__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--surface, #171a21);
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-radius: var(--radius-sm, 5px);
    color: var(--text, inherit);
    cursor: pointer;
}

.promo-slots__btn:hover { border-color: var(--primary, #e04646); }

.promo-slots__viewport {
    display: block;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
    min-width: 0;
    padding: 4px 0 6px;
}

.promo-slots__viewport::-webkit-scrollbar { display: none; }

.promo-slots__track {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.promo-slots__item {
    display: flex;
    flex: 0 0 148px;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface, #171a21);
    border: 1px solid var(--border, rgba(255,255,255,.1));
    border-radius: var(--radius-md, 8px);
    scroll-snap-align: start;
}

.promo-slots__ico {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface-muted, #1f2430);
    text-decoration: none;
}

.promo-slots__ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slots__ico:not(:has(img)) {
    background:
        radial-gradient(circle at 50% 38%, rgba(255,255,255,.08), transparent 46%),
        linear-gradient(160deg, var(--surface-muted, #1f2430), var(--surface, #171a21));
}

.promo-slots__name {
    position: absolute;
    bottom: 6px;
    left: 50%;
    z-index: 2;
    width: max-content;
    max-width: calc(100% - 12px);
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    transform: translateX(-50%);
}

.promo-slots__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--primary, #e04646);
    border-radius: 50%;
    color: var(--on-primary, #fff);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.promo-slots__item:hover .promo-slots__play,
.promo-slots__item:focus-within .promo-slots__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (hover: none) {
    .promo-slots__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 640px) {
    .promo-slots__nav { display: none; }
    .promo-slots__item { flex-basis: 132px; }
}

/* ── Providers ── */
.promo-providers {
    margin: 2rem 0;
    min-width: 0;
    max-width: 100%;
}

.promo-providers__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.2rem;
}

.promo-providers__line {
    flex: 1 1 auto;
    height: 1px;
    background: var(--border, rgba(255,255,255,.1));
}

.promo-providers__title {
    margin: 0;
    color: var(--text-soft, var(--text-muted, inherit));
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-providers__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.promo-providers__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 90px;
    min-width: 72px;
    height: 36px;
    color: var(--text, inherit);
}

.promo-providers__logo {
    display: block;
    max-width: 100%;
    max-height: 28px;
    width: auto;
    height: 28px;
    object-fit: contain;
    filter: grayscale(0.2);
}

.promo-providers__name {
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--text-muted, inherit);
    text-align: center;
}

@media (max-width: 640px) {
    .promo-providers__row {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 2px 2px 8px;
    }

    .promo-providers__row::-webkit-scrollbar { display: none; }

    .promo-providers__item {
        flex: 0 0 auto;
        width: auto;
        min-width: 92px;
        height: 40px;
        padding: 0 8px;
        scroll-snap-align: start;
    }

    .promo-providers__logo {
        max-height: 32px;
        height: 28px;
    }
}


/* === Shortcode Styles === */
/* Shortcode: payments */
.dlmi-sc-payments{margin:2rem 0}.dlmi-sc-payments__title{font-size:1.25rem;font-weight:700;margin-bottom:1.2rem;color:var(--payments-title-color,var(--text))}.dlmi-sc-payments__strip{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.dlmi-sc-payments__pill{display:inline-flex;align-items:center;gap:10px;padding:10px 18px 10px 10px;background:var(--payments-card-bg,var(--surface));border:1px solid var(--payments-card-border,var(--border));border-radius:var(--payments-card-radius,50px);transition:all .35s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 4px rgba(0,0,0,.04);cursor:default}.dlmi-sc-payments__pill:hover{transform:translateY(-2px);box-shadow:0 4px 20px var(--payments-glow,rgba(37,99,235,.15));border-color:var(--payments-hover-border,var(--primary))}.dlmi-sc-payments__pill-icon{width:44px;height:30px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--payments-icon-bg,var(--surface-muted));border-radius:22px;padding:4px 8px}.dlmi-sc-payments__pill-icon img{max-width:100%;max-height:100%;object-fit:contain}.dlmi-sc-payments__pill-name{font-size:.88rem;font-weight:600;white-space:nowrap;color:var(--payments-name-color,var(--text-muted))}@media(max-width:768px){.dlmi-sc-payments__strip{gap:8px}.dlmi-sc-payments__pill{padding:8px 14px 8px 8px}}@media(max-width:480px){.dlmi-sc-payments__pill-icon{width:36px;height:24px}.dlmi-sc-payments__pill-name{font-size:.8rem}.dlmi-sc-payments__pill{padding:6px 10px 6px 6px;gap:8px}}

/* Shortcode: payment-grid */
.dlmi-sc-pgrid{margin:2rem 0}.dlmi-sc-pgrid__title{font-size:1.25rem;font-weight:700;margin-bottom:1.2rem;color:var(--pgrid-title-color,var(--text))}.dlmi-sc-pgrid__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dlmi-sc-pgrid__card{display:flex;align-items:center;gap:14px;padding:14px 16px;position:relative;overflow:hidden;background:var(--pgrid-card-bg,var(--surface));border:1px solid var(--pgrid-card-border,var(--border));border-radius:var(--pgrid-card-radius,14px);text-decoration:none!important;cursor:pointer;transition:all .35s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px rgba(0,0,0,.05)}.dlmi-sc-pgrid__card::after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--pgrid-accent,var(--primary)),transparent);transform:scaleX(0);transform-origin:left;transition:transform .35s}.dlmi-sc-pgrid__card:hover::after{transform:scaleX(1)}.dlmi-sc-pgrid__card:hover{transform:translateY(-3px);box-shadow:0 8px 28px var(--pgrid-glow,rgba(37,99,235,.1));border-color:var(--pgrid-accent,var(--primary))}.dlmi-sc-pgrid__logo{flex-shrink:0;width:48px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--pgrid-icon-bg,var(--surface-muted));border-radius:10px;padding:4px}.dlmi-sc-pgrid__logo img{max-width:100%;max-height:100%;object-fit:contain}.dlmi-sc-pgrid__info{flex:1;min-width:0}.dlmi-sc-pgrid__name{font-size:.9rem;font-weight:600;display:block;color:var(--pgrid-name-color,var(--text))}.dlmi-sc-pgrid__arrow{flex-shrink:0;width:22px;height:22px;color:var(--pgrid-arrow-color,var(--text-muted));opacity:.5;transition:all .3s}.dlmi-sc-pgrid__card:hover .dlmi-sc-pgrid__arrow{opacity:1;color:var(--pgrid-accent,var(--primary));transform:translateX(2px)}@media(max-width:768px){.dlmi-sc-pgrid__grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.dlmi-sc-pgrid__grid{grid-template-columns:1fr;gap:10px}.dlmi-sc-pgrid__card{padding:12px 14px}}
/* --- mirror-hubs: тема (разделы, хабы, карточки, факты, автор, 404) --- */
/* SVG-логотип без собственной ширины схлопывался в 0×0 */
.dlmi-footer__col-brand { flex: 0 0 auto; }
.dlmi-footer__logo img { width: 160px; height: auto; max-height: none; }

/* Страница автора: круглое фото слева от имени */
.author-hero { display: flex; align-items: center; gap: 28px; margin-bottom: 8px; }
.author-hero img.author-hero__photo { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary, #014cef); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.author-hero__info { flex: 1 1 auto; min-width: 0; }
.author-hero__info h1 { margin-top: 0; }
.author-hero__info .content-buttons { justify-content: flex-start; margin-bottom: 0; }
@media (max-width: 600px) {
    .author-hero { gap: 16px; align-items: flex-start; }
    .author-hero img.author-hero__photo { flex-basis: 96px; width: 96px; height: 96px; border-width: 3px; }
}

/* Крошки и блоки с текстом — одна рамка и одно скругление */
.breadcrumbs-wrap .breadcrumbs { border: 1px solid var(--section-border); border-radius: var(--section-radius); background: var(--section-bg); box-shadow: var(--section-shadow); }

/* Промо: код и кнопка одной высоты, на одной линии */
.promo-bbn__action { align-items: flex-end; }
.promo-bbn__code-btn,
.promo-bbn__cta { height: 48px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; line-height: 1; }

/* Таблицы: мягкая подсветка строки с плавным переходом */
table tbody tr { transition: background-color .25s ease; }
table tbody tr:hover { background: rgba(26, 95, 216, 0.05); }

/* Оглавление: карточка во всю ширину, плавное раскрытие по высоте */
.dlmi-sc-toc { display: block; margin: 1.25rem 0; background: #f8fafc; border: 1px solid var(--section-border); border-radius: var(--section-radius); overflow: hidden; }
.dlmi-sc-toc-toggle,
.dlmi-sc-toc.open .dlmi-sc-toc-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.15rem; background: transparent; color: var(--text); border-radius: 0; box-shadow: none; font-size: 1rem; font-weight: 700; letter-spacing: 0; transition: background-color .25s ease; }
.dlmi-sc-toc-toggle:hover,
.dlmi-sc-toc.open .dlmi-sc-toc-toggle:hover { background: rgba(26, 95, 216, 0.05); color: var(--text); box-shadow: none; transform: none; }
.dlmi-sc-toc-title { display: inline-flex; align-items: center; gap: 0.6rem; }
.dlmi-sc-toc-title::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.dlmi-sc-toc-toggle svg { width: 16px; height: 16px; stroke: var(--primary); transition: transform .35s ease; }
.dlmi-sc-toc-list,
.dlmi-sc-toc.open .dlmi-sc-toc-list { display: grid; grid-template-rows: 0fr; padding: 0 1.15rem; background: transparent; border: 0; border-radius: 0; box-shadow: none; animation: none; transition: grid-template-rows .4s ease, padding .4s ease, opacity .3s ease; opacity: 0; }
.dlmi-sc-toc.open .dlmi-sc-toc-list { grid-template-rows: 1fr; padding: 0.15rem 1.15rem 1.1rem; opacity: 1; border-top: 1px solid var(--section-border); }
.dlmi-sc-toc-list > ol { min-height: 0; overflow: hidden; counter-reset: toc; gap: 0.35rem 1.25rem; padding-top: 0.85rem; }
.dlmi-sc-toc-list li { counter-increment: toc; }
.dlmi-sc-toc-list a { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0.6rem; background: transparent; border: 0; border-radius: 8px; color: var(--text-muted); font-size: 0.92rem; transition: background-color .2s ease, color .2s ease; }
.dlmi-sc-toc-list a::before { content: counter(toc); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(26, 95, 216, 0.1); color: var(--primary); font-size: 0.75rem; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.dlmi-sc-toc-list a:hover { background: rgba(26, 95, 216, 0.06); border-color: transparent; box-shadow: none; transform: none; color: var(--primary); }
.dlmi-sc-toc-list a:hover::before { background: var(--primary); color: #fff; }
@media (max-width: 768px) { .dlmi-sc-toc-list > ol { grid-template-columns: 1fr; } }

/* Хабы: сетка карточек */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 1.25rem; }
.page-section a.hub-card,
.page-section a.hub-card:hover { text-decoration: none; color: var(--text); }
.hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--section-border); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.06); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.hub-card:hover { transform: translateY(-4px); border-color: rgba(26,95,216,.45); box-shadow: 0 14px 32px rgba(15,61,145,.16); }
.hub-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0b1f47; }
.page-section .hub-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.hub-card:hover .hub-card__media img { transform: scale(1.06); }
.hub-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,71,.55), transparent 45%); opacity: .7; transition: opacity .3s ease; }
.hub-card:hover .hub-card__media::after { opacity: 1; }
.hub-card__badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.hub-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.hub-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--text); transition: color .25s ease; }
.hub-card:hover .hub-card__title { color: var(--primary); }
.hub-card__desc { font-size: 0.88rem; line-height: 1.5; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.hub-card__more svg { transition: transform .25s ease; }
.hub-card:hover .hub-card__more svg { transform: translateX(4px); }

/* Даты публикации/обновления */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -0.5rem 0 1rem; font-size: 0.85rem; color: var(--text-soft); }
.post-meta svg { color: var(--primary); flex: none; }
.post-meta__sep { opacity: .5; }
.hub-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-soft); }
.hub-card__date svg { color: var(--primary); }

/* Шрифты под французский: Inter — текст, Manrope — заголовки */
:root { --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; --font-heading: 'Manrope', 'Inter', system-ui, sans-serif; --line-height: 1.65; }
body { font-feature-settings: "kern", "liga", "calt"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; hyphens: auto; }
h1, h2, h3, h4, .page-section h1, .page-section h2, .page-section h3, .promo-bbn__title, .hub-card__title, .game-facts__name, .dlmi-sc-toc-toggle { font-family: var(--font-heading); letter-spacing: -0.01em; }
.page-section h1 { font-weight: 800; }
.page-section p, .page-section li { font-size: 1.02rem; }

/* Карточка фактов слота/игры */
.game-facts { margin: 1.25rem 0; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #0b1f47 0%, #13357a 100%); color: #fff; box-shadow: 0 10px 28px rgba(11,31,71,.22); }
.game-facts__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.game-facts__eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fb2ff; }
.game-facts__name { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.game-facts__provider { flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .82rem; font-weight: 600; }
.game-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgba(255,255,255,.08); }
.game-facts__tile { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 14px 16px; background: #0f2a5e; transition: background-color .25s ease; }
.game-facts__tile:hover { background: #143470; }
.game-facts__ico { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(127,178,255,.15); color: #7fb2ff; }
.game-facts__label { font-size: .75rem; color: #b8c7e0; }
.game-facts__value { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: #fff; }
.game-facts__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 20px 16px; }
.game-facts__vol { display: flex; align-items: center; gap: 10px; }
.game-facts__vol b { font-size: .9rem; }
.game-facts__bars { display: inline-flex; gap: 4px; align-items: flex-end; }
.game-facts__bars i { display: block; width: 7px; border-radius: 2px; background: rgba(255,255,255,.18); }
.game-facts__bars i:nth-child(1) { height: 8px; } .game-facts__bars i:nth-child(2) { height: 11px; } .game-facts__bars i:nth-child(3) { height: 14px; } .game-facts__bars i:nth-child(4) { height: 17px; } .game-facts__bars i:nth-child(5) { height: 20px; }
.game-facts__bars i.on { background: #2fa84f; }
.game-facts__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.game-facts__chip { padding: 4px 10px; border-radius: 999px; background: rgba(47,168,79,.18); color: #b5f0c6; font-size: .78rem; font-weight: 600; }
@media (max-width: 600px) { .game-facts__head { flex-wrap: wrap; } .game-facts__grid { grid-template-columns: 1fr 1fr; } }

/* Карточки хаба: без подъёма при наведении — только рамка и тень */
.hub-card:hover { transform: none; }
.hub-card { transition: box-shadow .3s ease, border-color .3s ease; }

/* Кнопки: одна высота, рамка у обеих (иначе разная высота); «Connexion» — контур, «S'inscrire» — зелёная */
.btn, a.btn, .content-buttons .btn { height: 44px; padding: 0 1.4rem; border: 2px solid transparent !important; border-radius: 10px; font-family: var(--font-heading); font-weight: 700; font-size: .95rem; line-height: 1; box-shadow: none; transform: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-register, a.btn.btn-register, .content-buttons .btn-register { background: #2fa84f; color: #fff; border-color: #2fa84f !important; }
.btn-register:hover, a.btn.btn-register:hover, .content-buttons .btn-register:hover { background: #27913f; border-color: #27913f !important; color: #fff; transform: none; box-shadow: none; }
.btn-login, a.btn.btn-login { background: transparent; color: #fff; border-color: rgba(255,255,255,.55) !important; }
.btn-login:hover, a.btn.btn-login:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff !important; }
.content-buttons .btn-login, .page-section a.btn.btn-login { background: transparent; color: var(--primary); border-color: var(--primary) !important; }
.content-buttons .btn-login:hover, .page-section a.btn.btn-login:hover { background: var(--primary); color: #fff; border-color: var(--primary) !important; transform: none; box-shadow: none; }
.page-section a.btn, .page-section a.btn:hover { text-decoration: none; }

/* TOC: в закрытом состоянии без «хвоста» снизу; без синей обводки шапки */
.dlmi-sc-toc-list > ol { padding-top: 0; }
.dlmi-sc-toc.open .dlmi-sc-toc-list { padding-top: 0.85rem; }
.dlmi-sc-toc-toggle, .dlmi-sc-toc.open .dlmi-sc-toc-toggle { border: 0; outline: none; }
.dlmi-sc-toc-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

/* Секции: меньше отступ сверху, когда h2 — начало секции */
.page-section { padding: 1.25rem 1.5rem; }
.page-section > h2:first-child, .page-section > h1:first-child { margin-top: 0; }

/* Автор в строке с датами */
.post-meta__author { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); }
.page-section a.post-meta__author:hover { text-decoration: none; color: var(--primary); }
.page-section .post-meta__author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-meta__author b { color: var(--text); font-weight: 600; }
@media (max-width: 600px) { .page-section { padding: 1rem; } }

/* Блок автора внизу: те же отступы, рамка и скругление, что у секций */
.dlmi-author { margin: 0; padding: 1.25rem 1.5rem; border: 1px solid var(--section-border); border-radius: var(--section-radius); box-shadow: var(--section-shadow); }
.game-facts b, .game-facts strong, .page-section .game-facts__vol b { color: #fff; }
.page-section .game-facts__label { color: #b8c7e0; }

/* Мобильное меню в стиле шапки */
.mobile-nav { background: #0b1f47; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px rgba(11,31,71,.35); }
.mobile-nav.active { padding: 0.5rem 1rem 1.1rem; }
.mobile-nav__links { gap: 2px; }
.mobile-nav__links > a:not(.btn),
.mobile-nav__links > .mobile-dropdown > .mobile-dropdown-toggle { justify-content: space-between; padding: 0.85rem 0.9rem; color: #fff; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; border-radius: 10px; border-bottom: 1px solid rgba(255,255,255,.06); transform: none; }
.mobile-nav__links > a:not(.btn)::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #7fb2ff; border-top: 2px solid #7fb2ff; transform: rotate(45deg); opacity: .8; }
.mobile-nav__links > a:not(.btn):hover,
.mobile-nav__links > a.active { color: #fff; background: rgba(255,255,255,.08); transform: none; }
.mobile-nav__links > a.active { box-shadow: inset 3px 0 0 #2fa84f; }
.mobile-nav__links > a:not(.btn):active { transform: none; }
.mobile-nav__buttons { gap: 10px; padding-top: 1rem; margin-top: 0.75rem; border-top: 0; }
.mobile-nav__buttons .btn { flex: 1; height: 46px; }
.mobile-nav__buttons .btn-login { background: transparent; color: #fff; border-color: rgba(255,255,255,.55) !important; }
.mobile-nav__buttons .btn-register { background: #2fa84f; color: #fff; border-color: #2fa84f !important; }

/* Блок автора */
.dlmi-author { align-items: flex-start; gap: 16px; }
.dlmi-author__photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(26,95,216,.2); }
.dlmi-author__role { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.dlmi-author__name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; }
.dlmi-author__bio { margin-top: 6px; font-size: .92rem; line-height: 1.6; color: var(--text-soft); hyphens: manual; }
.dlmi-author__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .88rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.dlmi-author__more:hover { text-decoration: none; color: var(--accent); }
@media (max-width: 768px) {
    .dlmi-author { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; text-align: left; padding: 1.1rem; }
    .dlmi-author__photo { grid-row: 1; margin: 0; }
    .dlmi-author__photo img { width: 56px; height: 56px; }
    .dlmi-author__info { display: contents; }
    .dlmi-author__role { grid-column: 2; align-self: end; }
    .dlmi-author__name { grid-column: 2; align-self: start; text-align: left; }
    .dlmi-author__bio, .dlmi-author__more { grid-column: 1 / -1; text-align: left; }
    .dlmi-author__bio { margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Футер на мобильном */
.dlmi-footer__desc { color: #c7d2e3; }
@media (max-width: 768px) {
    .dlmi-footer__inner { padding-left: 1.25rem; padding-right: 1.25rem; }
    .dlmi-footer__top { flex-direction: column; align-items: flex-start; text-align: left; gap: 1.25rem; }
    .dlmi-footer__col-brand, .dlmi-footer__col-desc, .dlmi-footer__col-pages { width: 100%; text-align: left; }
    .dlmi-footer__logo img { width: 130px; margin: 0; }
    .dlmi-footer__desc { font-size: .9rem; line-height: 1.6; }
    .dlmi-footer__pages-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; justify-content: start; }
    .dlmi-footer__pages-nav a { font-size: .92rem; color: #fff; }
    .dlmi-footer__bottom-inner { justify-content: flex-start; text-align: left; padding-right: 64px; }
    .dlmi-footer__copy { text-align: left; font-size: .85rem; color: #c7d2e3; }
}

/* FAQ: плавное раскрытие по реальной высоте (grid 0fr → 1fr вместо max-height: 2000px) */
.faq-answer { display: grid; grid-template-rows: 0fr; max-height: none; overflow: hidden; transition: grid-template-rows .4s cubic-bezier(.4,0,.2,1); }
.faq-answer.active { grid-template-rows: 1fr; max-height: none; }
.faq-answer::before { display: none; }
.faq-answer > .faq-answer-inner { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .35s ease; }
.faq-answer.active > .faq-answer-inner { opacity: 1; transform: none; border-top: 1px solid var(--faq-border); }
.faq-icon { transition: transform .3s ease, background-color .3s ease; }

/* Шапка статьи: автор + даты плашками */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: -0.35rem 0 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--section-border); }
.post-meta__author { gap: 10px; font-size: .92rem; }
.page-section .post-meta__author img { width: 32px; height: 32px; }
.post-meta__by { color: var(--text-soft); font-weight: 400; }
.post-meta__items { display: flex; flex-wrap: wrap; gap: 6px; }
.post-meta__item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #f1f5fb; color: var(--text-soft); font-size: .8rem; line-height: 1.2; white-space: nowrap; }
.post-meta__item svg { color: var(--primary); flex: none; }
.post-meta__sep { display: none; }
h1, h2, h3, .page-section h1, .page-section h2, .page-section h3 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
@media (max-width: 600px) {
    .page-section h1 { font-size: 1.6rem; line-height: 1.22; }
    .page-section h2 { font-size: 1.3rem; }
    .post-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
    .post-meta__item { font-size: .76rem; padding: 4px 9px; }
}

/* Мобильная версия: меньше полей по бокам, кнопки на всю ширину, без автопереносов */
body { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 600px) {
    .page-wrapper__inner { padding: 0 8px; gap: 8px; }
    .breadcrumbs-wrap { padding: 8px 8px 0; }
    .breadcrumbs-wrap .breadcrumbs { padding: .5rem .85rem; font-size: .8rem; }
    .breadcrumbs-wrap + .page-wrapper { padding-top: 8px; }
    .page-section { padding: 1.1rem 1rem; border-radius: 14px; }
    .page-section p, .page-section li { font-size: 1rem; line-height: 1.65; }
    .content-buttons { gap: 8px; }
    .content-buttons .btn { flex: 1 1 0; min-width: 0; padding: 0 .75rem; }
    .page-section figure.be-img-center { margin-left: 0; margin-right: 0; }
    .page-section figure img { border-radius: 12px; }
    .game-facts { margin-left: -4px; margin-right: -4px; border-radius: 14px; }
    .dlmi-sc-toc { margin: 1rem 0; }
    .content-table-wrapper { margin-left: -4px; margin-right: -4px; }
}
.faq-answer > .faq-answer-inner { padding-top: 0; padding-bottom: 0; transition: opacity .3s ease, transform .35s ease, padding .4s cubic-bezier(.4,0,.2,1); }
.faq-answer.active > .faq-answer-inner { padding-top: 1rem; padding-bottom: 1.25rem; }
@media (max-width: 768px) {
    .dlmi-author { grid-template-rows: auto auto; row-gap: 0; align-items: center; }
    .dlmi-author__photo { grid-row: 1 / 3; grid-column: 1; align-self: center; }
    .dlmi-author__role { grid-row: 1; align-self: end; margin: 0; }
    .dlmi-author__name { grid-row: 2; align-self: start; }
    .dlmi-author__bio { grid-row: 3; }
    .dlmi-author__more { grid-row: 4; }
}

/* «À lire aussi» — ссылки-карточки */
.related-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.page-section .related-list li { margin: 0; padding: 0; }
.page-section .related-list li::before, .related-list li::marker { content: none; }
.page-section .related-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--section-border); border-radius: 12px; background: #f8fafc; color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.35; text-decoration: none; transition: border-color .25s ease, background-color .25s ease, color .25s ease; }
.page-section .related-list a::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--primary); border-top: 2px solid var(--primary); transform: rotate(45deg); }
.page-section .related-list a:hover { border-color: rgba(26,95,216,.45); background: #fff; color: var(--primary); text-decoration: none; }
#bonus { scroll-margin-top: 90px; }
.content-buttons--cta { margin: .9rem 0 1.25rem; }
.content-buttons--cta .btn { min-width: 220px; }
@media (max-width: 600px) { .content-buttons--cta .btn { width: 100%; } }
.hub-grid--related { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: .75rem; }
.hub-grid--related .hub-card__title { font-size: .98rem; }

/* Кнопки сразу под картинкой — небольшой отступ (десктоп и мобильный) */
.page-section figure.be-img-center { margin-top: 1rem; margin-bottom: 0; }
.page-section figure.be-img-center + .content-buttons { margin-top: .75rem; margin-bottom: 1rem; }
.page-section figure.be-img-center + .content-buttons--cta { margin-top: .75rem; margin-bottom: 1.1rem; }
.page-section figure.be-img-center + p, .page-section figure.be-img-center + ul { margin-top: 1rem; }

/* Промо-бонус: ровные отступы; на мобильном — компактная карточка, код и кнопка на всю ширину */
.promo-bbn { margin: 1.25rem 0; }
@media (max-width: 600px) {
    .promo-bbn__card { display: grid; grid-template-columns: 44px 1fr; gap: 12px 14px; align-items: center; padding: 1rem; border-radius: 14px;
        background: linear-gradient(135deg, #0b1f47 0%, #13357a 100%); border: 0; border-top: 0 !important; box-shadow: 0 10px 24px rgba(11,31,71,.25); }
    .promo-bbn__ico { width: 44px; height: 44px; background: rgba(127,178,255,.15); color: #7fb2ff; border-radius: 12px; }
    .promo-bbn__body { flex: none; }
    .promo-bbn__title { font-size: 1.05rem; color: #fff; }
    .promo-bbn__terms { margin-top: 4px; color: #b8c7e0; font-size: .82rem; }
    .promo-bbn__action { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; width: 100%; }
    .promo-bbn__code { min-width: 0; }
    .promo-bbn__code-label { color: #7fb2ff; font-size: .66rem; }
    .promo-bbn__code-btn { width: 100%; justify-content: center; background: rgba(255,255,255,.08); border-color: rgba(127,178,255,.6); color: #fff; }
    .promo-bbn__cta { width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
    .page-section .promo-bbn .promo-bbn__title { color: #fff; margin: 0; }
    .page-section .promo-bbn .promo-bbn__terms { color: #b8c7e0; margin: 4px 0 0; font-size: .82rem; line-height: 1.4; }
    .page-section .promo-bbn .promo-bbn__eyebrow { color: #7fb2ff; }
}
.promo-bbn .promo-bbn__cta, .promo-bbn .promo-bbn__code-btn { height: 48px; }

/* Способы оплаты: без прыжка; на мобильном — ровная сетка 2 колонки */
.dlmi-sc-payments__pill { transition: border-color .25s ease, box-shadow .25s ease; border-color: var(--section-border); background: #f8fafc; }
.dlmi-sc-payments__pill:hover { transform: none; border-color: rgba(26,95,216,.45); box-shadow: 0 4px 14px rgba(15,61,145,.1); }
.dlmi-sc-payments__pill-icon { background: #fff; }
.dlmi-sc-payments__pill-name { color: var(--text); }
@media (max-width: 600px) {
    .dlmi-sc-payments { margin: 1.25rem 0; }
    .dlmi-sc-payments__strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .dlmi-sc-payments__pill { justify-content: flex-start; min-width: 0; padding: 8px 10px 8px 8px; border-radius: 12px; }
    .dlmi-sc-payments__pill-icon { width: 34px; height: 34px; padding: 4px; border-radius: 10px; }
    .dlmi-sc-payments__pill-name { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; }
}

/* Провайдеры: логотипы меньше, в плашках; на мобильном — только горизонтальная лента */
.promo-providers { margin: 1.5rem 0; }
.promo-providers__item { flex: 0 1 auto; min-width: 0; height: 52px; padding: 0 16px; background: #f8fafc; border: 1px solid var(--section-border); border-radius: 12px; }
.page-section .promo-providers__logo { height: 22px; max-height: 22px; max-width: 110px; border-radius: 0; }
.promo-providers__row { justify-content: center; gap: 10px; }
@media (max-width: 640px) {
    .promo-providers__row { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; touch-action: pan-x; overscroll-behavior: contain; scroll-snap-type: x proximity; padding: 2px 2px 6px; margin: 0 -2px; }
    .promo-providers__item { flex: 0 0 auto; height: 46px; padding: 0 14px; scroll-snap-align: start; }
    .page-section .promo-providers__logo { height: 18px; max-height: 18px; max-width: 92px; }
    .promo-providers__head { margin-bottom: .8rem; }
}
.page-section ul.promo-providers__row { padding-left: 2px; padding-right: 2px; }
.page-section .promo-providers__row li { margin: 0; }

/* Провайдеры: без плашек, логотипы крупнее; на мобильном видно 2–3 и дальше скролл */
.promo-providers__item { background: transparent; border: 0; padding: 0 6px; height: 48px; }
.page-section .promo-providers__logo { height: 30px; max-height: 30px; max-width: 150px; }
@media (max-width: 640px) {
    .promo-providers__row { gap: 18px; padding-bottom: 4px; }
    .promo-providers__item { flex: 0 0 40%; height: 52px; padding: 0; }
    .page-section .promo-providers__logo { height: 32px; max-height: 32px; max-width: 100%; }
}

/* Провайдеры на десктопе — как в исходном шаблоне (правки выше только для мобильного) */
@media (min-width: 641px) {
    .promo-providers { margin: 2rem 0; }
    .promo-providers__row { justify-content: space-between; gap: 16px 20px; }
    .promo-providers__item { flex: 1 1 90px; min-width: 72px; height: 36px; padding: 0; background: transparent; border: 0; border-radius: 0; }
    .page-section .promo-providers__logo { height: 28px; max-height: 28px; max-width: 100%; }
}

/* 404 */
.err404 { position: relative; overflow: hidden; text-align: center; padding: 3.5rem 1.5rem 3rem; border-radius: 18px; color: #fff;
    background: radial-gradient(60% 80% at 50% 0%, rgba(47,114,230,.45), transparent 70%), linear-gradient(135deg, #0b1f47 0%, #13357a 100%);
    box-shadow: 0 16px 40px rgba(11,31,71,.25); }
.err404::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.err404 > * { position: relative; }
.err404__code { font-family: var(--font-heading); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em;
    background: linear-gradient(180deg, #fff 20%, #7fb2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 60px rgba(127,178,255,.35); }
.err404__title { margin: .75rem 0 .5rem; font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: #fff; }
.err404__message { max-width: 520px; margin: 0 auto; color: #c7d2e3; font-size: 1rem; line-height: 1.6; }
.err404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1.75rem; }
.err404__hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: .5rem; }
.page-section a.err404__hub { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--section-border); border-radius: 14px; background: #f8fafc; color: var(--text); text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.page-section a.err404__hub:hover { border-color: rgba(26,95,216,.45); background: #fff; box-shadow: 0 8px 22px rgba(15,61,145,.1); text-decoration: none; }
.err404__hub-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(26,95,216,.1); color: var(--primary); }
.err404__hub b { display: block; font-family: var(--font-heading); font-size: 1rem; }
.err404__hub small { display: block; color: var(--text-soft); font-size: .84rem; }
@media (max-width: 600px) { .err404 { padding: 2.5rem 1rem 2rem; } .err404__actions .btn { flex: 1 1 100%; } }
.hub-grid > p { grid-column: 1 / -1; }
@media (max-width: 640px) {
    .promo-providers__row { gap: 28px; padding-bottom: 0; }
    .promo-providers__item { flex: 0 0 auto; height: 44px; padding: 0; }
    .page-section .promo-providers__logo { height: 34px; max-height: 34px; width: auto; max-width: 150px; }
    .promo-providers { margin-bottom: .5rem; }
}

/* Карточка фактов: подпись провайдера; на мобильном — список строк вместо сетки */
.game-facts__provider { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 1px; line-height: 1.15; border-radius: 12px; padding: 6px 12px; }
.game-facts__provider small { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7fb2ff; }
@media (max-width: 600px) {
    .game-facts__head { display: block; padding: 14px 16px; }
    .game-facts__provider { display: flex; flex-direction: row; align-items: baseline; gap: 6px; margin-top: 6px; padding: 0; background: none; border: 0; font-size: .88rem; color: #c7d2e3; }
    .game-facts__provider small { font-size: .7rem; letter-spacing: .06em; }
    .game-facts__provider small::after { content: " :"; }
    .game-facts__grid { display: block; background: none; }
    .game-facts__tile { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: transparent; border-top: 1px solid rgba(255,255,255,.07); }
    .game-facts__tile:hover { background: transparent; }
    .game-facts__ico { width: 32px; height: 32px; border-radius: 9px; }
    .game-facts__label { flex: 1; font-size: .86rem; }
    .game-facts__value { font-size: .98rem; text-align: right; }
    .game-facts__foot { border-top: 1px solid rgba(255,255,255,.07); padding: 12px 16px 14px; }
    .game-facts { margin-left: 0; margin-right: 0; }
}
.game-facts__chips-label { align-self: center; margin-right: 4px; color: #b8c7e0; }


/* === Custom CSS === */
:root { --table-row-hover: rgba(var(--primary-rgb), 0.04); }