/* Estilos para os popups de Perfil e Mundo */

/* Estilos gerais para popups */
.profile-popup, .world-popup, #login-required-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Estilos para o popup de perfil */
.expansion-containers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.expansion-container {
    background: #1a1a1a;
    border: 2px solid #3d2b2b;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expansion-container h3 {
    color: #ddd;
    text-align: center;
    margin: 0;
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.expansion-container.locked {
    opacity: 0.7;
}

.expansion-container.locked:hover {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    border-color: #ffd700;
}

.expansion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #ffd700;
    font-weight: bold;
    z-index: 1;
    padding-top: 45px; /* Posiciona o texto abaixo do título */
}

/* Estilos para o popup de mundo */
.world-map-container {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.world-map {
    flex: 2;
    min-height: 350px;
    background-color: #2a2020;
    background-image: url('assets/images/map.png');
    background-size: cover;
    background-position: center;
    border: 2px solid #3d2b2b;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.map-location {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #00ff00 0%, #008800 100%);
    border: 2px solid #3d2b2b;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px #00ff00;
    /* Sem ícone, apenas o círculo verde */
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}

.unlock-button {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #ffd700 0%, #b8860b 100%);
    border: 1px solid #3d2b2b;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #3d2b2b;
    font-weight: bold;
    transform: translate(75%, 75%);
    bottom: 0;
    right: 0;
    z-index: 15;
}

.unlock-button:hover {
    transform: translate(75%, 75%) scale(1.3);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.map-location:hover, .map-location.active {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    z-index: 10;
}

.location-info {
    flex: 1;
    min-width: 220px;
    width: 280px;
    height: 350px;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid #3d2b2b;
    border-radius: 8px;
    padding: 12px;
    color: #ddd;
    overflow-y: auto;
}

.location-info h3 {
    color: #ff4444;
    margin-bottom: 10px;
    text-align: center;
}

.location-info p {
    line-height: 1.5;
}

/* Responsividade */
@media (max-width: 768px) {
    .world-map-container {
        flex-direction: column;
    }
    
    .world-map {
        min-height: 250px;
    }
    
    .location-info {
        height: 250px;
    }
}

/* Estilos para aviso de login requerido */
#login-required-popup .login-required-content {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border: 2px solid #3d2b2b;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
}

#login-required-popup h3 {
    color: #ff4444;
    margin-bottom: 15px;
    font-size: 1.4em;
}

#login-required-popup p {
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.5;
}

#login-required-popup .login-required-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}