.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #FFFFFF;
    width: 90%;
    max-width: 340px;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.close-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #8E8E93;
    font-size: 20px;
    line-height: 1;
    transition: background 0.2s;
}

.close-icon:hover {
    background-color: #e5e5e5;
    color: #1C1C1E;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1E;
    margin: 0 0 8px 0;
}

.modal-desc {
    font-size: 16px;
    color: #8E8E93;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-apk {
    background-color: #007AFF;
    color: white;
}

.btn-apk:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-h5 {
    background-color: #F2F2F7;
    color: #3A3A3C;
}

.btn-h5:hover {
    background-color: #e5e5ea;
}

.download-svg {
    fill: currentColor;
    width: 32px;
    height: 32px;
}