/* ==========================================================================
   07-circus-bootstrap-override.css
   Перекраска Bootstrap + Cassiopeia под палитру цирка огня и света
   Палитра: тёмный фон #0a0e1a, карточки #15192a, золото #d4af37,
            огонь #ff6b35, светлое золото #f0d060
   Шрифты:  Playfair Display (заголовки), Unbounded (акценты), Manrope (текст)
   ВАЖНО: HTML страниц НЕ меняем — только перекрашиваем существующие классы.
   ========================================================================== */

/* ==========================================================================
   1. ПЕРЕМЕННЫЕ
   ========================================================================== */
:root {
    --circus-bg:          #0a0e1a;
    --circus-bg-card:     #15192a;
    --circus-bg-accent:   #1a1f35;
    --circus-text:        #f5ecd9;
    --circus-mute:        #9a8f7e;
    --circus-gold:        #d4af37;
    --circus-gold-light:  #f0d060;
    --circus-fire:        #ff6b35;
    --circus-fire-dark:   #c94a15;
    --circus-border:      rgba(212, 175, 55, 0.25);
    --circus-border-strong: rgba(212, 175, 55, 0.55);
    --circus-glow:        0 0 40px rgba(212, 175, 55, 0.35);
    --circus-gradient-gold: linear-gradient(135deg, #d4af37 0%, #ff6b35 100%);
    --circus-gradient-gold-soft: linear-gradient(135deg, #f0d060 0%, #d4af37 50%, #ff8c42 100%);

    /* Переопределяем Bootstrap 5 CSS-переменные */
    --bs-body-bg: #0a0e1a;
    --bs-body-color: #f5ecd9;
    --bs-primary: #d4af37;
    --bs-primary-rgb: 212, 175, 55;
    --bs-danger: #ff6b35;
    --bs-danger-rgb: 255, 107, 53;
    --bs-warning: #f0d060;
    --bs-warning-rgb: 240, 208, 96;
    --bs-link-color: #f0d060;
    --bs-link-hover-color: #ff6b35;
    --bs-border-color: rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   2. БАЗА BODY
   ========================================================================== */
body.artnonstop-circus {
    background-color: var(--circus-bg);
    color: var(--circus-text);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновое свечение (мягкие золотые и огненные пятна) */
body.artnonstop-circus::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 12% -4%, rgba(212, 175, 55, 0.08), transparent 62%),
        radial-gradient(760px 480px at 92% 8%, rgba(255, 107, 53, 0.08), transparent 60%),
        radial-gradient(1100px 700px at 50% 108%, rgba(201, 74, 21, 0.08), transparent 65%);
}

/* Заголовки */
body.artnonstop-circus h1,
body.artnonstop-circus h2,
body.artnonstop-circus h3,
body.artnonstop-circus h4,
body.artnonstop-circus h5,
body.artnonstop-circus h6,
body.artnonstop-circus .h1,
body.artnonstop-circus .h2,
body.artnonstop-circus .h3,
body.artnonstop-circus .h4,
body.artnonstop-circus .h5,
body.artnonstop-circus .h6,
body.artnonstop-circus .display-1,
body.artnonstop-circus .display-2,
body.artnonstop-circus .display-3,
body.artnonstop-circus .display-4,
body.artnonstop-circus .display-5,
body.artnonstop-circus .display-6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--circus-text);
    letter-spacing: -0.01em;
}

/* Акцентные заголовки */
body.artnonstop-circus .display-4.fw-bold,
body.artnonstop-circus .display-5.fw-bold,
body.artnonstop-circus .display-6.fw-bold {
    font-weight: 800;
}

/* Ссылки */
body.artnonstop-circus a {
    color: var(--circus-gold-light);
    text-decoration: none;
    transition: color 0.25s;
}
body.artnonstop-circus a:hover {
    color: var(--circus-fire);
}

/* Мелкий текст */
body.artnonstop-circus .small,
body.artnonstop-circus small {
    color: var(--circus-mute);
}

/* ==========================================================================
   3. УТИЛИТЫ BOOTSTRAP — ЦВЕТА
   ========================================================================== */

/* text-danger → огонь */
body.artnonstop-circus .text-danger {
    color: var(--circus-fire) !important;
}

/* text-primary → золото */
body.artnonstop-circus .text-primary {
    color: var(--circus-gold) !important;
}

/* text-warning → светлое золото */
body.artnonstop-circus .text-warning {
    color: var(--circus-gold-light) !important;
}

/* text-muted → приглушённый */
body.artnonstop-circus .text-muted {
    color: var(--circus-mute) !important;
}

/* text-white → основной текст */
body.artnonstop-circus .text-white {
    color: var(--circus-text) !important;
}

/* text-white-50 → приглушённый */
body.artnonstop-circus .text-white-50 {
    color: rgba(245, 236, 217, 0.55) !important;
}

/* text-dark → тёмный текст на светлом фоне (оставляем тёмным) */
body.artnonstop-circus .text-dark {
    color: #0a0e1a !important;
}

/* ==========================================================================
   4. ФОНЫ
   ========================================================================== */

/* bg-primary → золото */
body.artnonstop-circus .bg-primary {
    background-color: var(--circus-gold) !important;
    color: #0a0e1a !important;
}

/* bg-danger → огонь */
body.artnonstop-circus .bg-danger {
    background-color: var(--circus-fire) !important;
    color: #0a0e1a !important;
}

/* bg-warning → светлое золото */
body.artnonstop-circus .bg-warning {
    background-color: var(--circus-gold-light) !important;
    color: #0a0e1a !important;
}

/* bg-light → тёмный (карточки) */
body.artnonstop-circus .bg-light {
    background-color: var(--circus-bg-card) !important;
    color: var(--circus-text) !important;
}

/* bg-white → тёмный (карточки) */
body.artnonstop-circus .bg-white {
    background-color: var(--circus-bg-card) !important;
    color: var(--circus-text) !important;
}

/* bg-dark → темнее */
body.artnonstop-circus .bg-dark {
    background-color: #070a14 !important;
    color: var(--circus-text) !important;
}

/* bg-secondary → приглушённый */
body.artnonstop-circus .bg-secondary {
    background-color: var(--circus-bg-accent) !important;
    color: var(--circus-text) !important;
}

/* bg-opacity-* — сглаживаем */
body.artnonstop-circus .bg-dark.bg-opacity-50,
body.artnonstop-circus .bg-dark.bg-opacity-75,
body.artnonstop-circus .bg-white.bg-opacity-10,
body.artnonstop-circus .bg-primary.bg-opacity-10,
body.artnonstop-circus .bg-warning.bg-opacity-10 {
    background-color: rgba(21, 25, 42, 0.7) !important;
}

/* ==========================================================================
   5. ГРАНИЦЫ
   ========================================================================== */

/* border-danger → огонь */
body.artnonstop-circus .border-danger {
    border-color: var(--circus-fire) !important;
}

/* border-primary → золото */
body.artnonstop-circus .border-primary {
    border-color: var(--circus-gold) !important;
}

