/* Основные стили и шрифты */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;800&family=Montserrat:wght@300;400;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0c;
    color: #e5e5e5;
}

h1, h2, .font-serif {
    font-family: 'Cinzel', serif;
}

/* Эффект Огня */
.theme-fire {
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 69, 0, 0.1);
}
.theme-fire:hover {
    box-shadow: 0 0 25px rgba(255, 87, 34, 0.6), 0 0 60px rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 87, 34, 0.8);
    transform: translateY(-8px) scale(1.03);
    z-index: 20;
}

/* Эффект Тьмы */
.theme-darkness {
    transition: all 0.5s ease;
    border: 1px solid rgba(138, 43, 226, 0.1);
}
.theme-darkness:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.9), 0 0 70px rgba(75, 0, 130, 0.5);
    border-color: rgba(138, 43, 226, 0.6);
    transform: translateY(-8px) scale(1.03);
    filter: contrast(1.15);
    z-index: 20;
}

/* Анимации появления модального окна */
@keyframes fadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(12px); }
}
@keyframes popIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-active {
    animation: fadeIn 0.4s ease forwards;
}
.modal-content-active {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 768px) {
    .modal-content-active {
        animation: slideUpDesktop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

/* Ползунок прокрутки */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Скрытие скроллбара для горизонтальной ленты на мобилках */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}