body {
    height: 100vh;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    color: #e0e8ff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

header {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.85) 0%, rgba(25, 20, 40, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

h1,
h3 {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 50%, #ffa56f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.return-to-home-button {
    position: absolute;
    top: 15px;
    left: 20px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    transition: all 0.3s ease;
}

.return-to-home-button:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
    transform: translateY(-2px);
}

.language-selector {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    align-items: center;
    background: none !important;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.language-selector button {
    background: none !important;
    border: none !important;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-selector img {
    width: 25px;
    height: auto;
    margin-right: 5px;
    border: none;
    background: none !important;
}

.language-selector span {
    color: #FF6A2A;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    top: 2px;
    background: none !important;
    transition: color 0.3s ease;
}

.language-selector:hover span {
    color: #ffa56f;
}

.guides-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.sidebar,
.content {
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.75) 0%, rgba(25, 20, 40, 0.75) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 69, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 1200px;
}

.sidebar {
    width: 30%;
}


.content {
    width: 65%;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 5px 0;
}

.sidebar ul li a {
    color: #ffa56f;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.sidebar ul li a:hover {
    color: #818cf8;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

/* Sidebar collapsible sections */
#nav-controls {
    display: flex;
    gap: 8px;
    margin: 8px 0 10px;
}

.nav-btn {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2) 0%, rgba(255, 106, 42, 0.2) 100%);
    color: #FF6A2A;
    border: 1px solid rgba(255, 69, 0, 0.4);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.2);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.3) 0%, rgba(255, 106, 42, 0.3) 100%);
    border-color: rgba(255, 69, 0, 0.6);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
    transform: translateY(-1px);
}

#guide-list {
    padding-left: 0;
}

#guide-list details.nav-section {
    margin: 8px 0;
    border: 1px solid rgba(255, 69, 0, .2);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.6) 0%, rgba(25, 20, 40, 0.6) 100%);
    transition: all 0.3s ease;
}

#guide-list details.nav-section:hover {
    border-color: rgba(255, 69, 0, .4);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

#guide-list summary.nav-summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#guide-list summary.nav-summary::-webkit-details-marker {
    display: none;
}

.nav-caret {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffa56f;
    border-bottom: 2px solid #ffa56f;
    transform: rotate(-45deg);
    transition: transform .2s ease;
    opacity: .9;
}

details[open]>summary .nav-caret {
    transform: rotate(45deg);
}

.nav-count {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.3) 0%, rgba(255, 106, 42, 0.3) 100%);
    color: #FF6A2A;
    border: 1px solid rgba(255, 69, 0, 0.4);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(255, 69, 0, 0.3);
}

#guide-list ul.nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 10px 10px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

#guide-list ul.nav-list li {
    margin: 6px 0;
}

footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 69, 0, 0.3);
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.85) 0%, rgba(25, 20, 40, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* Новый стиль шрифта */
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

body {
    font-family: 'Play', sans-serif;
    /* Современный стильный шрифт */
}

/* Стили для заголовков разделов */
#guide-list h3 {
    font-size: 20px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 12px;
    padding: 6px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 69, 0, 0.5);
    font-weight: bold;
    filter: drop-shadow(0 2px 4px rgba(255, 69, 0, 0.5));
}

/* Стили для списка гайдов */
#guide-list ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 15px 10px;
}

/* Стили для пунктов гайдов */
#guide-list li {
    padding: 10px;
    font-size: 17px;
    color: #ffffff;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}

/* Эффект при наведении */
#guide-list li:hover {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.2) 0%, rgba(255, 106, 42, 0.2) 100%);
    border-radius: 8px;
    cursor: pointer;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

/* Стили для ссылок */
#guide-list li a {
    text-decoration: none;
    color: #FFFFFF;
    transition: color 0.3s ease-in-out;
    font-weight: bold;
}

/* Изменение цвета ссылки при наведении */
#guide-list li a:hover {
    color: #818cf8;
    text-shadow: 0px 0px 10px rgba(129, 140, 248, 0.8);
}

