* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: black;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    margin: 0 auto;
    background: black;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

.image {
    width: 100%;
    height: auto;
    display: block;
    max-height: calc(100vh - 110px);
    object-fit: contain;
}

.map-area {
    position: absolute;
    cursor: pointer;
    transition: background-color 0.3s;
}

.map-area:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    animation: modalSlide 0.3s forwards;
    height: 80%;
    top: 10%;
    overflow-y: auto;
}

@keyframes modalSlide {
    to {
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.parfum-list {
    list-style-type: none;
}

.parfum-list li {
    padding: 15px;
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
}

.parfum-numero {
    color: #666;
    font-weight: 500;
    min-width: 45px;
}

.parfum-name {
    font-weight: 600;
    color: #2c3e50;

    span {
        font-weight: 300;
    }
}

.parfum-brand {
    color: #666;
    font-size: 0.9em;
    text-align: right;
}

.instructions {
    text-align: center;
    color: #fff;
    margin: 20px 0;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
    }

    .modal-content {
        margin: auto;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .parfum-list {
        flex-grow: 1;
        overflow-y: auto;
        padding-right: 10px;
    }

    .parfum-list li {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "numero name"
            "numero brand";
        gap: 5px;
    }

    .parfum-numero {
        grid-area: numero;
    }

    .parfum-name {
        grid-area: name;
    }

    .parfum-brand {
        grid-area: brand;
        text-align: left;
    }
}