/*
 * Manrope (текст), Montserrat Bold (кнопки, заголовки, hero) — локальный woff2; Orbitron + Google — см. template.php
 */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../font/montserrat.bold.woff2") format("woff2");
}

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

:root {
    /* Статичные + бренд: --primary / --glow и производные script.js пересчитывает с логотипа (Color Thief + HSL). */

    --primary: #c9a227;
    --glow: rgba(201, 162, 39, 0.4);

    --base-bg: #020203;
    --body-bg: #030305;
    --body-bg-glow: radial-gradient(
        ellipse 115% 75% at 50% -18%,
        rgba(201, 162, 39, 0.08) 0%,
        rgba(47, 111, 255, 0.05) 45%,
        transparent 60%
    );
    --body-color: #f5f3ef;
    --border-faint: rgba(255, 255, 255, 0.08);
    --close-btn-hover: #3cc886;
    --drop-shadow-hero: rgba(0, 0, 0, 0.5);
    --footer-link-hover: #e0d2b0;
    --footer-surface: #0a0a0c;
    --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /* Montserrat Bold: один начертан (700) в woff2 — веса 600/400 везде ведут на 700, fallback на Orbitron/Manrope */
    --font-heading: "Montserrat", "Orbitron", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-btn: "Montserrat", "Orbitron", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --glow-bright: rgba(201, 162, 39, 0.26);
    --hamburger-rim: #4a4540;
    --hamburger-surface-1: #0c0d10;
    --hamburger-surface-2: #050506;
    --header-bg: #121116;
    --header-menu-pill-bg: rgba(201, 162, 39, 0.08);
    --hero-mobile-overlay-1: #010101;
    --hero-mobile-overlay-2: rgba(0, 0, 0, 0.55);
    --hero-mobile-overlay-3: transparent;
    --hero-title-from: #f0ebe3;
    --hero-title-to: #5c2868;
    --line-accent: #4f4520;
    --menu-mobile-bg: #010101;
    --nav-item-hover: #e5d4a0;
    --nav-sidebar-bg: #06090e;
    --nav-sidebar-border: #1e315e;
    --overlay-scrim: rgba(0, 0, 0, 0.62);
    --primary-hover: #a88b1f;
    --primary-shadow: rgba(201, 162, 39, 0.35);
    --shadow-soft: rgba(0, 0, 0, 0.35);
    --sidebar-glow-32: rgba(201, 162, 39, 0.2);
    --sidebar-glow-50: rgba(201, 162, 39, 0.16);
    --sidebar-link-base: #06080f;
    --surface-table: #07090e;
    --surface-zebra: rgba(255, 255, 255, 0.03);
    --text-heading: #f5f3ef;
    --text-primary: #f5f3ef;
    --text-secondary: #d4cfc6;
    /* Текст и ссылки: лёгкий оттенок hue с логотипа (script.js) */
    --link-inline: #c9a87a;
    --on-accent-text: #140500;
    --on-hero-cta: #faf6ee;
    --text-shadow-bright: rgba(255, 250, 245, 0.5);
    --ui-border: #2a3148;
}

body {
    font-family: var(--font-sans);
    background-color: var(--body-bg, var(--base-bg));
    background-image: var(--body-bg-glow);
    background-repeat: no-repeat;
    color: var(--body-color, var(--text-primary));
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
}

h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    line-height: 54px;
    font-weight: 700;
    padding: 10px 0;
}

h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    padding: 15px 0;
}

h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    padding: 15px 0;
}

h4 {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    padding: 15px 0;
}

h5 {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    padding: 10px 0;
}

h6 {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    padding: 10px 0;
}

