/**
 * Music Section - Ultra Luxury Minimalist Player
 * Premium Vinyl Aesthetic
 * 
 * @package Bargtunes
 */

/* ========================================
   SECTION CONTAINER
======================================== */

.bargtunes-music {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    padding: 0;
    overflow: hidden;
}

/* Subtle vignette */
.bargtunes-music::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, 
        transparent 0%, 
        rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Container */
.music-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* ========================================
   SECTION HEADER - MINIMAL
======================================== */

.music-header {
    position: absolute;
    top: 80px;
    left: 80px;
    z-index: 20;
    opacity: 0;
    transform: translateY(30px);
}

.music-title {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    margin: 0 0 8px 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.music-subtitle {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* ========================================
   MUSIC GRID - CENTERED STACK
======================================== */

.music-grid {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 80px 80px 80px;
    gap: 0;
    position: relative;
    perspective: 2000px;
}

/* ========================================
   MUSIC CARD - VINYL AESTHETIC
======================================== */

.music-card {
    position: absolute;
    width: 420px;
    height: 580px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(60px);
    backdrop-filter: blur(20px);
    overflow: visible;
}

/* Stacking effect */
.music-card:nth-child(1) { z-index: 10; }
.music-card:nth-child(2) { z-index: 9; transform: translateY(80px) translateX(-20px) scale(0.95); opacity: 0.7; }
.music-card:nth-child(3) { z-index: 8; transform: translateY(100px) translateX(-40px) scale(0.9); opacity: 0.5; }
.music-card:nth-child(4) { z-index: 7; transform: translateY(120px) translateX(-60px) scale(0.85); opacity: 0.3; }
.music-card:nth-child(n+5) { 
    z-index: 6; 
    transform: translateY(140px) translateX(-80px) scale(0.8); 
    opacity: 0.1;
    pointer-events: none;
}

.music-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Vinyl Disc */
.music-cover {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 60px auto 40px auto;
    border-radius: 50%;
    overflow: visible;
}

.music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 
        0 0 0 12px rgba(0, 0, 0, 0.9),
        0 0 0 13px rgba(255, 255, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Center hole */
.music-cover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #000000;
    border-radius: 50%;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

/* Vinyl grooves */
.music-cover::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: 
        repeating-radial-gradient(
            circle at center,
            transparent 0,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.music-card:hover .music-cover img {
    filter: grayscale(100%) contrast(1.3) brightness(1);
    transform: rotate(180deg);
}

/* Play Button - Center of Vinyl */
.music-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 4;
}

.music-card:hover .music-play-overlay {
    opacity: 1;
}

.music-play-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: all;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.music-play-btn:hover {
    transform: scale(1.2);
    background: #ffffff;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 0 3px rgba(255, 255, 255, 0.3),
        inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.music-play-btn svg {
    width: 20px;
    height: 20px;
    fill: #000000;
    margin-left: 2px;
}

.music-play-btn.playing {
    background: #000000;
    border: 2px solid #ffffff;
}

.music-play-btn.playing svg {
    width: 16px;
    height: 16px;
    margin-left: 0;
    fill: #ffffff;
}

/* Music Info */
.music-info {
    position: relative;
    padding: 0 50px 50px 50px;
    text-align: center;
}

.music-name {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.music-artist {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 25px 0;
    letter-spacing: 0.02em;
}

/* Music Meta */
.music-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.music-duration,
.music-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

/* External Links */
.music-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.music-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s ease;
}

.music-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.music-link svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.6);
    transition: fill 0.3s ease;
}

.music-link:hover svg {
    fill: #ffffff;
}

/* Navigation Controls */
.music-nav {
    position: absolute;
    bottom: 80px;
    right: 80px;
    display: flex;
    gap: 15px;
    z-index: 30;
    opacity: 0;
    transform: translateY(20px);
}

.music-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.music-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.music-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.6);
}

.music-nav-btn:hover svg {
    fill: #ffffff;
}

.music-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.05);
}

.music-nav-btn:disabled svg {
    fill: rgba(255, 255, 255, 0.2);
}

/* Track Counter */
.music-counter {
    position: absolute;
    bottom: 80px;
    left: 80px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
}

