/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px;
}

/* Conteneur principal */
.container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Photo de profil */
.profile-picture {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #ff9800;
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    background: #2c2c2c;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture:hover {
    transform: scale(1.05);
    border-color: #ffc107;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

/* Pseudo */
.username {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

/* Slogan */
.slogan {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 25px;
    text-align: center;
    max-width: 80%;
    line-height: 1.5;
}

/* Bouton Appuis */
.action-button {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-appuis {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: #1e1e1e;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    text-decoration: none;
}

.btn-appuis:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.5);
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.btn-appuis i {
    margin-left: 8px;
}

/* Réseaux sociaux */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2c2c2c;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff9800;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #ff9800;
    color: #1e1e1e;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

/* Compteur de visites */
.visitor-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: flex-start;
}

.visitor-counter i {
    margin-right: 8px;
    color: #ff9800;
}

.counter-details {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #666;
}

/* Contrôle de musique */
.music-control {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(44, 44, 44, 0.8);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ff9800;
    border: 2px solid #ff9800;
    z-index: 100;
}

.music-control:hover {
    background: #ff9800;
    color: #1e1e1e;
    transform: scale(1.1);
}


@keyframes slideDown {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}


/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    
    .profile-picture {
        width: 150px;
        height: 150px;
    }
    
    .username {
        font-size: 2rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .btn-appuis {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .visitor-counter {
        position: relative;
        bottom: unset;
        left: unset;
        margin-top: 20px;
        align-items: center;
        width: 100%;
        text-align: center;
    }


    #profile-content {
        transition: opacity 0.3s ease;
    }
    
    .loading {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        background: rgba(30, 30, 30, 0.9);
        padding: 20px;
        border-radius: 10px;
    }
}



/* Écran d'intro */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.intro-content {
    text-align: center;
    animation: pulse 2s infinite;
}

.intro-content h1 {
    font-size: 3rem;
    color: #ff9800;
    text-shadow: 0 0 20px rgba(255, 152, 0, 0.7);
}

/* Animation de pulsation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