/* border-warning → светлое золото */
body.artnonstop-circus .border-warning {
    border-color: var(--circus-gold-light) !important;
}

/* border-light → золотая мягкая */
body.artnonstop-circus .border-light {
    border-color: rgba(212, 175, 55, 0.35) !important;
}

/* border-dark, border-secondary, border-* по умолчанию */
body.artnonstop-circus .border,
body.artnonstop-circus .border-top,
body.artnonstop-circus .border-bottom,
body.artnonstop-circus .border-start,
body.artnonstop-circus .border-end {
    border-color: var(--circus-border) !important;
}

body.artnonstop-circus .border-secondary {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* ==========================================================================
   6. КНОПКИ
   ========================================================================== */

/* Все кнопки — базовый переход */
body.artnonstop-circus .btn {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
    border-width: 1px;
    border-style: solid;
}

body.artnonstop-circus .btn:hover {
    transform: translateY(-2px);
}

/* btn-danger → огненно-золотой градиент */
body.artnonstop-circus .btn-danger {
    background: var(--circus-gradient-gold);
    border-color: transparent;
    color: #0a0e1a !important;
    box-shadow: 0 8px 24px rgba(201, 74, 21, 0.25);
}
body.artnonstop-circus .btn-danger:hover,
body.artnonstop-circus .btn-danger:focus {
    background: var(--circus-gradient-gold);
    filter: brightness(1.1);
    box-shadow: var(--circus-glow);
    color: #0a0e1a !important;
}

/* btn-outline-danger → контур огня */
body.artnonstop-circus .btn-outline-danger {
    background: transparent;
    border-color: var(--circus-fire);
    color: var(--circus-fire) !important;
}
body.artnonstop-circus .btn-outline-danger:hover,
body.artnonstop-circus .btn-outline-danger.active,
body.artnonstop-circus .btn-outline-danger:focus {
    background: var(--circus-gradient-gold);
    border-color: transparent;
    color: #0a0e1a !important;
    box-shadow: var(--circus-glow);
}

/* btn-primary → золото */
body.artnonstop-circus .btn-primary {
    background: var(--circus-gradient-gold);
    border-color: transparent;
    color: #0a0e1a !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
body.artnonstop-circus .btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: var(--circus-glow);
    color: #0a0e1a !important;
}

/* btn-outline-primary → контур золота */
body.artnonstop-circus .btn-outline-primary {
    background: transparent;
    border-color: var(--circus-gold);
    color: var(--circus-gold) !important;
}
body.artnonstop-circus .btn-outline-primary:hover,
body.artnonstop-circus .btn-outline-primary.active {
    background: var(--circus-gold);
    color: #0a0e1a !important;
    box-shadow: var(--circus-glow);
}

/* btn-warning → светлое золото */
body.artnonstop-circus .btn-warning {
    background: var(--circus-gold-light);
    border-color: transparent;
    color: #0a0e1a !important;
}
body.artnonstop-circus .btn-warning:hover {
    background: var(--circus-gold);
    box-shadow: var(--circus-glow);
    color: #0a0e1a !important;
}

/* btn-outline-warning → контур золота */
body.artnonstop-circus .btn-outline-warning {
    background: transparent;
    border-color: var(--circus-gold-light);
    color: var(--circus-gold-light) !important;
}
body.artnonstop-circus .btn-outline-warning:hover {
    background: var(--circus-gold-light);
    color: #0a0e1a !important;
}

/* btn-light → на тёмном фоне */
body.artnonstop-circus .btn-light {
    background: var(--circus-text);
    border-color: transparent;
    color: #0a0e1a !important;
}
body.artnonstop-circus .btn-light:hover {
    background: var(--circus-gold-light);
    color: #0a0e1a !important;
}

/* btn-outline-light → контур на тёмном */
body.artnonstop-circus .btn-outline-light {
    background: transparent;
    border-color: rgba(245, 236, 217, 0.6);
    color: var(--circus-text) !important;
}
body.artnonstop-circus .btn-outline-light:hover {
    background: var(--circus-text);
    border-color: var(--circus-text);
    color: #0a0e1a !important;
}

/* btn-link */
body.artnonstop-circus .btn-link {
    color: var(--circus-gold-light) !important;
}
body.artnonstop-circus .btn-link:hover {
    color: var(--circus-fire) !important;
}

/* ==========================================================================
   7. КАРТОЧКИ
   ========================================================================== */
body.artnonstop-circus .card {
    background-color: var(--circus-bg-card);
    border-color: var(--circus-border);
    color: var(--circus-text);
}

body.artnonstop-circus .card-header {
    background-color: var(--circus-bg-accent);
    border-bottom-color: var(--circus-border);
    color: var(--circus-text);
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

body.artnonstop-circus .card-body {
    color: var(--circus-text);
}

body.artnonstop-circus .card-footer {
    background-color: var(--circus-bg-accent);
    border-top-color: var(--circus-border);
    color: var(--circus-mute);
}

body.artnonstop-circus .card-title {
    font-family: 'Playfair Display', serif;
    color: var(--circus-text);
}

body.artnonstop-circus .card-text {
    color: var(--circus-mute);
}

/* Карточка с рамкой огня */
body.artnonstop-circus .card.border-danger {
    border-color: var(--circus-fire) !important;
    border-width: 2px !important;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.12);
}

/* Карточка с рамкой золота */
body.artnonstop-circus .card.border-primary {
    border-color: var(--circus-gold) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}
/* ==========================================================================
   8. БЕЙДЖИ
   ========================================================================== */
body.artnonstop-circus .badge {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.62rem;
    padding: 0.35em 0.85em;
    border-radius: 100px;
    border: 1px solid transparent;
}

/* badge bg-danger → огонь */
body.artnonstop-circus .badge.bg-danger {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    box-shadow: 0 0 18px rgba(255, 107, 53, 0.35);
}

/* badge bg-primary → золото */
body.artnonstop-circus .badge.bg-primary {
    background: var(--circus-gold) !important;
    color: #0a0e1a !important;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

/* badge bg-warning → светлое золото */
body.artnonstop-circus .badge.bg-warning {
    background: var(--circus-gold-light) !important;
    color: #0a0e1a !important;
}

/* badge bg-dark → тёмный с золотой рамкой */
body.artnonstop-circus .badge.bg-dark {
    background: rgba(21, 25, 42, 0.9) !important;
    color: var(--circus-gold-light) !important;
    border-color: var(--circus-border) !important;
}

/* badge bg-light → тёмный с золотой рамкой */
body.artnonstop-circus .badge.bg-light {
    background: rgba(21, 25, 42, 0.85) !important;
    color: var(--circus-text) !important;
    border-color: var(--circus-border) !important;
}

/* badge bg-secondary → приглушённый */
body.artnonstop-circus .badge.bg-secondary {
    background: var(--circus-bg-accent) !important;
    color: var(--circus-text) !important;
    border-color: var(--circus-border) !important;
}

/* ==========================================================================
   9. АЛЕРТЫ
   ========================================================================== */
body.artnonstop-circus .alert {
    background-color: var(--circus-bg-card);
    border: 1px solid var(--circus-border);
    color: var(--circus-text);
    border-radius: 12px;
}

body.artnonstop-circus .alert-danger {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(201, 74, 21, 0.06));
    border-color: var(--circus-fire);
    color: var(--circus-text);
}

body.artnonstop-circus .alert-primary {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 107, 53, 0.06));
    border-color: var(--circus-gold);
    color: var(--circus-text);
}

