:root {
    --bg: #0f1720;
    --card: #0b1220;
    --accent: #22c55e;
    --text: #e6eef8;
    --muted: #9fb3c8;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, #071021 0%, #071827 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.container {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 30px rgba(2, 6, 23, 0.6);
    position: relative;
    z-index: 5;
}

.hero {
    text-align: center;
    padding: 6px 8px 18px;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.name {
    margin: 0;
    font-size: 20px
}

.subtitle {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px
}

/* Images décoratives avec drag & drop */
#decorative-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decorative-image {
    position: absolute;
    cursor: grab;
    opacity: 0.7;
    filter: brightness(1.1);
    transition: opacity 0.3s ease, transform 0.1s ease;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.decorative-image:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.decorative-image.dragging {
    cursor: grabbing;
    opacity: 0.8;
    z-index: 10;
    transform: scale(1.1);
    animation: none;
}

.decorative-image.small {
    width: 40px;
    height: auto;
}

.decorative-image.medium {
    width: 60px;
    height: auto;
}

.decorative-image.large {
    width: 80px;
    height: auto;
}

/* Styles spécifiques mobile */
@media (max-width: 768px) {
    .decorative-image {
        opacity: 0.6;
    }

    .decorative-image.small {
        width: 30px;
    }

    .decorative-image.medium {
        width: 35px;
    }

    .decorative-image.large {
        width: 40px;
    }

    .decorative-image:hover {
        opacity: 0.8;
        transform: scale(1.1);
    }

    .decorative-image.dragging {
        opacity: 0.9;
        transform: scale(1.15);
    }
}

/* Animation flottante pour les images décoratives */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.links {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 0 6px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .08s ease;
}

.btn:active {
    transform: translateY(1px)
}

.btn .label {
    flex: 1;
    text-align: left;
    font-weight: 600
}

.btn .meta {
    font-size: 12px;
    color: var(--muted)
}

.footer {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 12px
}