 .custom-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(3, 7, 18, 0.5); /* gray-950/50 */
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.custom-modal-content {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 2.5rem 0;
    z-index: 10002;
    animation: popIn 0.3s cubic-bezier(0.17, 0.67, 0.51, 1.25);
}

.max-w-md { max-width: 28rem; }

.custom-modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.custom-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.custom-modal-close:hover {
    background: white;
    color: black;
}

.icon-close { width: 1.25rem; height: 1.25rem; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(2rem); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Scroll Lock */
.no-scroll {
    overflow: hidden !important;
}