.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(216, 213, 213, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.popup-dialog {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.popup-overlay.hidden .popup-dialog {
    transform: scale(0.8);
}

.popup-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.popup-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.4;
}

.location-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.location-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.location-btn:hover:before {
    left: 100%;
}

.btn-indian {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: 2px solid transparent;
}

.btn-indian:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(238, 90, 36, 0.3);
}

.btn-outsider {
    background: linear-gradient(135deg, #3742fa, #2f3542);
    color: white;
    border: 2px solid transparent;
}

.btn-outsider:hover {
    background: linear-gradient(135deg, #2f3542, #3742fa);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(55, 66, 250, 0.3);
}

.flag-emoji {
    font-size: 1.3rem;
    margin-right: 10px;
}

@media (max-width: 480px) {
    .popup-dialog {
        padding: 30px 20px;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .main-content h1 {
        font-size: 2rem;
    }
}

@keyframes popupEnter {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-dialog {
    animation: popupEnter 0.4s ease-out;
}