/* ========================================
   GLOBAL AUDIO PLAYER - ULTRA MINIMAL
======================================== */

.music-global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 40px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
    z-index: 10000;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.8), 
                0 -1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
}

.music-global-player.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Close Button */
.player-close {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.player-close:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.player-close svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.6);
}

.player-close:hover svg {
    fill: #ffffff;
}

.player-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr 180px;
    gap: 30px;
    align-items: center;
}

/* Now Playing Info - Minimal */
.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-cover {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 
        0 0 0 6px rgba(0, 0, 0, 0.9),
        0 0 0 7px rgba(255, 255, 255, 0.08);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.player-details h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.player-details p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Player Controls - Compact */
.player-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.player-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.player-btn.play-pause {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: none;
}

.player-btn.play-pause:hover {
    transform: scale(1.08);
}

.player-btn svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.7);
}

.player-btn.play-pause svg {
    fill: #000000;
    width: 16px;
    height: 16px;
}

/* Progress Bar - Minimal */
.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Courier New', monospace;
    min-width: 45px;
    letter-spacing: 0.05em;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.2s ease;
}

.progress-bar:hover {
    height: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 1) 100%);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

/* Volume Control - Compact */
.player-volume {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-icon:hover {
    transform: scale(1.1);
}

.volume-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.4);
    transition: fill 0.3s ease;
}

.volume-icon:hover svg {
    fill: rgba(255, 255, 255, 0.7);
}

.volume-slider {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.volume-slider:hover {
    height: 5px;
}

.volume-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    width: 100%;
    border-radius: 2px;
    transition: width 0.1s linear;
    position: relative;
}

.volume-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-slider:hover .volume-fill::after {
    opacity: 1;
}

/* ========================================
   ULTRA RESPONSIVE DESIGN
   Complete coverage from 4K to Mobile XS
======================================== */

