* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0d0100;
    background-image: url('/fon/citrus-dj.com/1080x1920.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333333;
    text-align: center;
    margin: 0;
    padding: 15px;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    body { background-image: url(/fon/citrus-dj.com/1024x768.webp); }
}
@media (min-width: 1025px) {
    body { background-image: url('/fon/citrus-dj.com/1920x1080.webp'); }
}
@media (min-width: 1921px) {
    body { background-image: url('/fon/citrus-dj.com/2560x1440.webp'); }
}

.drop {
    position: absolute;
    background: rgba(255, 152, 0, 0.15);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: inset 10px 10px 15px rgba(255, 255, 255, 0.3), inset -5px -5px 15px rgba(255, 87, 34, 0.2), 10px 15px 25px rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

.drop-2 { top: 75%; left: 80%; width: 120px; height: 110px; transform: rotate(-20deg); }
.drop-3 { top: 85%; left: 20%; width: 50px; height: 50px; transform: rotate(45deg); }
.drop-4 { top: 20%; left: 85%; width: 65px; height: 60px; transform: rotate(10deg); }
.drop-5 { top: 50%; left: 5%; width: 40px; height: 40px; transform: rotate(-15deg); }

.player {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: clamp(15px, 3vh, 30px) clamp(15px, 4vw, 30px);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 2vh, 20px);
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.6em);
    font-weight: 900;
    margin: 0 0 10px 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(255, 152, 0, 0.8), 0 0 5px rgba(255, 152, 0, 0.5);
}

select {
    padding: clamp(8px, 1.5vh, 15px);
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 152, 0, 0.5);
    background: rgba(255, 255, 255, 0.85);
    color: #FF9800;
    font-size: clamp(0.9rem, 2vh, 1em);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
    appearance: none;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.15);
}

select:focus {
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.4);
    border-color: #FF9800;
}

select option {
    background: #FFFFFF;
    color: #FF9800;
    font-weight: 600;
}

.controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 2.5vh, 25px);
}

.buttons {
    display: flex;
    gap: clamp(20px, 5vw, 30px);
    justify-content: center;
}

.citrus-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(55px, 10vh, 70px);
    height: clamp(55px, 10vh, 70px);
}

.citrus-btn svg {
    width: 100%;
    height: 100%;
}

.citrus-btn:hover {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.1);
    box-shadow: 0 15px 25px rgba(255, 87, 34, 0.5);
}

.citrus-btn:active {
    transform: scale(0.95);
}

.seek-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 1.5vh, 12px);
    font-size: clamp(0.85em, 2vh, 0.95em);
    font-weight: 700;
    color: #FF9800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.time-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.seek-container input[type=range] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    appearance: none;
    outline: none;
    background: rgba(255, 152, 0, 0.3);
    cursor: pointer;
}

.volume-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    padding: clamp(5px, 1vh, 8px) clamp(12px, 3vw, 18px);
    border-radius: 50px;
    border: 1px solid rgba(255, 152, 0, 0.3);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.1);
}

.volume-container input[type=range] {
    flex-grow: 1;
    height: 6px;
    margin-right: 15px;
    border-radius: 3px;
    appearance: none;
    outline: none;
    background: rgba(255, 152, 0, 0.3);
    cursor: pointer;
}

.volume-container button {
    width: clamp(28px, 5vh, 35px);
    height: clamp(28px, 5vh, 35px);
    margin: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.volume-container button:hover {
    transform: scale(1.1);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: clamp(16px, 3vh, 20px);
    height: clamp(16px, 3vh, 20px);
    border-radius: 50%;
    background: #FF9800;
    box-shadow: 0 3px 8px rgba(255, 87, 34, 0.5);
    transition: transform 0.1s, background 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #FF9800;
}

input[type=range]::-moz-range-thumb {
    width: clamp(16px, 3vh, 20px);
    height: clamp(16px, 3vh, 20px);
    border: none;
    border-radius: 50%;
    background: #FF9800;
    box-shadow: 0 3px 8px rgba(255, 87, 34, 0.5);
    transition: transform 0.1s, background 0.2s;
}

input[type=range]::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #FF9800;
}

.wave-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(35px, 6vh, 55px);
    gap: 8px;
}

.wave {
    width: clamp(6px, 1.5vw, 8px);
    height: 12px;
    background: #FF9800;
    border-radius: 4px;
    animation: wave 1.2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

.wave:nth-child(1) { animation-delay: 0.0s; }
.wave:nth-child(2) { animation-delay: 0.15s; }
.wave:nth-child(3) { animation-delay: 0.3s; }
.wave:nth-child(4) { animation-delay: 0.45s; }
.wave:nth-child(5) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { height: 12px; background: #FFB74D; }
    50% { height: clamp(30px, 5vh, 50px); background: #FF9800; }
}

.no-tracks {
    color: #FF9800;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0;
}

@media (max-width: 768px) {
    body {
        justify-content: flex-end;
        padding-bottom: 40px;
    }
    .volume-container {
        display: none !important;
    }
    .player { 
        background: rgba(255, 255, 255, 0.55);
    }
}