/* Announcement Section Animations & Styles */

@keyframes revealPopup {
    0% {
        transform: scale(0.9) translateY(40px) rotateX(-10deg);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
        filter: blur(0);
    }
}

/* Eye-Catchy Transparent Backdrop */
.modal-backdrop.show {
    opacity: 0.4 !important;
    background-color: rgba(13, 17, 23, 0.4) !important;
    backdrop-filter: blur(8px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(150%) !important;
}

@keyframes modalGlow {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0.1;
    }

    50% {
        transform: translateX(100%) rotate(45deg);
        opacity: 0.3;
    }

    100% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0.1;
    }
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmy {
    0% {
        transform: translateX(-100%) skewX(-30deg);
    }

    100% {
        transform: translateX(200%) skewX(-30deg);
    }
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes attentionPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(135, 206, 235, 0.6);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(135, 206, 235, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(135, 206, 235, 0);
        transform: scale(1);
    }
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Modal Core - True Glassmorphism */
.announcement-modal {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(50px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(50px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    overflow: hidden;
    animation: revealPopup 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.announcement-modal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-30deg);
    pointer-events: none;
    animation: shimmy 6s infinite linear;
}

/* Decorative Blobs - More Subtle */
.modal-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.15) 0%, transparent 70%);
}

.blob-2 {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.announcement-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(45deg);
    pointer-events: none;
    animation: modalGlow 8s linear infinite;
}

.announcement-high-priority {
    border-width: 2px !important;
    border-color: rgba(255, 77, 77, 0.6) !important;
    box-shadow: 0 0 50px rgba(255, 77, 77, 0.25), 0 40px 80px -12px rgba(0, 0, 0, 0.9) !important;
}

.announcement-modal .modal-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px 25px;
}

.announcement-modal .modal-title {
    font-size: 1.6rem !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
}

.announcement-modal .modal-body {
    padding: 30px 25px;
}

.announcement-content {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.attachment-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.attachment-frame video,
.attachment-frame img {
    transition: transform 0.5s ease;
}

.attachment-frame:hover video,
.attachment-frame:hover img {
    transform: scale(1.03);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.btn-cta-premium {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-cta-premium:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.btn-cta-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.45) !important;
}

.btn-close-custom {
    background: rgba(255, 255, 255, 0.1) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    padding: 8px !important;
    transition: all 0.2s ease !important;
}

.btn-close-custom:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: rotate(90deg);
}

/* Badge System */
.event-info-pill {
    background: rgba(135, 206, 235, 0.1);
    border: 1px solid rgba(135, 206, 235, 0.2);
    color: #87CEEB;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.location-pill {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}