h1, h2, h3, h4, h5, h6 {
    background: linear-gradient(180deg, var(--hero-title-from) 0%, var(--primary) 95%, var(--hero-title-to) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    box-sizing: border-box;
    border-bottom: 3px solid var(--line-accent);
    box-shadow: 0 4px 6px var(--shadow-soft);
    border-radius: 1rem;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
   max-width: 120px;
    height: auto;
}

.hamburger {
    width: 52px;
    height: 40px;
    background: linear-gradient(180deg, var(--hamburger-surface-1) 0%, var(--hamburger-surface-2) 100%);
    border: 1px solid var(--hamburger-rim);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hamburger__icon,
.hamburger__icon::before,
.hamburger__icon::after {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--text-primary);
    box-shadow: 0 0 10px var(--glow-bright);
}

.hamburger__icon {
    position: relative;
}

.hamburger__icon::before,
.hamburger__icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger__icon::before {
    top: -8px;
}

.hamburger__icon::after {
    top: 8px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-scrim);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.header__nav {
    display: none;
}

.header__actions {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 10px 20px;
    font-family: var(--font-btn);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--ui-border);
    box-sizing: border-box;
}

.btn--login {
    border: 1px solid var(--primary-hover);
    background: var(--primary);
    color: var(--on-hero-cta);
    box-shadow: 0 0 16px var(--primary-shadow);
}

.btn--login:hover {
    background: var(--primary-hover);
    filter: brightness(1.05);
}

.btn--register {
    border: 1px solid var(--primary-hover);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--on-accent-text, #140500);
    box-shadow: 0 0 14px var(--glow);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--register:hover {
    filter: brightness(1.07);
}

/* Кнопка CTA в баннере — те же --primary, что и у шапки (скрипт с логотипа) */
.btn--hero {
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    min-height: 52px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    color: var(--on-hero-cta);
    font-family: var(--font-btn);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(100deg, var(--primary) 0%, var(--primary-hover) 100%);
    box-shadow:
        0 0 0 1px var(--glow),
        0 4px 0 rgba(0, 0, 0, 0.28),
        0 0 24px var(--primary-shadow);
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.btn--hero:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px var(--glow),
        0 5px 0 rgba(0, 0, 0, 0.25),
        0 0 32px var(--glow);
}

.btn--hero:active {
    transform: translateY(1px);
    filter: brightness(0.98);
}

.btn--hero .btn-left,
.btn--hero .btn-right {
    flex: 0 0 0.9rem;
    min-width: 0.9rem;
    align-self: stretch;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, transparent 100%);
    pointer-events: none;
}

.btn--hero .btn-right {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.18) 0%, transparent 100%);
}

.btn--hero .btn-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    min-width: 0;
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    color: var(--on-hero-cta);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 200px;
    height: calc(100vh - 90px);
    background: var(--nav-sidebar-bg);
    border-right: 1px solid var(--nav-sidebar-border);
    z-index: 50;
    transition: transform 0.3s ease;
}

.sidebar__close {
    display: none;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 15px;
    margin-top: 30px;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(180deg, var(--sidebar-link-base) 0%, var(--sidebar-glow-32) 100%);

    border-radius: 8px;
    box-sizing: border-box;
}

.sidebar__link::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('../img/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: -1;
}

.sidebar__link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background:
            radial-gradient(circle at 0% 70%, var(--sidebar-glow-32) 0%, transparent 50%),
            radial-gradient(circle at 100% 90%, var(--sidebar-glow-50) 0%, transparent 50%),
            radial-gradient(circle at 50% 0%, var(--sidebar-glow-32) 0%, transparent 50%);
    -webkit-mask: linear-gradient(var(--text-primary) 0 0) content-box, linear-gradient(var(--text-primary) 0 0);
    mask: linear-gradient(var(--text-primary) 0 0) content-box, linear-gradient(var(--text-primary) 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sidebar__link > * {
    position: relative;
    z-index: 1;
}

.sidebar__link:hover::before {
    opacity: 1;
}

.main {
    margin-left: 0;
    padding: 0;
}

.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin-top: 10px;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}
.hero__content {
    position: relative;
    z-index: 10;
    overflow: visible;
    max-width: 550px;
    text-align: left;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--hero-title-from) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 4px var(--drop-shadow-hero)) drop-shadow(0.5px 0.5px 0px var(--text-shadow-bright));
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 55px;
    margin-bottom: 25px;
    line-height: 1.2;
    /* Градиент: светлый бренд → акцент логотипа (см. --hero-title-from / --primary) */
    background: linear-gradient(180deg, var(--hero-title-from) 0%, var(--primary) 95%, var(--hero-title-to) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.content {
    padding: 15px 0 40px;
}

p a,
.content a:not([class]),
.lexical-table-container a {
    color: var(--link-inline);
    transition: color 0.2s ease;
}
p a:hover,
.content a:not([class]):hover,
.lexical-table-container a:hover {
    color: var(--primary);
}

p {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 16px;
    
}

.content ul, .content ol {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--on-hero-cta);
    margin-bottom: 16px;
    padding: 24px 35px;
    border-radius: 13px;
    border: 2px solid var(--primary);
}

