/* ============================================
   WIKI - Interactive Encyclopedia Styles
   ============================================ */

/* Layout */
.wiki-page {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* ============================================
   SIDEBAR
   ============================================ */

.wiki-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: linear-gradient(180deg, #0d1f0d 0%, #0a1a0a 100%);
    border-right: 1px solid rgba(106, 176, 76, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}

.wiki-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(106, 176, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wiki-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #98d674;
    font-weight: 700;
    font-size: 1.25rem;
}

.wiki-logo-icon {
    font-size: 1.5rem;
}

.wiki-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: #9ec99e;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.wiki-sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wiki-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #9ec99e;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.wiki-nav-item:hover {
    background: rgba(106, 176, 76, 0.1);
    color: #e8f5e8;
}

.wiki-nav-item.active {
    background: rgba(106, 176, 76, 0.2);
    color: #98d674;
}

.wiki-nav-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.wiki-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(106, 176, 76, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wiki-back-link {
    color: #6b8a6b;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.wiki-back-link:hover {
    color: #98d674;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.wiki-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================
   TOP BAR
   ============================================ */

.wiki-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(13, 31, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(106, 176, 76, 0.15);
}

.wiki-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #9ec99e;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.wiki-search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.wiki-search {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: rgba(106, 176, 76, 0.1);
    border: 1px solid rgba(106, 176, 76, 0.2);
    border-radius: 12px;
    color: #e8f5e8;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.wiki-search::placeholder {
    color: #6b8a6b;
}

.wiki-search:focus {
    outline: none;
    border-color: #6ab04c;
    background: rgba(106, 176, 76, 0.15);
    box-shadow: 0 0 0 3px rgba(106, 176, 76, 0.1);
}

.wiki-search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #1a2f1a;
    border: 1px solid rgba(106, 176, 76, 0.25);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.wiki-search-results.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wiki-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: none;
    color: #e8f5e8;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.wiki-search-item:hover {
    background: rgba(106, 176, 76, 0.15);
}

.wiki-search-item:first-child {
    border-radius: 12px 12px 0 0;
}

.wiki-search-item:last-child {
    border-radius: 0 0 12px 12px;
}

.wiki-search-type {
    font-size: 0.75rem;
    color: #6ab04c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wiki-search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #6b8a6b;
}

.wiki-topbar-link {
    color: #6ab04c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(106, 176, 76, 0.3);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.wiki-topbar-link:hover {
    background: rgba(106, 176, 76, 0.15);
}

/* ============================================
   CONTENT AREA
   ============================================ */

.wiki-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.wiki-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wiki-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   WELCOME SCREEN
   ============================================ */

.wiki-welcome {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
}

.wiki-welcome-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(106, 176, 76, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(106, 176, 76, 0.1) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.wiki-welcome-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.wiki-welcome-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(106, 176, 76, 0.2);
    border: 1px solid rgba(106, 176, 76, 0.3);
    border-radius: 20px;
    color: #6ab04c;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.wiki-welcome h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #98d674;
    margin: 0 0 1rem;
    text-shadow: 0 0 40px rgba(106, 176, 76, 0.3);
}

.wiki-welcome p {
    color: #9ec99e;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Quick Access Buttons */
.wiki-quick-access {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.wiki-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: rgba(26, 47, 26, 0.8);
    border: 1px solid rgba(106, 176, 76, 0.25);
    border-radius: 16px;
    color: #e8f5e8;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.wiki-quick-btn:hover {
    background: rgba(106, 176, 76, 0.15);
    border-color: #6ab04c;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.wiki-quick-btn img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.wiki-quick-icon {
    font-size: 2.5rem;
}

.wiki-quick-btn span {
    font-weight: 600;
}

.wiki-quick-btn small {
    font-size: 0.75rem;
    color: #6b8a6b;
}

/* Recent/Featured */
.wiki-recent {
    padding: 3rem 2rem 4rem;
    background: rgba(10, 26, 10, 0.5);
}

.wiki-recent h2 {
    text-align: center;
    color: #9ec99e;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.wiki-recent-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.wiki-recent-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(26, 47, 26, 0.6);
    border: 1px solid rgba(106, 176, 76, 0.2);
    border-radius: 12px;
    color: #e8f5e8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wiki-recent-card:hover {
    border-color: #6ab04c;
    background: rgba(106, 176, 76, 0.1);
}

.wiki-recent-card img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

/* ============================================
   SECTION PAGES
   ============================================ */

.wiki-section-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(106, 176, 76, 0.15);
}

.wiki-back-btn {
    background: none;
    border: none;
    color: #6ab04c;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.wiki-back-btn:hover {
    color: #98d674;
}

.wiki-section-header h1 {
    color: #98d674;
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.wiki-section-header p {
    color: #9ec99e;
    margin: 0;
}

/* Entries Grid */
.wiki-entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.wiki-entry-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(26, 47, 26, 0.6);
    border: 1px solid rgba(106, 176, 76, 0.2);
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
}

.wiki-entry-card:hover {
    border-color: #6ab04c;
    background: rgba(106, 176, 76, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.wiki-entry-card img {
    width: 56px;
    height: 56px;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

.wiki-entry-info h3 {
    margin: 0 0 0.35rem;
    color: #e8f5e8;
    font-size: 1rem;
}

.wiki-entry-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wiki-entry-badge.plant {
    background: #4a7c59;
    color: #fff;
}

.wiki-entry-badge.water {
    background: #5dade2;
    color: #0a1a0a;
}

.wiki-entry-badge.fire {
    background: #e74c3c;
    color: #fff;
}

.wiki-entry-badge.poison {
    background: #9b59b6;
    color: #fff;
}

.wiki-entry-badge.enemy {
    background: #c9a067;
    color: #0a1a0a;
}

/* Mechanics Grid */
.wiki-mechanics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.wiki-mechanic-card {
    background: rgba(26, 47, 26, 0.6);
    border: 1px solid rgba(106, 176, 76, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
}

.wiki-mechanic-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wiki-mechanic-card h3 {
    color: #98d674;
    margin: 0 0 1rem;
}

.wiki-mechanic-card ul {
    padding-left: 1.25rem;
    margin: 0;
    color: #9ec99e;
}

.wiki-mechanic-card li {
    margin-bottom: 0.5rem;
}

/* ============================================
   MODAL
   ============================================ */

.wiki-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wiki-modal.open {
    opacity: 1;
    visibility: visible;
}

.wiki-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 5, 0.9);
    backdrop-filter: blur(8px);
}

.wiki-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #1e3a1e 0%, #0d1f0d 100%);
    border: 1px solid rgba(106, 176, 76, 0.3);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.wiki-modal.open .wiki-modal-content {
    transform: scale(1) translateY(0);
}

.wiki-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(106, 176, 76, 0.2);
    border-radius: 50%;
    color: #9ec99e;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.wiki-modal-close:hover {
    background: rgba(106, 176, 76, 0.2);
    color: #fff;
}

.wiki-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2rem 1.5rem;
    background: rgba(106, 176, 76, 0.05);
    border-bottom: 1px solid rgba(106, 176, 76, 0.15);
}

.wiki-modal-image {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.5));
    animation: spriteFloat 3s ease-in-out infinite;
}

