*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- ФОН С ТОЧКАМИ ДЛЯ ОСНОВНОГО КОНТЕНТА --- */
body {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    background-color: #1d1d1e;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ШАПКА - БЕЗ ТОЧЕК */
.wiki-header {
    background: #171718;
    border-bottom: 0.5px solid #ffffff1a;
    position: relative;
    z-index: 100;
}

/* ОСНОВНОЙ КОНТЕНТ С ТОЧКАМИ */
main, 
.wiki-content,
.content-wrapper {
    background-image: radial-gradient(circle, #2a2a2c8f 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding-top: 1px; /* чтобы не наезжало */
}

/* ИЛИ если у тебя есть обертка для всего контента */
.wiki-body {
    background-image: radial-gradient(circle, #2a2a2c71 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    min-height: calc(100vh - 60px); /* высота минус шапка */
    padding-top: 1rem;
}

/* --- ИЛИ ЧЕРЕЗ ПСЕВДОЭЛЕМЕНТ (более чистый способ) --- */
.wiki-content-area {
    position: relative;
    min-height: 100vh;
}

.wiki-content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #2a2a2c 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.wiki-content-area > * {
    position: relative;
    z-index: 1;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- ВЕРХНЯЯ СТРОКА --- */
.header-top {
    padding: 0.8rem 0;
    border-bottom: 1px solid #1e2532;
}

.header-top .header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
}

/* --- ПОИСК С ОРАНЖЕВОЙ РАМКОЙ --- */
.search-block {
    flex: 0 1 450px;
    max-width: 450px;
    min-width: 160px;
    position: relative;
    z-index: 101;
}

.search-wrapper {
    position: relative;
    z-index: 101;
}

.search-field {
    display: flex;
    align-items: center;
    background: #242426;
    border: 1px solid #5050509f;
    padding: 0.35rem 0.8rem 0.35rem 0.8rem;
    transition: all 0.2s ease;
}

.search-field:focus-within {
    border-color: #f54242;
    box-shadow: 0 0 20px rgba(245, 66, 66, 0.267);
}

.search-icon {
    color: #38383c;
    font-size: 0.85rem;
    margin-right: 0.6rem;
}

.search-input {
    background: transparent;
    border: none;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #f0f4ff;
    outline: none;
    width: 100%;
}

.search-input::placeholder {
    color: #6e6e6e;
    font-weight: 500;
}

.search-shortcut {
    color: #5050509f;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border: 1px solid #5050509f;
    background: #38383c;
    white-space: nowrap;
    margin-left: 0.1rem;
    border-radius: 4px;
}

/* --- ВЫПАДАЮЩИЙ ПОИСК С ПОЛОСКАМИ --- */

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- ЗАКЛАДКА (справа) --- */
.actions-block {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.bookmark-wrapper {
    position: relative;
    display: inline-block;
    z-index: 101;
}

.btn-bookmark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: #8e95a8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-bookmark:hover {
    color: #f0f4ff;
}

.btn-bookmark .fa-star {
    font-size: 1.1rem;
    color: #8e95a8;
    transition: color 0.2s ease;
}

/* ТОЛЬКО ПРИ НАВЕДЕНИИ - КРАСНАЯ ЗВЕЗДА */
.btn-bookmark:hover .fa-star {
    color: #f54242;
}

.btn-bookmark span {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

/* --- РЕЗУЛЬТАТЫ ПОИСКА --- */
.search-results {
    display: none;
    padding: 0.3rem;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 0.2rem;
}

.search-result-item:last-child {
    margin-bottom: 0;
}

.search-result-item:hover {
    background: #1a212c;
}

.search-result-item:hover .search-result-title {
    color: #f0f4ff;
}

.search-result-item:hover .search-result-desc {
    color: #8e95a8;
}

.search-result-item:hover .search-result-icon i {
    color: #f5c842;
}

.search-result-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-icon i {
    font-size: 0.85rem;
    color: #38383c;
    transition: color 0.15s ease;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #5b647d;
    transition: color 0.15s ease;
    letter-spacing: 0.2px;
}

.search-result-desc {
    font-size: 0.7rem;
    color: #38383c;
    transition: color 0.15s ease;
    margin-top: 0.05rem;
}

/* --- СООБЩЕНИЕ "НИЧЕГО НЕ НАЙДЕНО" --- */
.search-empty {
    display: none;
    padding: 1.5rem 1rem;
    min-height: 60px;
    align-items: center;
    justify-content: center;
}

.search-empty.active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.search-empty-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    justify-content: center;
}

.search-empty-icon i {
    font-size: 1.2rem;
    color: #2a2a2c;
}

.search-empty-text {
    color: #38383c;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* --- ЗАГРУЗКА ПОИСКА --- */
.search-loading {
    display: none;
    padding: 1.5rem 1rem;
    min-height: 60px;
    align-items: center;
    justify-content: center;
}

.search-loading.active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.search-loading-spinner {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    justify-content: center;
}

.search-loading-spinner i {
    font-size: 1.2rem;
    color: #f54242;
}

.search-loading-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* --- ВЫПАДАЮЩЕЕ ОКНО --- */
.bookmark-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: -10px;
    width: 320px;
    background: #171718;
    border: 1px solid #ffffff36;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s ease;
    z-index: 9999;
    transform-origin: top right;
}

.bookmark-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Стрелочка сверху */
.bookmark-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #2a2a2c;
}

.bookmark-dropdown::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #171718d5;
}

