.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popup-overlay.show .popup-container {
    transform: translateY(0);
}

.popup-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), #cc0000 url('https://assets.d-cdn.me/img/2025/06/607-ss4.jpeg') center/cover no-repeat;
    padding: 2rem;
    text-align: center;
    position: relative;
    color: white;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 18px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-icon i {
    font-size: 2.5rem;
    color: #cc0000;
    -webkit-text-fill-color: #cc0000;
}

.popup-body {
    padding: 2rem;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list i {
    color: #28a745;
    margin-right: 0.5rem;
}

.download-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    min-width: 160px;
    justify-content: center;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.4);
    color: white;
}

.btn-outline-custom {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
}

.btn-outline-custom:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
    transform: translateY(-2px);
}

.badge-new {
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -5px;
}

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

    .popup-header, .popup-body {
        padding: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
    }
}