.announcement-banner-container {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.announcement-notice {
    animation: slideDown 0.3s ease-in-out, gradientShift 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.6rem;
    overflow: hidden;
    max-width: 750px;
    width: 100%;
    position: relative;
}

.announcement-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
}

.announcement-wrapper {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.announcement-content {
    flex-grow: 1;
    text-align: center;
    max-width: 100%;
}

.announcement-title {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.announcement-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
}

.announcement-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.announcement-text a:hover {
    opacity: 0.8;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .announcement-banner-container {
        margin-bottom: 1.5rem;
    }

    .announcement-notice {
        padding: 1rem;
        max-width: 100%;
        border-radius: 4px;
    }

    .announcement-header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .announcement-title {
        font-size: 1rem;
    }

    .announcement-text {
        font-size: 0.9rem;
    }

    .announcement-icon {
        min-width: auto;
        height: auto;
    }
}