/* ============================================
   Dark Casino Template — 7K Style
   Variables are replaced during export
   ============================================ */

:root {
    --primary-color: #375ae6;
    --secondary-color: #1ebcf1;
    --bg-color: #131334;
    --text-color: #ffffff;
    --heading-color: #ffffff;
    --link-color: #e7f702;
    --font-family: Inter, sans-serif;
    --font-size-base: 16px;
    --heading-font-size: 34px;
    --container-width: 1200px;
    --header-bg: #1d1d72;
    --footer-bg: #1d1d72;
    --footer-text: #ffffff;

    /* Buttons */
    --btn-bg: #06f42e;
    --btn-text: #000000;
    --btn-hover-bg: #00eeff;
    --btn-radius: 8px;
    --btn-padding-y: 10px;
    --btn-padding-x: 24px;
    --btn-font-size: 14px;
    --btn-ghost-bg: #181042;
    --btn-ghost-text: #ffffff;
    --btn-ghost-border: #3a3a44;
    --btn-ghost-hover-bg: #ffffff;
    --btn-ghost-hover-text: #0d0d0f;

    /* Content buttons */
    --btn-content-bg: #09f005;
    --btn-content-text: #000000;
    --btn-content-hover-bg: #00c0f0;
    --btn-content-ghost-bg: #0ff51e;
    --btn-content-ghost-text: #ffffff;
    --btn-content-ghost-border: #3a3a44;
    --btn-content-ghost-hover-bg: #0ae6d7;
    --btn-content-ghost-hover-text: #ffffff;
    --btn-content-radius: 8px;
    --btn-content-padding-y: 12px;
    --btn-content-padding-x: 32px;
    --btn-content-font-size: 14px;

    /* Surfaces & borders */
    --surface-1: #1d1d72;
    --surface-2: #1a1a1f;
    --surface-3: #222228;
    --border-color: #2a2a32;
    --border-light: #3a3a44;
    --text-muted: #000000;
    --white: #ffffff;
    --red: var(--primary-color);
    --red-hover: var(--secondary-color);

    /* Navigation */
    --nav-link-color: #ffffff;
    --nav-link-hover-color: #ffffff;
    --nav-link-hover-bg: #565681;
    --mobile-nav-link-color: #fcfcfc;
    --mobile-nav-link-hover: #ffffff;

    /* Language switcher */
    --lang-switcher-text: #6b6b74;
    --lang-switcher-hover-text: #ffffff;
    --lang-switcher-active: #e63946;

    /* FAQ */
    --faq-bg: #102975;
    --faq-border: #0ac2ff;
    --faq-question-color: #ffffff;
    --faq-answer-color: #ffffff;
    --faq-icon-color: #378ce6;
    --faq-hover-bg: #61c4d1;
    --faq-radius: 12px;
    --faq-padding: 20px;

    /* Author block */
    --author-bg: #565681;
    --author-radius: 12px;
    --author-padding: 24px;

    /* Comments */
    --comments-bg: #102975;
    --comments-border: #0ac2ff;
    --comments-radius: 12px;
    --comments-padding: 20px;
    --comments-item-bg: #378ce6;
    --comments-star-color: #f9da10;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY — compact, not bold, max 34px
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.4em;
    margin-bottom: 0.6em;
}

h1 { font-size: var(--heading-font-size); }           /* 34px */
h2 { font-size: calc(var(--heading-font-size) - 6px); } /* 28px */
h3 { font-size: calc(var(--heading-font-size) - 10px); } /* 24px */
h4 { font-size: calc(var(--heading-font-size) - 14px); } /* 20px */
h5 { font-size: calc(var(--heading-font-size) - 16px); } /* 18px */
h6 { font-size: calc(var(--heading-font-size) - 18px); } /* 16px */

/* Remove top margin for first heading in content */
.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child {
    margin-top: 0;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--red-hover);
}