ul li, ol li {
    margin-bottom: 8px;
}

ul li::marker, 
ol li::marker {
    color: var(--primary);
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

a {
    font-family: var(--font-sans);
    font-weight: 400;
}

.lexical-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lexical-table {
    margin: 30px 0;
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: var(--primary-hover);
    border-radius: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.lexical-table tr {
    border-bottom: 1px solid var(--border-faint);
}

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

.lexical-table tr:nth-child(even) {
    background: var(--surface-zebra);
}

.lexical-table td {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 22px;
    border: none!important;
}

.lexical-table td p {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}

.table-label {
    color: var(--text-primary);
    font-weight: 500;
    width: 50%;
}

.table-value {
    color: var(--text-primary);
    font-weight: normal;
    text-align: left;
}

.footer {
    margin-top: 64px;
    text-align: center;
    background: var(--footer-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-faint);
    box-shadow: 0 4px 6px var(--shadow-soft);
    border-top: 1px solid var(--line-accent);
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 1rem;
}


.footer__logo {
    margin-bottom: 32px;
}

.footer__logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer__link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--footer-link-hover);
}


.footer__licenses {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer__licenses img {
    height: 60px;
    width: 75px;
    object-fit: contain;
    margin: 0;
}

.footer__payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer__payments img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer__disclaimer {
    margin-bottom: 16px;
}

.footer__disclaimer p {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    margin-bottom: 0;
}

.footer__copyright p {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .sidebar {
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        width: 100%;
        height: 100vh;
        background: var(--menu-mobile-bg);
        border-left: 1px solid var(--border-faint);
        z-index: 1000;
        transition: right 0.3s ease;
    }

    .sidebar.active {
        right: 0;
    }

    .sidebar__close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 40px;
        cursor: pointer;
        line-height: 1;
        padding: 0;
        width: 40px;
        height: 40px;
        transition: all 0.3s ease;
    }

    .sidebar__close:hover {
        color: var(--close-btn-hover);
        transform: rotate(90deg);
    }

    .sidebar__nav {
        margin-top: 80px;
        padding: 20px 10px;
    }

    .sidebar__link {
        font-size: 18px;
        padding: 14px 20px;
    }

    .main {
        margin-left: 0;
        padding: 0;
    }

    .container {
        padding: 0 16px;
    }

    .content {
        padding: 16px 0;
    }
    
    .header .container {
        display: flex;
        align-items: center;
        gap: 0px;
        flex-wrap: nowrap;
        padding: 0 16px;
    }

    .header__logo {
        flex: 1;
        display: flex;
        justify-content: center;
        order: 2;
    }



    .header__actions {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: flex;
        gap: 8px;
        padding: 10px 16px;
    }

    .btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 16px;
        width: auto;
        height: 38px;
    }

    .header__logo img {
        max-width: 120px;
        height: 45px;
        object-fit: contain;
    }

    .hero .container {
        z-index: 1;
    }
    .hero {
        position: relative;
        background-size: cover;
        background-position: top center;
        overflow: hidden;
        margin-bottom: 0;
        min-height: 400px;
        display: flex;
        border-radius: 0;
        margin-top: 50px;
        align-items: end;
    }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            360deg,
            var(--hero-mobile-overlay-1) 10.48%,
            var(--hero-mobile-overlay-2) 36%,
            var(--hero-mobile-overlay-3) 80.23%
        );
        z-index: 0;
        pointer-events: none;
    }

    .hero__content {
        position: static;
        text-align: center;
        padding: 20px 10px;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .hero__title {
        font-size: 40px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 10px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .btn--hero {
        height: 60px;
    }

    .btn--hero .btn-center {
        font-size: 18px;
        padding: 12px 8px;
    }

    .lexical-table-container {
        overflow-x: auto;
    }

    .lexical-table {
        min-width: auto;
        white-space: normal;
    }

    .lexical-table td {
        padding: 6px;
        font-size: 14px;
    }

    .table-label {
        font-size: 14px;
    }

    .table-value {
        font-size: 14px;
    }

    h1 {
        font-size: 31px;
        line-height: 33px;
    }

    h2 {
        font-size: 29px;
        line-height: 32px;
    }

    h3 {
        font-size: 27px;
        line-height: 29px;
    }

    h4 {
        font-size: 24px;
        line-height: 26px;
    }

    h5 {
        font-size: 20px;
        line-height: 24px;
    }

    h6 {
        font-size: 19px;
        line-height: 20px;
    }

    p {
        font-size: 16px;
        line-height: 22px;
    }

    ul, ol {
        font-size: 16px;
        line-height: 22px;
    }

    .footer {
        padding: 32px 0 24px;
        margin-top: 48px;
    }

    .footer__logo {
        margin-bottom: 24px;
    }

    .footer__logo img {
        max-width: 160px;
    }

    .footer__nav {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .footer__link {
        font-size: 14px;
    }

    .footer__licenses {
        gap: 16px;
        margin-bottom: 20px;
    }

    .footer__licenses img {
        height: 32px;
        padding: 0;
    }

    .footer__payments {
        gap: 16px;
        margin-bottom: 24px;
    }

    .footer__payments img {
        height: 30px;
        padding: 0;
    }

    .footer__disclaimer p,
    .footer__copyright p {
        font-size: 12px;
        line-height: 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero__title {
        font-size: 40px;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .overlay {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .header .container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 7px;
    }

    .header__logo {
        flex: 0 0 auto;
    }

    .header__nav {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        order: 3;
    }

    .header__menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .header__menu-item {
        display: flex;
        height: 100%;
        border-radius: 10px;
        border-bottom: 2px solid var(--line-accent);
        background: var(--header-menu-pill-bg);
    }

    .header__link {
        color: var(--text-primary);
        text-decoration: none;
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: 14px;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        padding: 5px 14px;
        letter-spacing: 1.1px;
    }

    .header__link:hover {
        color: var(--nav-item-hover);
    }

    .header__actions {
        display: flex;
        gap: 8px;
        margin-left: auto;
    }

    .hero {
        min-height: 450px;
        display: flex;
        align-items: center;
    }

    .btn--secondary {
        font-size: 16px;
    }
}

[dir="rtl"] .hero .container {
    display: flex;
    justify-content: flex-end;
}
[dir="rtl"] [style*="text-align: left"] {
    text-align: inherit !important;
}
[dir="rtl"] .btn--hero {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn--hero .btn-left {
    background: linear-gradient(
        270deg,
        rgba(2, 2, 3, 0.55) 0%,
        transparent 100%
    );
}

[dir="rtl"] .btn--hero .btn-right {
    background: linear-gradient(
        90deg,
        rgba(2, 2, 3, 0.55) 0%,
        transparent 100%
    );
}



/* --- Slots Block Styles --- */
.slots-wrapper {
  margin: 30px 0;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
}
.slot-card {
  text-align: center;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1;
}
.slot-image {
  border-radius: 6px;
  overflow: hidden;
}
.slot-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.slot-name {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: calc(100% - 16px);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  background: #450C88;
  color: #FFFFFF;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
}
.slot-card:hover .slot-name{
  opacity: 1;
}
.slot-card:hover::before {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
@media (max-width: 600px) {
  .slots-grid {
    gap: 10px;
  }
  .slot-name {
    font-size: 12px;
  }
}


/* --- Review Block Styles --- */
#review-block {
  margin: 32px 0;
  background: #151b3a;
  border-radius: 14px;
  padding: 20px 16px 16px;
  overflow: hidden;
}
#review-block .review-block__header {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 16px;
  padding: 0 24px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}
.review-block__header span:first-child{
  padding-left: 32px;
}
.review-block__header span:nth-child(2){
  text-align: center;
}
#review-block .review-block__row {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
#review-block .review-block__row:last-child{
  margin: 0;
}
#review-block .review-block__row:hover {
  background: rgba(255, 255, 255, 0.05);
}
#review-block .review-block__row--highlighted {
  background: rgba(80, 100, 200, 0.18);
  border-color: rgba(100, 120, 220, 0.25);
}
#review-block .review-block__row--highlighted:hover {
  background: rgba(80, 100, 200, 0.24);
}
#review-block .review-block__label {
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  transform: rotate(-46deg) translate(-36px, -11px);
  height: 20px;
  padding: 0;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 20px;
  color: #fff;
}
#review-block .review-block__casino {
  display: flex;
  align-items: center;
  gap: 12px;
}
#review-block .review-block__number {
  font-weight: 700;
  font-size: 15px;
  min-width: 20px;
  color: rgba(255, 255, 255, 0.7);
}
#review-block .review-block__logo-wrapper{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
}
#review-block .review-block__logo {
  object-fit: contain;
  box-shadow: none;
  max-height: 90px;
  margin: 0;
}
#review-block .review-block__name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-grow: 1;
}
#review-block .review-block__bonus {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
#review-block .review-block__bonus:has(span:nth-child(2)) span:first-child{
  color: #FFDA03;
}
#review-block .review-block__bonus strong,
#review-block .review-block__bonus b {
  color: #fff;
  font-weight: 700;
}
#review-block .review-block__code {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
#review-block .review-block__action {
  display: flex;
  justify-content: flex-end;
}
#review-block .review-block__button {
  display: inline-block;
  padding: 12px 32px;
  background: #e91e63;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}