.dropdown-header {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid #2a2a2c;
}

.dropdown-header span {
    color: #cbccce;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.dropdown-content {
    padding: 2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.dropdown-empty {
    text-align: center;
    color: #aaaaaa;
}

.dropdown-empty i {
    font-size: 2rem;
    color: #2f3749;
    margin-bottom: 0.5rem;
    display: block;
}

.dropdown-empty p {
    font-size: 0.85rem;
    color: #99999950;
    margin: 0;
}

/* --- ВЫПАДАЮЩИЙ ПОИСК --- */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #242426;
    border: 1px solid #ffffff2c;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 9999;
    padding: 0.3rem;
    max-height: 400px; /* МАКСИМАЛЬНАЯ ВЫСОТА */
    overflow-y: auto; /* ПРОКРУТКА, ЕСЛИ КОНТЕНТА МНОГО */
}

/* СКРОЛЛБАР ДЛЯ ВЫПАДАШКИ */
.search-dropdown::-webkit-scrollbar {
    width: 4px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: #1a1a1c;
    border-radius: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #3a3a3c;
    border-radius: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #f5c842;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Стрелочка сверху */
.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #2a2a2c;
}

.search-dropdown::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #171718;
}

/* --- КАТЕГОРИИ --- */
.search-category {
    color: #8e95a8;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.8rem 0.3rem;
    border-bottom: 1px solid #2a2a2c;
    margin-bottom: 0.2rem;
}

/* --- ЭЛЕМЕНТ РЕЗУЛЬТАТА --- */
.search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 0.1rem;
    border: 1px solid transparent;
}

/* ПРИ НАВЕДЕНИИ - РАМКА И КРАСНЫЙ ЦВЕТ */
.search-result-item:hover {
    border-color: #f54242;
    background: transparent;
}

.search-result-item:hover .search-result-icon i {
    color: #f54242;
}

.search-result-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.search-result-icon i {
    font-size: 0.85rem;
    color: #5b647d;
    transition: color 0.15s ease;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b0b7c9;
    transition: color 0.15s ease;
    letter-spacing: 0.2px;
}

.search-result-desc {
    font-size: 0.7rem;
    color: #8e95a8;
    font-weight: 600;
    transition: color 0.15s ease;
    margin-top: 0.05rem;
}

.search-result-sub {
    font-size: 0.65rem;
    color: #5b647d;
    transition: color 0.15s ease;
    margin-top: 0.05rem;
    line-height: 1.3;
}

