/* --- MAIN RELEASE CARD --- */
.music-release-card {
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px 20px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.music-stores-title {
    font-size: 15px;
    font-weight: 700;
    color: #444444;
    letter-spacing: 1.5px;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}

/* --- THE FEATURED HERO PLAYER --- */
.main-player-wrapper {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.player-embed iframe {
    display: block; /* Removes weird whitespace under iframes */
}

/* --- THE NEW BUTTON LAYOUT --- */
.music-store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Pill Shape Button Base */
.store-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px 8px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Icon & Text Formatting inside Button */
.store-icon {
    display: flex;
    margin-right: 12px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.listen-on {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.platform-name {
    font-size: 14px;
    font-weight: 800;
}

/* --- SPECIFIC BRAND COLORS --- */
.btn-audiomack {
    background: linear-gradient(135deg, #ffa200 0%, #ff6a00 100%);
    color: #000000 !important;
}

.btn-spotify {
    background: #1DB954;
    color: #ffffff !important;
}

.btn-apple {
    background: #111111;
    color: #ffffff !important;
}

.btn-youtube {
    background: #ff0000;
    color: #ffffff !important;
}

/* --- GENIUS MINIMALIST PLAYER FALLBACK --- */
.genius-minimal-player {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 15px;
}

.genius-player-thumb {
    width: 45px; 
    height: 45px; 
    border-radius: 4px; 
    overflow: hidden; 
    position: relative; 
    margin-right: 12px;
    flex-shrink: 0;
    background-color: #000;
}

.genius-player-thumb img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.genius-yt-offscreen {
    position: absolute; 
    width: 1px; 
    height: 1px; 
    top: -9999px;
    left: -9999px;
    opacity: 0; 
    pointer-events: none; 
}

.genius-player-info {
    display: flex; 
    flex-direction: column; 
    max-width: 140px; 
    overflow: hidden; 
    margin-right: 10px; 
}

.genius-song-title {
    font-size: 13px; 
    font-weight: 600; 
    color: #111; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
}

.genius-play-btn {
    background: transparent; 
    border: none; 
    cursor: pointer; 
    color: #111; 
    margin-right: 8px; 
    flex-shrink: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.genius-time-display {
    font-size: 11px; 
    color: #666; 
    margin: 0 6px; 
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.genius-progress-wrapper {
    flex-grow: 1; 
    height: 3px; 
    background-color: #eee; 
    border-radius: 2px; 
    margin: 0 6px; 
}

.genius-progress-fill {
    height: 100%; 
    width: 0%; 
    background-color: #000; 
    transition: width 0.3s ease; 
}

.genius-brand-badge {
    font-size: 11px; 
    font-weight: 700; 
    color: #111; 
    margin-left: 10px;
    flex-shrink: 0;
}

/* Mobile Responsiveness */
@media (max-width: 500px) {
    .genius-player-info { 
        display: none; 
    }
    .store-btn { 
        width: 100%; 
        justify-content: center; 
    }
}