:root {
    --primary: #ff3e00;
    --secondary: #1e1e1e;
    --accent: #ff9500;
    --bg-color: #0f0f0f;
    --text-color: #ffffff;
    --secondary-bg-color: rgba(30, 30, 30, 0.8);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overscroll-behavior: none;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Responsive for smaller mobile devices */
@media (max-width: 480px) {
    body {
        max-width: 100%;
        padding: 0 8px;
    }

    .volume-slider {
        width: 100px;
    }

    .song-card {
        padding: 12px;
    }

    .toast {
        font-size: 14px;
    }
}

.loading-dots span {
    animation: pulse 1.5s infinite ease-in-out;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.album-art {
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(255, 62, 0, 0.2);
    max-width: 100%;
    height: auto;
}

.song-card {
    transition: all 0.2s ease;
    background: var(--secondary-bg-color);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 16px;
}

.song-card:active {
    transform: scale(0.98);
    background: rgba(255, 62, 0, 0.15);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.progress {
    height: 100%;
    background: var(--primary);
    transition: width 0.1s linear;
    border-radius: 3px;
}

.search-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 62, 0, 0.4);
}

.toast {
    transition: all 0.3s ease;
    transform: translateY(100px);
}

.toast.show {
    transform: translateY(0);
}

.player-fullscreen {
    transition: all 0.3s ease;
    transform: translateY(100%);
}

.player-fullscreen.active {
    transform: translateY(0);
}

.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}