/* Ссылки-кнопки не наследуют стили ссылок */
a.btn {
    color: var(--btn-text);
}

a.btn:hover {
    color: var(--btn-text);
}

a.btn-ghost {
    color: var(--btn-ghost-text);
}

a.btn-ghost:hover {
    color: var(--btn-ghost-hover-text);
}

img {
    max-width: 100%;
    height: auto;
}

strong, b {
    font-weight: 600;
    color: var(--heading-color);
}

/* ============================================
   HEADER — sticky, dark glass
   ============================================ */
.site-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 16px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--red);
}

.logo-img {
    height: 34px;
    width: auto;
    display: block;
}

/* Desktop Navigation (center) */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links {
    justify-content: center;
    flex: 1;
}

.desktop-nav > a:not(.btn),
.nav-dropdown-toggle {
    color: var(--nav-link-color);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.desktop-nav > a:not(.btn):hover,
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
    background-color: var(--nav-link-hover-bg);
    color: var(--nav-link-hover-color);
}

/* Header Action Buttons (right) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 9px 14px;
    color: var(--text-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background-color: var(--surface-3);
    color: var(--nav-link-hover-color);
}

/* ============================================
   BUTTONS — configurable via style variables
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border: 1px solid transparent;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: var(--btn-font-size);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

/* Primary */
.btn-primary,
.btn {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}

.btn-primary:hover,
.btn:hover {
    background-color: var(--btn-hover-bg);
    color: var(--btn-text);
    border-color: var(--btn-hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--btn-bg) 30%, transparent);
}

/* Ghost — outline */
.btn-ghost {
    background-color: var(--btn-ghost-bg);
    color: var(--btn-ghost-text);
    border: 1px solid var(--btn-ghost-border);
}

.btn-ghost:hover {
    background-color: var(--btn-ghost-hover-bg);
    color: var(--btn-ghost-hover-text);
    border-color: var(--btn-ghost-hover-bg);
    transform: translateY(-1px);
}

.btn-sm {
    padding: calc(var(--btn-padding-y) - 2px) calc(var(--btn-padding-x) - 6px);
    font-size: calc(var(--btn-font-size) - 1px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s;
    z-index: 100;
    overflow-y: auto;
    visibility: hidden;
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-content {
    padding: 80px 24px 24px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    color: var(--mobile-nav-link-color);
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--mobile-nav-link-hover);
}

.mobile-nav-group {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-group .mobile-nav-link {
    border-bottom: none;
}

.mobile-nav-submenu {
    padding-left: 16px;
    padding-bottom: 8px;
}

.mobile-nav-sublink {
    display: block;
    padding: 10px 0;
    color: var(--nav-link-color);
    font-size: 0.9rem;
}

.mobile-nav-sublink:hover {
    color: var(--mobile-nav-link-hover);
}

.mobile-nav-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
    flex: 1;
    padding: 48px 0;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    margin-bottom: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

.breadcrumbs-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--text-muted);
    border-top: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    margin: 0 4px;
    opacity: 0.5;
}

.breadcrumbs-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs-item a:hover {
    color: var(--link-color);
}

.breadcrumbs-current {
    color: var(--text-color);
    font-weight: 500;
}

/* Article content typography */
.page-content {
    max-width: 100%;
}

.page-content h1:first-child {
    margin-bottom: 0.8em;
}

/* Lists */
ul, ol {
    margin-bottom: 1em;
    padding-left: 1.4em;
}

li {
    margin-bottom: 0.4em;
}

li::marker {
    color: var(--red);
}

/* Blockquote */
blockquote {
    border-left: 3px solid var(--red);
    padding: 16px 20px;
    margin: 1.5em 0;
    background: var(--surface-1);
    border-radius: 0 8px 8px 0;
    color: var(--text-color);
    font-style: normal;
}

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

/* Code */
code {
    background-color: var(--surface-2);
    color: var(--red);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
    font-size: 0.88em;
}

pre {
    background-color: var(--surface-2);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5em 0;
}