@keyframes spriteFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.wiki-modal-title h2 {
    margin: 0.5rem 0 0;
    color: #e8f5e8;
    font-size: 1.5rem;
}

.wiki-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.wiki-modal-desc {
    color: #9ec99e;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.wiki-modal-stats h3,
.wiki-modal-tips h3 {
    color: #6ab04c;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
}

.wiki-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.wiki-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.wiki-stat-label {
    color: #6b8a6b;
    font-size: 0.85rem;
}

.wiki-stat-value {
    color: #98d674;
    font-weight: 600;
}

.wiki-modal-tips {
    padding: 1.25rem;
    background: rgba(106, 176, 76, 0.08);
    border: 1px solid rgba(106, 176, 76, 0.15);
    border-radius: 12px;
}

.wiki-modal-tips p {
    margin: 0;
    color: #9ec99e;
    font-size: 0.95rem;
}

.wiki-modal-tip {
    padding: 1rem 1.25rem;
    background: rgba(106, 176, 76, 0.08);
    border: 1px solid rgba(106, 176, 76, 0.15);
    border-radius: 10px;
    color: #9ec99e;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .wiki-sidebar {
        transform: translateX(-100%);
    }

    .wiki-sidebar.open {
        transform: translateX(0);
    }

    .wiki-sidebar-close {
        display: block;
    }

    .wiki-main {
        margin-left: 0;
    }

    .wiki-menu-btn {
        display: block;
    }
}

