.ainna-modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 999999 !important;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.ainna-modal-overlay.active {
    display: flex !important;
}
.ainna-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.ainna-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ainna-modal-close:hover {
    background: #fff;
    transform: scale(1.1) rotate(90deg);
    color: #ef4444;
}
.ainna-modal-poster {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #f8fafc;
}
.ainna-modal-footer {
    text-align: center;
    padding: 24px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.ainna-modal-footer h3 {
    color: #1e293b;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}
.ainna-modal-footer p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.5;
}
.ainna-modal-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    border: none;
    cursor: pointer;
}
.ainna-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #16a34a, #15803d);
}
.ainna-modal-btn:active { transform: translateY(-1px); }
@media (max-width: 768px) {
    .ainna-modal-content { max-width: 95vw; max-height: 85vh; }
    .ainna-modal-footer h3 { font-size: 18px; }
    .ainna-modal-footer p { font-size: 13px; }
    .ainna-modal-btn { padding: 12px 28px; font-size: 14px; }
}