.event-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99,102,241,.35), transparent 60%), linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.85));
    z-index: 1;
}
.event-content {
    position: relative;
}

    .event-content::before {
        content: "";
        position: absolute;
        inset: -20px;
        background: radial-gradient(circle at top right, rgba(37,99,235,.15), transparent 60%);
        z-index: 0;
    }

    .event-content > * {
        position: relative;
        z-index: 1;
    }

.modal-backdrop.show {
    opacity: 0.65;
    backdrop-filter: blur(4px);
}

.modal-dialog {
    max-width: 900px;
}

.event-modal {
    border-radius: 22px;
    border: none;
    overflow: hidden;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 50px 140px rgba(0,0,0,.45);
    animation: modalIn .45s cubic-bezier(.2,.8,.2,1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.event-image-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

    .event-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s ease;
    }

    .event-image-wrapper:hover img {
        transform: scale(1.1);
    }

    .event-image-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0,0,0,.1), rgba(0,0,0,.9) );
    }
.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: .85rem;
    color: #111827;
    box-shadow: 0 15px 30px rgba(0,0,0,.25);
    z-index: 2;
}

.event-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #111827;
}

.event-description {
    font-size: .95rem;
    line-height: 1.75;
    color: #6b7280;
    margin-bottom: 28px;
}


.btn-glow {
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 20px 50px rgba(37,99,235,.6);
    transition: all .3s ease;
}

    .btn-glow:hover {
        transform: translateY(-3px);
        box-shadow: 0 35px 80px rgba(37,99,235,.9);
    }

.btn-outline-glass {
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.15);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
}

@media(max-width: 768px) {
    .event-image-wrapper {
        height: 240px;
    }

    .event-title {
        font-size: 1.5rem;
    }
}
.modal.fade .modal-dialog {
    transform: scale(.92) translateY(40px);
    opacity: 0;
    transition: all .45s cubic-bezier(.2,.8,.2,1);
}
.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.modal.fade:not(.show) .modal-dialog {
    transform: scale(.96) translateY(20px);
    opacity: 0;
}
.modal-backdrop {
    transition: opacity .4s ease;
}