@media (max-width: 600px) {
    .wiki-topbar {
        padding: 1rem;
    }

    .wiki-topbar-link {
        display: none;
    }

    .wiki-welcome {
        padding: 4rem 1.5rem;
    }

    .wiki-quick-btn {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }

    .wiki-entries-grid {
        padding: 1.5rem;
    }

    .wiki-modal {
        padding: 1rem;
    }

    .wiki-modal-header {
        padding: 1.5rem;
    }

    .wiki-modal-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .wiki-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   INTERACTIVE GAME SCENE
   ============================================ */

.wiki-interactive-scene {
    padding: 3rem 2rem;
    text-align: center;
}

.wiki-interactive-scene h2 {
    color: #98d674;
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.wiki-interactive-scene p {
    color: #9ec99e;
    margin: 0 0 2rem;
}

.game-scene {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(106, 176, 76, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.game-scene-bg {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Sprite Hotspots */
.scene-sprite {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scene-sprite img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.scene-sprite:hover img {
    transform: scale(1.3);
    filter: drop-shadow(0 0 12px rgba(106, 176, 76, 0.8));
}

.sprite-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 0.5rem 1rem;
    background: rgba(10, 26, 10, 0.95);
    border: 1px solid rgba(106, 176, 76, 0.5);
    border-radius: 8px;
    color: #98d674;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 20;
}

.scene-sprite:hover .sprite-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Position sprites on the scene - based on game screenshot */
.scene-sprite.plant-basic {
    top: 30%;
    left: 15%;
}

.scene-sprite.plant-water {
    top: 50%;
    left: 25%;
}

.scene-sprite.plant-fire {
    top: 35%;
    left: 55%;
}

.scene-sprite.plant-poison {
    top: 60%;
    left: 70%;
}

.scene-sprite.enemy-slime {
    top: 45%;
    left: 40%;
}

.scene-sprite.enemy-orc {
    top: 65%;
    left: 45%;
}

.scene-sprite.enemy-bat {
    top: 25%;
    left: 75%;
}

/* Pulse animation for sprites to indicate they're clickable */
.scene-sprite::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(106, 176, 76, 0.2);
    animation: spritePulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes spritePulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive for interactive scene */
@media (max-width: 600px) {
    .scene-sprite img {
        width: 32px;
        height: 32px;
    }

    .wiki-interactive-scene {
        padding: 2rem 1rem;
    }

    .game-scene {
        border-radius: 12px;
    }
}

/* ============================================
   INTERACTIVE MAP ENHANCEMENTS
   ============================================ */

/* Map Navigation Highlight */
.wiki-nav-map {
    background: linear-gradient(135deg, rgba(106, 176, 76, 0.15) 0%, rgba(106, 176, 76, 0.05) 100%);
    border: 1px solid rgba(106, 176, 76, 0.3) !important;
}

.wiki-nav-map::after {
    content: '✨';
    font-size: 0.7rem;
    margin-left: 0.35rem;
}

/* Map Promo Card on Home */
.wiki-map-promo {
    padding: 2rem;
    background: rgba(10, 26, 10, 0.5);
}

.wiki-map-promo-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(106, 176, 76, 0.15) 0%, rgba(26, 47, 26, 0.8) 100%);
    border: 1px solid rgba(106, 176, 76, 0.3);
    border-radius: 16px;
}

.wiki-map-promo-icon {
    font-size: 3rem;
    animation: mapBounce 2s ease-in-out infinite;
}

@keyframes mapBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.wiki-map-promo-content h3 {
    margin: 0 0 0.25rem;
    color: #98d674;
    font-size: 1.25rem;
}

.wiki-map-promo-content p {
    margin: 0;
    color: #9ec99e;
    font-size: 0.9rem;
}

.wiki-map-promo-btn {
    margin-left: auto;
    padding: 0.75rem 1.5rem;
    background: #6ab04c;
    border: none;
    border-radius: 10px;
    color: #0a1a0a;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wiki-map-promo-btn:hover {
    background: #98d674;
    transform: translateX(3px);
}

/* Map Section Container */
.wiki-map-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.game-scene-large {
    max-width: 100%;
    width: 900px;
}

.game-scene-large .scene-sprite img {
    width: 64px;
    height: 64px;
}

/* Map Legend */
.wiki-map-legend {
    background: rgba(26, 47, 26, 0.6);
    border: 1px solid rgba(106, 176, 76, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.wiki-map-legend h3 {
    margin: 0 0 0.75rem;
    color: #9ec99e;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legend-items {
    display: flex;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e8f5e8;
    cursor: pointer;
    transition: opacity 0.2s;
}

.legend-item:hover {
    opacity: 0.8;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .wiki-map-promo-content {
        flex-direction: column;
        text-align: center;
    }

    .wiki-map-promo-btn {
        margin-left: 0;
    }

    .game-scene-large .scene-sprite img {
        width: 40px;
        height: 40px;
    }
}