/**
 * منصة يونيميديا - بوابة الجذب الإبداعي (Attraction Portal)
 * Dedicated styling for the premium attraction modal.
 */

.jewel-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(2, 6, 23, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.jewel-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.jewel-modal-content {
    background: linear-gradient(145deg, #111827, #030712) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    border-radius: 40px;
    width: 90%;
    max-width: 550px;
    padding: 3.5rem;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(16, 185, 129, 0.1) !important;
}

.jewel-modal-overlay.active .jewel-modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #3b82f6) !important;
    border-radius: 25px;
    margin: 0 auto 2rem;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.5rem !important;
    color: white !important;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4) !important;
    animation: jewelFloat 3s ease-in-out infinite;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes jewelFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.modal-title {
    color: white !important;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-align: center !important;
    display: block !important;
}

.modal-desc {
    color: #94a3b8 !important;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-align: center !important;
    display: block !important;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-choice {
    padding: 1.3rem;
    border-radius: 20px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
}

.btn-choice i {
    font-size: 1.2rem;
}

.btn-choice-primary {
    background: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-choice-secondary {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.btn-choice-tertiary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-choice:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}