body.artnonstop-circus .alert-warning {
    background: linear-gradient(135deg, rgba(240, 208, 96, 0.12), rgba(212, 175, 55, 0.06));
    border-color: var(--circus-gold-light);
    color: var(--circus-text);
}

body.artnonstop-circus .alert-success {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(240, 208, 96, 0.05));
    border-color: var(--circus-gold);
    color: var(--circus-text);
}

body.artnonstop-circus .alert a {
    color: var(--circus-gold-light);
    text-decoration: underline;
}

/* ==========================================================================
   10. АККОРДЕОН / COLLAPSE
   ========================================================================== */
body.artnonstop-circus .accordion-item {
    background-color: var(--circus-bg-card);
    border-color: var(--circus-border);
}

body.artnonstop-circus .accordion-button {
    background-color: var(--circus-bg-card);
    color: var(--circus-text);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
}

body.artnonstop-circus .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 107, 53, 0.08));
    color: var(--circus-gold-light);
    box-shadow: none;
}

body.artnonstop-circus .accordion-button::after {
    filter: invert(80%) sepia(60%) saturate(400%) hue-rotate(360deg);
}

body.artnonstop-circus .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
    border-color: var(--circus-gold);
}

body.artnonstop-circus .accordion-body {
    background-color: var(--circus-bg-card);
    color: var(--circus-mute);
}

/* ==========================================================================
   11. ФОРМЫ
   ========================================================================== */
