/* Reset and Full Screen Mobile Gradient Layout with fixed top color */
body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    background-color: #0456A4;
    background-image: linear-gradient(to bottom, #0456A4, #022F5F);
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    /* Keeps mobile layout aligned naturally/top-down, centers on desktop via media query */
    align-items: flex-start; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: white;
    overflow: hidden;
    /* Disables pinch-to-zoom on mobile devices */
    touch-action: pan-x pan-y;
    user-select: none;
}

/* Main Wrapper for Mobile (Default) */
.player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    padding: 50px 20px 40px 20px;
    box-sizing: border-box;
    justify-content: space-between;
}

/* Top group (Album + Title + Progress + Play Button) */
.player-top-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Album Cover Container - Faint, subtle shadow */
.album-cover-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 24px;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Song Title */
.song-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    width: 100%;
    text-align: left;
}

/* Progress Container */
.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

/* Slightly thicker progress bars (8px) with 20% opacity gradient */
.progress-bar-left {
    flex-grow: 1;
    height: 8px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    border-radius: 4px 0 0 4px;
}

.progress-bar-right {
    flex-grow: 1;
    height: 8px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2));
    border-radius: 0 4px 4px 0;
}

/* LIVE badge */
.live-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: normal;
    color: white;
    white-space: nowrap;
}

/* Play Button */
.play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    transition: opacity 0.1s ease;
    transform: translateY(40px);
}

.play-button:active {
    opacity: 0.7;
}

/* Raw Icon Sizing and Color */
.play-icon {
    width: 36px;
    height: 36px;
    fill: white;
}