/* ==========================================================================
   Advanced Location Grid Styling (Premium & Kleurrijk)
   ========================================================================== */

/* De hoofdkaart: krijgt een subtiel diep kleuraccent in de achtergrond */
.location-card {
    width: 100%;
    background: linear-gradient(145deg, #1f2229, #191b21);
    padding: 26px;
    border-radius: 16px;
    box-sizing: border-box;
    margin-top: 24px;
    border: 1px solid #2a2e38;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* De pulserende kaart-titel */
.location-card .gold-text {
    color: #dfb76c;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-card .gold-text i {
    text-shadow: 0 0 10px rgba(223, 183, 108, 0.4);
}

/* De locatietekst */
.location-card .portal-card-text {
    color: #a0a3a8;
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.6;
}

/* Grid configuratie */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    width: 100%;
}

/* De individuele badges met een vloeiende transitie */
.location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background-color: #13151a;
    border: 1px solid #22252e;
    border-radius: 10px;
    position: relative;
    overflow: hidden; /* Nodig voor het glans-effect */
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* HOVER EFFECTEN OP DE BADGE */
.location-item:hover {
    background-color: #1c1f26;
    border-color: #dfb76c;
    transform: translateY(-4px) scale(1.02); /* Beweegt omhoog én schaalt iets */
    
    /* Diepe, meerkleurige gloed (goud met een vleugje paars/blauw voor extra mystiek) */
    box-shadow: 0 8px 24px rgba(223, 183, 108, 0.15), 
                0 2px 8px rgba(106, 49, 219, 0.1);
}

/* DE SPECIALE GLANS-ANIMATIE (Shimmer effect bij hover) */
.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(223, 183, 108, 0.1), transparent);
    transform: skewX(-25deg);
    z-index: -1;
}

.location-item:hover::before {
    animation: flash-shine 0.8s ease;
}

/* Het locatie-pinnetje: krijgt een felle kleurschakeling */
.location-item i {
    color: #4a4f5c; /* Neutraal in ruststand */
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Pinnetje wordt neon-goud en licht op */
.location-item:hover i {
    color: #ffd479;
    filter: drop-shadow(0 0 5px rgba(255, 212, 121, 0.7));
    transform: rotate(15deg); /* Draait een klein stukje voor een speels effect */
}

/* De plaatsnaam tekst */
.location-name {
    color: #92969e;
    font-size: 13.5px;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

/* Tekst springt er spierwit uit tijdens hover */
.location-item:hover .location-name {
    color: #ffffff;
}

/* ==========================================================================
   Animatie definities
   ========================================================================== */
@keyframes flash-shine {
    100% {
        left: 200%;
    }
}