body.artnonstop-circus .form-control,
body.artnonstop-circus .form-select {
    background-color: var(--circus-bg);
    border-color: var(--circus-border);
    color: var(--circus-text);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

body.artnonstop-circus .form-control::placeholder {
    color: rgba(154, 143, 126, 0.7);
}

body.artnonstop-circus .form-control:focus,
body.artnonstop-circus .form-select:focus {
    background-color: var(--circus-bg);
    border-color: var(--circus-gold);
    color: var(--circus-text);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

body.artnonstop-circus .form-label {
    color: var(--circus-mute);
    font-family: 'Unbounded', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.artnonstop-circus .form-check-input {
    background-color: var(--circus-bg);
    border-color: var(--circus-border-strong);
}

body.artnonstop-circus .form-check-input:checked {
    background-color: var(--circus-gold);
    border-color: var(--circus-gold);
}

body.artnonstop-circus .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

body.artnonstop-circus .form-check-label {
    color: var(--circus-text);
}

/* Input group */
body.artnonstop-circus .input-group-text {
    background-color: var(--circus-bg-accent);
    border-color: var(--circus-border);
    color: var(--circus-gold-light);
}

/* ==========================================================================
   12. ИЗОБРАЖЕНИЯ
   ========================================================================== */
body.artnonstop-circus img {
    /* Ничего не форсируем, чтобы не сломать существующие aspect-ratio */
}

body.artnonstop-circus .rounded-circle {
    /* Круглые изображения — без изменений, но чуть золотое свечение */
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

body.artnonstop-circus img.border-warning,
body.artnonstop-circus .border-warning img,
body.artnonstop-circus img.border.border-warning {
    border-color: var(--circus-gold) !important;
}

/* ==========================================================================
   13. ГАЛЕРЕЯ (.gallery-img)
   ========================================================================== */
body.artnonstop-circus .gallery-img {
    border-radius: 10px;
    border: 1px solid var(--circus-border);
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

body.artnonstop-circus .gallery-img:hover {
    transform: scale(1.02);
    border-color: var(--circus-gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    cursor: pointer;
}

/* ==========================================================================
   14. ВИДЕО-ВКЛАДКИ
   ========================================================================== */
body.artnonstop-circus .video-tabs .btn-group .btn {
    border-color: var(--circus-fire);
    color: var(--circus-fire);
}

body.artnonstop-circus .video-tabs .btn-group .btn.active,
body.artnonstop-circus .video-tabs .btn-group .btn:hover {
    background: var(--circus-gradient-gold);
    border-color: transparent;
    color: #0a0e1a;
}

body.artnonstop-circus .video-tabs video {
    background-color: #000;
    border-radius: 12px;
}

/* ==========================================================================
   15. VERTICAL-VIDEO (9:16)
   ========================================================================== */
body.artnonstop-circus .vertical-video-wrapper {
    max-width: 260px;
    margin: 0 auto;
}

body.artnonstop-circus .vertical-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 16px;
    background-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--circus-border);
}

/* ==========================================================================
   16. STICKY-NAV (якорное меню)
   ========================================================================== */
body.artnonstop-circus .sticky-nav,
body.artnonstop-circus div[style*="position: sticky"][style*="z-index: 99999"] {
    background: rgba(10, 14, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--circus-border) !important;
    padding: 10px 0;
}

body.artnonstop-circus .sticky-nav a,
body.artnonstop-circus div[style*="position: sticky"] a.btn {
    border-color: var(--circus-gold) !important;
    color: var(--circus-gold) !important;
    background: transparent !important;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    transition: all 0.25s;
}

body.artnonstop-circus .sticky-nav a:hover,
body.artnonstop-circus div[style*="position: sticky"] a.btn:hover,
body.artnonstop-circus div[style*="position: sticky"] a.btn-danger {
    background: var(--circus-gradient-gold) !important;
    border-color: transparent !important;
    color: #0a0e1a !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

body.artnonstop-circus div[style*="position: sticky"] .fw-bold {
    color: var(--circus-gold-light) !important;
}

/* ==========================================================================
   17. ИНЛАЙН-СТИЛИ — ПЕРЕКРАСКА
   (там, где в HTML стоят style="background: ...")
   ========================================================================== */

/* Цитата Нэтова: #b22222 → золото-огонь */
body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"] {
    background: linear-gradient(145deg, #2a1f10 0%, #1a1208 100%) !important;
    border: 1px solid var(--circus-border-strong) !important;
}

body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"] p,
body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"] span {
    color: var(--circus-text) !important;
}

body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"] .display-1 {
    color: rgba(212, 175, 55, 0.3) !important;
}

/* Фон хроник / ТВ: #f0f7ff → тёмный */
body.artnonstop-circus div[style*="background: #f0f7ff"] {
    background: linear-gradient(135deg, #15192a 0%, #1a1f35 100%) !important;
    border: 1px solid var(--circus-border) !important;
}

/* Фон гастролей / галереи: #ffffff → тёмный */
body.artnonstop-circus div[style*="background: #ffffff"] {
    background: linear-gradient(135deg, #0f1322 0%, #15192a 100%) !important;
    border: 1px solid var(--circus-border) !important;
}

/* Фон видеоархива: #1a1a2e → тёмный */
body.artnonstop-circus section[style*="background-color: #1a1a2e"] {
    background: linear-gradient(135deg, #0f1322 0%, #15192a 100%) !important;
    border: 1px solid var(--circus-border) !important;
}

/* Фон контактов: #e8d5b5 → тёмный */
body.artnonstop-circus div[style*="background: #e8d5b5"] {
    background: linear-gradient(135deg, #15192a 0%, #1a1f35 100%) !important;
    border: 1px solid var(--circus-border) !important;
}

/* Фон свадеб: #fff5f5 → тёмный */
body.artnonstop-circus section[style*="background: linear-gradient(135deg, #fff5f5"] {
    background: linear-gradient(135deg, #15192a 0%, #1f1828 100%) !important;
    border: 1px solid var(--circus-border) !important;
}

/* Фон хроник перезапуска: #1e2f4a → тёмный с золотом */
body.artnonstop-circus div[style*="linear-gradient(145deg, #1e2f4a"] {
    background: linear-gradient(145deg, #1a1f35 0%, #0a0e1a 100%) !important;
    border: 1px solid var(--circus-border-strong) !important;
}

/* Hero правая колонка: rgba(10, 25, 47, 0.6) → тёмный */
body.artnonstop-circus div[style*="background: rgba(10, 25, 47, 0.6)"] {
    background: rgba(21, 25, 42, 0.85) !important;
    backdrop-filter: blur(8px);
    border: 1px solid var(--circus-border);
}

/* Фон join (команда): linear-gradient с rgba(30,47,74) → тёмный */
body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(30, 47, 74, 0.88)"] {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.92) 0%, rgba(21, 25, 42, 0.95) 100%),
                url('/images/history-circus/join-bg.jpg') center/cover no-repeat !important;
}

/* ==========================================================================
   18. CASSIOPEIA — ШАПКА
   ========================================================================== */
body.artnonstop-circus .container-header {
    background: rgba(10, 14, 26, 0.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--circus-border) !important;
}

body.artnonstop-circus .container-header .grid-child {
    /* Ничего */
}

/* Логотип / бренд */
body.artnonstop-circus .navbar-brand {
    padding: 14px 0;
    text-align: center;
}

body.artnonstop-circus .navbar-brand .brand-logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--circus-gold-light) !important;
    text-decoration: none;
    text-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
    display: inline-block;
}

body.artnonstop-circus .navbar-brand .brand-logo span {
    color: inherit;
}

body.artnonstop-circus .navbar-brand .site-description {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--circus-mute);
    margin-top: 4px;
}

/* Навигация — обёртка */
body.artnonstop-circus .container-nav {
    background: transparent;
    border: none;
    padding: 6px 0;
}

/* Меню — обёртка Cassiopeia */
body.artnonstop-circus .mod-menu.mod-list.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

body.artnonstop-circus .mod-menu.mod-list.nav > li {
    position: relative;
}

body.artnonstop-circus .mod-menu.mod-list.nav > li > a {
    display: block;
    padding: 8px 16px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--circus-text);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.25s;
    border: 1px solid transparent;
}

body.artnonstop-circus .mod-menu.mod-list.nav > li > a:hover,
body.artnonstop-circus .mod-menu.mod-list.nav > li.active > a,
body.artnonstop-circus .mod-menu.mod-list.nav > li.current > a {
    color: var(--circus-gold-light);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--circus-border-strong);
}

/* Подменю */
body.artnonstop-circus .mod-menu__sub {
    background: var(--circus-bg-card);
    border: 1px solid var(--circus-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.artnonstop-circus .mod-menu__sub li a {
    color: var(--circus-text);
    padding: 8px 18px;
    transition: all 0.25s;
}

body.artnonstop-circus .mod-menu__sub li a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--circus-gold-light);
}

/* Поиск */
body.artnonstop-circus .container-search {
    background: transparent;
}

body.artnonstop-circus .container-search .form-control,
body.artnonstop-circus .container-search input {
    background: rgba(21, 25, 42, 0.8);
    border-color: var(--circus-border);
    color: var(--circus-text);
}

body.artnonstop-circus .container-search .form-control:focus {
    border-color: var(--circus-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   19. CASSIOPEIA — SIDEBAR-LEFT
   ========================================================================== */
body.artnonstop-circus .container-sidebar-left {
    background: var(--circus-bg);
}

body.artnonstop-circus .sidebar-left.card {
    background: var(--circus-bg-card);
    border: 1px solid var(--circus-border);
    border-radius: 14px;
    overflow: hidden;
}

body.artnonstop-circus .sidebar-left .card-header {
    background: var(--circus-bg-accent);
    border-bottom: 1px solid var(--circus-border-strong);
    color: var(--circus-gold-light);
    font-family: 'Unbounded', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 20px;
    text-align: center;
}

body.artnonstop-circus .sidebar-left .card-body {
    padding: 0;
}

/* Пункты меню в sidebar */
body.artnonstop-circus .sidebar-left .mod-articles-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.artnonstop-circus .sidebar-left .mod-articles-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

body.artnonstop-circus .sidebar-left .mod-articles-item:last-child {
    border-bottom: none;
}

body.artnonstop-circus .sidebar-left .mod-articles-link {
    display: block;
    padding: 12px 20px;
    color: var(--circus-text);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s;
    border-left: 3px solid transparent;
    position: relative;
}

body.artnonstop-circus .sidebar-left .mod-articles-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--circus-gold-light);
    border-left-color: var(--circus-gold);
    padding-left: 26px;
}

body.artnonstop-circus .sidebar-left .mod-articles-link.active,
body.artnonstop-circus .sidebar-left .mod-articles-item.active .mod-articles-link {
    background: rgba(212, 175, 55, 0.14);
    color: var(--circus-gold-light);
    border-left-color: var(--circus-gold);
    font-weight: 700;
    padding-left: 26px;
}

/* Заголовки h4 внутри sidebar (mod-articles-title) */
body.artnonstop-circus .sidebar-left .mod-articles-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: normal;
    color: inherit;
}

/* ==========================================================================
   20. CASSIOPEIA — BREADCRUMBS
   ========================================================================== */
body.artnonstop-circus .mod-breadcrumbs__wrapper {
    padding: 14px 0;
}

body.artnonstop-circus .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

body.artnonstop-circus .breadcrumb-item,
body.artnonstop-circus .breadcrumb-item a,
body.artnonstop-circus .mod-breadcrumbs__here {
    color: var(--circus-mute);
    font-family: 'Unbounded', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

body.artnonstop-circus .breadcrumb-item a:hover {
    color: var(--circus-gold-light);
}

body.artnonstop-circus .breadcrumb-item.active,
body.artnonstop-circus .breadcrumb-item.active span {
    color: var(--circus-gold-light);
}

body.artnonstop-circus .breadcrumb-item + .breadcrumb-item::before {
    color: var(--circus-mute);
}

/* ==========================================================================
   21. CASSIOPEIA — FOOTER
   ========================================================================== */
body.artnonstop-circus .container-footer.footer.full-width,
body.artnonstop-circus footer.container-footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #070a14 100%) !important;
    border-top: 1px solid var(--circus-border-strong) !important;
    color: var(--circus-text);
}

body.artnonstop-circus .site-footer {
    background: transparent !important;
    color: var(--circus-text) !important;
}

body.artnonstop-circus .site-footer .footer-title {
    color: var(--circus-gold-light) !important;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-left: 2px solid var(--circus-gold);
    padding-left: 10px;
}

body.artnonstop-circus .footer-link-light {
    color: rgba(245, 236, 217, 0.75) !important;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.25s;
}

body.artnonstop-circus .footer-link-light:hover {
    color: var(--circus-gold-light) !important;
}

body.artnonstop-circus .site-footer hr {
    border-color: var(--circus-border);
    opacity: 0.5;
}

/* Соцсети в футере */
body.artnonstop-circus .social-icon {
    color: var(--circus-text);
    transition: color 0.25s, transform 0.25s;
}

body.artnonstop-circus .social-icon:hover {
    color: var(--circus-gold-light);
    transform: translateY(-2px);
}

body.artnonstop-circus .social-icon i {
    color: var(--circus-gold-light);
}

body.artnonstop-circus .social-icon--vk .vk-badge {
    background: var(--circus-gold);
    color: #0a0e1a;
}

body.artnonstop-circus .social-icon--vk:hover .vk-badge {
    background: var(--circus-gold-light);
}

/* ==========================================================================
   22. CASSIOPEIA — BACK-TOP
   ========================================================================== */
body.artnonstop-circus #back-top.back-to-top-link {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    transition: transform 0.25s, box-shadow 0.25s;
    font-size: 1.2rem;
}

body.artnonstop-circus #back-top.back-to-top-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(255, 107, 53, 0.55);
}

