/* থিম ইঞ্জিন (CSS Variables) */
:root {
    /* Light Theme Default */
    --bg-main: #fbfbfb;
    --bg-sidebar: #ffffff;
    --bg-player: #ffffff;
    --text-main: #222222;
    --text-muted: #777777;
    --border-color: #eeeeee;
    --accent-color: #2bc5b4;
    --card-bg: #ffffff;
    --hover-bg: #f5f5f5;

    /* Spotify-Style Layout Variables added from source */
    --bg-header: rgba(248, 249, 250, 0.9);
    --bg-card-hover: #eaeaea;
    --accent: #1db954;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-main: #121212;
    --bg-sidebar: #181818;
    --bg-player: #181818;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --border-color: #333333;
    --accent-color: #2bc5b4;
    --card-bg: #222222;
    --hover-bg: #2a2a2a;

    /* Spotify-Style Layout Variables added from source */
    --bg-sidebar: #000000;
    --bg-header: rgba(18, 18, 18, 0.9);
    --bg-card: #181818;
    --bg-card-hover: #282828;
    --text-muted: #b3b3b3;
    --accent: #1db954;
    --border-color: #282828;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { display: flex; height: 100vh; background-color: var(--bg-main); color: var(--text-main); overflow: hidden; }

/* সাইডবার ডিজাইন */
.sidebar { width: 250px; background-color: var(--bg-sidebar); border-right: 1px solid var(--border-color); padding: 20px; display: flex; flex-direction: column; }
.logo h2 { margin-bottom: 30px; }
.nav-links a { display: block; padding: 10px 15px; color: var(--text-main); text-decoration: none; font-weight: 500; border-radius: 8px; margin-bottom: 5px; }
.nav-links a:hover { background-color: var(--hover-bg); }
.theme-switch { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 14px; }
.theme-switch select { width: 100%; margin-top: 5px; padding: 5px; border-radius: 5px; border: 1px solid var(--border-color); background: var(--bg-main); color: var(--text-main); }

/* মেইন কন্টেন্ট এবং 'View All' */
.main-content { flex: 1; padding: 30px; overflow-y: auto; padding-bottom: 100px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.view-all-btn { background: none; border: none; color: var(--accent-color); font-weight: 600; cursor: pointer; font-size: 14px; }
.view-all-btn:hover { text-decoration: underline; }

/* মিউজিক গ্রিড */
.music-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.music-card { width: 160px; cursor: pointer; background: var(--card-bg); padding: 10px; border-radius: 10px; transition: background 0.3s; }
.music-card:hover { background: var(--hover-bg); }
.album-art { width: 140px; height: 140px; background-color: var(--border-color); border-radius: 8px; margin-bottom: 10px; }
.song-title { font-size: 14px; font-weight: 600; }
.artist-name { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* স্টিকি বটম প্লেয়ার */
.music-player { position: fixed; bottom: 0; left: 0; width: 100%; height: 80px; background-color: var(--bg-player); border-top: 1px solid var(--border-color); display: flex; align-items: center; padding: 0 30px; justify-content: space-between; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); }
.player-info { display: flex; align-items: center; gap: 15px; width: 250px; }
.player-art { width: 50px; height: 50px; background-color: var(--border-color); border-radius: 4px; }
.player-details h4 { font-size: 14px; }
.player-details p { font-size: 12px; color: var(--text-muted); }

.player-controls { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.player-controls button { background: none; border: none; color: var(--text-main); font-size: 18px; cursor: pointer; margin: 0 15px; }
.play-btn { background: var(--accent-color) !important; color: white !important; border-radius: 50%; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; }

.progress-container { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 400px; font-size: 12px; color: var(--text-muted); }
#progress-bar { width: 100%; cursor: pointer; accent-color: var(--accent-color); }

.player-actions { width: 250px; text-align: right; }
.action-btn { padding: 6px 15px; border: 1px solid var(--border-color); border-radius: 20px; background: var(--bg-main); color: var(--text-main); cursor: pointer; margin-left: 10px; font-size: 13px; font-weight: 500; }
.action-btn.tip-btn { border-color: var(--accent-color); color: var(--accent-color); }
/* --- রেসপন্সিভ ডিজাইন (Mobile & Tablet) --- */

@media (max-width: 768px) {
    body {
        flex-direction: column; /* সাইডবার এবং মেইন কন্টেন্ট নিচে নিচে আসবে */
    }

    /* ১. ডেস্কটপ সাইডবার লুকিয়ে ফেলা */
    .sidebar {
        display: none; 
    }

    /* ২. মেইন কন্টেন্ট ফুল উইথ করা */
    .main-content {
        padding: 15px;
        padding-bottom: 160px; /* প্লেয়ার এবং বটম ন্যাভ এর জন্য নিচে বেশি জায়গা */
    }

    /* ৩. মিউজিক গ্রিড মোবাইলের জন্য (এক সারিতে ২ টি গান) */
    .music-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .music-card {
        width: 100%; /* কার্ড পুরো জায়গা নেবে */
    }

    .album-art {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1; /* স্কয়ার শেপ বজায় রাখবে */
    }

    /* ৪. মোবাইল প্লেয়ার ডিজাইন পরিবর্তন */
    .music-player {
        height: auto;
        flex-direction: column; /* এলিমেন্টগুলো নিচে নিচে আসবে */
        padding: 10px;
        bottom: 60px; /* বটম ন্যাভ এর উপরে থাকবে */
    }

    .player-info {
        width: 100%;
        margin-bottom: 10px;
    }

    .player-controls {
        width: 100%;
        margin-bottom: 10px;
    }

    .player-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    /* ৫. মোবাইল বটম নেভিগেশন স্টাইল */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: var(--bg-sidebar);
        border-top: 1px solid var(--border-color);
        justify-content: space-around;
        align-items: center;
        z-index: 1001;
    }

    .mobile-nav a {
        text-decoration: none;
        color: var(--text-main);
        font-size: 11px;
        text-align: center;
        line-height: 1.4;
    }
}

/* বড় স্ক্রিনে মোবাইল ন্যাভ লুকিয়ে রাখা */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}
/* ==========================================
   পপ-আপ (Modal) ডিজাইন
========================================== */
.modal-overlay { 
    display: none; /* শুরুতে লুকিয়ে থাকবে */
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6); z-index: 2000; 
    justify-content: center; align-items: center; 
}
.modal-content { 
    background: var(--bg-main); width: 90%; max-width: 400px; 
    padding: 25px; border-radius: 15px; position: relative; 
    text-align: center; box-shadow: 0 5px 25px rgba(0,0,0,0.2); 
}
.close-modal { 
    position: absolute; top: 15px; right: 20px; font-size: 24px; 
    cursor: pointer; color: var(--text-muted); 
}
.close-modal:hover { color: var(--accent-color); }
.modal-btn { 
    background: var(--accent-color); color: white; border: none; 
    padding: 12px 20px; border-radius: 25px; font-weight: bold; 
    cursor: pointer; width: 100%; margin-top: 15px; font-size: 15px; 
}
.amount-input { 
    width: 100%; padding: 12px; margin-top: 10px; border-radius: 8px; 
    border: 1px solid var(--border-color); background: var(--bg-sidebar); 
    color: var(--text-main); font-size: 18px; text-align: center; font-weight: bold;
}

