.announcement-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 0.8s ease;
}

.announcement-container h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 0.6s ease;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    animation: slideInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.6s ease;
}

.announcement-card:hover::before {
    left: 100%;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
    border-left-color: var(--dark-red);
}

.announcement-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.3;
}

.announcement-date {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-date::before {
    content: '';
    font-size: 0.8rem;
}

.announcement-content {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

.announcement-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    }
}

/* Stagger animation for cards */
.announcement-card:nth-child(1) { animation-delay: 0.1s; }
.announcement-card:nth-child(2) { animation-delay: 0.2s; }
.announcement-card:nth-child(3) { animation-delay: 0.3s; }
.announcement-card:nth-child(4) { animation-delay: 0.4s; }
.announcement-card:nth-child(5) { animation-delay: 0.5s; }
.announcement-card:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 768px) {
    .announcement-container {
        padding: 1rem;
    }
    
    .announcement-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .announcement-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .announcement-title {
        font-size: 1.2rem;
        padding-right: 3rem;
    }
    
    .announcement-content {
        font-size: 0.9rem;
    }
    
    .announcement-featured {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .announcement-container h2 {
        font-size: 1.75rem;
    }
    
    .announcement-card {
        padding: 1.25rem;
    }
    
    .announcement-title {
        font-size: 1.1rem;
    }
    
    .announcement-date {
        font-size: 0.8rem;
    }
    
    .announcement-content {
        font-size: 0.85rem;
    }
}