/* ==========================================================================
   23. CASSIOPEIA — SITE-GRID / ОБЩЕЕ
   ========================================================================== */
body.artnonstop-circus .site-grid {
    background: transparent;
}

body.artnonstop-circus .container-component {
    background: transparent;
    color: var(--circus-text);
}

body.artnonstop-circus .container-banner,
body.artnonstop-circus .container-top-a,
body.artnonstop-circus .container-top-b,
body.artnonstop-circus .container-bottom-a,
body.artnonstop-circus .container-bottom-b {
    color: var(--circus-text);
}
/* ==========================================================================
   24. МОДУЛЬ РЕГИСТРАЦИИ ЦИРКА (.mod-circus-registration)
   Две вкладки: Клиент / Артист. Отправка в save-lead.php и ai.php.
   ========================================================================== */
body.artnonstop-circus .mod-circus-registration {
    background: linear-gradient(135deg, #15192a 0%, #1a1f35 100%) !important;
    border: 1px solid var(--circus-border) !important;
    border-radius: 14px !important;
    padding: 16px 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 30px rgba(212, 175, 55, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    font-family: 'Manrope', sans-serif !important;
    color: var(--circus-text) !important;
    max-width: 100% !important;
}

/* Золотая полоса слева */
body.artnonstop-circus .mod-circus-registration::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: var(--circus-gradient-gold);
    border-radius: 14px 0 0 14px;
}

/* Шапка — бейдж + описание */
body.artnonstop-circus .circus-header {
    text-align: center;
    margin-bottom: 12px;
}

body.artnonstop-circus .circus-badge {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    display: inline-block;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

body.artnonstop-circus .circus-desc {
    font-size: 13px !important;
    color: var(--circus-mute) !important;
    margin: 6px 0 0 0 !important;
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.4;
}

/* Ряд: вкладки + форма */
body.artnonstop-circus .circus-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

/* Вкладки Клиент / Артист */
body.artnonstop-circus .circus-tabs {
    display: flex !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

body.artnonstop-circus .circus-tab {
    padding: 9px 20px !important;
    border: 1px solid var(--circus-border-strong) !important;
    border-radius: 8px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    background: transparent !important;
    color: var(--circus-mute) !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
}

body.artnonstop-circus .circus-tab:hover:not(.active) {
    background: rgba(212, 175, 55, 0.08) !important;
    color: var(--circus-gold-light) !important;
    border-color: var(--circus-gold) !important;
}

body.artnonstop-circus .circus-tab.active {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    border-color: transparent !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3) !important;
}

/* Форма */
body.artnonstop-circus .circus-form {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
}

body.artnonstop-circus .circus-fields {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
}

body.artnonstop-circus .circus-fields input {
    flex: 1 !important;
    min-width: 130px !important;
    height: 40px !important;
    background: rgba(10, 14, 26, 0.85) !important;
    border: 1px solid var(--circus-border) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: var(--circus-text) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    outline: none !important;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
    width: auto !important;
}

body.artnonstop-circus .circus-fields input::placeholder {
    color: rgba(154, 143, 126, 0.7) !important;
}

body.artnonstop-circus .circus-fields input:focus {
    border-color: var(--circus-gold) !important;
    background: rgba(10, 14, 26, 0.95) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18) !important;
}

/* Действия: согласие + кнопка */
body.artnonstop-circus .circus-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
}

body.artnonstop-circus .circus-consent {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: var(--circus-mute) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
}

body.artnonstop-circus .circus-consent input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    accent-color: var(--circus-gold) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

body.artnonstop-circus .circus-consent a {
    color: var(--circus-gold-light) !important;
    text-decoration: underline !important;
}

body.artnonstop-circus .circus-actions button[type="submit"] {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 22px !important;
    height: 40px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

body.artnonstop-circus .circus-actions button[type="submit"]:hover:not(:disabled) {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35) !important;
}

body.artnonstop-circus .circus-actions button[type="submit"]:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

/* Сообщения */
body.artnonstop-circus .circus-message {
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
    width: 100% !important;
    text-align: center !important;
    font-weight: 600 !important;
}

body.artnonstop-circus .circus-message.success {
    background: rgba(212, 175, 55, 0.15) !important;
    color: var(--circus-gold-light) !important;
    border: 1px solid var(--circus-border-strong) !important;
}

body.artnonstop-circus .circus-message.error {
    background: rgba(255, 107, 53, 0.15) !important;
    color: var(--circus-fire) !important;
    border: 1px solid rgba(255, 107, 53, 0.5) !important;
}

body.artnonstop-circus .circus-message.info {
    background: rgba(154, 143, 126, 0.15) !important;
    color: var(--circus-mute) !important;
    border: 1px solid rgba(154, 143, 126, 0.4) !important;
}

/* ==========================================================================
   25. МОДАЛКА ГАЛЕРЕИ (.photo-modal)
   Модалка галереи работает на Bootstrap 5 (modal fade photo-modal).
   Перекрашиваем фон, крестик, стрелки, подпись.
   ========================================================================== */
body.artnonstop-circus .modal-backdrop {
    background-color: #000 !important;
    opacity: 0.92 !important;
}

body.artnonstop-circus .photo-modal .modal-content {
    background: transparent !important;
    border: none !important;
}

