/* ============================================
   Announcement Banner Styles
   ============================================ */

.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-1);
    color: #000;
    padding: 1rem 0;
    z-index: 1001;
    transform: translateY(-100%);
    animation: slideDown 0.5s ease-out forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.announcement-banner.hidden {
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(-100%);
    }
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.announcement-icon {
    font-size: 1.5rem;
    animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.announcement-text {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.announcement-close {
    position: absolute;
    right: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 700;
}

.announcement-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg) scale(1.1);
}


@media (max-width: 768px) {
    .announcement-text {
        font-size: 0.95rem;
        padding-right: 40px;
    }
    
    .announcement-icon {
        font-size: 1.2rem;
    }
    
    .announcement-close {
        right: 16px;
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }
}