pre code {
    background: none;
    padding: 0;
    color: var(--text-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--surface-2);
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

tr:hover td {
    background-color: var(--surface-1);
}

/* ============================================
   FOOTER — 4 колонки: лого | меню | контакты | соцсети
   ============================================ */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(140px, 1fr) minmax(180px, 1fr) minmax(120px, auto);
    gap: 48px 56px;
    padding: 48px 0 36px;
    align-items: start;
    text-align: left;
}

/* Column 1: Logo */
.footer-col-logo {
    align-self: start;
}

.footer-col-logo .footer-logo {
    display: inline-block;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
}

.footer-logo:hover {
    color: var(--red);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
    opacity: 0.95;
}

/* Column 2: Menu — 1 колонка по умолчанию, 2 при >4 пунктов */
.footer-col-menu {
    min-width: 0;
}

.footer-nav {
    column-count: 1;
    text-align: left;
}

.footer-nav--cols-2 {
    column-count: 2;
    column-gap: 32px;
}

.footer-nav > .footer-plain-link {
    display: block;
    color: var(--footer-text);
    font-size: 0.9rem;
    line-height: 1.9;
    transition: color 0.2s ease;
    break-inside: avoid;
}

.footer-nav > .footer-plain-link:hover {
    color: var(--white);
}

/* Column 3: Contacts — Название: Значение */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    align-items: baseline;
}

.footer-contact-label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--footer-text);
    flex-shrink: 0;
}

.footer-contact-value {
    color: var(--footer-text);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer-contact-value a,
a.footer-contact-value {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-contact-value:hover,
a.footer-contact-value:hover {
    color: var(--white);
}

/* Column 4: Social — вертикальный список кликабельных названий */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.footer-social-link {
    display: block;
    color: var(--footer-text);
    font-size: 0.9rem;
    line-height: 1.9;
    transition: color 0.2s ease;
    text-decoration: none;
}

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

/* Copyright Strip — выравнивание по левому краю */
.footer-copyright-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.15);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
    margin: 0;
}

/* Footer Column Heading */
.footer-col-heading {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px 0;
}

/* Disclaimer Strip */
.footer-disclaimer-strip {
    border-top: 1px solid var(--border-color);
    padding: 18px 0;
}

.footer-disclaimer-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    justify-content: center;
}

.footer-age-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.footer-disclaimer-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    opacity: 0.8;
}

/* Cookie Consent Banner — по ширине контента, по центру */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--surface-2);
    border-top: 1px solid var(--border-color);
    padding: 14px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cookie-banner-wrapper {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.cookie-banner-text {
    font-size: 0.82rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cookie-banner-text a {
    color: var(--link-color);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--white);
}

.cookie-accept-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ============================================
   SHORTCODE BLOCKS — Casino Themed
   ============================================ */

/* ---------- Hero Banner ---------- */
.sc-hero {
    padding: 40px 0 32px;
    text-align: center;
}

.sc-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.sc-hero-title {
    font-size: var(--heading-font-size);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.4em;
    margin-top: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sc-hero-text {
    font-size: 1.05rem;
    color: var(--text-color);
    max-width: 560px;
    margin: 0 auto 1.8em;
    line-height: 1.7;
}

.sc-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sc-hero-actions .btn {
    padding: 12px 32px;
    font-size: 0.9rem;
}

/* ---------- Bonus Card (large CTA) ---------- */
.sc-bonus-card {
    padding: 24px 0;
}

.sc-bonus-card-inner {
    position: relative;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    overflow: hidden;
}

.sc-bonus-card-glow {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 12%, transparent) 0%, transparent 70%);
    pointer-events: none;
}

.sc-bonus-card-content {
    position: relative;
    z-index: 1;
}