body.artnonstop-circus .photo-modal #modalPhoto {
    border-radius: 12px !important;
    border: 1px solid var(--circus-border-strong);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.25);
}

body.artnonstop-circus .photo-modal .custom-close {
    background: rgba(21, 25, 42, 0.9) !important;
    border: 1px solid var(--circus-gold) !important;
    color: var(--circus-gold-light) !important;
    transition: all 0.2s !important;
}

body.artnonstop-circus .photo-modal .custom-close:hover {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    transform: scale(1.05) !important;
}

body.artnonstop-circus .photo-modal .custom-close span {
    color: inherit !important;
}

body.artnonstop-circus .photo-modal .photo-caption {
    background: rgba(21, 25, 42, 0.9) !important;
    border: 1px solid var(--circus-border) !important;
}

body.artnonstop-circus .photo-modal .photo-caption span {
    color: var(--circus-gold-light) !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
}

body.artnonstop-circus .photo-modal .nav-arrow {
    background: rgba(21, 25, 42, 0.85) !important;
    border: 1px solid var(--circus-border-strong) !important;
    color: var(--circus-gold-light) !important;
    transition: all 0.2s !important;
}

body.artnonstop-circus .photo-modal .nav-arrow:hover {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    transform: translateY(-50%) scale(1.05) !important;
}

/* ==========================================================================
   26. AI-ЧАТ (виджет)
   ========================================================================== */
body.artnonstop-circus #aiChatWidget {
    font-family: 'Manrope', sans-serif !important;
}

body.artnonstop-circus #aiChatToggle {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45) !important;
}

body.artnonstop-circus #aiChatToggle:hover {
    filter: brightness(1.1) !important;
    transform: scale(1.06) !important;
}

body.artnonstop-circus #aiChatReminder {
    background: var(--circus-bg-card) !important;
    color: var(--circus-gold-light) !important;
    border: 1px solid var(--circus-border-strong) !important;
}

body.artnonstop-circus #aiChatWindow {
    background: var(--circus-bg-card) !important;
    border: 1px solid var(--circus-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55) !important;
}

body.artnonstop-circus #aiChatHeader {
    background: linear-gradient(135deg, #1a1f35 0%, var(--circus-bg-card) 100%) !important;
    color: var(--circus-text) !important;
    border-bottom: 1px solid var(--circus-border) !important;
    border-radius: 16px 16px 0 0 !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
}

body.artnonstop-circus #aiChatHeader i {
    color: var(--circus-gold-light) !important;
}

body.artnonstop-circus #aiChatClose {
    color: var(--circus-mute) !important;
}

body.artnonstop-circus #aiChatClose:hover {
    color: var(--circus-gold-light) !important;
}

body.artnonstop-circus #aiChatMessages {
    background: var(--circus-bg) !important;
    color: var(--circus-text) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body.artnonstop-circus #aiChatInput {
    background: var(--circus-bg) !important;
    color: var(--circus-text) !important;
    border: 1px solid var(--circus-border) !important;
    border-radius: 20px !important;
}

body.artnonstop-circus #aiChatInput::placeholder {
    color: var(--circus-mute) !important;
}

body.artnonstop-circus #aiChatInput:focus {
    border-color: var(--circus-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18) !important;
}

body.artnonstop-circus #aiChatSend {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
    border-radius: 20px !important;
}

body.artnonstop-circus #aiChatSend:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
}

body.artnonstop-circus #aiChatFastReg {
    background: var(--circus-gradient-gold) !important;
    color: #0a0e1a !important;
}

body.artnonstop-circus #aiChatFastReg:hover {
    filter: brightness(1.1) !important;
}

body.artnonstop-circus #aiChatWindow > div:last-of-type,
body.artnonstop-circus #aiChatWindow > div[style*="border-top"] {
    background: var(--circus-bg-card) !important;
    border-top-color: var(--circus-border) !important;
}

body.artnonstop-circus #aiChatFastRegWrapper {
    background: var(--circus-bg-card) !important;
    border-top-color: var(--circus-border) !important;
}

/* ==========================================================================
   27. МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================================================== */
@media (max-width: 992px) {
    body.artnonstop-circus .container-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    body.artnonstop-circus .mod-menu.mod-list.nav {
        flex-wrap: nowrap;
        gap: 4px;
    }
    body.artnonstop-circus .mod-menu.mod-list.nav > li > a {
        padding: 6px 12px;
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    body.artnonstop-circus .navbar-brand .brand-logo {
        font-size: 1.2rem;
    }
    body.artnonstop-circus .navbar-brand .site-description {
        font-size: 0.55rem;
    }

    /* Модуль регистрации — вертикально */
    body.artnonstop-circus .mod-circus-registration {
        padding: 14px 16px !important;
    }
    body.artnonstop-circus .circus-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    body.artnonstop-circus .circus-tabs {
        width: 100% !important;
        justify-content: center !important;
    }
    body.artnonstop-circus .circus-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    body.artnonstop-circus .circus-fields {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    body.artnonstop-circus .circus-fields input {
        width: 100% !important;
        min-width: unset !important;
        height: 44px !important;
        font-size: 15px !important;
    }
    body.artnonstop-circus .circus-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    body.artnonstop-circus .circus-consent {
        font-size: 12px !important;
        white-space: normal !important;
        justify-content: center !important;
    }
    body.artnonstop-circus .circus-actions button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
        height: 46px !important;
        font-size: 12px !important;
    }

    /* Sticky-nav — горизонтальный скролл */
    body.artnonstop-circus .sticky-nav nav,
    body.artnonstop-circus div[style*="position: sticky"] nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding: 6px 0 10px 0 !important;
        -webkit-overflow-scrolling: touch !important;
    }
    body.artnonstop-circus .sticky-nav nav a,
    body.artnonstop-circus div[style*="position: sticky"] nav a {
        flex-shrink: 0 !important;
    }

    /* Вертикальные видео — меньше */
    body.artnonstop-circus .vertical-video-wrapper {
        max-width: 200px !important;
    }

    /* Галерея — 2 колонки */
    body.artnonstop-circus #gallery .row.g-2 > .col,
    body.artnonstop-circus .row-cols-2 > .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 480px) {
    body.artnonstop-circus .display-4,
    body.artnonstop-circus .display-5 {
        font-size: 1.6rem;
    }
    body.artnonstop-circus .mod-circus-registration {
        padding: 12px 12px !important;
        border-radius: 10px !important;
    }
    body.artnonstop-circus .circus-tab {
        font-size: 11px !important;
        padding: 7px 14px !important;
    }
}

/* ==========================================================================
   28. ДОСТУПНОСТЬ — REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    body.artnonstop-circus *,
    body.artnonstop-circus *::before,
    body.artnonstop-circus *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
/* ==========================================================================
   31. БОКОВАЯ ВКЛАДКА «ШОУ ЦИРКА» + СДВИЖНЫЕ ПАНЕЛИ
   ========================================================================== */
