.top-banner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(90deg, #000000 0%, #0e9294 100%);
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.top-banner:hover {
    height: 45px;
    background: linear-gradient(90deg, #1a1a1a 0%, #15babc 100%);
}

.marquee {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee span {
    display: inline-block;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    will-change: transform;
}

.marquee a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.marquee a:hover {
    color: #000000;
    background: rgba(223, 221, 221, 0.26);
    border-radius: 4px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.top-banner:hover .marquee span {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-banner {
        height: 35px;
    }
    
    .marquee span {
        font-size: 14px;
    }
}