/* Theme variables */
:root {
    --bg: #0f172a;
    --bg-grad-1: #0b1220;
    --bg-grad-2: #0a0f1b;
    --card: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: rgba(255,255,255,0.08);
    --primary: #60a5fa;
    --primary-strong: #3b82f6;
    --ring: 0 0 0 4px rgba(96,165,250,0.35);
    --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: radial-gradient(1200px 600px at 80% -10%, #1e293b 0%, var(--bg-grad-1) 40%, var(--bg-grad-2) 100%);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
}

.branding {
    position: fixed;
    left: 20px;
    top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    z-index: 10;
}

.branding span { font-weight: 700; letter-spacing: .02em; }

.container {
    background: color-mix(in oklab, var(--card) 92%, white 8%);
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    text-align: center;
    width: 100%;
    max-width: 360px;
    backdrop-filter: blur(8px);
    transition: transform .2s ease, box-shadow .2s ease;
}

.container:hover {
    transform: translateY(-1px);
}

.proofs {
    position: fixed;
    right: 20px;
    top: 20px;
    background: color-mix(in oklab, var(--card) 92%, white 8%);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: left;
    width: 300px;
    bottom: 20px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

h1, h2 {
    margin: 0 0 16px;
    color: var(--text);
}

h1 {
    font-size: 28px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 18px;
    color: var(--muted);
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

input {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s, transform .06s ease;
}

input::placeholder {
    color: #9aa3b2;
}

input:hover {
    background: rgba(255,255,255,0.06);
}

input:focus {
    border-color: var(--primary);
    box-shadow: var(--ring);
    background: rgba(255,255,255,0.08);
}

button {
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--primary), var(--primary-strong));
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 10px 24px rgba(59,130,246,0.35);
}

button:hover {
    filter: brightness(1.05);
}

button:active {
    transform: translateY(1px);
}

button:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
}

#proofList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: auto;
    /* Masquer la barre de défilement mais garder le scroll */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

#proofList::-webkit-scrollbar { /* Chrome/Safari */
    display: none;
}

#proofList li {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    font-size: 14px;
    color: #c7d2fe;
    animation: slideIn .3s ease forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .proofs {
        position: static;
        width: 100%;
        max-width: 360px;
        margin-top: 16px;
    }
    body {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 22px;
        border-radius: 14px;
    }
    h1 {
        font-size: 24px;
    }
}