/* Centers everything on the screen */
body {
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    background-color: #000000;
    font-family: Arial, sans-serif;
}

/* Container to keep elements organized and centered */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

/* Styling for the top image */
.radio-banner {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Adds spacing around the player wrapper */
.rtplwrapperForIe {
    margin-bottom: 30px;
}

/* Creates clean text lines at the bottom */
.text-lines {
    width: 100%;
    margin-top: 10px;
}

.line {
    border-top: 1px solid #999;
    padding-top: 8px;
    margin: 15px 0;
    min-height: 20px;
    color: #ffffff;
    text-align: center;
}

/* Rotating Ticker Styles */
.footer-ticker {
    text-align: center;
    margin: 25px 0 15px 0;
    width: 100%;
}

#rotating-message {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #525254; 
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2), 
                 0 0 12px rgba(150, 150, 150, 0.3), 
                 0 0 20px rgba(100, 100, 100, 0.1);
    min-height: 1.5em; 
    margin: 0;
    animation: cleanPulse 4s infinite ease-in-out;
}

/* Subtle Grayscale Breathing Animation */
@keyframes cleanPulse {
    0%, 100% {
        color: #525254;
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.05), 0 0 10px rgba(100, 100, 100, 0.1);
    }
    50% {
        color: #b5b5b5;
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.2), 0 0 15px rgba(150, 150, 150, 0.3);
    }
}

/* Carousel Wrapper */
/* ==========================================================================
   SMOOTH ROLLING MARQUEE CAROUSEL STYLES
   ========================================================================== */
.carousel-container {
    width: 100%;
    max-width: 520px; /* Perfectly flush with your stream widget */
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #332e2e;
    position: relative;
    background-color: #000;
}

/* The track wraps two matching sets side by side */
.carousel-track {
    display: flex;
    width: 200%; /* Holds two sets of 100% lanes side by side */
    animation: rollMarquee 15s linear infinite;
}

/* Pause the rolling marquee if a user hovers over an image link */
.carousel-track:hover {
    animation-play-state: paused;
}

/* Each slide takes up 12.5% of the 200% wide track (which equals 25% of the visible container view) */
.carousel-slide {
    width: 10%;
    min-width: 10%;
    box-sizing: border-box;
    padding: 0 4px; /* Tiny elegant gap between the images */
}

.carousel-slide a {
    display: block;
    width: 100%;
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

/* Pure CSS Loop: Smoothly shift track left by half its total width (one full image set) */
@keyframes rollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

