/* ===== ОБЩИЕ СТИЛИ ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Georgia', 'Times New Roman', serif;
            height: 100vh;
            overflow: hidden;
            background: #1a0e0a;
        }

        /* ===== ФОНОВАЯ КАРТИНКА ===== */
        .hero-map {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(1.02);
            width: 100%;
            height: 100%;
            z-index: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

        .hero-map img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: brightness(0.85) contrast(1.1);
            max-width: 100vw;
            max-height: 100vh;
        }

        /* ===== КОНТЕЙНЕР С ПАНЕЛЯМИ ===== */
        .main-container {
            position: relative;
            z-index: 1;
            display: flex;
            height: 100vh;
            width: 100vw;
        }

        /* ===== ЛЕВАЯ ПАНЕЛЬ (Навигация) ===== */
        .nav-panel {
            flex: 0 0 auto;
            width: 340px;
            min-width: 280px;
            height: 100vh;
            background: rgba(20, 14, 10, 0.78);
            backdrop-filter: blur(15px);
            border-right: 1px solid rgba(139, 69, 19, 0.2);
            padding: 30px 25px;
            overflow-y: auto;
            box-shadow: 5px 0 40px rgba(0, 0, 0, 0.3);
        }

        .nav-panel::-webkit-scrollbar {
            width: 5px;
        }
        .nav-panel::-webkit-scrollbar-track {
            background: rgba(139, 69, 19, 0.1);
            border-radius: 10px;
        }
        .nav-panel::-webkit-scrollbar-thumb {
            background: rgba(139, 69, 19, 0.5);
            border-radius: 10px;
        }

        .panel-header {
            display: flex;
            align-items: center;
            gap: 14px;
            border-bottom: 2px solid rgba(139, 69, 19, 0.2);
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .panel-header .logo-img {
            width: 42px;
            height: 42px;
            filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
            border-radius: 50%;
            border: 2px solid #e9bc5e;
            padding: 4px;
            background: rgba(0, 0, 0, 0.3);
            object-fit: contain;
            flex-shrink: 0;
        }

        .panel-header h2 {
            font-size: 1.8rem;
            color: #d4b48c;
            font-family: 'Georgia', serif;
            letter-spacing: 0.1em;
            text-shadow: 0 0 30px rgba(139, 69, 19, 0.3);
            margin-bottom: 0;
        }

        /* ===== КНОПКИ НАВИГАЦИИ ===== */
        .nav-buttons {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .divider {
            height: 1px;
            background: rgba(139, 69, 19, 0.15);
            margin: 4px 0;
        }

        .nav-btn {
            padding: 14px 20px;
            background: rgba(139, 69, 19, 0.08);
            border: 1px solid rgba(139, 69, 19, 0.2);
            border-radius: 10px;
            color: #d4c5a0;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Georgia', serif;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-btn:hover {
            background: rgba(139, 69, 19, 0.2);
            transform: translateX(5px);
            border-color: rgba(139, 69, 19, 0.5);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        /* ===== ВЫПАДАЮЩИЕ МЕНЮ ===== */
        .dropdown-container {
            position: relative;
        }

        .dropdown-btn {
            padding: 14px 20px;
            background: rgba(139, 69, 19, 0.08);
            border: 1px solid rgba(139, 69, 19, 0.2);
            border-radius: 10px;
            color: #d4c5a0;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Georgia', serif;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .dropdown-btn:hover {
            background: rgba(139, 69, 19, 0.2);
            border-color: rgba(139, 69, 19, 0.5);
        }

        .dropdown-btn .arrow {
            transition: transform 0.3s ease;
            font-size: 0.8rem;
        }

        .dropdown-container.open .dropdown-btn .arrow {
            transform: rotate(180deg);
        }

        .dropdown-container.open .dropdown-btn {
            background: rgba(139, 69, 19, 0.2);
            border-color: rgba(139, 69, 19, 0.5);
        }

        .dropdown-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(20, 14, 10, 0.6);
            border-radius: 0 0 10px 10px;
            margin-top: 0;
        }

        .dropdown-container.open .dropdown-menu {
            max-height: 400px;
        }

        .dropdown-item {
            padding: 12px 20px 12px 45px;
            color: #c4b59a;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            border-left: 3px solid transparent;
        }

        .dropdown-item:hover {
            background: rgba(139, 69, 19, 0.15);
            border-left-color: #d4b48c;
            padding-left: 55px;
            color: #f0e6d3;
        }

        /* ===== ПРАВАЯ ПАНЕЛЬ (Хроники) ===== */
        .right-info-panel {
            flex: 0 0 auto;
            width: 380px;
            min-width: 280px;
            height: 100vh;
            background: rgba(20, 14, 10, 0.78);
            backdrop-filter: blur(15px);
            border-left: 1px solid rgba(139, 69, 19, 0.2);
            padding: 30px 25px;
            overflow-y: auto;
            box-shadow: -5px 0 40px rgba(0, 0, 0, 0.3);
            margin-left: auto;
        }

        .right-info-panel::-webkit-scrollbar {
            width: 5px;
        }
        .right-info-panel::-webkit-scrollbar-track {
            background: rgba(139, 69, 19, 0.1);
            border-radius: 10px;
        }
        .right-info-panel::-webkit-scrollbar-thumb {
            background: rgba(139, 69, 19, 0.5);
            border-radius: 10px;
        }

        .right-panel-header h2 {
            font-size: 1.8rem;
            color: #d4b48c;
            font-family: 'Georgia', serif;
            letter-spacing: 0.1em;
            text-shadow: 0 0 30px rgba(139, 69, 19, 0.3);
        }

        .right-panel-header {
            border-bottom: 2px solid rgba(139, 69, 19, 0.2);
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .info-card {
            background: rgba(139, 69, 19, 0.08);
            border-left: 3px solid rgba(139, 69, 19, 0.3);
            padding: 18px 20px;
            margin-bottom: 20px;
            border-radius: 0 10px 10px 0;
            transition: all 0.3s ease;
        }

        .info-card:hover {
            background: rgba(139, 69, 19, 0.15);
            transform: translateX(5px);
        }

        .info-card-title {
            font-size: 0.9rem;
            font-weight: bold;
            color: #d4b48c;
            letter-spacing: 0.15em;
            margin-bottom: 10px;
        }

        .info-card-text {
            font-size: 0.95rem;
            line-height: 1.7;
            color: #c4b59a;
        }

        .info-card-text p {
            margin-bottom: 10px;
        }

        .highlight {
            color: #d4b48c;
            font-weight: bold;
            text-shadow: 0 0 20px rgba(139, 69, 19, 0.2);
        }

        .divider-ornament {
            text-align: center;
            opacity: 0.4;
            letter-spacing: 0.5em;
            margin: 10px 0 5px;
        }

        /* ===== ВСПЛЫВАЮЩИЕ СООБЩЕНИЯ ===== */
        .toast-message {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(20, 14, 10, 0.92);
            backdrop-filter: blur(10px);
            padding: 15px 30px;
            border-radius: 50px;
            color: #d4c5a0;
            font-size: 1rem;
            font-family: 'Georgia', serif;
            border: 1px solid rgba(139, 69, 19, 0.3);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
            z-index: 9999;
            transition: opacity 0.3s ease;
            animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 1200px) {
            .nav-panel {
                width: 280px;
                min-width: 240px;
                padding: 20px 15px;
            }
            .right-info-panel {
                width: 320px;
                min-width: 240px;
                padding: 20px 15px;
            }
            .panel-header .logo-img {
                width: 36px;
                height: 36px;
            }
            .panel-header h2 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 992px) {
            .nav-panel {
                width: 240px;
                min-width: 200px;
                padding: 18px 12px;
            }
            .right-info-panel {
                width: 260px;
                min-width: 200px;
                padding: 18px 12px;
            }
            .panel-header .logo-img {
                width: 32px;
                height: 32px;
            }
            .panel-header h2,
            .right-panel-header h2 {
                font-size: 1.4rem;
            }
            .nav-btn,
            .dropdown-btn {
                padding: 10px 14px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 768px) {
            body {
                overflow-y: auto;
            }
            .main-container {
                flex-direction: column;
                height: auto;
            }
            .nav-panel {
                width: 100%;
                min-width: unset;
                height: auto;
                max-height: 35vh;
                border-right: none;
                border-bottom: 2px solid rgba(139, 69, 19, 0.3);
                padding: 15px;
                box-shadow: 0 5px 40px rgba(0, 0, 0, 0.5);
                flex: none;
            }
            .right-info-panel {
                width: 100%;
                min-width: unset;
                height: auto;
                max-height: 45vh;
                border-left: none;
                border-top: 2px solid rgba(139, 69, 19, 0.3);
                padding: 15px;
                box-shadow: 0 -5px 40px rgba(0, 0, 0, 0.5);
                margin-left: 0;
                flex: none;
            }
            .panel-header .logo-img {
                width: 30px;
                height: 30px;
            }
            .panel-header h2 {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 480px) {
            .nav-panel {
                max-height: 30vh;
                padding: 10px;
            }
            .right-info-panel {
                max-height: 40vh;
                padding: 10px;
            }
            .panel-header .logo-img {
                width: 26px;
                height: 26px;
            }
            .panel-header h2,
            .right-panel-header h2 {
                font-size: 1.1rem;
            }
            .info-card {
                padding: 10px 12px;
            }
            .info-card-text {
                font-size: 0.8rem;
            }
            .nav-btn,
            .dropdown-btn {
                padding: 8px 12px;
                font-size: 0.8rem;
            }
        }