.sc-bonus-card-label {
    display: inline-block;
    padding: 4px 14px;
    background: color-mix(in srgb, var(--primary-color) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 20px;
}

.sc-bonus-card-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.sc-bonus-card-desc {
    font-size: 1.05rem;
    color: var(--text-color);
    max-width: 480px;
    margin: 0 auto 8px;
    line-height: 1.6;
}

.sc-bonus-card-terms {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.sc-bonus-card .btn {
    padding: 14px 40px;
    font-size: 0.95rem;
}

/* ---------- Bonuses Grid (3 cards) ---------- */
.sc-bonuses {
    padding: 24px 0;
}

.sc-bonuses-title {
    text-align: center;
    margin-bottom: 1.2em;
    margin-top: 0;
    font-size: calc(var(--heading-font-size) - 4px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.sc-bonuses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sc-bonuses-item {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sc-bonuses-item:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.sc-bonuses-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    line-height: 1;
}

.sc-bonuses-item-title {
    margin-top: 0;
    margin-bottom: 0.3em;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.sc-bonuses-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 10px;
}

.sc-bonuses-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.sc-bonuses-item .btn {
    width: 100%;
}

/* ---------- Promo Banner (horizontal) ---------- */
.sc-promo {
    padding: 16px 0;
}

.sc-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 28px;
}

.sc-promo-content {
    flex: 1;
}

.sc-promo-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--red);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.sc-promo-title {
    margin-top: 0;
    margin-bottom: 0.3em;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.sc-promo-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.sc-promo-action {
    flex-shrink: 0;
}

.sc-promo-action .btn {
    padding: 12px 28px;
    white-space: nowrap;
}

/* ---------- How to Start (3 steps) ---------- */
.sc-steps {
    padding: 24px 0;
}

.sc-steps-title {
    text-align: center;
    margin-bottom: 1.2em;
    margin-top: 0;
    font-size: calc(var(--heading-font-size) - 4px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.sc-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: step-counter;
}

.sc-steps-item {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    transition: border-color 0.2s ease;
}

.sc-steps-item:hover {
    border-color: var(--border-light);
}

.sc-steps-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.sc-steps-item-title {
    margin-top: 0;
    margin-bottom: 0.4em;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.sc-steps-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---------- CTA Block ---------- */
.sc-cta {
    background: var(--surface-1);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
    text-align: center;
}

.sc-cta-title {
    color: var(--white);
    font-size: calc(var(--heading-font-size) - 4px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    margin-top: 0;
}

.sc-cta-text {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5em;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.sc-cta .btn {
    padding: 14px 36px;
    font-size: 0.95rem;
}

/* ---------- Inline Button Shortcodes ---------- */
.sc-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.sc-buttons .btn {
    padding: var(--btn-content-padding-y) var(--btn-content-padding-x);
    border-radius: var(--btn-content-radius);
    font-size: var(--btn-content-font-size);
}

.sc-buttons .btn:not(.btn-ghost) {
    background-color: var(--btn-content-bg);
    color: var(--btn-content-text);
    border-color: var(--btn-content-bg);
}

.sc-buttons .btn:not(.btn-ghost):hover {
    background-color: var(--btn-content-hover-bg);
    border-color: var(--btn-content-hover-bg);
}

.sc-buttons .btn-ghost {
    background-color: var(--btn-content-ghost-bg);
    color: var(--btn-content-ghost-text);
    border-color: var(--btn-content-ghost-border);
}

.sc-buttons .btn-ghost:hover {
    background-color: var(--btn-content-ghost-hover-bg);
    color: var(--btn-content-ghost-hover-text);
    border-color: var(--btn-content-ghost-hover-bg);
}

@media (max-width: 600px) {
    .sc-buttons {
        flex-direction: column;
    }
    .sc-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ---------- Iframe Game Shortcode ---------- */
.sc-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
    background: #000;
}

.sc-iframe-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.sc-iframe-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.sc-iframe-overlay-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.sc-iframe-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.sc-iframe-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sc-iframe-play {
    min-width: 160px;
    font-size: 1rem;
    padding: 14px 32px;
    cursor: pointer;
}

.sc-iframe-link {
    min-width: 140px;
    font-size: 0.9rem;
    padding: 12px 28px;
}

.sc-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

@media (max-width: 600px) {
    .sc-iframe-wrap {
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
    .sc-iframe-buttons {
        flex-direction: column;
    }
    .sc-iframe-play,
    .sc-iframe-link {
        width: 100%;
        max-width: 240px;
    }
    .sc-iframe-text {
        font-size: 0.95rem;
    }
}

/* ---------- Table of Contents (TOC) ---------- */
html {
    scroll-behavior: smooth;
}

/* Отступ при скролле к якорю (чтобы заголовок не прятался под sticky-шапкой) */
h2[id], h3[id], h4[id] {
    scroll-margin-top: 80px;
}

.sc-toc {
    margin: 16px 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--surface-1);
    overflow: hidden;
}

.sc-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sc-toc-toggle:hover {
    background: var(--surface-2);
}

.sc-toc-toggle svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--text-muted);
}

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

.sc-toc-list {
    display: none;
    padding: 0 20px 16px;
}

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

.sc-toc-list ol {
    list-style: none;
    counter-reset: toc-counter;
    margin: 0;
    padding: 0;
}

.sc-toc-list ol li {
    counter-increment: toc-counter;
    padding: 0;
}

.sc-toc-list ol li a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-color);
    font-size: 0.88rem;
    transition: color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
}

.sc-toc-list ol li:last-child a {
    border-bottom: none;
}

.sc-toc-list ol li a::before {
    content: counter(toc-counter) ".";
    color: var(--red);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 20px;
}

.sc-toc-list ol li a:hover {
    color: var(--white);
}

.sc-toc-list ol li.toc-sub a {
    padding-left: 30px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.sc-toc-list ol li.toc-sub a:hover {
    color: var(--white);
}

/* ---------- Error Page ---------- */
.error-page {
    text-align: center;
    padding: 100px 20px;
}

.error-page h1 {
    font-size: 100px;
    color: var(--red);
    margin-bottom: 16px;
    font-weight: 700;
    margin-top: 0;
}

.error-page p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: calc(var(--heading-font-size) - 4px); }
    h2 { font-size: calc(var(--heading-font-size) - 8px); }
    h3 { font-size: calc(var(--heading-font-size) - 12px); }
    
    .desktop-nav,
    .header-actions.desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .site-main {
        padding: 32px 0;
    }
    
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
        text-align: left;
        padding: 36px 0 28px;
    }
    
    .footer-col-logo {
        grid-column: 1 / -1;
    }
    
    .footer-col-menu {
        grid-column: 1 / -1;
    }
    
    .footer-nav {
        column-count: 2;
        column-gap: 24px;
        text-align: left;
    }
    
    .footer-col-contacts {
        grid-row: 3;
        grid-column: 2;
    }
    
    .footer-col-social {
        grid-row: 3;
        grid-column: 1;
    }
    
    .footer-contacts {
        align-items: flex-start;
        max-width: none;
        margin: 0;
    }
    
    .footer-social-links {
        align-items: flex-start;
        max-width: none;
        margin: 0;
    }
    
    .footer-col-heading {
        text-align: left;
    }
    
    .footer-copyright {
        text-align: left;
    }
    
    .footer-disclaimer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-disclaimer-text {
        max-width: 100%;
    }
    
    .cookie-banner {
        padding: 12px 0;
    }
    
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cookie-banner-text {
        font-size: 0.78rem;
        line-height: 1.5;
    }
    
    .cookie-accept-btn {
        width: 100%;
        max-width: 200px;
        padding: 10px 16px;
    }
    
    /* Shortcodes responsive */
    .sc-hero {
        padding: 32px 0 24px;
    }
    
    .sc-hero-actions {
        flex-direction: column;
    }
    
    .sc-hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .sc-bonus-card {
        padding: 16px 0;
    }
    
    .sc-bonus-card-inner {
        padding: 32px 20px;
    }
    
    .sc-bonus-card-amount {
        font-size: 1.8rem;
    }
    
    .sc-bonuses-grid,
    .sc-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sc-promo-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }
    
    .sc-promo-action .btn {
        width: 100%;
    }
    
    .sc-cta {
        padding: 24px 0;
    }
    
    .error-page h1 {
        font-size: 72px;
    }
}