/* ==========================================
   Main Layout Container
   ========================================== */
.app-container {
    display: flex;
    height: 100vh;
    padding-bottom: 90px; /* Player এর জন্য জায়গা */
    box-sizing: border-box;
}

.sidebar {
    width: 320px;
    background: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    resize: horizontal;
    overflow: auto;
}

.sidebar-box {
    background: var(--bg-main);
    border-radius: 8px;
    padding: 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 0;
    transition: 0.3s;
    cursor: pointer;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

/* Library Section */
.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-weight: bold;
    margin-bottom: 15px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.sidebar-item:hover {
    background: var(--bg-card-hover);
}
.sidebar-item img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
}

/* ==========================================
   Main Content Area (Right)
   ========================================== */
.main-area {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-main);
    border-radius: 8px;
    margin: 10px 10px 10px 0;
    position: relative;
}

/* Header & Filters */
.top-header {
    position: sticky;
    top: 0;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    z-index: 100;
}

.header-left { display: flex; align-items: center; gap: 15px; }

.search-box {
    background: var(--bg-card-hover);
    border-radius: 25px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    width: 300px;
}
.search-box input {
    background: transparent;
    border: none;
    color: var(--text-main);
    outline: none;
    width: 100%;
    margin-left: 10px;
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 10px;
    margin-left: 15px;
}
.pill {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.pill.active {
    background: var(--text-main);
    color: var(--bg-main);
}

.header-right { display: flex; align-items: center; gap: 15px; }

/* Action Buttons */
.btn-outline { background: transparent; color: var(--text-muted); font-weight: bold; border: none; cursor: pointer; transition: 0.2s; font-size: 15px;}
.btn-outline:hover { color: var(--text-main); transform: scale(1.05); }
.btn-solid { background: var(--text-main); color: var(--bg-main); font-weight: bold; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-size: 15px; transition: 0.2s;}
.btn-solid:hover { transform: scale(1.05); }

/* Theme Icon */
.theme-btn {
    background: rgba(0,0,0,0.5);
    border: none;
    color: var(--text-main);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   Content Grid System (Cards)
   ========================================== */
.content-padding { padding: 20px 25px; }

.section-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* 1. Small Recent Grid (Logged In Top) */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}
.recent-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s;
}
.recent-card:hover { background: rgba(255, 255, 255, 0.15); }
.recent-card img { width: 65px; height: 65px; object-fit: cover; }
.recent-card span { padding: 0 15px; font-weight: bold; font-size: 15px; }

