body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-image: url('assets/galaxy_generated.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: #f0f2f5; /* Couleur de texte par défaut plus claire */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff; /* Texte blanc pour le titre */
}

p {
    font-size: 16px;
    margin: 0 0 32px 0;
    color: #f0f2f5; /* Texte gris clair pour la description */
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 16px;
}

a, #qrcode-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    /* Style "Liquid Glass" */
    background: linear-gradient(180deg, rgba(40, 50, 60, 0.8) 0%, rgba(25, 35, 45, 0.9) 100%);
    color: #f0f2f5; /* Couleur de texte claire pour un bon contraste */
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Bordure plus subtile */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Ombre un peu plus prononcée */
    transition: background 0.2s ease-in-out, transform 0.1s ease-in-out, box-shadow 0.2s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

a:hover, #qrcode-button:hover {
    background: linear-gradient(180deg, rgba(50, 60, 70, 0.9) 0%, rgba(35, 45, 55, 1.0) 100%);
    transform: scale(1.03); /* Légèrement plus grand */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 2px 5px rgba(0, 0, 0, 0.2); /* Halo lumineux blanc + ombre */
}

a:active, #qrcode-button:active {
    transform: scale(0.98);
}

/* Style pour les icônes */
a i, #qrcode-button i {
    margin-right: 8px; /* Espace entre l'icône et le texte */
}

/* --- Styles pour le Modal QR Code --- */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(180deg, rgba(40, 50, 60, 0.95) 0%, rgba(25, 35, 45, 1.0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 15% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 320px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    text-align: center;
    color: #f0f2f5;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    text-decoration: none;
}

#qrcode-container {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin: 20px 0;
}

#qrcode-container img {
    display: block;
}