/* Announcement Marquee Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    background-color: transparent;
    padding: 0;
    text-align: right;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
    width: auto;
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.new-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 50px;
    margin-right: 10px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    height: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
}

.announcement-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
    display: inline-block;
    vertical-align: middle;
}

.announcement-link {
    background-color: white;
    color: #FF6F4A;
    border: 2px solid white;
    padding: 0px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.2;
    display: inline-block;
    margin-left: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.announcement-link:hover {
    background-color: #FF6F4A;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause the animation when hovering */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
} 