#ham-player * { margin: 0; padding: 0; box-sizing: border-box; }
#ham-player {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
    padding: 2rem;
    border-radius: 1rem;
}
#ham-player .player-wrapper { width: 100%; max-width: 900px; margin: 0 auto; }
#ham-player .album-header { text-align: center; margin-bottom: 2rem; }
#ham-player .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;
}
#ham-player .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);
}
#ham-player .turntable {
    position: relative; width: 100%; max-width: 500px; 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;
}
#ham-player .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;
}
#ham-player .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);
}
#ham-player .vinyl-record.spinning { animation: ham-spin 3s linear infinite; }
@keyframes ham-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#ham-player .vinyl-grooves { position: absolute; inset: 5%; border-radius: 50%; overflow: hidden; }
#ham-player .groove { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.03); }
#ham-player .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);
}
#ham-player .label-text {
    color: #fff; font-weight: bold; text-align: center; font-size: 0.7rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); padding: 0 0.4rem;
}
#ham-player .label-subtext { color: rgba(255,255,255,0.8); font-size: 0.55rem; margin-top: 0.2rem; }
#ham-player .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;
}
#ham-player .tonearm.playing { transform: rotate(-25deg); }
#ham-player .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);
}
#ham-player .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;
}
#ham-player .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;
}
#ham-player .track-info { text-align: center; margin-bottom: 1.5rem; }
#ham-player .current-track { color: #fff; font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; }
#ham-player .track-number { color: #909090; font-size: 0.875rem; }
#ham-player .progress-section { margin-bottom: 1.5rem; }
#ham-player .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;
}
#ham-player .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);
    pointer-events: none;
}
#ham-player .time-display { display: flex; justify-content: space-between; color: #909090; font-size: 0.875rem; }
#ham-player .controls { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
#ham-player .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;
}
#ham-player .control-btn:hover { transform: scale(1.1); border-color: #707070; }
#ham-player .control-btn:active { transform: scale(0.95); }
#ham-player .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);
}
#ham-player .play-pause-btn svg { color: #fff; }
#ham-player .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;
}
#ham-player .volume-control svg { color: #909090; }
#ham-player input[type="range"] {
    width: 6rem; height: 0.25rem; appearance: none;
    background: rgba(255,255,255,0.2); border-radius: 9999px; outline: none;
}
#ham-player 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);
}
#ham-player .tracklist {
    margin-top: 2rem; background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-radius: 1rem; padding: 1.5rem; border: 2px solid #404040;
}
#ham-player .tracklist-title {
    color: #c0c0c0; font-size: 1rem; font-weight: bold; margin-bottom: 1rem;
    text-transform: uppercase; letter-spacing: 0.1em;
}
#ham-player .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;
}
#ham-player .track-item:hover { background: rgba(255,255,255,0.05); border-color: #505050; }
#ham-player .track-item.active {
    background: linear-gradient(to right, rgba(255,0,0,0.2), rgba(204,0,0,0.2));
    border-color: #ff0000;
}
#ham-player .track-item-number { color: #909090; font-weight: bold; margin-right: 1rem; min-width: 2rem; }
#ham-player .track-item.active .track-item-number { color: #ff0000; }
#ham-player .track-item-title { color: #c0c0c0; flex: 1; }
#ham-player .track-item.active .track-item-title { color: #fff; font-weight: bold; }
@media (max-width: 600px) {
    #ham-player .controls { gap: 0.5rem; }
    #ham-player .control-btn { width: 2.5rem; height: 2.5rem; }
    #ham-player .play-pause-btn { width: 3.5rem; height: 3.5rem; }
    #ham-player .volume-control { width: 100%; justify-content: center; }
}