/* Фон списка гайдов */
#guide-list {
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.8) 0%, rgba(25, 20, 40, 0.8) 100%);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.2);
}

/* Гайд контейнер */
#guide-content {
    width: 100%;
    /* Растягивается на всю ширину */
    height: 100%;
    /* Полная высота */
    max-width: 100%;
    max-height: 100%;
    overflow-y: hidden;
    /* Добавляет прокрутку */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Обертка для текста гайда */
.guide-wrapper {
    max-width: 100%;
    word-wrap: break-word;
    /* Перенос длинных слов */
    overflow-x: hidden;

}

.discord-button {
    display: flex;
    align-items: center;
    background: #5865F2;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
    width: auto;
    /* Устанавливаем ширину автоматически в зависимости от содержимого */
    max-width: 105px;
    /* Ограничиваем максимальную ширину */
    margin-left: 20px;
    margin-top: 50px;
    /* Отступ от других элементов */
    justify-content: center;
    /* Центрируем по горизонтали */
}

.discord-button-container {
    position: relative;
}



.discord-button:hover {
    background: #4752C4;
    /* Темнее при наведении */
    transform: scale(1.05);
}

.discord-icon {
    max-width: 50px;
    max-height: 50px;
    width: 100%;

    height: auto;
}

header h1 {
    position: absolute;
    top: 5px;
    /* Поднимет текст ближе к верхнему краю */
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Улучшения от ChatGPT ===== */

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .guides-content {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar,
    .content {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Добавлен отступ между блоками */
.guides-content {
    gap: 30px;
}

/* Прокрутка для длинных гайдов */
#guide-content {
    overflow-y: auto;
}

/* Поле поиска гайдов */
#guide-search {
    width: 100%;
    padding: 10px 12px;
    margin: 0 0 12px 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#guide-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#guide-search:focus {
    border-color: #FF4500;
    background: rgba(255, 69, 0, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

/* Стилизация скроллбара для тёмной темы */
* {
    scrollbar-width: thin;
    scrollbar-color: #FF4500 rgba(255, 255, 255, 0.08);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

/* Рекомендация: добавляй alt="описание" к изображениям для доступности */
#guide-list li a.active-guide {
    color: #FF6A2A;
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.3) 0%, rgba(255, 106, 42, 0.3) 100%);
    border-radius: 8px;
    padding: 5px 10px;
    text-shadow: 0 0 10px rgba(199, 210, 254, 0.8);
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.4);
    border: 1px solid rgba(255, 69, 0, 0.5);
}

/* ===== Unified catalog styles (cards, grids, collapsibles) ===== */
.catalog {
    display: block;
}

.catalog-section {
    margin: 18px 0 24px;
}

.catalog-section>h2 {
    margin: 0 0 10px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.catalog-card {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}

.catalog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 10px 26px -10px rgba(255, 69, 0, .4);
}

.catalog-card h3 {
    margin: 0 0 6px;
    font-weight: 700;
    color: #ffa56f;
}

.catalog-card p {
    margin: 0;
    color: #cfd2d6;
    font-size: 14px;
}