/* Tablet */
@media (max-width: 1023px) {
    .music-header {
        top: 60px;
        left: 60px;
    }
    
    .music-grid {
        padding: 160px 60px 60px 60px;
    }
    
    .music-card {
        width: 380px;
        height: 540px;
    }
    
    .music-cover {
        width: 250px;
        height: 250px;
        margin: 50px auto 35px auto;
    }
    
    .music-nav,
    .music-counter {
        bottom: 60px;
    }
    
    .music-nav {
        right: 60px;
    }
    
    .music-counter {
        left: 60px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .music-header {
        top: 60px;
        left: 60px;
    }
    
    .music-title {
        font-size: clamp(0.7rem, 0.95vw, 0.8rem);
    }
    
    .music-subtitle {
        font-size: clamp(1.8rem, 3.2vw, 3rem);
    }
    
    .music-card {
        width: 360px;
        height: 520px;
    }
    
    .music-cover {
        width: 220px;
        height: 220px;
        margin: 45px auto 32px auto;
    }
    
    .music-cover::before {
        width: 45px;
        height: 45px;
    }
    
    .music-play-btn {
        width: 45px;
        height: 45px;
    }
    
    .music-play-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .music-info {
        padding: 0 40px 40px 40px;
    }
    
    .music-name {
        font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    }
    
    .music-artist {
        font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    }
    
    .music-counter {
        bottom: 60px;
        left: 60px;
        font-size: 0.8rem;
    }
    
    .music-nav {
        bottom: 60px;
        right: 60px;
        gap: 12px;
    }
    
    .music-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .music-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .player-content {
        grid-template-columns: 240px 1fr 160px;
        gap: 25px;
    }
    
    .player-cover {
        width: 45px;
        height: 45px;
    }
    
    .player-btn {
        width: 34px;
        height: 34px;
    }
    
    .player-btn.play-pause {
        width: 40px;
        height: 40px;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    .bargtunes-music {
        height: auto;
        min-height: 100vh;
        padding: 45px 0 115px 0;
    }
    
    .music-header {
        top: 50px;
        left: 50px;
    }
    
    .music-subtitle {
        font-size: clamp(1.6rem, 3vh, 2.2rem);
    }
    
    .music-card {
        height: 450px;
    }
    
    .music-cover {
        width: 180px;
        height: 180px;
        margin: 30px auto 25px auto;
    }
    
    .music-cover::before {
        width: 40px;
        height: 40px;
    }
    
    .music-play-btn {
        width: 40px;
        height: 40px;
    }
    
    .music-info {
        padding: 0 35px 35px 35px;
    }
    
    .music-counter,
    .music-nav {
        bottom: 50px;
    }
    
    .music-global-player {
        padding: 12px 25px;
    }
}

/* Mobile Large (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
    .bargtunes-music {
        height: 100vh;
        padding-bottom: 85px;
    }
    
    .music-header {
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .music-title {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .music-subtitle {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    
    .music-grid {
        justify-content: center;
        padding: 160px 50px 50px 50px;
    }
    
    .music-card {
        width: 340px;
        height: 500px;
    }
    
    .music-cover {
        width: 220px;
        height: 220px;
        margin: 45px auto 32px auto;
    }
    
    .music-cover::before {
        width: 45px;
        height: 45px;
    }
    
    .music-play-btn {
        width: 45px;
        height: 45px;
    }
    
    .music-play-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .music-info {
        padding: 0 40px 40px 40px;
    }
    
    .music-counter {
        bottom: 38px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.75rem;
    }
    
    .music-nav {
        bottom: 38px;
        right: 50%;
        transform: translateX(50%);
    }
    
    /* Spotify-Style Mobile Player */
    .music-global-player {
        padding: 6px 12px 8px 12px;
        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .player-close {
        top: 4px;
        right: 8px;
        width: 20px;
        height: 20px;
        opacity: 0.6;
    }
    
    .player-close:hover {
        opacity: 1;
    }
    
    .player-close svg {
        width: 10px;
        height: 10px;
    }
    
    .player-content {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        align-items: center;
    }
    
    .player-info {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1;
    }
    
    .player-cover {
        width: 42px;
        height: 42px;
        border-radius: 4px;
        flex-shrink: 0;
        box-shadow: 
            0 0 0 4px rgba(0, 0, 0, 0.9),
            0 0 0 5px rgba(255, 255, 255, 0.06);
    }
    
    .player-details {
        min-width: 0;
        flex: 1;
    }
    
    .player-details h4 {
        font-size: 0.8rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 2px;
    }
    
    .player-details p {
        font-size: 0.68rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .player-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .player-buttons {
        display: flex;
        gap: 6px;
        order: 2;
    }
    
    .player-btn {
        width: 32px;
        height: 32px;
        opacity: 0.8;
    }
    
    .player-btn:hover {
        opacity: 1;
    }
    
    .player-btn.prev,
    .player-btn.next {
        display: none;
    }
    
    .player-btn.play-pause {
        width: 36px;
        height: 36px;
        background: #ffffff;
        border: none;
        opacity: 1;
    }
    
    .player-btn.play-pause:hover {
        transform: scale(1.05);
    }
    
    .player-btn svg {
        width: 11px;
        height: 11px;
    }
    
    .player-btn.play-pause svg {
        width: 14px;
        height: 14px;
        fill: #000000;
    }
    
    .player-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0;
        gap: 0;
        display: flex;
        align-items: center;
        height: 3px;
    }
    
    .player-time {
        display: none;
    }
    
    .progress-bar {
        flex: 1;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
        cursor: pointer;
        position: relative;
        overflow: visible;
    }
    
    .progress-bar:hover {
        height: 3px;
    }
    
    .progress-bar:hover .progress-fill {
        background: #ffffff;
    }
    
    .progress-fill {
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 0;
        position: relative;
    }
    
    .progress-fill::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        background: #ffffff;
        border-radius: 50%;
        opacity: 0;
        transition: all 0.2s ease;
    }
    
    .progress-bar:hover .progress-fill::after {
        width: 10px;
        height: 10px;
        opacity: 1;
    }
    
    .player-volume {
        display: none;
    }
}

/* Mobile Standard (480px - 639px) */
@media (min-width: 480px) and (max-width: 639px) {
    .bargtunes-music {
        height: 100vh;
        padding-bottom: 80px;
    }
    
    .music-header {
        top: 35px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .music-title {
        font-size: 0.68rem;
        margin-bottom: 6px;
    }
    
    .music-subtitle {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .music-grid {
        justify-content: center;
        padding: 150px 40px 50px 40px;
    }
    
    .music-card {
        width: 320px;
        height: 480px;
    }
    
    .music-cover {
        width: 200px;
        height: 200px;
        margin: 40px auto 30px auto;
    }
    
    .music-cover::before {
        width: 42px;
        height: 42px;
    }
    
    .music-play-btn {
        width: 42px;
        height: 42px;
    }
    
    .music-play-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .music-info {
        padding: 0 35px 35px 35px;
    }
    
    .music-name {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }
    
    .music-counter {
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.75rem;
    }
    
    .music-nav {
        bottom: 35px;
        right: 50%;
        transform: translateX(50%);
        gap: 10px;
    }
    
    .music-nav-btn {
        width: 42px;
        height: 42px;
    }
    
    /* Spotify-Style Mobile Player */
    .music-global-player {
        padding: 6px 10px 8px 10px;
        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .player-close {
        top: 3px;
        right: 6px;
        width: 18px;
        height: 18px;
        opacity: 0.6;
    }
    
    .player-close:hover {
        opacity: 1;
    }
    
    .player-close svg {
        width: 9px;
        height: 9px;
    }
    
    .player-content {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        align-items: center;
    }
    
    .player-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 1;
    }
    
    .player-cover {
        width: 38px;
        height: 38px;
        border-radius: 3px;
        flex-shrink: 0;
        box-shadow: 
            0 0 0 3px rgba(0, 0, 0, 0.9),
            0 0 0 4px rgba(255, 255, 255, 0.05);
    }
    
    .player-details {
        min-width: 0;
        flex: 1;
    }
    
    .player-details h4 {
        font-size: 0.75rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 2px;
    }
    
    .player-details p {
        font-size: 0.65rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .player-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .player-buttons {
        display: flex;
        gap: 5px;
        order: 2;
    }
    
    .player-btn {
        width: 30px;
        height: 30px;
        opacity: 0.8;
    }
    
    .player-btn:hover {
        opacity: 1;
    }
    
    .player-btn.prev,
    .player-btn.next {
        display: none;
    }
    
    .player-btn.play-pause {
        width: 34px;
        height: 34px;
        background: #ffffff;
        border: none;
        opacity: 1;
    }
    
    .player-btn.play-pause:hover {
        transform: scale(1.05);
    }
    
    .player-btn svg {
        width: 10px;
        height: 10px;
    }
    
    .player-btn.play-pause svg {
        width: 13px;
        height: 13px;
        fill: #000000;
    }
    
    .player-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0;
        gap: 0;
        display: flex;
        align-items: center;
        height: 3px;
    }
    
    .player-time {
        display: none;
    }
    
    .progress-bar {
        flex: 1;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
    
    .progress-fill {
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 0;
    }
    
    .player-volume {
        display: none;
    }
}

/* Mobile Small (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .bargtunes-music {
        height: 100vh;
        padding-bottom: 75px;
    }
    
    .music-header {
        top: 32px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .music-title {
        font-size: 0.65rem;
        margin-bottom: 5px;
    }
    
    .music-subtitle {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .music-grid {
        justify-content: center;
        padding: 140px 35px 45px 35px;
    }
    
    .music-card {
        width: 290px;
        height: 450px;
    }
    
    .music-cover {
        width: 180px;
        height: 180px;
        margin: 35px auto 28px auto;
    }
    
    .music-cover::before {
        width: 40px;
        height: 40px;
    }
    
    .music-play-btn {
        width: 40px;
        height: 40px;
    }
    
    .music-play-btn svg {
        width: 15px;
        height: 15px;
    }
    
    .music-info {
        padding: 0 30px 30px 30px;
    }
    
    .music-name {
        font-size: clamp(1.1rem, 4vw, 1.35rem);
    }
    
    .music-artist {
        font-size: clamp(0.82rem, 2vw, 0.95rem);
    }
    
    .music-counter {
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
    }
    
    .music-nav {
        bottom: 32px;
        right: 50%;
        transform: translateX(50%);
        gap: 8px;
    }
    
    .music-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Spotify-Style Mobile Player */
    .music-global-player {
        padding: 5px 10px 7px 10px;
        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .player-close {
        top: 3px;
        right: 5px;
        width: 18px;
        height: 18px;
        opacity: 0.6;
    }
    
    .player-close:hover {
        opacity: 1;
    }
    
    .player-close svg {
        width: 8px;
        height: 8px;
    }
    
    .player-content {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        align-items: center;
    }
    
    .player-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 1;
    }
    
    .player-cover {
        width: 36px;
        height: 36px;
        border-radius: 3px;
        flex-shrink: 0;
        box-shadow: 
            0 0 0 3px rgba(0, 0, 0, 0.9),
            0 0 0 4px rgba(255, 255, 255, 0.05);
    }
    
    .player-details {
        min-width: 0;
        flex: 1;
    }
    
    .player-details h4 {
        font-size: 0.72rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 2px;
    }
    
    .player-details p {
        font-size: 0.62rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .player-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .player-buttons {
        display: flex;
        gap: 4px;
        order: 2;
    }
    
    .player-btn {
        width: 28px;
        height: 28px;
        opacity: 0.8;
    }
    
    .player-btn:hover {
        opacity: 1;
    }
    
    .player-btn.prev,
    .player-btn.next {
        display: none;
    }
    
    .player-btn.play-pause {
        width: 32px;
        height: 32px;
        background: #ffffff;
        border: none;
        opacity: 1;
    }
    
    .player-btn.play-pause:hover {
        transform: scale(1.05);
    }
    
    .player-btn svg {
        width: 9px;
        height: 9px;
    }
    
    .player-btn.play-pause svg {
        width: 12px;
        height: 12px;
        fill: #000000;
    }
    
    .player-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0;
        gap: 0;
        display: flex;
        align-items: center;
        height: 3px;
    }
    
    .player-time {
        display: none;
    }
    
    .progress-bar {
        flex: 1;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
    
    .progress-fill {
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 0;
    }
    
    .player-volume {
        display: none;
    }
}

/* Mobile Extra Small (< 375px) */
@media (max-width: 374px) {
    .bargtunes-music {
        height: 100vh;
        padding-bottom: 70px;
    }
    
    .music-header {
        top: 28px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .music-title {
        font-size: 0.62rem;
        margin-bottom: 4px;
    }
    
    .music-subtitle {
        font-size: clamp(1.3rem, 7vw, 1.7rem);
    }
    
    .music-grid {
        justify-content: center;
        padding: 130px 30px 40px 30px;
    }
    
    .music-card {
        width: 270px;
        height: 430px;
    }
    
    .music-cover {
        width: 170px;
        height: 170px;
        margin: 32px auto 26px auto;
    }
    
    .music-cover::before {
        width: 38px;
        height: 38px;
    }
    
    .music-cover::after {
        inset: 10px;
    }
    
    .music-play-btn {
        width: 38px;
        height: 38px;
    }
    
    .music-play-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .music-info {
        padding: 0 26px 26px 26px;
    }
    
    .music-name {
        font-size: clamp(1.05rem, 5vw, 1.25rem);
    }
    
    .music-artist {
        font-size: clamp(0.78rem, 3vw, 0.9rem);
    }
    
    .music-meta {
        gap: 12px;
        padding-top: 15px;
    }
    
    .music-duration,
    .music-date {
        font-size: 0.72rem;
    }
    
    .music-links {
        gap: 8px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .music-link {
        width: 34px;
        height: 34px;
    }
    
    .music-link svg {
        width: 14px;
        height: 14px;
    }
    
    .music-counter {
        bottom: 28px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.68rem;
    }
    
    .music-nav {
        bottom: 28px;
        right: 50%;
        transform: translateX(50%);
        gap: 6px;
    }
    
    .music-nav-btn {
        width: 38px;
        height: 38px;
    }
    
    .music-nav-btn svg {
        width: 15px;
        height: 15px;
    }
    
    /* Spotify-Style Mobile Player - Extra Small */
    .music-global-player {
        padding: 4px 8px 6px 8px;
        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .player-close {
        top: 2px;
        right: 4px;
        width: 16px;
        height: 16px;
        opacity: 0.6;
    }
    
    .player-close:hover {
        opacity: 1;
    }
    
    .player-close svg {
        width: 8px;
        height: 8px;
    }
    
    .player-content {
        grid-template-columns: auto 1fr auto;
        gap: 6px;
        align-items: center;
    }
    
    .player-info {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        flex: 1;
    }
    
    .player-cover {
        width: 32px;
        height: 32px;
        border-radius: 2px;
        flex-shrink: 0;
        box-shadow: 
            0 0 0 2px rgba(0, 0, 0, 0.9),
            0 0 0 3px rgba(255, 255, 255, 0.05);
    }
    
    .player-details {
        min-width: 0;
        flex: 1;
    }
    
    .player-details h4 {
        font-size: 0.68rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 1px;
    }
    
    .player-details p {
        font-size: 0.58rem;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .player-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .player-buttons {
        display: flex;
        gap: 3px;
        order: 2;
    }
    
    .player-btn {
        width: 26px;
        height: 26px;
        opacity: 0.8;
    }
    
    .player-btn:hover {
        opacity: 1;
    }
    
    .player-btn.prev,
    .player-btn.next {
        display: none;
    }
    
    .player-btn.play-pause {
        width: 30px;
        height: 30px;
        background: #ffffff;
        border: none;
        opacity: 1;
    }
    
    .player-btn.play-pause:hover {
        transform: scale(1.05);
    }
    
    .player-btn svg {
        width: 8px;
        height: 8px;
    }
    
    .player-btn.play-pause svg {
        width: 11px;
        height: 11px;
        fill: #000000;
    }
    
    .player-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0;
        gap: 0;
        display: flex;
        align-items: center;
        height: 2px;
    }
    
    .player-time {
        display: none;
    }
    
    .progress-bar {
        flex: 1;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
    
    .progress-bar:hover {
        height: 2px;
    }
    
    .progress-fill {
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 0;
    }
    
    .player-volume {
        display: none;
    }
}

/* Landscape Mobile (< 768px & height < 500px) */
@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
    .bargtunes-music {
        height: 100vh;
        padding: 30px 0 70px 0;
    }
    
    .music-header {
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .music-title {
        font-size: 0.62rem;
        margin-bottom: 4px;
    }
    
    .music-subtitle {
        font-size: clamp(1.3rem, 4vh, 1.6rem);
    }
    
    .music-grid {
        padding: 120px 25px 35px 25px;
    }
    
    .music-card {
        height: 380px;
    }
    
    .music-cover {
        width: 150px;
        height: 150px;
        margin: 22px auto 20px auto;
    }
    
    .music-cover::before {
        width: 34px;
        height: 34px;
    }
    
    .music-play-btn {
        width: 34px;
        height: 34px;
    }
    
    .music-play-btn svg {
        width: 13px;
        height: 13px;
    }
    
    .music-info {
        padding: 0 28px 28px 28px;
    }
    
    .music-counter,
    .music-nav {
        bottom: 28px;
    }
    
    .music-counter {
        font-size: 0.68rem;
    }
    
    /* Spotify-Style Landscape Player */
    .music-global-player {
        padding: 5px 12px 6px 12px;
    }
    
    .player-close {
        top: 2px;
        right: 6px;
        width: 18px;
        height: 18px;
        opacity: 0.6;
    }
    
    .player-close:hover {
        opacity: 1;
    }
    
    .player-content {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        align-items: center;
    }
    
    .player-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 1;
    }
    
    .player-cover {
        width: 36px;
        height: 36px;
        border-radius: 3px;
        flex-shrink: 0;
    }
    
    .player-details {
        min-width: 0;
        flex: 1;
    }
    
    .player-details h4 {
        font-size: 0.7rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .player-details p {
        font-size: 0.6rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .player-btn {
        width: 28px;
        height: 28px;
    }
    
    .player-btn.prev,
    .player-btn.next {
        display: none;
    }
    
    .player-btn.play-pause {
        width: 32px;
        height: 32px;
    }
    
    .player-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
    }
    
    .player-time {
        display: none;
    }
    
    .progress-bar {
        height: 2px;
    }
}
