.rp-container-f5c75af5 {
    padding: 50px 20px;
    font-family: sans-serif;
    position: relative;
    overflow: hidden; /* Contains the full-bleed background */
    display: flex;
    align-items: center;
    justify-content: center;
}
.rp-bg-image {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    z-index: 1;
    transition: background-image 0.5s ease-in-out;
}
.rp-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Flex Grid Layout */
.rp-content-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    z-index: 3;
    position: relative;
    align-items: flex-end; /* Align bottom to match album art baseline */
    justify-content: flex-start;
}

/* Left Column: Album Art + Social Icons */
.rp-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}
.rp-album-wrapper {
    position: relative;
    width: 300px; 
    height: 300px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    overflow: hidden; 
}
.rp-album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rp-album-inner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; 
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}
.player-social {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}
.player-social-link {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}
.player-social-link:hover {
    transform: scale(1.1);
    background-color: var(--color-brand, #ffffff);
    border-color: var(--color-brand, #ffffff);
    box-shadow: 0 0 10px 0 var(--color-brand, rgba(255,255,255,0.5));
}
.player-social-link i,
.player-social-link svg {
    font-size: 20px;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Right Column: Stream Info & Play Button + App Buttons */
.rp-col-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}
.player-info {
    margin-bottom: 20px; /* Space between info and apps, if needed */
}
.rp-status-top {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.rp-status-text-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rp-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}
.rp-eq-bar {
    width: 3px;
    background-color: currentColor;
    animation: eq-bounce 1s infinite ease-in-out;
}
.rp-eq-bar:nth-child(1) { animation-delay: 0s; }
.rp-eq-bar:nth-child(2) { animation-delay: 0.2s; }
.rp-eq-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes eq-bounce {
    0%, 100% { height: 4px; }
    50% { height: 12px; }
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}
.rp-title {
    font-size: 48px;
    font-weight: 800;
    margin: 5px 0 25px;
    line-height: 1.2;
    word-wrap: break-word; /* Prevents truncation */
    color: #fff;
}
.rp-controls {
    display: flex;
    justify-content: flex-start;
}
.rp-play-btn {
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.rp-play-btn svg {
    width: 24px;
    height: 24px;
    transition: fill 0.3s ease;
}

/* App Buttons inside Right Column */
.rp-apps {
    display: flex;
    flex-direction: row; /* FORCE single horizontal line */
    gap: 15px;
    justify-content: flex-end; /* Align right to match design */
    align-items: center;
    width: 100%;
}
.header-app-item {
    display: block;
}
.header-app-item img {
    max-width: 150px; 
    height: auto;
    display: block;
}

/* Responsive adjustments */

@media (max-width: 991px) {
    .rp-content-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
    }
    .rp-col-right {
        text-align: center;
        align-items: center;
        margin-left: 0 !important; /* Reset margin on mobile */
    }
    .rp-status-top {
        justify-content: center;
    }
    .rp-controls {
        justify-content: center;
    }
    .rp-apps {
        justify-content: center; /* Center on mobile */
        margin-top: 20px !important;
        margin-left: 0 !important;
    }
}