.catalog-details {
    background: rgba(10, 10, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 12px 0;
}

.catalog-details[open] {
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 10px 26px -10px rgba(255, 69, 0, .3);
}

.catalog-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-summary::-webkit-details-marker {
    display: none;
}

.catalog-summary h3 {
    margin: 0;
    color: #ffa56f;
}

.catalog-summary .summary-count {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 2px 8px;
    border-radius: 999px;
}

.catalog-list {
    padding: 0;
    margin: 12px 0 2px;
}

.catalog-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.catalog-list li {
    list-style: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #e6e6e6;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.catalog-list li:hover {
    border-color: rgba(255, 69, 0, .6);
    background: rgba(255, 69, 0, .1);
}

/* Optional column layout */
.catalog-list.list-columns {
    columns: 2;
    column-gap: 24px;
}

.catalog-list.list-columns ul {
    display: block;
}

.catalog-list.list-columns li {
    border-radius: 8px;
    display: block;
    padding: 6px 0;
    background: transparent;
    border-bottom: 1px dotted rgba(255, 255, 255, .08);
    border: none;
}

@media (max-width: 800px) {
    .catalog-list.list-columns {
        columns: 1;
    }
}

/* ===== Combo cards ===== */
.combo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.combo-card {
    background: rgba(10, 10, 12, .6);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.combo-card:hover {
    border-color: rgba(255, 69, 0, .4);
    box-shadow: 0 8px 24px -8px rgba(255, 69, 0, .3);
}

.combo-card h3 {
    margin: 0 0 12px;
    color: #ffa56f;
    text-align: center;
    font-size: 16px;
}

.combo-sequence {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.combo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #FF4500, #FF6A2A);
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(255, 69, 0, .4);
}

.step-skill {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #e6e6e6;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.step-skill:hover {
    background: rgba(255, 69, 0, .15);
    border-color: rgba(255, 69, 0, .4);
}

.combo-arrow {
    color: #FF4500;
    font-size: 18px;
    font-weight: bold;
    margin: 0 4px;
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.5);
}

.combo-arrow::after {
    content: "→";
}

@media (max-width: 480px) {
    .combo-sequence {
        flex-direction: column;
        gap: 12px;
    }

    .combo-arrow {
        transform: rotate(90deg);
    }

    .combo-arrow::after {
        content: "↓";
    }
}

/* ===== Guide content modern prose + components ===== */
.guide-wrapper {
    line-height: 1.7;
    color: #e6e6e6;
}

.guide-wrapper h1,
.guide-wrapper h2,
.guide-wrapper h3,
.guide-wrapper h4 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 50%, #ffa56f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 18px 0 10px 0;
    filter: drop-shadow(0 2px 8px rgba(255, 69, 0, 0.4));
}

.guide-wrapper p {
    margin: 10px 0;
}

.guide-wrapper a {
    color: #ffa56f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-wrapper a:hover {
    color: #818cf8;
    text-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
}

.guide-wrapper a:hover {
    text-decoration: underline;
}

.guide-wrapper ul,
.guide-wrapper ol {
    padding-left: 22px;
}

/* Tables */
.guide-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 20, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.guide-wrapper th,
.guide-wrapper td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-wrapper thead th {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.3) 0%, rgba(255, 106, 42, 0.3) 100%);
    color: #fff;
    border-bottom: 2px solid rgba(255, 69, 0, 0.4);
}

.guide-wrapper tr:hover {
    background: rgba(255, 69, 0, 0.1);
}

/* Blockquotes / callouts */
.guide-wrapper blockquote,
.callout {
    background: linear-gradient(180deg, rgba(255, 69, 0, 0.15), rgba(255, 106, 42, 0.08));
    border-left: 3px solid #FF4500;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 12px 0;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

.callout.tip {
    background: linear-gradient(180deg, rgba(0, 255, 163, 0.12), rgba(0, 255, 163, 0.06));
    border-left-color: #00ffa3;
}

.callout.important {
    background: linear-gradient(180deg, rgba(255, 69, 0, 0.2), rgba(255, 106, 42, 0.1));
    border-left-color: #FF4500;
}

.callout .callout-title {
    font-weight: 700;
    margin-bottom: 6px;
}

/* Code blocks */
.guide-wrapper pre {
    position: relative;
    background: rgba(12, 12, 16, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    overflow: auto;
}

.guide-wrapper code {
    color: #ffd9c5;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.4);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.6);
    transform: translateY(-1px);
}

/* TOC */
.toc-container {
    background: rgba(10, 10, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin: 10px 0 16px 0;
}

.toc-title {
    font-weight: 700;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin: 6px 0;
}

.toc-list a {
    color: #ffa56f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    color: #818cf8;
    text-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
}

.toc-list a:hover {
    text-decoration: underline;
}

/* Anchor offset for sticky header */
.anchor-offset {
    scroll-margin-top: 90px;
}

/* Images + lightbox */
.guide-wrapper img {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: zoom-in;
}

/* Class character images */
.class-image {
    max-width: 300px;
    margin: 20px auto;
    display: block;
    border-radius: 15px;
    border: 2px solid rgba(255, 69, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 69, 0, 0.3);
    transition: all 0.3s ease;
}

.class-image:hover {
    border-color: rgba(255, 106, 42, 0.7);
    box-shadow: 0 12px 32px rgba(255, 69, 0, 0.5);
    transform: scale(1.02);
}

/* Class page specific styles */
.class-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.class-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 106, 42, 0.15));
    border-radius: 15px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow: 0 8px 24px rgba(255, 69, 0, 0.2);
}

