
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); min-height: 100vh; color: #fff; }
.header { text-align: center; padding: 40px 20px 20px; }
.header h1 { font-size: 2.5em; background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header p { color: #aaa; margin-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 20px; max-width: 1200px; margin: 0 auto; }
.card { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 24px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.card-icon { font-size: 3em; margin-bottom: 12px; }
.card h3 { font-size: 1.4em; margin-bottom: 4px; }
.card .genre { color: #aaa; font-size: 0.9em; margin-bottom: 16px; }
.controls { display: flex; gap: 8px; margin-bottom: 12px; }
.btn { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: 600; transition: all 0.2s; }
.btn-play { background: #00b894; color: #fff; }
.btn-play:hover { background: #00a884; }
.btn-play:disabled { background: #555; cursor: not-allowed; }
.btn-stop { background: #e17055; color: #fff; }
.btn-stop:hover { background: #d1604a; }
.btn-stop:disabled { background: #555; cursor: not-allowed; }
.volume-row { display: flex; align-items: center; gap: 10px; }
.volume-row input[type=range] { flex: 1; accent-color: #6c5ce7; }
.volume-row span { font-size: 0.85em; color: #aaa; min-width: 35px; }
.now-playing { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.9); padding: 12px 20px; display: none; align-items: center; justify-content: space-between; backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.1); }
.now-playing.active { display: flex; }
.now-playing .info { display: flex; align-items: center; gap: 10px; }
.now-playing .dot { width: 10px; height: 10px; background: #00b894; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.now-playing .stop-all { background: #e17055; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.9em; }
