/* =========================================================
   ПИТОМНИК «СКОРПИОН»
   Главный экран + фиксированное меню
   ========================================================= */


/* =========================================================
   ОБЩИЕ НАСТРОЙКИ
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #eee8f5;
}


/* =========================================================
   ПРИВЕТСТВЕННЫЙ ЭКРАН
   ========================================================= */

.container-banner {
    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;
}

.scorpion-hero {
    width: 100vw !important;
    min-height: 100vh;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    margin: 0 !important;
    padding: 0;

    background:
        radial-gradient(
            circle at center,
            #6f4a83 0%,
            #432653 45%,
            #211329 100%
        );

    color: #ffffff;

    text-align: center;

    overflow: hidden;
}


/* Затемнение по краям */

.scorpion-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 100%
        );
}


/* Содержимое */

.scorpion-hero-content {
    position: relative;
    z-index: 1;

    padding: 40px 20px;
}


/* Символ */

.scorpion-hero-symbol {
    font-size: 90px;

    line-height: 1;

    margin-bottom: 25px;

    opacity: 0.9;
}


/* Название */

.scorpion-hero h1 {
    margin: 0;

    font-size: clamp(32px, 5vw, 72px);

    letter-spacing: 5px;

    font-weight: 600;
}


/* Подпись */

.scorpion-hero p {
    margin: 18px 0 25px;

    font-size: clamp(18px, 2vw, 28px);

    letter-spacing: 3px;

    opacity: 0.9;
}


/* Линия */

.scorpion-hero-line {
    width: 180px;

    height: 1px;

    margin: 0 auto 30px;

    background: rgba(255, 255, 255, 0.7);
}


/* Добро пожаловать */

.scorpion-hero-welcome {
    display: block;

    font-size: 18px;

    letter-spacing: 4px;

    text-transform: uppercase;

    opacity: 0.85;
}


/* Подсказка прокрутки */

.scorpion-hero-scroll {
    margin-top: 70px;

    font-size: 28px;

    line-height: 1.4;

    opacity: 0.7;

    animation: scorpion-scroll 2s ease-in-out infinite;
}

.scorpion-hero-scroll small {
    font-size: 12px;

    letter-spacing: 2px;
}


/* Анимация стрелки */

@keyframes scorpion-scroll {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}


/* =========================================================
   СТАНДАРТНАЯ ШАПКА CASSIOPEIA
   ========================================================= */

.container-header {
    position: absolute;

    top: 100vh;

    left: 0;

    width: 100%;

    z-index: 1000;

    background: transparent;

    box-shadow: none;
}


/* Убираем стандартное название Cassiopeia */

.container-header .navbar-brand {
    display: none;
}


/* =========================================================
   МЕНЮ
   ========================================================= */

.container-nav {
    width: 100%;

    background: rgba(30, 18, 38, 0.94);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(10px);
}


/* Сам список */

.container-nav .mod-menu {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;
}


/* Пункты */

.container-nav .mod-menu > li > a {
    display: block;

    padding: 18px 25px;

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;

    letter-spacing: 1px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* Наведение */

.container-nav .mod-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   МЕНЮ ПОСЛЕ ПРОКРУТКИ
   ========================================================= */

body.scorpion-scrolled .container-header {
    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: transparent;
}


/* =========================================================
   ОСНОВНОЙ КОНТЕНТ
   ========================================================= */

.site-grid {
    max-width: 1400px;

    margin: 0 auto;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 768px) {

    .scorpion-hero-symbol {
        font-size: 70px;
    }

    .scorpion-hero h1 {
        letter-spacing: 2px;
    }

    .scorpion-hero p {
        letter-spacing: 1px;
    }

    .container-nav .mod-menu {
        display: block;
    }

    .container-nav .mod-menu > li > a {
        display: block;

        text-align: center;
    }

}
/* =========================================================
   СТРАНИЦА «КОТЯТА»
   ========================================================= */

.item-page {
    padding: 0 !important;
    margin: 0 !important;
}


/* Убираем служебную информацию */

.item-page .page-header,
.item-page .actions,
.item-page .icons,
.item-page .article-info {
    display: none !important;
}


/* Тело статьи */

.item-page .com-content-article__body {
    padding: 0 !important;
    margin: 0 !important;
}


/* Большая фотография */

.item-page .com-content-article__body img {
    display: block;

    width: 100vw !important;
    max-width: none !important;

    height: 100vh;

    object-fit: cover;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;
}


/* Текст под фотографией */

.item-page .com-content-article__body p {
    max-width: 1100px;

    margin: 40px auto;

    padding: 0 25px;

    font-size: 18px;

    line-height: 1.7;
}