/* Structure de base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    margin: 30px 0;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-name {
    font-size: 28px;
    margin: 15px 0;
}

.links-container {
    width: 100%;
    max-width: 600px;
}

.link {
    padding: 18px 25px;
    margin: 15px 0;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.4s ease;
}

.link i {
    margin-right: 15px;
    font-size: 1.4em;
    min-width: 30px;
    transition: color 0.3s ease;
}

.link-content {
    flex-grow: 1;
}

.link-title {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 3px;
}

.link-description {
    font-size: 0.85em;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.quick-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.email-form-container {
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
}

.email-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.email-input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.submit-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .link {
        padding: 15px 20px;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
} 


.footer {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
    font-size: 0.8em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer a {
    text-decoration: none;
}

.footer:hover {
    opacity: 1;
}

/* Bouton de partage dans les quick-links */
.share-quick-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.share-quick-link:hover {
    background: linear-gradient(135deg, #7c8ef5 0%, #8a5bb8 100%);
    transform: scale(1.1);
}

.share-quick-link i {
    color: white;
}

/* Modal de partage */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal.active {
    opacity: 1;
}

.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.share-modal-content {
    position: relative;
    background: #2a2a2a;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    color: white;
}

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

.share-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.share-modal-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

/* Carte de partage */
.share-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.share-card-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #667eea;
}

.share-card-name {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.share-card-url {
    font-size: 0.85em;
    color: #999;
    word-break: break-all;
}

/* Options de partage */
.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.share-option {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.share-option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    transition: all 0.3s ease;
}

.share-option:hover .share-option-icon {
    transform: scale(1.1);
}

.share-option-label {
    font-size: 0.75em;
    font-weight: 500;
}

/* Icônes des réseaux sociaux */
.copy-icon {
    background: #e0e0e0;
    color: #333;
}

.x-icon {
    background: #000000;
    color: white;
}

.facebook-icon {
    background: #1877f2;
    color: white;
}

.whatsapp-icon {
    background: #25d366;
    color: white;
}

.linkedin-icon {
    background: #0077b5;
    color: white;
}

.messenger-icon {
    background: #0084ff;
    color: white;
}

.snapchat-icon {
    background: #fffc00;
    color: #333;
}

.email-icon {
    background: #ea4335;
    color: white;
}

/* Notification */
.share-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4caf50;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.share-notification.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .share-modal-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .share-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .share-option-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
    
    .share-option-label {
        font-size: 0.7em;
    }
    
    .share-card {
        padding: 20px;
    }
    
    .share-card-img {
        width: 80px;
        height: 80px;
    }
}