@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
    background-repeat: repeat;
    animation: bg-animation 0.2s infinite;
    opacity: 0.9;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
    background-repeat: repeat;
    animation: bg-animation-secondary 0.3s infinite;
    opacity: 0.5;
    z-index: -1;
}

.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
    filter: brightness(0.7);
}

.site {
    background: transparent;
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.site * {
    box-sizing: border-box;
}

.custom-audio-player {
    background: rgba(35, 35, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 90%;
    width: 550px;
    height: auto;
    position: relative;
    color: #B8B8B8;
    padding: 10px;
    margin: 20px auto 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    backdrop-filter: blur(3px);
    margin-top: 250px;
}

.player-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-track {
    background: #d9d9d9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 75px;
    height: 75px;
    object-fit: cover;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

.track-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.name-track {
    color: #B8B8B8;
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    margin-left: 5px;
    margin-top: 10px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    flex-wrap: nowrap;
}

.play-pause {
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: #655e5d;
    border-radius: 3.5px;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-thumb {
    width: 12px;
    height: 12px;
    background: #655e5d;
    border-radius: 50%;
    position: absolute;
    top: -2.5px;
    transform: translateX(-50%);
    cursor: pointer;
    display: block;
    filter: drop-shadow(0 0 3px #655e5d);
    z-index: 5;
}

.progress-bar:hover .progress-thumb {
    display: block;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    position: relative;
}

.volume-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

.pause-button, .play-button {
    width: 16px;
    height: 20px;
    cursor: pointer;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

.container {
    background: rgba(40,40,40, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    min-height: 300px;
    position: relative;
    margin: 0 auto;
    overflow: visible;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    backdrop-filter: blur(8px);
    padding: 20px;
}

.avatar {
    background: #d9d9d9;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 90px;
    height: 90px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    filter: drop-shadow(0 0 5px #655e5d);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.4),
                0 0 30px rgba(255, 255, 255, 0.2);
}

.views {
    background: rgba(67,66,66, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    width: 65px;
    height: 25px;
    position: absolute;
    right: 12px;
    top: 12px;
    color: #B8B8B8;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.views:hover::after {
    content: attr(data-custom-title);
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 29, 31, 1);
    color: #B8B8B8;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 20;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: fadeInTooltip 0.5s ease-in-out;
}

.view-icon {
    width: 13px;
    height: 16px;
    vertical-align: middle;
    margin-bottom: 0.5px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

.name {
    color: #B8B8B8;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 150px;
    width: 100%;
}

.name-text {
    z-index: 1;
    display: inline-block;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 180px;
    width: 100%;
    margin-bottom: 10px;
}

.icon-link {
    display: inline-block;
    text-decoration: none;
}

.social-icon {
    width: 18px;
    height: 24px;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

.social-icon:hover {
    transform: scale(1.2);
}

.icon-link:hover::after {
    content: attr(data-custom-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 29, 31, 1);
    color: #B8B8B8;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 20;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: fadeInTooltip 0.5s ease-in-out;
    margin-bottom: 3px;
}

.icon-link::after {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.about {
    color: #B8B8B8;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 240px;
    width: 100%;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8B8B8;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 215px;
    width: 100%;
}

.line-1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 254px;
    height: 1px;
    width: 396px;
    background: linear-gradient(to right, transparent, #1E1E1E 20%, #1E1E1E 80%, transparent);
    overflow: hidden;
}

#introOverlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(30px);
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    overflow: hidden;
}

#introOverlay.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.intro-content {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #B8B8B8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    user-select: none;
    animation: fadeIn 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 3px #655e5d);
}

.line-2 {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    height: 1.5px;
    width: 396px;
    background: linear-gradient(to right, transparent, #1E1E1E 20%, #1E1E1E 80%, transparent);
    overflow: hidden;
    margin-bottom: 50px;
}

.line-3 {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    height: 1.5px;
    width: 396px;
    background: linear-gradient(to right, transparent, #1E1E1E 20%, #1E1E1E 80%, transparent);
    overflow: hidden;
    margin-top: 50px;
}

@keyframes bg-animation {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

@keyframes bg-animation-secondary {
    0% { transform: translate(0,0) }
    10% { transform: translate(5%,5%) }
    20% { transform: translate(10%,-5%) }
    30% { transform: translate(-5%,10%) }
    40% { transform: translate(5%,-15%) }
    50% { transform: translate(10%,-5%) }
    60% { transform: translate(-15%,0) }
    70% { transform: translate(0,-10%) }
    80% { transform: translate(15%,0) }
    90% { transform: translate(-10%,-5%) }
    100% { transform: translate(-5%,0) }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInTooltip {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 600px) {
    .container, .custom-audio-player {
        max-width: 95%;
    }
    .line-1, .line-2, .line-3 {
        width: 300px;
    }
}

.time-display {            
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    width: 100%;
    }
        
.progress-container {
    flex-grow: 1;
    position: relative;
    height: 7px;
    }
        
.progress-bar {
    background: #1E1E1E;
    border-radius: 3.5px;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    }
        
.current-time, .duration {
    color: #B8B8B8;
    font-size: 12px;
    font-weight: 500;
    min-width: 35px;
    text-align: center;
    }
        
.volume-slider {
    width: 70px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #1E1E1E;
    border-radius: 2px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    }
        
.volume-slider:hover {
    opacity: 1;
    }
        
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #655e5d;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
    }
        
.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #655e5d;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
    }
        
.container {
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    }
        
@media (max-width: 600px) {
    .player-controls {
    flex-direction: column;
    gap: 10px;
    }
            
    .volume-control {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        width: 100%;
        }
                
    .volume-slider {
        width: 100px;
        }
                
    .time-display {
        order: 1;
        width: 100%;
        }
                
    .play-pause {
        order: 2;
        align-self: center;
        }
                
    .volume-control {
        order: 3;
        }
}



        .player-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
            width: 100%;
            flex-wrap: nowrap;
        }
        
        .play-pause {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }
        
        .time-display {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-grow: 1;
            min-width: 0;
        }
        
        .current-time, .duration {
            color: #B8B8B8;
            font-size: 12px;
            font-weight: 500;
            min-width: 35px;
            text-align: center;
            flex-shrink: 0;
        }
        
        .progress-container {
            flex-grow: 1;
            position: relative;
            height: 7px;
            min-width: 0;
        }
        
        .progress-bar {
            background: #1E1E1E;
            border-radius: 3.5px;
            width: 100%;
            height: 100%;
            position: relative;
            cursor: pointer;
        }
        
        .progress-bar-fill {
            height: 100%;
            background: #655e5d;
            border-radius: 3.5px;
            width: 0;
            position: absolute;
            top: 0;
            left: 0;
        }
        
        .progress-thumb {
            width: 12px;
            height: 12px;
            background: #655e5d;
            border-radius: 50%;
            position: absolute;
            top: -2.5px;
            transform: translateX(-50%);
            cursor: pointer;
            display: block;
            filter: drop-shadow(0 0 3px #655e5d);
            z-index: 5;
        }
        
        .volume-control {
            display: flex;
            align-items: center;
            gap: 5px;
            flex-shrink: 0;
            margin-left: auto;
        }
        
        .volume-slider {
            width: 70px;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: #1E1E1E;
            border-radius: 2px;
            outline: none;
            opacity: 0.7;
            transition: opacity 0.2s;
            flex-shrink: 0;
        }
        
        .volume-slider:hover {
            opacity: 1;
        }
        
        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #655e5d;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
        }
        
        .volume-slider::-moz-range-thumb {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #655e5d;
            cursor: pointer;
            border: none;
            box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
        }
        
        @media (max-width: 600px) {
            .player-controls {
                flex-wrap: wrap;
                justify-content: space-between;
            }
            
            .play-pause {
                order: 1;
            }
            
            .time-display {
                order: 2;
                width: 100%;
                margin-top: 10px;
            }
            
            .volume-control {
                order: 3;
                margin-left: 0;
                margin-top: 10px;
                width: 100%;
                justify-content: flex-end;
            }
            
            .volume-slider {
                width: 100px;
            }
        }

.location-icon {
    width: 9px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}