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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #dfe2d4 0%, #c5d4b5 50%, #a8c09a 100%);
    min-height: 100vh;
    color: #2c3e2d;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 30px 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(223, 226, 212, 0.4);
    backdrop-filter: blur(10px);
    background: rgba(223, 226, 212, 0.2);
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    flex: 1;
}

.name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e2d;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.bio {
    font-size: 0.85rem;
    color: #4a5c4b;
    font-weight: 300;
    line-height: 1.3;
}

.links-section {
    width: 100%;
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e2d;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.social-links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 8px 0;
}

.link-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #2c3e2d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(223, 226, 212, 0.3);
    box-shadow: 0 4px 15px rgba(44, 62, 45, 0.1);
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 45, 0.15);
    background: rgba(255, 255, 255, 1);
}

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

.link-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.link-description {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
}

.footer p {
    color: rgba(44, 62, 45, 0.7);
    font-size: 0.85rem;
    font-weight: 300;
}

/* Desktop styles */
@media (min-width: 481px) {
    .container {
        padding: 40px 20px;
    }
    
    .profile {
        margin-bottom: 40px;
        gap: 20px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
        border: 4px solid rgba(223, 226, 212, 0.4);
    }
    
    .name {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .bio {
        font-size: 0.95rem;
    }
    
    .links-section {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    .link-item {
        padding: 16px 20px;
    }
    
    .social-badge {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
    
    .social-badge-image {
        width: 42px;
        height: 42px;
    }
    
    .social-links-container {
        gap: 24px;
    }
}

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

.profile {
    animation: fadeInUp 0.6s ease-out;
}

.links-section {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.link-item {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

/* Badges sociaux verticaux */
.social-badge {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(223, 226, 212, 0.3);
    box-shadow: 0 4px 15px rgba(44, 62, 45, 0.1);
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.social-badge:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 12px 30px rgba(44, 62, 45, 0.25);
    background: rgba(255, 255, 255, 1);
}

.social-badge:hover .social-badge-image {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.05);
}

.social-badge:active {
    transform: translateY(-2px) scale(1.02);
}

.social-badge-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Styles supprimés car on utilise maintenant les vraies images des réseaux */

/* Styles pour les liens partenaires (restent horizontaux) */
.partner-product { border-left: 4px solid #10B981; }
.partner-affiliate { border-left: 4px solid #F59E0B; }