/* 1. Variables globales */
:root {
    --bg-color: #0b0b0d;
    --card-bg: #16161a;
    --card-hover: #222227;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent: #e4405f; /* Couleur signature */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Base de la page */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* 3. Le conteneur central (qui évite que le site s'étale trop) */
.container {
    width: 100%;
    max-width: 480px; /* Taille parfaite pour mobile et desktop */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 4. Section Profil */
.profile {
    margin-bottom: 40px;
    text-align: center;
}

.avatar-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); /* Dégradé Insta */
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.username {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* 5. Les Liens / Cartes */
.links-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Espace entre chaque bouton */
}

.link-card {
    background-color: var(--card-bg);
    color: var(--text-main);
    text-decoration: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #27272a;
    transition: all 0.2s ease; /* Effet fluide quand la souris passe dessus */
}

/* L'effet au survol */
.link-card:hover {
    background-color: var(--card-hover);
    border-color: var(--accent);
    transform: translateY(-2px); /* Le bouton monte de 2 pixels */
}
