* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    color: #fff;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4) blur(3px); 
}


/* .profile-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 500px;
    margin: 100px auto;
} */
/* 
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}


.avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-bottom: 15px;
} */

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #fff;
}

.tagline {
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.socials a img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 5px white);
}

.socials a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #fff);
}

.views {
    margin-top: 10px;
    font-size: 1em;
    color: #aaa;
}

/* #bg-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../bg/bg.gif') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.4) blur(4px);
} */





#music-toast {
    position: fixed;
    top: 80px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #00f2ff;
    color: #00f2ff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.1em;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

#music-toast.show {
    opacity: 1;
    transform: translateY(0);
}



#welcome-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    z-index: 9999;
    transition: opacity 1s ease;
}

#welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
}



#welcome-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    z-index: 9999;
    transition: opacity 1s ease;
}

#welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Style pour le texte "press to continue" */
#press-key {
    font-size: 0.4em;
    margin-top: 40px;
    color: #888;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}


.profile-wrapper {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.profile-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 500px;

    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform, box-shadow;
    position: relative;

    /* on enlève margin ici, c’est géré par le wrapper */
}


.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.light {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 0;
}


.username {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.badge {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.4em;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 8px rgba(255,255,255,0.15);
}
.badge img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 2px white);
}


.typewriter-glow {
  font-style: italic;
  color: #fff;
  text-shadow: 0 0 8px #00f2ff, 0 0 12px #00f2ff;
  font-size: 1.1em;
}


/* VOLUME */





#volume-control {
    position: fixed;
    top: 45px;
    left: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
}

#toggle-music {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #00f2ff;
    border: 2px solid #00f2ff;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 25px;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px #00f2ff, 0 0 10px #00f2ff;

}

#toggle-music:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* --- Slider container fluo --- */
#volume-slider-wrapper {
    position: fixed;
    top: 33px;
    left: 105px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
    display: none;
    animation: fadeIn 0.3s ease;
}

#volume-slider-wrapper.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Slider itself --- */
#volume-slider {
    width: 180px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f2ff;
    box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
    border: none;
}

#volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f2ff;
    box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
    border: none;
}




#song-info {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 242, 255, 0.05);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.95em;
    color: #00f2ff;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 0 8px #00f2ff;
    z-index: 1000;
    backdrop-filter: blur(6px);
}
