* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #1a3409 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #1a3409 100%);
    background-image: url('/res/foret_256.jpg');
    background-position:center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    animation: deblur;
    animation-fill-mode: forwards;
    animation-duration: 1s;
}

@keyframes deblur {
    0% {
        backdrop-filter: blur(5px);
    }

    100% {
        backdrop-filter: blur(0px);
    }
}

.container {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    max-width: 380px;
    width: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 24px;
    /*background: linear-gradient(135deg, #4a7c59, #6a994e);*/
    background: #2d6757;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    border: 3px solid rgba(106, 153, 78, 0.2);
    transition: transform 0.2s ease;
    overflow: hidden;
}

.profile-image img {
    height:100%;
    width:100%;
    object-fit: contain;
}

.profile-image:hover {
    transform: scale(1.05);
}

.name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #317560;
    letter-spacing: -0.02em;
}

.bio {
    color: #5a6c57;
    margin-bottom: 32px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-button {
    background: #2d6757; /* #4a7c59 */
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    border: 1px solid rgba(106, 153, 78, 0.3);
    position: relative;
    overflow: hidden;
}

.link-button:hover {
    background: #6a994e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
    background:#093932;
}

.link-button:active {
    transform: translateY(0);
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: currentColor;
    font-size: 20px;
}

/* Couleurs subtiles pour chaque réseau */
/*.link-button.instagram:hover { background: #5a7c60; }
.link-button.twitter:hover { background: #4a7959; }
.link-button.linkedin:hover { background: #6a9950; }
.link-button.youtube:hover { background: #5d8162; }
.link-button.tiktok:hover { background: #4f7d5c; }
.link-button.website:hover { background: #6b9a4f; }*/

@media (max-width: 480px) {
    .container {
        padding: 40px 24px;
        margin: 16px;
        max-width: none;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .bio {
        font-size: 0.9rem;
    }
    
    .link-button {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Animation subtile au chargement */
.container {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.links {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}