@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --orange: #E43D12;
    --gold: #EFB110;
    --coral: #D6536D;
    --cream: #EBE7E1;
    --dark: #2A2420;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.brand-bar {
    background: var(--dark);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-bar a { color: var(--gold); text-decoration: none; font-weight: 700; }
.brand-bar .nav-links a { color: #fff; margin-left: 16px; font-weight: 500; }

.btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { opacity: 0.9; }
.btn.secondary { background: var(--dark); }

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 14px;
}

label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--dark); }

.error { color: var(--orange); font-weight: 700; margin-bottom: 14px; }
.success { color: #2b7a2b; font-weight: 700; margin-bottom: 14px; }

.passage-box {
    background: #FAF8F5;
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 8px;
    max-height: 420px;
    overflow-y: auto;
    white-space: pre-line;
    font-size: 15px;
}

.question-block {
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}

.timer {
    font-weight: 700;
    color: var(--coral);
    font-size: 18px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.band-pill {
    background: var(--gold);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
}
