@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg: #030303;
    --accent: #00ff88;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-dim: #a0a0a0;
}

body {
    margin: 0; font-family: 'Inter', sans-serif;
    background-color: var(--bg); color: #fff; overflow: hidden;
}

.mesh-gradient {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, #1a1a2e 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, #16213e 0%, transparent 50%);
    z-index: -1; filter: blur(80px);
}

.glass-card {
    background: var(--glass); backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border); border-radius: 28px;
}

.brand { 
    font-weight: 800; font-size: 2rem; letter-spacing: 6px; 
    margin-bottom: 40px; text-align: center; color: var(--accent); 
}

.dashboard-layout { display: grid; grid-template-columns: 280px 1fr; height: 100vh; }
.sidebar { margin: 20px; padding: 40px 20px; display: flex; flex-direction: column; }

.nav-item { 
    padding: 16px; margin: 8px 0; border-radius: 14px; 
    cursor: pointer; color: var(--text-dim); transition: 0.3s; 
}
.nav-item.active, .nav-item:hover { background: var(--glass); color: #fff; }

.search-box {
    background: var(--glass); padding: 12px 25px; border-radius: 50px;
    display: flex; align-items: center; width: 400px; 
    border: 1px solid var(--glass-border); margin: 20px 30px;
}
.search-box input { background: transparent; border: none; color: #fff; margin-left: 15px; width: 100%; outline: none; }

.main-grid { display: grid; grid-template-columns: 1fr 420px; gap: 30px; padding: 0 30px 30px; height: 80vh; }
.scroll-area { height: 100%; overflow-y: auto; padding-right: 10px; }

.song-item-premium {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px; margin-bottom: 10px; border-radius: 15px; 
    background: rgba(255,255,255,0.02); transition: 0.3s; cursor: pointer;
}
.song-item-premium:hover { background: rgba(255,255,255,0.08); }
.song-item-premium img { width: 50px; height: 50px; border-radius: 8px; margin-right: 15px; }

.heart-icon { font-size: 1.2rem; color: rgba(255, 255, 255, 0.1); cursor: pointer; }
.heart-icon.liked { color: #ff4b2b; filter: drop-shadow(0 0 5px #ff4b2b); }

.player-widget { padding: 40px; display: flex; flex-direction: column; align-items: center; }
.art-container img { width: 280px; height: 280px; border-radius: 20px; object-fit: cover; }
#waveform { width: 100%; height: 80px; margin: 20px 0; }

.progress-wrapper { position: relative; width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; margin: 0 15px; }
#progress-bar-fill { height: 100%; background: var(--accent); width: 0%; border-radius: 10px; }
#progress { position: absolute; width: 100%; top: -5px; opacity: 0; cursor: pointer; }

.btn-play { width: 70px; height: 70px; border-radius: 50%; background: #fff; color: #000; border: none; cursor: pointer; font-size: 1.5rem; }
.btn-icon { background: transparent; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 10px; opacity: 0.6; }

/* Profile View Elements */
.profile-container { max-width: 600px; margin: 50px auto; padding: 50px; text-align: center; }
.avatar-edit-wrapper { position: relative; width: 120px; margin: 0 auto 20px; }
.avatar-large { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--accent); }
.edit-badge { position: absolute; bottom: 5px; right: 5px; background: var(--accent); color: #000; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 3px solid var(--bg); }
.glass-input-large { background: transparent; border: none; border-bottom: 2px solid var(--glass-border); color: #fff; font-size: 1.8rem; font-weight: 800; text-align: center; width: 100%; outline: none; padding: 10px; }
.glass-input-large:focus { border-color: var(--accent); }
.setting-item { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--glass-border); }
.accent-text { color: var(--accent); font-weight: 600; }

/* Auth Elements */
.auth-wrapper { height: 100vh; width: 100%; position: fixed; z-index: 1000; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.auth-card { padding: 50px; width: 400px; text-align: center; }
.input-group { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 0 15px; margin-bottom: 15px; display: flex; align-items: center; }
.input-group input { background: transparent; border: none; color: #fff; padding: 15px; width: 100%; outline: none; }
.btn-primary { width: 100%; padding: 15px; border-radius: 12px; background: var(--accent); border: none; font-weight: 700; cursor: pointer; color:#000;}

.hidden { display: none !important; }
.brand-logo { width: 60px; height: 60px; background: var(--accent); color: #000; border-radius: 15px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }