:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #22c55e;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.player-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.album-art {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 20px;
    opacity: 0.3;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
}

.dot.online {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.controls {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.btn-play {
    background: var(--primary);
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.btn-play:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.btn-play svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.hidden {
    display: none;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    border-radius: 12px;
}

.volume-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
}

input[type=range] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.visualizer-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
    margin-bottom: 16px;
}

.visualizer-bar {
    width: 4px;
    background: var(--primary);
    height: var(--height);
    border-radius: 2px;
    opacity: 0.5;
    animation: wave 1s ease-in-out infinite alternate;
    animation-delay: calc(var(--height) * -1s);
}

@keyframes wave {
    0% { height: 20%; }
    100% { height: 100%; }
}

.brand-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}