.class-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    filter: drop-shadow(0 4px 12px rgba(255, 69, 0, 0.4));
}

.class-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e6e6e6;
    margin: 0;
    font-style: italic;
}

.class-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.class-info-card {
    background: rgba(10, 10, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.class-info-card:hover {
    border-color: rgba(255, 69, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 69, 0, 0.2);
    transform: translateY(-2px);
}

.class-info-card h3 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(255, 69, 0, 0.3);
    padding-bottom: 8px;
}

.class-info-card h4 {
    color: #ffa56f;
    margin: 15px 0 8px 0;
    font-size: 1.1rem;
}

.class-info-card ul {
    margin: 10px 0;
    padding-left: 20px;
}

.class-info-card li {
    margin: 8px 0;
    line-height: 1.5;
}

.class-info-card p {
    margin: 10px 0;
    line-height: 1.6;
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15), rgba(255, 106, 42, 0.1));
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.stat-name {
    font-weight: bold;
    color: #ffa56f;
    font-size: 0.9rem;
}

.stat-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
}

.formulas-section {
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.9), rgba(25, 20, 40, 0.9));
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(255, 69, 0, 0.2);
}

.formulas-section h2 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
    text-align: center;
}

.formula-item {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.1), rgba(255, 106, 42, 0.05));
    border-left: 3px solid #FF4500;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.formula-item:hover {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.15), rgba(255, 106, 42, 0.1));
    border-left-color: #FF6A2A;
}

.formula-label {
    font-weight: bold;
    color: #ffa56f;
}

.formula-value {
    color: #e6e6e6;
    font-family: 'Courier New', monospace;
}

.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.skill-category {
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.skill-category h3 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.12), rgba(255, 106, 42, 0.08));
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    margin: 5px 0;
    color: #e6e6e6;
    transition: all 0.2s ease;
}

.skill-list li:hover {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.2), rgba(255, 106, 42, 0.15));
    border-color: rgba(255, 69, 0, 0.4);
    transform: translateX(4px);
}

/* Professions guide specific styles */
.catalog-section {
    margin-bottom: 40px;
}

.catalog-section h2 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 50%, #ffa56f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5em;
    border-bottom: 2px solid rgba(255, 69, 0, 0.4);
    padding-bottom: 10px;
    filter: drop-shadow(0 2px 8px rgba(255, 69, 0, 0.4));
}

