@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #050505;
    color: #ffffff;
}

/* Schermata di caricamento */
#enter-screen {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: #000000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

#enter-screen p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Video di sfondo MP4 */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;     /* Trasparenza dello sfondo */
    filter: blur(2px); /* Togli questa riga se lo vuoi nitido */
}

/* Icone in alto a destra */
.top-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(5px);
    padding: 15px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.top-icons i {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.top-icons i:hover {
    color: #fff;
}

/* Card Centrale */
.card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    width: 450px;
    max-width: 90%;
    transform: translateY(-20px);
}

.profile {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pfp {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.info h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.info p {
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    font-size: 26px;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.socials a:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 8px currentColor);
}

.spotify { color: #1DB954; }
.discord { color: #5865F2; }

/* Player Musicale */
.music-player {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.music-icon {
    color: #fff;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.track-info {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    color: #ccc;
}

#play-pause-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    outline: none;
    transition: color 0.2s;
}

#play-pause-btn:hover {
    color: #aaa;
}