* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    height: 100vh;
    color: white;
}

a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s ease all;
}

a:hover {
    opacity: .7;
}

#startScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

#startScreen span {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

/* FADE IN EFFECT */
@keyframes fade-in {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}


/* Background Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    gap: 24px;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Particles Canvas */
#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Username Header */
.username-header {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow:
        0 0 5px #1E90FF,
        0 0 10px #1E90FF,
        0 0 20px #1E90FF,
        0 0 40px #1E90FF,
        0 0 80px #1E90FF;
    position: relative;
    opacity: 0;
    animation: fade-in 1.3s 0.9s ease forwards;
}

/* Profile Card */
.profile-card {
    padding: 24px 32px;
    min-width: 320px;
    opacity: 0;
    animation: fade-in 1.3s 1s ease forwards;
}

.profile-info {
    position: relative; 
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
}

.name {
    color: white;
}

.verified-badge {
    flex-shrink: 0;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.profile-details p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.profile-details .description {
    display: flex;
    flex-direction: column;
}

.profile-avatar {
    position: relative;
}

.last-seen {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.status-container {
    position: absolute;
    bottom: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.status-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.5); /* Rand für besseren Kontrast */
    background: gray;
}

.status-text {
    text-transform: capitalize;
    font-size: 12px;
    margin-bottom: 1em;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
    padding: 16px 24px;
    opacity: 0;
    animation: fade-in 1.3s 1.3s ease forwards;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.social-link svg {
    width: 28px;
    height: 28px;
}

/* View Counter */
.view-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    animation: fade-in 1.3s 1.5s ease forwards;
}

/* Music Player */
.music-player {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    min-width: 420px;
    opacity: 0;
    animation: fade-in 1s 1.8s ease forwards;
}

.player-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.player-icon .player-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.player-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}


#playPauseBtn.control-btn {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    opacity: .3;
}

#nextBtn svg {
    transform: rotate(180deg);
}

.control-btn:hover {
    opacity: 0.7;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    min-width: 32px;
}

/* Progress Bar */
.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1); /* dunkler Hintergrund */
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
}

.progress {
    height: 100%;
    width: 0%; /* Start bei 0 */
    border-radius: 3px;
    background-color: #1E90FF; /* blau */
    transition: width 0.2s linear; /* flüssige Bewegung */
}

@keyframes progressFill {
    0% { width: 0%; background-position: 0% 0%; }
    100% { width: 100%; background-position: 200% 0%; }
}

/* Volume Slider - blau */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

#volumeSlider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1); /* dunkler Hintergrund */
    outline: none;
    cursor: pointer;
}


#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1E90FF; /* blau */
    border: 2px solid #1E90FF;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

#volumeSlider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#volumeSlider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1E90FF;
    border: 2px solid #1E90FF;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

/* Füllung für Volume (für Webkit) */
#volumeSlider::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0);
}

/* Für Firefox */
#volumeSlider::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}




/* Responsive */
@media (max-width: 768px) {
    .username-header {
        font-size: 36px;
    }
    
    .profile-card,
    .music-player {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}