body.artnonstop-circus .an-sidebar-toggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 998;
    background: linear-gradient(135deg, #d4af37 0%, #ff6b35 100%);
    color: #0a0e1a;
    border: 0;
    cursor: pointer;
    padding: 26px 16px;
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: transform 0.25s, background 0.25s, padding 0.25s, opacity 0.25s;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(212, 175, 55, 0.6);
    animation: an-toggle-pulse 2.5s ease-in-out infinite;
}
body.artnonstop-circus .an-sidebar-toggle:hover {
    background: linear-gradient(135deg, #f0d060 0%, #ff6b35 100%);
    padding-right: 22px;
}
body.artnonstop-circus .an-sidebar-toggle-icon {
    font-size: 24px;
    display: grid;
    place-items: center;
    line-height: 1;
}
body.artnonstop-circus .an-sidebar-toggle-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Manrope', system-ui, sans-serif;
    letter-spacing: 0.16em;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
body.sidebar-open .an-sidebar-toggle {
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Верхняя вкладка «Оставить заявку» */
body.artnonstop-circus .an-top-b-wrapper {
    margin: 0 auto 24px auto;
    max-width: 1440px;
    padding: 0 28px;
    text-align: center;
}
body.artnonstop-circus .an-top-b-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #ff6b35 100%);
    color: #0a0e1a;
    border: none;
    border-radius: 0 0 14px 14px;
    padding: 14px 32px;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 -4px 20px rgba(212, 175, 55, 0.2);
    white-space: nowrap;
}
body.artnonstop-circus .an-top-b-toggle:hover {
    background: linear-gradient(135deg, #f0d060 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 -8px 30px rgba(255, 107, 53, 0.45);
}
body.artnonstop-circus .an-top-b-toggle-text {
    display: inline-block;
}

/* Панель top-b */
body.artnonstop-circus .an-top-b {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease;
    opacity: 0;
    background: var(--circus-bg-card);
    border-radius: 0 0 14px 14px;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid var(--circus-border);
    border-top: none;
}
body.artnonstop-circus .an-top-b.is-open {
    max-height: 700px;
    opacity: 1;
}
body.artnonstop-circus .an-top-b-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--circus-mute);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
    z-index: 5;
}
body.artnonstop-circus .an-top-b-close:hover {
    color: var(--circus-gold-light);
}

/* Сдвижная панель слева */
body.artnonstop-circus .an-layout {
    position: relative;
}
body.artnonstop-circus .an-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    background: linear-gradient(180deg, #15192a 0%, #0a0e1a 100%);
    border-right: 1px solid var(--circus-border);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}
body.artnonstop-circus .an-sidebar.open { transform: translateX(0); }
body.artnonstop-circus .an-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--circus-border);
    flex-shrink: 0;
}
body.artnonstop-circus .an-sidebar-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--circus-gold-light);
}
body.artnonstop-circus .an-sidebar-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--circus-border);
    color: var(--circus-gold-light);
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s, border-color 0.2s;
}
body.artnonstop-circus .an-sidebar-close:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--circus-gold);
}
body.artnonstop-circus .an-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 40px;
}
body.artnonstop-circus .an-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 11, 0.75);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
body.artnonstop-circus .an-sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Пункты меню в sidebar */
body.artnonstop-circus .an-sidebar-main .mod-menu,
body.artnonstop-circus .an-sidebar-main ul.mod-list,
body.artnonstop-circus .an-sidebar-main ul.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
body.artnonstop-circus .an-sidebar-main li {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
body.artnonstop-circus .an-sidebar-main li a {
    display: block;
    padding: 14px 22px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #c9d6e6;
    text-decoration: none;
    transition: color 0.25s, padding-left 0.25s, background 0.25s;
    border-left: 3px solid transparent;
}
body.artnonstop-circus .an-sidebar-main li a:hover,
body.artnonstop-circus .an-sidebar-main li.active a {
    color: var(--circus-gold-light);
    background: rgba(212, 175, 55, 0.08);
    border-left-color: var(--circus-gold);
    padding-left: 28px;
}

/* Пункты шоу в sidebar-services */
body.artnonstop-circus .an-sidebar-services .mod-articles-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.artnonstop-circus .an-sidebar-services .mod-articles-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
body.artnonstop-circus .an-sidebar-services .mod-articles-link {
    display: block;
    padding: 14px 22px;
    font-size: 15px;
    color: #c9d6e6;
    text-decoration: none;
    transition: color 0.25s, padding-left 0.25s, background 0.25s;
    border-left: 3px solid transparent;
    font-weight: 500;
}
body.artnonstop-circus .an-sidebar-services .mod-articles-link:hover,
body.artnonstop-circus .an-sidebar-services .mod-articles-item.active .mod-articles-link {
    color: var(--circus-gold-light);
    background: rgba(212, 175, 55, 0.08);
    border-left-color: var(--circus-gold);
    padding-left: 28px;
}
body.artnonstop-circus .an-sidebar-services .mod-articles-title {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Бургер */
body.artnonstop-circus .an-burger {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--circus-border);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    border-radius: 8px;
}
body.artnonstop-circus .an-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--circus-gold-light);
    transition: transform 0.3s;
}
body.artnonstop-circus .an-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.artnonstop-circus .an-burger.active span:nth-child(2) { opacity: 0; }
body.artnonstop-circus .an-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes an-toggle-pulse {
    0%, 100% { box-shadow: 6px 0 24px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(212, 175, 55, 0.6); }
    50% { box-shadow: 6px 0 24px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(212, 175, 55, 0); }
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
    body.artnonstop-circus .an-burger { display: flex; }
    body.artnonstop-circus .an-sidebar-toggle {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        padding: 14px 8px;
        gap: 6px;
        border-radius: 0 10px 10px 0;
        font-size: 10px;
    }
    body.artnonstop-circus .an-sidebar-toggle-text {
        font-size: 10px;
        letter-spacing: 0.14em;
    }
    body.artnonstop-circus .an-sidebar-toggle-icon { font-size: 18px; }
    body.sidebar-open .an-sidebar-toggle { transform: translateY(-50%) translateX(-100%); }
    body.artnonstop-circus .an-sidebar { width: 100%; max-width: 100%; }
}
@media (max-width: 768px) {
    body.artnonstop-circus .an-top-b-wrapper { padding: 0 12px; margin-bottom: 16px; }
    body.artnonstop-circus .an-top-b-toggle { padding: 10px 20px; font-size: 10px; letter-spacing: 0.14em; }
}


/* ==========================================================================

   39. ШРИФТЫ — Playfair Display для всех заголовков

   ========================================================================== */

body.artnonstop-circus h1,

body.artnonstop-circus h2,

body.artnonstop-circus h3,

body.artnonstop-circus h4,

body.artnonstop-circus h5,

body.artnonstop-circus h6,

body.artnonstop-circus .h1,

body.artnonstop-circus .h2,

body.artnonstop-circus .h3,

body.artnonstop-circus .h4,

body.artnonstop-circus .h5,

body.artnonstop-circus .h6,

body.artnonstop-circus .display-1,

body.artnonstop-circus .display-2,

body.artnonstop-circus .display-3,