/* Class evolution images - larger size */
.catalog-section .catalog-grid .class-image {
    max-width: 120px;
    max-height: 120px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* NPC images - medium size */
.class-info-card .class-image {
    max-width: 120px;
    max-height: 120px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Profession items - normal size, single row */
.class-info-card .catalog-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.class-info-card .catalog-grid .class-image {
    max-width: 80px;
    max-height: 80px;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Enhanced class-info-card styling */
.class-info-card {
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.class-info-card:hover {
    background: rgba(10, 10, 12, 0.7);
    border-color: rgba(255, 69, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.2);
}

.class-info-card h3 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.2em;
    text-align: center;
}

.guide-note {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.15), rgba(255, 106, 42, 0.1));
    border-left: 4px solid #FF4500;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
    color: #e0e0e0;
    font-style: italic;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

/* Bug hunting page styles */
.bug-levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bug-level-card {
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bug-level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bug-level-card.critical {
    border-color: rgba(220, 38, 38, 0.3);
}

.bug-level-card.critical:hover {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

.bug-level-card.major {
    border-color: rgba(255, 140, 0, 0.3);
}

.bug-level-card.major:hover {
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.2);
}

.bug-level-card.moderate {
    border-color: rgba(255, 193, 7, 0.3);
}

.bug-level-card.moderate:hover {
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 12px 40px rgba(255, 193, 7, 0.2);
}

.bug-level-card.minor {
    border-color: rgba(40, 167, 69, 0.3);
}

.bug-level-card.minor:hover {
    border-color: rgba(40, 167, 69, 0.5);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.2);
}

.bug-level-card.funny {
    border-color: rgba(108, 117, 125, 0.3);
}

.bug-level-card.funny:hover {
    border-color: rgba(108, 117, 125, 0.5);
    box-shadow: 0 12px 40px rgba(108, 117, 125, 0.2);
}

.bug-level-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.bug-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bug-icon.critical {
    background: #dc2626;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.5);
}

.bug-icon.major {
    background: #ff8c00;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.5);
}

.bug-icon.moderate {
    background: #ffc107;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.5);
}

.bug-icon.minor {
    background: #28a745;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.5);
}

.bug-icon.funny {
    background: transparent;
    border: 2px solid #6c757d;
    box-shadow: 0 0 12px rgba(108, 117, 125, 0.3);
}

.bug-level-header h3 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.bug-content {
    color: #e0e0e0;
}

.bug-description {
    font-weight: 500;
    margin-bottom: 15px;
    color: #f0f0f0;
    line-height: 1.5;
}

.bug-examples {
    margin-bottom: 15px;
}

.bug-examples h4 {
    color: #ffa56f;
    margin: 0 0 8px 0;
    font-size: 1em;
}

.bug-examples ul {
    margin: 0;
    padding-left: 20px;
}

.bug-examples li {
    margin-bottom: 4px;
    color: #d0d0d0;
}

.bug-reward {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15), rgba(255, 106, 42, 0.1));
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

.reward-label {
    color: #e0e0e0;
    font-weight: 500;
    margin-right: 8px;
}

.reward-value {
    color: #ffa56f;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(165, 180, 252, 0.5);
}

/* Boss list page styles */
.boss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.boss-card {
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.boss-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.boss-card.legendary {
    border-color: rgba(220, 38, 38, 0.3);
}

.boss-card.legendary:hover {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

.boss-card.epic {
    border-color: rgba(138, 43, 226, 0.3);
}

.boss-card.epic:hover {
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.2);
}

.boss-card.rare {
    border-color: rgba(0, 191, 255, 0.3);
}

.boss-card.rare:hover {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.2);
}

.boss-card.special {
    border-color: rgba(255, 215, 0, 0.3);
}

.boss-card.special:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.boss-image {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.boss-img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.boss-card:hover .boss-img {
    transform: scale(1.05);
}

.boss-info h3 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.boss-type {
    color: #e0e0e0;
    font-weight: 500;
    margin: 0 0 8px 0;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.boss-description {
    color: #d0d0d0;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Legendary bosses get special styling */
.boss-card.legendary .boss-type {
    color: #f87171;
}

.boss-card.epic .boss-type {
    color: #9d4edd;
}

.boss-card.rare .boss-type {
    color: #00bfff;
}

.boss-card.special .boss-type {
    color: #ffd700;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 10px;
}

/* Set and Wings Page Styles - Redesigned */
.set-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.set-description {
    color: #e0e0e0;
}

.set-description h4 {
    color: #ffffff;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.set-description h4:first-child {
    margin-top: 0;
}

.set-description ul {
    margin: 10px 0;
    padding-left: 20px;
}

.set-description li {
    margin: 8px 0;
    line-height: 1.5;
}

.set-description strong {
    color: #ffffff;
    font-weight: 600;
}

.set-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
}

.set-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.set-item-image:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Wings specific styles - single image */
.set-images:has(.set-item-image:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.set-images:has(.set-item-image:only-child) .set-item-image {
    width: 120px;
    height: 120px;
}

/* New Modern Card Design for Sets and Wings */
.modern-set-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    position: relative;
}

.modern-set-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-set-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.modern-set-card:hover::before {
    opacity: 1;
}

.modern-set-header {
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
}

.modern-set-header::after {
    content: '▼';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.modern-set-card[open] .modern-set-header::after {
    transform: translateY(-50%) rotate(180deg);
}

.modern-set-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.modern-set-subtitle {
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
    font-weight: 400;
}

.modern-set-content {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
}

.modern-set-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.modern-stat-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-stat-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-stat-title::before {
    content: '⚡';
    font-size: 1.2rem;
}

.modern-stat-title.full-set::before {
    content: '⭐';
}

.modern-stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-stat-list li {
    color: #e0e0e0;
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #4ecdc4;
    transition: all 0.2s ease;
}

.modern-stat-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #ff6b6b;
}

.modern-set-parts {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-set-parts h4 {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.modern-set-parts p {
    color: #b0b0b0;
    margin: 0;
    font-size: 1rem;
}

.modern-set-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.modern-set-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.modern-set-item-image:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: #4ecdc4;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

/* Wings specific styles */
.modern-wings-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    display: block;
}

.modern-wings-image:hover {
    transform: scale(1.1);
    border-color: #ff6b6b;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
    .modern-set-stats {
        grid-template-columns: 1fr;
    }

    .modern-set-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .modern-set-item-image {
        width: 60px;
        height: 60px;
    }

    .modern-wings-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .class-info-grid {
        grid-template-columns: 1fr;
    }

    .stats-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-section {
        grid-template-columns: 1fr;
    }

    /* Mobile adjustments for professions guide */
    .catalog-section .catalog-grid .class-image {
        max-width: 100px;
        max-height: 100px;
    }

    .class-info-card .class-image {
        max-width: 100px;
        max-height: 100px;
    }

    .class-info-card .catalog-grid .class-image {
        max-width: 60px;
        max-height: 60px;
    }
}

/* Familia Guide Styles */
.familia-guide {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(255, 106, 42, 0.1) 100%);
    border: 2px solid rgba(255, 69, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.3);
}

.familia-guide.neon {
    animation: familiaGlow 2s ease-in-out infinite alternate;
}

@keyframes familiaGlow {
    from {
        box-shadow: 0 8px 32px rgba(255, 69, 0, 0.3);
        border-color: rgba(255, 69, 0, 0.4);
    }

    to {
        box-shadow: 0 8px 32px rgba(255, 106, 42, 0.5);
        border-color: rgba(255, 106, 42, 0.7);
    }
}

.familia-guide .vg-header {
    text-align: center;
    margin-bottom: 30px;
}

.familia-guide .vg-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 50%, #ffa56f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.6));
    margin: 0;
}

.familia-guide .vg-body {
    color: #ffffff;
    line-height: 1.6;
}

.familia-guide .vg-body h3 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.4));
}

