/* Styles pour le mini Linktree de ILU_ - thème rouge sang / beige */
:root {
    --bg: #f8f3eb;          /* beige crème */
    --bg-card: #ffffff;     /* blanc pour les cartes */
    --accent: #990000;      /* rouge sang */
    --accent-soft: #f3d0d0; /* rouge très clair */
    --text: #1a1a1a;        /* texte principal sombre */
    --muted: #6b7280;       /* texte secondaire */
    --card-border: #e5e7eb;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
    --radius-lg: 18px;
    --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.container {
    width: 100%;
    max-width: 520px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.2rem 1.8rem 1.6rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(153, 0, 0, 0.08), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(153, 0, 0, 0.06), transparent 55%);
    opacity: 1;
    z-index: -1;
}

.header { text-align: center; margin-bottom: 1.8rem; }

.avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
}

.header h1 {
    font-size: 1.7rem;
    margin: 0;
    letter-spacing: 0.04em;
    color: var(--accent);
}

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

.links-section { margin-top: 1.6rem; }

.links-section h2 {
    font-size: 1.1rem;
    margin: 0 0 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.link-card {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.6rem;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid var(--card-border);
    text-decoration: none;
    color: var(--text);
    transition:
        background 0.16s ease-out,
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        border-color 0.16s ease-out;
}

.link-card:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(153, 0, 0, 0.18);
    border-color: var(--accent);
}

.link-card .text { font-size: 0.98rem; }

.link-card.contact { background: #fff7f7; }

.icon {
    width: 22px;
    height: 22px;
    margin-right: 0.7rem;
    border-radius: 6px;
    object-fit: contain;
    background-color: #ffffff;
}

.footer {
    margin-top: 2.1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

@media (max-width: 480px) {
    body { padding: 1.1rem; }
    .container { padding: 1.8rem 1.4rem 1.4rem; border-radius: 20px; }
    .header h1 { font-size: 1.5rem; }
    .link-card { padding: 0.7rem 0.9rem; }
}
