/* =========================================
   5. SECTION: WORLD MAP & LOCATIONS
   ========================================= */
.locations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.location-card {
    width: 300px; /* Fixed width for uniform look */
}

.loc-visual {
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Map Backgrounds */
.map-rust { background: linear-gradient(45deg, #5e4b35, #2a2a2a); }
.map-storm { background: linear-gradient(45deg, #1a2a3a, #001133); }
.map-origin { background: linear-gradient(45deg, #220000, #000000); }

.loc-badge {
    background: rgba(0,0,0,0.8);
    color: var(--primary);
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    border: 1px solid var(--primary);
}
.loc-badge.locked { color: #2eff51; border-color: #3cad2d; }
.loc-badge.unknown { color: #ff4444; border-color: #ff4444; }

.loc-details { padding: 20px; }
.loc-specs {
    list-style: none;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Warning Banner */
.warning-banner {
    margin-top: 60px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px dashed rgba(255, 68, 68, 0.4);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.world-map {
    padding: 100px 50px; 
    background: linear-gradient(180deg, #07080c 0%, #1a1c2e 100%);
}

/* --- MAP CARD IMAGES --- */

.loc-visual {
    position: relative; /* establishes context for absolute positioning */
    overflow: hidden;   /* crops the image if it spills out */
    /* remove the old height if you want the image to dictate it, 
       but keeping it ensures consistency */
    height: 150px;      
    z-index: 1;
}

/* The actual image container */
.loc-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Puts image BEHIND the badge */
}

.loc-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
    transition: transform 0.5s ease;
}

/* Optional: Zoom effect on hover */
.location-card:hover .loc-bg-img img {
    transform: scale(1.1);
}