:root {
    --bg-start: #f0f7ff;
    --bg-end: #ffffff;
    --primary: #0d6efd;
    --text-color: #0b2447;
    --muted: #5c6b7a;
    --card-bg: #ffffff;
}
html, body {
    height: 100%;
}
body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    color: var(--text-color);
}
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.hero {
    text-align: center;
    margin-bottom: 1rem;
}
.duck-emoji {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}
#headline {
    font-weight: 700;
    letter-spacing: -0.02em;
}
#helptext {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0.75rem 0 0;
}
.form-card {
    background: var(--card-bg);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
}
.form-card .card-body {
    padding: 1.5rem;
}
@media (min-width: 576px) {
    .form-card .card-body { padding: 2rem; }
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1rem;
}
.btn-primary:focus, .btn-primary:hover {
    filter: brightness(0.95);
}
.form-control {
    border-radius: 10px;
}
.footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 1rem 0 2rem;
}
/* Better focus styles */
:focus { outline: none; }
.form-control:focus, .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: rgba(13, 110, 253, 0.6);
}