/* 2. Standard Vertical Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.spotify-card {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}
.spotify-card:hover { background: var(--bg-card-hover); }

.card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}
.spotify-card.artist .card-img-container { border-radius: 50%; } /* Artist images are round */
.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Green Play Button Overlay */
.play-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 8px rgba(0,0,0,0.3);
}
.spotify-card:hover .play-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-title { font-size: 16px; font-weight: bold; margin: 0 0 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.card-desc { font-size: 13px; color: var(--text-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Scrollbar styling for Desktop */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }

.auth-container {
    background: #121212;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    margin: 50px auto;
    color: white;
}
.auth-container input {
    background: #333;
    border: none;
    padding: 15px;
    margin: 10px 0;
    color: white;
    width: 100%;
}
/* =========================================
   Gungunao V9 Custom Styles (Hero, Quick Row, Cards)
========================================= */
:root {
  --ring-grad: conic-gradient(from 210deg, #FFC24B, #FF7A45, #A855F7, #6D5CFF, #FFC24B);
}

/* HERO CAROUSEL */
.hero-carousel { position:relative; border-radius:22px; overflow:hidden; margin-bottom:25px; height:160px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.hero-slide { position:absolute; inset:0; opacity:0; background-size:cover; background-position:center; animation: heroFade 12s infinite; display:flex; align-items:center; }
.hero-slide::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg, rgba(76,30,170,.85) 0%, rgba(150,40,170,.55) 45%, rgba(76,30,170,.12) 100%); }
.hero-slide:nth-child(1) { animation-delay:0s; }
.hero-slide:nth-child(2) { animation-delay:-4s; }
.hero-slide:nth-child(3) { animation-delay:-8s; }
@keyframes heroFade { 0%{opacity:0;} 3%{opacity:1;} 30%{opacity:1;} 35%{opacity:0;} 100%{opacity:0;} }
.hero-text { position:relative; z-index:2; padding:18px 20px; color:#fff; }
.hero-text h2 { font-family:'Poppins',sans-serif; font-weight:700; font-size:18px; line-height:1.25; margin-bottom:5px; text-shadow:0 2px 10px rgba(0,0,0,.35); }
.hero-text p { font-size:12px; margin-bottom:12px; opacity:.92; }
.hero-text button { background:rgba(255,255,255,.24); border:1px solid rgba(255,255,255,.55); color:#fff; font-family:'Poppins',sans-serif; font-weight:600; font-size:12px; padding:7px 16px; border-radius:999px; backdrop-filter: blur(6px); cursor: pointer; }
.hero-dots { position:absolute; bottom:10px; left:20px; z-index:3; display:flex; gap:5px; }
.hero-dots span { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.4); }
.hero-dots span:first-child { background:#fff; width:14px; border-radius:4px; }

/* QUICK ROW */
.quick-row { display:flex; gap:14px; margin-bottom:30px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.quick-row::-webkit-scrollbar { display: none; }
.quick-item { display:flex; flex-direction:column; align-items:center; gap:8px; flex:1; min-width: 65px; cursor: pointer; }
.quick-circle { width:55px; height:55px; border-radius:50%; display:flex; align-items:center; justify-content:center; position:relative; flex-shrink:0; background: var(--card-bg); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.quick-circle svg { width:22px; height:22px; color: var(--text-main); }
.quick-label { font-size:11px; font-weight:600; text-align:center; color: var(--text-main); }
.quick-circle.ring::before { content:""; position:absolute; inset:-4px; border-radius:50%; padding:2px; background: var(--ring-grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* SECTION HEADERS */
.section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; }
.section-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:17px; color: var(--text-main); }
.section-view-all { font-size:12px; font-weight:600; color: #8B84A0; cursor: pointer; }

/* V9 CARDS */
.card-row { display:flex; gap:15px; overflow-x:auto; margin-bottom:30px; padding-bottom:10px; scrollbar-width: none; scroll-snap-type: x mandatory;}
.card-row::-webkit-scrollbar { display: none; }
.card { min-width:130px; height:130px; border-radius:18px; padding:14px; flex-shrink:0; position:relative; overflow:hidden; background-size:cover; background-position:center; display:flex; flex-direction:column; justify-content:flex-end; box-shadow: 0 8px 20px rgba(0,0,0,0.15); scroll-snap-align: start; }
.card::before { content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(10,5,20,.85) 0%, rgba(10,5,20,.15) 55%, rgba(10,5,20,.0) 100%); }
.card-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:13px; margin-bottom:2px; color:#fff; position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { font-size:11px; color:rgba(255,255,255,.85); position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* RP (Recently Played / Trending) LIST */
.rp-list { margin-bottom:20px; }
.rp-row { display:flex; align-items:center; gap:12px; border-radius:14px; padding:10px; margin-bottom:10px; background: var(--card-bg); box-shadow: 0 4px 12px rgba(0,0,0,0.05); cursor: pointer; transition: 0.2s;}
.rp-row:hover { transform: scale(1.02); }
.rp-art { width:45px; height:45px; border-radius:10px; flex-shrink:0; background-size:cover; background-position:center; }
.rp-meta { flex:1; min-width:0; }
.rp-title { font-size:14px; font-weight:600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-artist { font-size:12px; color: var(--text-muted); }
.playbtn { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; background: var(--bg-main); color: var(--accent-color); border: 1px solid var(--border-color); }
/* =========================================
   V9 Apple-Style Glassmorphism & Floating Effects
========================================= */

/* Head Actions (Avatar & Login) */
.head-actions { display: flex; align-items: center; gap: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; cursor: pointer; transition: 0.3s; }
[data-theme="light"] .avatar { box-shadow: 0 4px 12px rgba(120,60,180,0.3), 0 0 0 2px #fff; }
[data-theme="dark"] .avatar { box-shadow: 0 4px 15px rgba(236,72,153,0.4), 0 0 0 2px rgba(255,255,255,0.1); }
.avatar:hover { transform: scale(1.05); }

/* V9 Glowing Login Button */
.login-btn {
    background: linear-gradient(135deg, #FF4D6D 0%, #E11D48 100%);
    color: #fff; font-family: 'Segoe UI', sans-serif; font-weight: bold; font-size: 13px;
    padding: 8px 20px; border-radius: 20px; border: none; cursor: pointer;
    animation: loginPulse 2s infinite;
}
@keyframes loginPulse {
    0% { box-shadow: 0 0 0 0 rgba(225,29,72,.5); }
    70% { box-shadow: 0 0 0 8px rgba(225,29,72,0); }
    100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}

@media (max-width: 768px) {
    /* 1. Floating Bottom Navigation (Glass Effect) */
    .mobile-nav {
        position: fixed !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        border-radius: 25px !important;
        padding: 5px 10px !important;
        height: 65px !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 1001 !important;
        /* Apple Glass Effect */
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.7) !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
    }
    [data-theme="dark"] .mobile-nav {
        background: rgba(18, 18, 18, 0.65) !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.1) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }
    .mobile-nav a {
        display: flex !important; flex-direction: column !important; align-items: center !important; gap: 4px !important;
        padding: 8px 15px !important; border-radius: 18px !important; font-size: 11px !important; font-weight: 600 !important;
        color: var(--text-muted) !important; transition: 0.3s !important; text-decoration: none !important;
    }
    .mobile-nav a.active {
        color: var(--accent-color) !important;
        background: rgba(29, 185, 84, 0.1) !important;
    }

    /* 2. Floating Music Player (Glass Effect) */
    .music-player {
        position: fixed !important;
        bottom: 95px !important; /* Above mobile nav */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 94% !important;
        height: 60px !important; /* Fixed compact height */
        border-radius: 18px !important;
        padding: 5px 15px !important;
        display: flex !important;
        flex-direction: row !important; /* Side by side layout */
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 1000 !important;
        /* Apple Glass Effect */
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1), inset 0 1px 1px rgba(255,255,255,0.8) !important;
        border: 1px solid rgba(255,255,255,0.4) !important;
    }
    [data-theme="dark"] .music-player {
        background: rgba(25, 25, 25, 0.75) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.1) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .player-info { width: auto !important; flex: 1 !important; margin: 0 !important; display: flex !important; align-items: center !important; gap: 12px !important; overflow: hidden !important;}
    .player-art { width: 42px !important; height: 42px !important; border-radius: 10px !important; box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;}
    .player-details { display: flex !important; flex-direction: column !important; justify-content: center !important; overflow: hidden !important;}
    .player-details h4 { font-size: 13px !important; font-weight: 700 !important; margin: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;}
    .player-details p { font-size: 11px !important; margin: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;}
    
    .player-controls { width: auto !important; flex-direction: row !important; margin: 0 !important; gap: 5px !important;}
    .player-controls button { margin: 0 5px !important; padding: 0 !important;}
    .play-btn { width: 38px !important; height: 38px !important; box-shadow: 0 6px 15px rgba(29, 185, 84, 0.4) !important; }
    
    .player-actions, .progress-container { display: none !important; } /* Hide unnecessary bars on mobile player */
    .main-content { padding-bottom: 180px !important; } /* Extra space for floating elements */
}