@import url('https://fonts.googleapis.com/css2?family=Playwrite+US+Modern:wght@100..400&display=swap');

/* ===== CONTENEDOR GENERAL ===== */
.hotspot-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    background: #000;
    /* o transparente */
}

/* ===== CONTENEDOR DE IMAGEN ===== */
.image-hotspot-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1600px;
    /* un poco más ancho */
}

/* ===== TÍTULO ===== */
.hotspot-title {
    text-align: center;
    font-family: "Playwrite US Modern", cursive;
    font-weight: 300;
    font-size: 1.7rem;
    color: #fdfdfd;
    margin-bottom: 15px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #0a0a0a, #1b1b1b);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* ===== IMAGEN PRINCIPAL ===== */
.hotspot-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: brightness(0.9) contrast(1.05);
    transition: filter 0.3s ease;
}

.hotspot-image:hover {
    filter: brightness(1);
}

/* ===== PUNTOS INTERACTIVOS ===== */
.hotspot {
    position: absolute;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 35%, rgba(0, 255, 255, 0.6) 65%, transparent 80%);
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.hotspot:hover {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* ===== EFECTO PULSO ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .image-hotspot-container {
        max-width: 500px;
    }

    .hotspot {
        width: 18px;
        height: 18px;
    }

    .hotspot-title {
        font-size: .7rem;
    }
}