/* ============================================
   Language Switcher
   ============================================ */
/* Language Switcher — Desktop Dropdown */
.lang-switcher {
    position: relative;
    margin-left: 12px;
}

.lang-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--lang-switcher-text);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-switcher-toggle:hover,
.lang-switcher:hover .lang-switcher-toggle {
    color: var(--lang-switcher-hover-text);
    background: var(--surface-2);
    border-color: var(--border-light);
}

.lang-switcher-arrow {
    transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-switcher-arrow {
    transform: rotate(180deg);
}

.lang-switcher-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 100%;
    margin-top: 4px;
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 100;
}

.lang-switcher:hover .lang-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-option {
    display: block;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    color: var(--lang-switcher-text);
    border-radius: 6px;
    transition: all 0.15s ease;
    text-align: center;
}

.lang-switcher-option:hover {
    background: var(--surface-3);
    color: var(--lang-switcher-hover-text);
}

.lang-switcher-option.active {
    color: var(--lang-switcher-active);
    pointer-events: none;
}

/* Language Switcher — Mobile */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 16px 0;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.mobile-lang-switcher .lang-switcher-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--lang-switcher-text);
    border-radius: 6px;
    background: var(--surface-2);
    transition: all 0.2s ease;
}

.mobile-lang-switcher .lang-switcher-item:hover {
    color: var(--lang-switcher-hover-text);
    background: var(--surface-3);
}

