/* Web'de Günün Quizi (/gunun-quizi) — mobil öncelikli, dış kaynak yok. Renkler /indir sayfasıyla aynı. */
:root { --orange: #FF6A00; --red: #E24300; --ink: #0E0E11; --muted: #B9BAC2; --card: rgba(255, 255, 255, .06); --line: rgba(255, 255, 255, .12); --green: #22C55E; --wrong: #EF4444; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
    min-height: 100vh; min-height: 100dvh; padding: 20px 18px 28px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #fff;
    background:
        radial-gradient(700px 480px at 85% 0%, rgba(255, 106, 0, .5), transparent 62%),
        radial-gradient(600px 420px at 0% 100%, rgba(226, 67, 0, .42), transparent 60%),
        linear-gradient(160deg, #1B1B21 0%, var(--ink) 60%, #0A0A0C 100%);
    background-attachment: fixed;
    -webkit-tap-highlight-color: transparent;
}
main { width: 100%; max-width: 440px; margin: 0 auto; }
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.2px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
[hidden] { display: none !important; }

/* Başlangıç */
.screen-start { text-align: center; }
.screen-start img.logo { width: 150px; height: 150px; object-fit: contain; margin: 4px auto 6px; display: block; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255, 106, 0, .16); border: 1px solid rgba(255, 106, 0, .45); color: #FFB27A; font-weight: 700; font-size: 14px; }
h1 { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; margin: 16px 0 10px; }
h1 em { font-style: normal; color: var(--orange); }
.lead { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 26px; }
.note { color: #8d8e96; font-size: 13px; line-height: 1.45; margin-top: 14px; }
.btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; border: 0; border-radius: 16px;
    font: inherit; font-weight: 800; font-size: 18px; cursor: pointer; text-decoration: none; color: #fff;
}
.btn-primary { background: linear-gradient(90deg, var(--orange), var(--red)); box-shadow: 0 12px 30px rgba(255, 106, 0, .35); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: 16px; min-height: 52px; }
.btn[disabled] { opacity: .6; cursor: default; }
.msg-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: #e6e6ea; line-height: 1.5; margin-bottom: 20px; }
.error { color: #FCA5A5; font-size: 14px; margin-top: 12px; min-height: 1em; }

/* Soru */
.q-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.q-top .secs { color: #fff; font-variant-numeric: tabular-nums; }
.timer { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 20px; }
.timer span { display: block; height: 100%; width: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--red)); transform-origin: left center; }
.timer.low span { background: var(--wrong); }
.q-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 18px; margin-bottom: 16px; }
.q-text { font-size: 20px; line-height: 1.4; font-weight: 700; }
.q-image { display: block; width: 100%; max-height: 220px; object-fit: contain; border-radius: 12px; margin-top: 14px; }
.options { display: grid; gap: 10px; }
.opt {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; text-align: left;
    background: rgba(255, 255, 255, .08); border: 1.5px solid var(--line); border-radius: 14px; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: background .15s, border-color .15s;
}
.opt .letter { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .12); font-weight: 800; font-size: 14px; }
.opt:not([disabled]):active { background: rgba(255, 106, 0, .25); }
.opt.picked { border-color: var(--orange); }
.opt.correct { background: rgba(34, 197, 94, .22); border-color: var(--green); }
.opt.correct .letter { background: var(--green); }
.opt.wrong { background: rgba(239, 68, 68, .22); border-color: var(--wrong); }
.opt.wrong .letter { background: var(--wrong); }
.opt[disabled] { cursor: default; }
.q-status { text-align: center; min-height: 22px; margin-top: 12px; font-weight: 700; font-size: 15px; }
.q-status.ok { color: #86EFAC; }
.q-status.bad { color: #FCA5A5; }

/* Sonuç */
.screen-result { text-align: center; }
.score { font-size: 76px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin: 8px 0 14px; }
.score small { font-size: 40px; color: var(--muted); font-weight: 800; }
.tiles { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.tile { width: 44px; height: 44px; border-radius: 10px; background: var(--wrong); }
.tile.ok { background: var(--green); }
.result-msg { font-size: 22px; font-weight: 800; margin-bottom: 22px; }
.actions { display: grid; gap: 12px; }
.toast { min-height: 20px; color: #86EFAC; font-size: 14px; font-weight: 600; }
.countdown { margin-top: 18px; color: var(--muted); font-size: 15px; }
.countdown b { color: #fff; font-variant-numeric: tabular-nums; }
.countdown a { color: #FFB27A; }
footer { margin-top: 30px; text-align: center; color: #77787f; font-size: 13px; }
footer a { color: #9a9ba3; }
@media (min-width: 600px) { body { padding-top: 40px; } h1 { font-size: 36px; } }
