:root {
    --bg: #0b0f1e;
    --card: #101624;
    --text: #e9ecf7;
    --muted: #a6afc7;
    --accent: #7a8cff;
    --border: #1e2538;
    --danger: #ff667c;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(900px 500px at 10% 0%, #131a38 0%, var(--bg) 60%) fixed;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.card {
    width: 100%;
    max-width: 720px;
    background: linear-gradient(180deg, var(--card), #0d1322 120%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    text-align: center;
}

h1 {
    margin: 1rem 0 .5rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.muted {
    color: var(--muted);
    margin: 0;
}

.small {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer {
    margin-top: 1.25rem;
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
}

/* Icône cadenas */
.lock {
    width: 120px;
    height: 140px;
    margin: 0 auto 1rem;
    position: relative;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.shackle {
    width: 80px;
    height: 80px;
    border: 10px solid var(--accent);
    border-bottom: none;
    border-radius: 40px 40px 0 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    opacity: 0.9;
    animation: pulse 2.4s ease-in-out infinite;
}

.body {
    width: 120px;
    height: 90px;
    background: #151e35;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.keyhole {
    width: 12px;
    height: 28px;
    background: #0b1226;
    border: 2px solid #1d2742;
    border-radius: 6px;
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.9;
    }

    50% {
        transform: translateX(-50%) translateY(-3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.9;
    }
}

/* Empêcher la sélection visuelle inutile */
::selection {
    background: rgba(122, 140, 255, 0.25);
}