.mobile-lang-switcher .lang-switcher-item.active {
    background: var(--lang-switcher-active);
    color: #fff;
    pointer-events: none;
}

/* FAQ */
.sc-faq {
    padding: 24px 0;
}

.sc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-faq-item {
    background: var(--faq-bg);
    border: 1px solid var(--faq-border);
    border-radius: var(--faq-radius);
    overflow: hidden;
    transition: background 0.2s ease;
}

.sc-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: var(--faq-padding);
    background: none;
    border: none;
    color: var(--faq-question-color);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
    transition: background 0.2s ease;
}

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

.sc-faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--faq-icon-color);
    transition: transform 0.3s ease;
}

.sc-faq-item.open .sc-faq-icon {
    transform: rotate(180deg);
}

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

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

.sc-faq-item.open .sc-faq-answer {
    max-height: 1000px;
}

@media (max-width: 768px) {
    .sc-faq-question {
        font-size: 0.92rem;
        padding: 14px 16px;
    }
    .sc-faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 0.85rem;
    }
}

/* Banner */
.sc-banner {
    margin: 16px 0;
    line-height: 0;
}

.sc-banner img {
    width: 100%;
    height: auto;
}

.sc-banner img.sc-banner-img {
    display: block;
}

.sc-banner img.sc-banner-desktop {
    display: block;
}

.sc-banner img.sc-banner-mobile {
    display: none;
}

@media (max-width: 768px) {
    .sc-banner img.sc-banner-desktop {
        display: none;
    }
    .sc-banner img.sc-banner-mobile {
        display: block;
    }
}

.sc-banner-hide-desktop {
    display: block;
}

@media (min-width: 769px) {
    .sc-banner-hide-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .sc-banner-hide-mobile {
        display: none;
    }
}

/* Author block */
.sc-author {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background-color: var(--author-bg);
    border-radius: var(--author-radius);
    padding: var(--author-padding);
    margin: 20px 0;
}

.sc-author-img-wrap {
    flex-shrink: 0;
}

.sc-author-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.sc-author-content {
    flex: 1;
    min-width: 0;
}