#review-block .review-block__button:hover {
  background: #d81b60;
  transform: translateY(-1px);
}
@media (max-width: 750px) and (min-width: 601px) {
  #review-block .review-block__header {
    grid-template-columns: 1fr 1fr;
  }
  #review-block .review-block__row {
    grid-template-columns: 1fr 1fr;
  }
  .review-block__action {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  #review-block .review-block__button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #review-block {
    padding: 8px;
  }
  #review-block .review-block__header {
    display: none;
  }
  #review-block .review-block__row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding: 20px 16px;
  }
  #review-block .review-block__logo-wrapper {
    height: auto;
  }
  #review-block .review-block__casino {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  #review-block .review-block__name {
    font-size: 15px;
  }
  #review-block .review-block__bonus {
    font-size: 15px;
  }
  #review-block .review-block__action {
    justify-content: center;
  }
  #review-block .review-block__button {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
}


/* --- Author block --- */
.content .author-block {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}
.content .author-block__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.content .author-block--no-bio .author-block__inner {
  align-items: center;
}
.content .author-block--no-bio .author-block__name {
  margin-bottom: 0;
}
.content .author-block__photo {
  flex-shrink: 0;
  align-self: flex-start;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}
.content .author-block--no-bio .author-block__photo {
  align-self: center;
}
.content .author-block__photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
}
.content .author-block__body {
  min-width: 0;
  flex: 1;
}
.content .author-block__name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 6px;
}
.content .author-block__bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}


/* --- FAQ block (no font-family; inherits theme) --- */
.faq-block {
  margin: 28px 0;
  max-width: 100%;
}
.faq-block__item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.faq-block__item:last-child {
  margin-bottom: 0;
}
.faq-block__summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  padding-right: 32px;
}
.faq-block__summary::-webkit-details-marker {
  display: none;
}
.faq-block__summary::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.55;
}
.faq-block__item[open] .faq-block__summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq-block__summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 6px;
}
.faq-block__answer {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.55;
}
.faq-block__answer > *:first-child {
  margin-top: 12px;
}


.content .post-date {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
}
.content .post-date__label {
  margin-inline-end: 0.35em;
}
.content .post-date time {
  font-weight: 500;
}