/* --- ИКОНКИ РАЗДЕЛОВ --- */
.section-icons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1a212c;
    border: 1px solid #2a3140;
    color: #6d768f;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    cursor: default;
}

.icon-item:hover {
    background: #252e3d;
    color: #f0f4ff;
    border-color: #3d455a;
}

/* --- КАТЕГОРИИ В РЕЗУЛЬТАТАХ --- */
.search-category {
    color: #d3d3d3b6;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.8rem 0.3rem;
    border-bottom: 1px solid #2a2a2c;
    margin-bottom: 0.2rem;
}

/* --- ЭЛЕМЕНТ РЕЗУЛЬТАТА --- */
.search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 0.1rem;
}

.search-result-item:hover {
    background: #2d2d30;
}

.search-result-item:hover .search-result-title {
    color: #f0f4ff;
}

.search-result-item:hover .search-result-icon i {
    color: #f54242;
}

.search-result-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.search-result-icon i {
    font-size: 0.85rem;
    color: #38383c;
    transition: color 0.15s ease;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b0b7c9;
    transition: color 0.15s ease;
    letter-spacing: 0.2px;
}

.search-result-desc {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #8b8b8bb2;
    font-weight: 600;
    transition: color 0.15s ease;
    margin-top: 0.05rem;
}

.search-result-sub {
    font-size: 0.6rem;
    color: #8b8b8bb2;
    transition: color 0.15s ease;
    margin-top: 0.05rem;
    line-height: 1.3;
}

/* --- ЗАГОЛОВОК РЕЗУЛЬТАТОВ --- */
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.8rem 0.5rem;
    border-bottom: 1px solid #2d2d30;
    margin-bottom: 1rem;
}

.search-results-header-left {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* --- ТОЧКА СЛЕВА --- */
.search-results-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f54242;
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
    order: -1; /* ТОЧКА СЛЕВА */
}