body.artnonstop-circus .display-4,

body.artnonstop-circus .display-5,

body.artnonstop-circus .display-6,

body.artnonstop-circus .card-title,

body.artnonstop-circus .accordion-button,

body.artnonstop-circus details summary {

    font-family: 'Playfair Display', Georgia, serif !important;

    font-weight: 800 !important;

    letter-spacing: -0.01em !important;

    color: var(--circus-text) !important;

}



/* Акцентные заголовки — золото */

body.artnonstop-circus h1 span.text-warning,

body.artnonstop-circus h2 span.text-warning,

body.artnonstop-circus h1 span.text-primary,

body.artnonstop-circus h2 span.text-primary {

    background: linear-gradient(135deg, #fff6dc 0%, #f0d060 40%, #d4af37 70%, #a9791d 100%);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent !important;

    text-shadow: 0 0 40px rgba(212, 175, 55, 0.35);

}



/* Kicker и badge — Unbounded */

body.artnonstop-circus .badge,

body.artnonstop-circus .kicker,

body.artnonstop-circus .text-uppercase.small {

    font-family: 'Unbounded', system-ui, sans-serif !important;

    letter-spacing: 0.18em !important;

    text-transform: uppercase !important;

}



/* Тело текста — Manrope */

body.artnonstop-circus p,

body.artnonstop-circus li,

body.artnonstop-circus .lead,

body.artnonstop-circus blockquote {

    font-family: 'Manrope', system-ui, sans-serif !important;

}



/* Lead — крупнее и светлее */

body.artnonstop-circus .lead {

    font-size: 1.15rem !important;

    line-height: 1.7 !important;

    color: rgba(245, 236, 217, 0.85) !important;

    font-weight: 400 !important;

}




/* ==========================================================================

   40. ФОНЫ — свечения, градиенты, глубина

   ========================================================================== */



/* Базовый фон страницы с радиальными свечениями */

body.artnonstop-circus {

    background-color: #0a0e1a;

    background-image:

        radial-gradient(1100px 700px at 12% -5%, rgba(212, 175, 55, 0.10), transparent 60%),

        radial-gradient(900px 600px at 95% 8%, rgba(255, 107, 53, 0.08), transparent 60%),

        radial-gradient(1300px 800px at 50% 105%, rgba(201, 74, 21, 0.08), transparent 65%);

    background-attachment: fixed;

}



/* Секции внутри контента — тёмный фон со свечением */

body.artnonstop-circus .container-component > section,

body.artnonstop-circus .container-component > div:not([style*="position: sticky"]) {

    position: relative;

}



/* Каждая секция — с золотой линией-разделителем сверху */

body.artnonstop-circus .container-component > section + section,

body.artnonstop-circus .container-component > div + div {

    margin-top: 0;

}



/* Заголовки секций — с золотым свечением под текстом */

body.artnonstop-circus .display-5,

body.artnonstop-circus .display-4 {

    text-shadow:

        0 0 60px rgba(212, 175, 55, 0.25),

        0 4px 20px rgba(0, 0, 0, 0.5);

}



/* Hero-блок и другие крупные секции с инлайн-фоном — усиливаем свечение */

body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(0,0,0,0.75)"],

body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(30, 47, 74"],

body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"],

body.artnonstop-circus div[style*="linear-gradient(145deg, #1e2f4a"] {

    box-shadow:

        0 30px 80px rgba(0, 0, 0, 0.55),

        0 0 80px rgba(212, 175, 55, 0.12),

        inset 0 0 120px rgba(212, 175, 55, 0.04) !important;

    border: 1px solid rgba(212, 175, 55, 0.22) !important;

    border-radius: 24px !important;

}



/* Секции с фонами #f0f7ff, #ffffff, #e8d5b5 — не даём им быть плоскими */

body.artnonstop-circus div[style*="background: #f0f7ff"],

body.artnonstop-circus div[style*="background: #ffffff"],

body.artnonstop-circus div[style*="background: #e8d5b5"] {

    background:

        radial-gradient(800px 400px at 20% 0%, rgba(212, 175, 55, 0.06), transparent 60%),

        linear-gradient(180deg, #0f1322 0%, #0a0e1a 100%) !important;

    border: 1px solid rgba(212, 175, 55, 0.15) !important;

    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 80px rgba(212, 175, 55, 0.03) !important;

    border-radius: 24px !important;

}



/* Разделитель между секциями — золотая линия */

body.artnonstop-circus .container-component > section + section::before,

body.artnonstop-circus .container-component > div[id] + div[id]::before {

    content: '';

    display: block;

    width: 120px;

    height: 1px;

    margin: 60px auto 60px;

    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);

}



/* Дополнительное свечение под hero-секцией */

body.artnonstop-circus .container-component > div:first-child {

    position: relative;

}

body.artnonstop-circus .container-component > div:first-child::after {

    content: '';

    position: absolute;

    left: 50%;

    bottom: -80px;

    transform: translateX(-50%);

    width: 60%;

    height: 200px;

    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15), transparent 70%);

    pointer-events: none;

    z-index: -1;

}



/* Карточки — усиленное свечение при hover */

body.artnonstop-circus .card {

    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;

}

body.artnonstop-circus .card:hover {

    border-color: rgba(212, 175, 55, 0.55) !important;

    box-shadow:

        0 20px 50px rgba(0, 0, 0, 0.5),

        0 0 40px rgba(212, 175, 55, 0.2) !important;

    transform: translateY(-4px);

}




/* ==========================================================================

   41. ПАРАЛЛАКС — фоны с background-attachment: fixed

   ========================================================================== */



/* Hero — фоновое фото фиксировано */

body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(0,0,0,0.75)"],

body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(30, 47, 74"] {

    background-attachment: scroll, fixed !important;

    background-position: center center, center top !important;

}



/* Цитата Нэтова — фиксированный фон градиента */

body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"] {

    background-attachment: fixed !important;

}



/* Хроники перезапуска — фиксированный фон */

body.artnonstop-circus div[style*="linear-gradient(145deg, #1e2f4a"] {

    background-attachment: fixed !important;

}



/* Секция команды (join) — фиксированный фон */

body.artnonstop-circus #join[style*="linear-gradient(135deg, rgba(30, 47, 74"] {

    background-attachment: scroll, fixed !important;

}



/* Отключаем параллакс на мобильных (плохо работает) */

@media (max-width: 1024px) {

    body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(0,0,0,0.75)"],

    body.artnonstop-circus div[style*="linear-gradient(135deg, rgba(30, 47, 74"],

    body.artnonstop-circus div[style*="linear-gradient(145deg, #b22222"],

    body.artnonstop-circus div[style*="linear-gradient(145deg, #1e2f4a"],

    body.artnonstop-circus #join[style*="linear-gradient"] {

        background-attachment: scroll !important;

    }

}



/* Уважаем prefers-reduced-motion */

@media (prefers-reduced-motion: reduce) {

    body.artnonstop-circus div[style*="linear-gradient"] {

        background-attachment: scroll !important;

    }

}