.familia-guide .vg-body p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.familia-guide .vg-body ul {
    margin: 15px 0;
    padding-left: 30px;
}

.familia-guide .vg-body li {
    margin: 8px 0;
    font-size: 1.1rem;
}

.familia-guide .vg-body strong {
    color: #ffa56f;
    text-shadow: 0 0 8px rgba(165, 180, 252, 0.5);
}

/* --- Вложенные подпункты в сайдбаре (Раздел -> Подраздел -> Страница) --- */
#guide-list .nav-subsections {
    padding: 6px 8px 10px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

#guide-list details.nav-subsection {
    margin: 8px 0 0;
    border: 1px solid rgba(255, 69, 0, .18);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.55) 0%, rgba(18, 14, 28, 0.55) 100%);
}

#guide-list summary.nav-subsummary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

#guide-list details.nav-subsection[open] summary.nav-subsummary {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

#guide-list ul.nav-sublist {
    padding: 6px 10px 10px 28px;
    /* небольшой отступ для третьего уровня */
    border-top: 0;
}

.monster-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}

.monster-head img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.monster-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #a78bfa; /* твой фиолетовый */
}
.catalog-section--map .catalog-grid{
  grid-template-columns: 1fr;   /* ОДНА колонка */
  justify-items: center;        /* центрируем элементы в колонке */
}

.catalog-section--map .catalog-card{
  justify-self: center;         /* центр карточки в grid */
}
