* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #0d0d0d;
    color: #fff;
    line-height: 1.4;
}

#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: -1;
}

.top-button-container {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.top-button-container button {
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.top-button-container button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.profile-pic {
    text-align: center;
    margin: 120px 0 20px 0;
}

.profile-pic img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 80px auto;
    min-height: 70vh;
    padding: 20px 30px;
}

#note {
    width: auto;
    max-width: 80%;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 35px;
    padding: 10px 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    display: inline-block;
}

.record-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.record {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    animation: spin 8s linear infinite;
    animation-play-state: paused;
}

#waveformContainer {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    width: 150px;
    height: 60px;
    transform: rotateX(180deg);
}

#waveformContainer div {
    width: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: height 0.2s ease;
}

.audio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
}

.buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.buttons-row button {
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttons-row button:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

#trackName {
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ee0979);
    width: 0%;
    border-radius: 4px;
    transition: width 0.1s linear;
}

#timeDisplay {
    font-size: 13px;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.side-buttons, .side-stats {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.side-buttons.right { right: 20px; }
.side-btn {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.side-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.1);
}

.side-stats.left { left: 20px; }
.side-stats .stat {
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.side-stats .stat:hover {
    background: rgba(255,255,255,0.15);
}
.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    display: block;
}
.stat-label {
    font-size: 12px;
    color: #ccc;
}

footer {
    text-align: center;
    margin: 40px auto 20px auto;
    font-size: 14px;
    color: #888;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
