/* Variables */
:root {
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-color: #2d3436;
    --accent: #6c5ce7;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center; /* Centre horizontalement le bloc */
    align-items: center;     /* Centre verticalement le bloc */
    padding: 20px;
}

/* Le bloc vertical central */
.main-container {
    width: 100%;
    max-width: 450px; /* Largeur de la colonne */
    text-align: center;
}

.profile-header {
    color: white;
    margin-bottom: 30px;
}

.avatar {
    font-size: 3rem;
    margin-bottom: 10px;
}

.profile-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

/* La pile de liens */
.links-stack {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espace entre les boutons */
}

.link-card {
    background: var(--card-bg);
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.link-card:hover {
    transform: scale(1.03);
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.link-card .title {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--accent);
}

.link-card .description {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 4px;
}

/* Style spécial pour le bouton social */
.link-card.social {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.link-card.social .title {
    color: white;
}

footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}