.search-results-title {
    color: #8e95a8;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- ЧИСЛО В КВАДРАТЕ --- */
.search-results-count {
    color: #f54242;
    font-size: 0.8rem;
    font-weight: 700;
    background: #632222b2;
    padding: 0.1rem 0.5rem;
    border: 1px solid #991414;
    min-width: 24px;
    text-align: center;
}

/* --- АДАПТИВ --- */
@media (max-width: 860px) {
    .header-top .header-container {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .search-block {
        flex: 1 1 200px;
        max-width: 100%;
        order: 3;
        width: 100%;
    }

    .header-bottom .header-container {
        flex-wrap: wrap;
    }

    .section-icons {
        flex-wrap: wrap;
    }

    .icon-item {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

@media (max-width: 550px) {
    .header-container {
        padding: 0 1rem;
    }

    .logo-text-wrapper {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 0.9rem;
    }

    .section-number {
        font-size: 1rem;
    }

    .btn-bookmark span {
        display: none;
    }

    .btn-bookmark {
        padding: 0.3rem 0.7rem;
    }

    .search-shortcut {
        display: none;
    }
}

/* --- КОНТЕЙНЕР БИГ ВИКИ --- */
.wiki-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh; /* МЕНЯЕМ HEIGHT НА MIN-HEIGHT */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    background: #1d1d1e;
    margin: 0 auto;
    padding: 2rem 0;
}

/* --- ЛОГОТИП СВЕЧЕНИЕ (ЗАДНИЙ ФОН) --- */
.wiki-logo-glow {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 66, 66, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
        }

/* --- ВИКИ ТЕКСТ (ЗАДНИЙ) --- */
.wiki-big {
    font-family: 'Gotham', 'Inter', sans-serif;
    font-weight: 900;
    font-size: 400px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 5.2496px;
    line-height: 1;
    color: #972f2fc7;
    user-select: none;
    pointer-events: none;
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    white-space: nowrap;
    padding: 0 50px;
}

        /* --- КОНТЕНТ ПОВЕРХ --- */
        .wiki-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1rem;
        }

        /* --- ЛОГОТИП --- */
        .wiki-logo {
            margin-bottom: 0rem;
        }

        .wiki-logo img {
            height: 180px;
            margin-top: 2rem;
            width: auto;
            filter: drop-shadow(0 0 30px rgba(245, 66, 66, 0.3));
        }

        /* --- ПОДЗАГОЛОВОК "ДОКУМЕНТАЦИЯ" --- */
        .wiki-subtitle {
            font-size: 0.7rem;
            font-weight: 600;
            margin-top: 40px;
            color: #f54242;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* --- ОПИСАНИЕ --- */
        .wiki-description {
            font-size: 0.9rem;
            margin-top: -1%;
            color: #c0c0c0;
            max-width: 900px;
            line-height: 1.6;
        }

        /* --- КНОПКА "НАЧАТЬ ЧИТАТЬ" --- */
        .wiki-start-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            margin-top: 1rem;
            padding: 0.7rem 2rem;
            border: 1px solid #f54242;
            color: #f54242;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
            background: transparent;
            text-decoration: none;
            text-transform: uppercase;
        }

        .wiki-start-btn:hover {
            background: #ff3939;
            color: #ffffff;
            box-shadow: 0 0 30px rgba(245, 66, 66, 0.3);
        }

        .wiki-start-btn i {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .wiki-start-btn:hover i {
            transform: translateX(5px);
        }

        /* --- АДАПТИВ --- */
        @media (max-width: 1024px) {
            .wiki-big {
                font-size: 200px;
            }
            .wiki-logo-glow {
                width: 400px;
                height: 400px;
            }
            .wiki-main-title {
                font-size: 3rem;
            }
        }

        @media (max-width: 768px) {
            .wiki-big {
                font-size: 120px;
                letter-spacing: 2px;
            }
            .wiki-logo-glow {
                width: 300px;
                height: 300px;
            }
            .wiki-main-title {
                font-size: 2.2rem;
            }
            .wiki-subtitle {
                font-size: 1rem;
            }
            .wiki-description {
                font-size: 0.85rem;
                padding: 0 1rem;
            }
            .wiki-logo img {
                height: 40px;
            }
        }

        @media (max-width: 480px) {
            .wiki-big {
                font-size: 70px;
                letter-spacing: 1px;
            }
            .wiki-logo-glow {
                width: 200px;
                height: 200px;
            }
            .wiki-main-title {
                font-size: 1.8rem;
            }
            .wiki-start-btn {
                padding: 0.5rem 1.5rem;
                font-size: 0.8rem;
            }
        }

/* --- СЕКЦИЯ КАТАЛОГИ И ИНСТРУМЕНТЫ --- */
.catalog-section {
    padding: 0rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -30rem;
    position: relative;
    z-index: 2;
}

.catalog-container {
    width: 100%;
}

/* ЗАГОЛОВОК */
.catalog-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #2d2d30;
    padding-bottom: 1rem;
}

.catalog-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f54242;
    letter-spacing: 1px;
}

.catalog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

/* СЕТКА КАРТОЧЕК */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

/* КАРТОЧКА */
.catalog-card {
    background: #1a1a1c;
    border: 1px solid #2d2d30;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ИКОНКА В КВАДРАТЕ (КАК ВО ВТОРОМ РАЗДЕЛЕ) */
.catalog-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #242426;
    border: 1px solid #2d2d30;
    transition: all 0.3s ease;
}

.catalog-card-icon i {
    font-size: 1.1rem;
    color: #5b647d;
    transition: color 0.3s ease;
}

/* ПРИ НАВЕДЕНИИ */
.catalog-card:hover {
    border-color: #f54242;
    background: #242426;
    box-shadow: 0 0 30px rgba(245, 66, 66, 0.1);
}

.catalog-card:hover .catalog-card-icon {
    border-color: #f54242;
    background: #2a1a1a;
}

.catalog-card:hover .catalog-card-icon i {
    color: #f54242;
}

.catalog-card:hover .catalog-card-title {
    color: #f54242;
}

.catalog-card:hover .catalog-card-desc {
    color: #8e95a8;
}

/* КОНТЕНТ КАРТОЧКИ */
.catalog-card-content {
    flex: 1;
    min-width: 0;
}

.catalog-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #b0b7c9;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.catalog-card-desc {
    font-size: 0.6rem;
    color: #5b647d;
    transition: color 0.3s ease;
    margin-top: 0.05rem;
}

