html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.roads-layer {
    filter: contrast(1.6) brightness(1.5) saturate(1.3);
}

#overlay {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 90vw;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 12px 22px;
    border-radius: 16px;
    text-align: center;
    pointer-events: none;
}

#title {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 4px;
}

#days-left {
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

#event-date {
    font-size: 22px;
    font-weight: 700;
    opacity: 1;
    margin-top: 4px;
}

@media (max-width: 480px) {
    #overlay {
        top: 12px;
        padding: 10px 16px;
    }

    #title {
        font-size: 12px;
    }

    #days-left {
        font-size: 15px;
    }

    #event-date {
        font-size: 18px;
    }
}

.pin-pulse {
    animation: pin-pulse 1.6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pin-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.45; }
    100% { opacity: 1; }
}

.popup-name {
    font-weight: 700;
    font-size: 15px;
}

.popup-address {
    margin-bottom: 8px;
    color: #555;
}

.leaflet-popup-content a.popup-navigate {
    display: inline-block;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
    line-height: 20px;
}

.leaflet-popup-content a.popup-navigate:hover {
    background: #1d4ed8;
}
