:root {
    --brand: #519DFD;
    --bg: #0b0f17;
    --panel: #111827;
    --border: #1f2937;
    --text: #e5e7eb;
    --muted: #9ca3af;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: radial-gradient(1200px 600px at 50% 0%, #0f172a, var(--bg));
    font-family: system-ui, -apple-system, Segoe UI, Roboto;
    color: var(--text);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 40px 32px;
    width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.logo img { height: 36px; }

.drop {
    border: 2px dashed #2b3446;
    border-radius: 12px;
    padding: 28px;
    margin: 2em;
}

.drop h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.drop p {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.progress { display: none; margin-top: 18px; }

.progress-track {
    height: 8px;
    background: #1f2937;
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar {
    height: 8px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), #7cb7ff);
}

.result { margin-top: 18px; }

.result input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #020617;
    color: var(--text);
    font-size: 13px;
}

.result button {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.hint {
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 6px;
}

.footer-links a:hover {
    color: var(--text);
}

/* ---------- Modal ---------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 520px;
    max-width: 90%;
    padding: 26px 28px;
    text-align: left;
}

.modal-content h3 { margin-top: 0; }

.modal-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.close {
    float: right;
    cursor: pointer;
    color: var(--muted);
}
