* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.player-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
}

.player-wrapper {
    width: 100%;
    max-width: 900px;
}

.album-header {
    text-align: center;
    margin-bottom: 2rem;
}

.album-title {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(to bottom, #ffffff, #a0a0a0, #606060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
    margin-bottom: 0.5rem;
}

.album-name {
    font-size: 1.5rem;
    color: #ff0000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.turntable {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid #404040;
}

.platter {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3a3a3a, #1a1a1a);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-record {
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2a2a2a, #000000 60%);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.9),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.vinyl-record.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-grooves {
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    overflow: hidden;
}

.groove {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #cc0000, #990000);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.label-text {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 0.5rem;
}

.label-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.6rem;
    margin-top: 0.25rem;
}

.tonearm {
    position: absolute;
    right: 10%;
    top: 20%;
    width: 30%;
    height: 3px;
    background: linear-gradient(to right, #808080, #606060);
    border-radius: 2px;
    transform-origin: right center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.tonearm.playing {
    transform: rotate(-25deg);
}

.tonearm::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #c0c0c0, #808080);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.tonearm::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 10px 6px 0;
    border-color: transparent #909090 transparent transparent;
}

.controls-panel {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 2px solid #404040;
}

.track-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.current-track {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.track-number {
    color: #909090;
    font-size: 0.875rem;
}

.progress-section {
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 9999px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid #404040;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #ff0000, #cc0000);
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: #909090;
    font-size: 0.875rem;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.control-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    border: 2px solid #505050;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #c0c0c0;
}

.control-btn:hover {
    transform: scale(1.1);
    border-color: #707070;
    background: linear-gradient(to bottom, #4a4a4a, #3a3a3a);
}

.control-btn:active {
    transform: scale(0.95);
}

.play-pause-btn {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, #ff0000, #cc0000);
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.play-pause-btn:hover {
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
}

.play-pause-btn svg {
    color: #ffffff;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 9999px;
    border: 1px solid #404040;
}

.volume-control svg {
    color: #909090;
}

input[type="range"] {
    width: 6rem;
    height: 0.25rem;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #ff0000;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #ff0000;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.tracklist {
    margin-top: 2rem;
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #404040;
}

.buy-section {
    margin-top: 2rem;
    background: linear-gradient(to bottom right, #1a1a1a, #0a0a0a);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.buy-title {
    color: #ff0000;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.buy-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.buy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    border-color: #ffffff;
}

.buy-btn-icon {
    font-size: 1.5rem;
}

.tracklist-title {
    color: #c0c0c0;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #505050;
}

.track-item.active {
    background: linear-gradient(to right, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.2));
    border-color: #ff0000;
}

.track-item-number {
    color: #909090;
    font-weight: bold;
    margin-right: 1rem;
    min-width: 2rem;
}

.track-item.active .track-item-number {
    color: #ff0000;
}

.track-item-title {
    color: #c0c0c0;
    flex: 1;
}

.track-item.active .track-item-title {
    color: #ffffff;
    font-weight: bold;
}

.track-item-duration {
    color: #606060;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .album-title {
        font-size: 1.5rem;
    }

    .album-name {
        font-size: 1.25rem;
    }

    .turntable {
        padding: 1rem;
    }

    .controls {
        gap: 0.5rem;
    }

    .control-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .play-pause-btn {
        width: 3.5rem;
        height: 3.5rem;
    }

    .volume-control {
        width: 100%;
        justify-content: center;
    }
}