.sc-author-name {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}

.sc-author-name a {
    color: inherit;
    text-decoration: none;
}

.sc-author-name a:hover {
    color: var(--link-color);
}

.sc-author-signature {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.sc-author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.sc-author-bio p {
    margin: 0 0 8px 0;
}

.sc-author-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sc-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sc-author-img {
        width: 80px;
        height: 80px;
    }
}

/* Comments / Reviews */
.sc-comments {
    padding: var(--comments-padding) 0;
    background: var(--comments-bg);
    border-radius: var(--comments-radius);
    margin: 20px 0;
}

.sc-comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.sc-comments-item {
    background: var(--comments-item-bg);
    border: 1px solid var(--comments-border);
    border-radius: calc(var(--comments-radius) * 0.75);
    padding: var(--comments-padding);
}

.sc-comments-item-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 8px;
}

.sc-comments-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--heading-color);
}

.sc-comments-item-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sc-comments-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--comments-star-color);
}

.sc-comments-stars span {
    font-size: 1rem;
}

.sc-comments-item-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.sc-comments-form {
    border-top: 1px solid var(--comments-border);
    padding-top: var(--comments-padding);
}

.sc-comments-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.sc-comments-form-row .form-group {
    flex: 1;
    min-width: 0;
}

.sc-comments-form .sc-comments-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.sc-comments-form .form-group {
    margin-bottom: 14px;
}

.sc-comments-form .form-group:last-of-type {
    margin-bottom: 16px;
}

.sc-comments-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 6px;
}

.sc-comments-form input,
.sc-comments-form select,
.sc-comments-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid var(--comments-border);
    border-radius: 8px;
    background: var(--surface-1);
    color: var(--text-color);
    font-family: inherit;
}

.sc-comments-form textarea {
    min-height: 80px;
    resize: vertical;
}

.sc-comments-form .sc-comments-success {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
    .sc-comments-item {
        padding: 14px 16px;
    }

    .sc-comments-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sc-comments-form-row {
        flex-direction: column;
        gap: 0;
    }
}


/* === Shortcode Styles === */
/* Shortcode: games */
.sc-games{padding:16px 0}.sc-games-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}@media(max-width:1200px){.sc-games-grid{grid-template-columns:repeat(4,1fr)!important}}@media(max-width:768px){.sc-games-grid{grid-template-columns:repeat(3,1fr)!important;gap:8px}}@media(max-width:480px){.sc-games-grid{grid-template-columns:repeat(2,1fr)!important}}.sc-game-card{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:var(--surface-1)}.sc-game-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.sc-game-card:hover img{transform:scale(1.05)}.sc-game-overlay{position:absolute;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease}.sc-game-card:hover .sc-game-overlay{opacity:1}.sc-game-play{width:56px;height:56px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center;transition:transform .2s ease;box-shadow:0 4px 20px rgba(239,68,68,.4)}.sc-game-play:hover{transform:scale(1.1)}.sc-game-play svg{fill:#fff;margin-left:3px}.sc-game-name{position:absolute;bottom:0;left:0;right:0;padding:8px 10px;background:linear-gradient(transparent,rgba(0,0,0,.8));font-size:12px;color:#fff;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Shortcode: payments */
.sc-logos{padding:16px 0;overflow:hidden}.sc-logos-track{display:flex;width:max-content;animation:sc-logos-scroll 30s linear infinite}.sc-logos-track:hover{animation-play-state:paused}.sc-logos-slide{display:flex;align-items:center;gap:32px;padding:0 16px}.sc-logo-item{flex-shrink:0;height:40px;opacity:.6;transition:opacity .3s;filter:grayscale(40%)}.sc-logo-item:hover{opacity:1;filter:grayscale(0)}@keyframes sc-logos-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}@media(max-width:768px){.sc-logos-slide{gap:24px}.sc-logo-item{height:32px}}

/* Shortcode: providers */
.sc-providers-track{animation-duration:40s}