/* COMING SOON */
.catalog-card.coming-soon {
    opacity: 0.5;
}

.catalog-card.coming-soon:hover {
    opacity: 0.7;
    border-color: #5b647d;
}

.catalog-card.coming-soon:hover .catalog-card-icon {
    border-color: #5b647d;
    background: #1a1a1c;
}

.catalog-card.coming-soon:hover .catalog-card-icon i {
    color: #5b647d;
}

.catalog-card.coming-soon:hover .catalog-card-title {
    color: #8e95a8;
}

/* --- ССЫЛКИ КАРТОЧЕК --- */
.catalog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.catalog-card-link:hover .catalog-card {
    border-color: #f54242;
    background: #242426;
    box-shadow: 0 0 30px rgba(245, 66, 66, 0.1);
}

.catalog-card-link:hover .catalog-card-icon {
    border-color: #f54242;
    background: #2a1a1a;
}

.catalog-card-link:hover .catalog-card-icon i {
    color: #f54242;
}

.catalog-card-link:hover .catalog-card-title {
    color: #f54242;
}

.catalog-card-link:hover .catalog-card-desc {
    color: #8e95a8;
}

/* --- АДАПТИВ --- */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .catalog-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 550px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    .catalog-number {
        font-size: 1rem;
    }
    .catalog-title {
        font-size: 1rem;
    }
    .catalog-card-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    .catalog-card-icon i {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- СЕКЦИЯ РАЗДЕЛЫ ПУБЛИКАЦИЙ --- */
.sections-section {
    padding: 0rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sections-container {
    width: 100%;
}

/* ЗАГОЛОВОК */
.sections-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #2d2d30;
    padding-bottom: 1rem;
}

.sections-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f54242;
    letter-spacing: 1px;
}

.sections-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

/* СЕТКА КАРТОЧЕК (2 КОЛОНКИ) */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* КАРТОЧКА */
.sections-card {
    background: #1a1a1c;
    border: 1px solid #2d2d30;
    padding: 1.2rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* ИКОНКА В КВАДРАТЕ */
.sections-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #242426;
    border: 1px solid #2d2d30;
    transition: all 0.3s ease;
}

.sections-card-icon i {
    font-size: 1.1rem;
    color: #5b647d;
    transition: color 0.3s ease;
}

/* ПРИ НАВЕДЕНИИ */
.sections-card:hover {
    border-color: #f54242;
    background: #242426;
    box-shadow: 0 0 30px rgba(245, 66, 66, 0.1);
}

.sections-card:hover .sections-card-icon {
    border-color: #f54242;
    background: #2a1a1a;
}

.sections-card:hover .sections-card-icon i {
    color: #f54242;
}

.sections-card:hover .sections-card-title {
    color: #f54242;
}

.sections-card:hover .sections-card-posts {
    color: #b0b7c9;
}

.sections-card:hover .sections-card-views {
    color: #8e95a8;
}

.sections-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sections-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #b0b7c9;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.sections-card-stats {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.sections-card-posts {
    font-size: 0.7rem;
    color: #5b647d;
    transition: color 0.3s ease;
}

.sections-card-views {
    font-size: 0.7rem;
    color: #5b647d;
    transition: color 0.3s ease;
}

/* --- АДАПТИВ --- */
@media (max-width: 768px) {
    .sections-grid {
        grid-template-columns: 1fr;
    }
    .sections-section {
        padding: 0rem 1rem 2rem 1rem;
    }
    .sections-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .sections-number {
        font-size: 1rem;
    }
    .sections-title {
        font-size: 1rem;
    }
    .sections-card {
        padding: 1rem;
    }
    .sections-card-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    .sections-card-icon i {
        font-size: 0.9rem;
    }
}