:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --accent: #00d2ff;
}

body {
    background: #050505; /* Deep black for contrast */
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    perspective: 1500px;
}

.player-wrapper {
    position: relative;
    width: 320px;
    height: 440px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    cursor: pointer;
}

/* 3D Tilt Effect on Hover */
.player-wrapper:hover {
    transform: rotateY(-18deg) rotateX(8deg);
}

/* THE GLASS SLEEVE */
.glass-sleeve {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
}

/* Reflection Shimmer Effect */
.glass-sleeve::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.8s;
}

.player-wrapper:hover .glass-sleeve::before {
    left: 150%;
}

.artist-image {
    width: 100%;
    height: 65%;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
}

.glass-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
}

h1 {
    color: white;
    margin: 8px 0 4px 0;
    font-size: 26px;
    font-weight: 800;
}

p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin: 0;
}

.status-bar {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.playing-text {
    font-size: 10px;
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 1px;
}

/* THE IRIDESCENT CD */
.cd-disc {
    position: absolute;
    top: 25px;
    left: 10px;
    width: 300px;
    height: 300px;
    background: #1a1a1a;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

/* CD Data Grooves */
.cd-disc::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 4px
    );
}

.iridescent-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        transparent 30%, 
        rgba(0, 210, 255, 0.15) 40%, 
        rgba(144, 0, 255, 0.15) 50%, 
        rgba(0, 255, 144, 0.15) 60%, 
        transparent 70%
    );
    border-radius: 50%;
}

.cd-center {
    width: 85px;
    height: 85px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.hole {
    width: 22px;
    height: 22px;
    background: #050505;
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.2);
}

.disc-label {
    position: absolute;
    bottom: 45px;
    color: rgba(255,255,255,0.2);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* EJECT & SPIN ANIMATION */
.player-wrapper:hover .cd-disc {
    transform: translateY(-150px) rotate(360deg);
}

@keyframes spin {
    from { transform: translateY(-150px) rotate(0deg); }
    to { transform: translateY(-150px) rotate(360deg); }
}

.player-wrapper:hover .cd-disc {
    animation: spin 5s linear infinite 0.8s;
}