/* VakTúra - éjszakai "mystery drive" téma. Mobil-első, nincs apró betű. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --bg: #0c1222;
    --bg-soft: #131b30;
    --card: #182238;
    --card-edge: #26334f;
    --text: #eef2fb;
    --muted: #9aa7c4;
    --primary: #f5a524;
    --primary-ink: #241503;
    --accent: #4f8df7;
    --danger: #ef5350;
    --ok: #35c48d;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(79, 141, 247, .18), transparent 60%),
        radial-gradient(800px 420px at -10% 20%, rgba(245, 165, 36, .10), transparent 55%),
        var(--bg);
    min-height: 100vh;
}

.shell {
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 16px calc(32px + env(safe-area-inset-bottom));
}

h1 { font-size: 30px; font-weight: 800; margin: 8px 0; letter-spacing: -.02em; }
h2.page-title { font-size: 22px; display: flex; align-items: center; gap: 10px; margin: 18px 4px 14px; }
h3.day-heading { color: var(--muted); font-size: 17px; text-transform: uppercase; letter-spacing: .08em; margin: 22px 4px 10px; }

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- fejléc ---- */
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 2px 14px;
}
.brand {
    display: flex; align-items: center; gap: 9px;
    font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none;
}
.brand svg { color: var(--primary); }

/* ---- hero ---- */
.hero { text-align: center; padding: 34px 8px 22px; }
.hero-badge {
    width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, var(--primary), #d97706);
    color: var(--primary-ink); box-shadow: var(--shadow);
}
.hero-badge.danger { background: linear-gradient(140deg, #ef5350, #b71c1c); color: #fff; }
.hero-badge.done { background: linear-gradient(140deg, var(--ok), #0e8a5f); color: #fff; }

/* ---- kártyák ---- */
.card {
    background: linear-gradient(180deg, var(--card), var(--bg-soft));
    border: 1px solid var(--card-edge);
    border-radius: var(--radius);
    padding: 18px;
    margin: 0 0 14px;
    box-shadow: var(--shadow);
}
.card-label {
    display: flex; align-items: center; gap: 8px;
    color: var(--muted); font-weight: 700; font-size: 15px;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.card-label svg { color: var(--primary); }

.step-card { padding: 22px 20px; }
.step-title { font-size: 34px; line-height: 1.15; margin: 2px 0 10px; }
.teaser { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.meta-row {
    display: flex; align-items: center; gap: 10px;
    color: var(--muted); margin: 0 0 18px; font-weight: 600;
}
.meta-row svg { color: var(--accent); flex: none; }

.vlog-card { border-left: 4px solid var(--accent); }
.vlog-card p { margin: 0; }

/* ---- gombok ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 12px 20px;
    border-radius: 14px; border: 1px solid var(--card-edge);
    background: var(--card); color: var(--text);
    font: inherit; font-weight: 700; font-size: 17px;
    text-decoration: none; cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}
.btn:active { transform: scale(.98); }
.btn.primary {
    background: linear-gradient(140deg, var(--primary), #e08b00);
    border-color: transparent; color: var(--primary-ink);
}
.btn.arrive {
    background: linear-gradient(140deg, var(--ok), #0e8a5f);
    border-color: transparent; color: #fff;
}
.btn.danger { background: linear-gradient(140deg, #ef5350, #c62828); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn.big { min-height: 60px; font-size: 19px; }
.btn.block { display: flex; width: 100%; margin: 0 0 12px; }
.btn.small { min-height: 44px; font-size: 15px; padding: 8px 14px; }

.arrive-form { margin: 22px 0 8px; }

/* ---- chipek, badge-ek ---- */
.day-row { display: flex; gap: 8px; margin: 4px 2px 12px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary); color: var(--primary-ink);
    border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 15px;
}
.chip.soft { background: var(--card); color: var(--muted); border: 1px solid var(--card-edge); }
.badge {
    border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700;
}
.badge-active { background: rgba(53, 196, 141, .15); color: var(--ok); }
.badge-draft { background: rgba(79, 141, 247, .15); color: var(--accent); }
.badge-done { background: rgba(154, 167, 196, .15); color: var(--muted); }

/* ---- túra-lista ---- */
.trip-card { display: block; color: var(--text); text-decoration: none; }
.trip-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.progress { height: 8px; border-radius: 999px; background: var(--bg); margin-top: 12px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--ok)); }

/* ---- szállások ---- */
.stay { padding: 12px 0; border-top: 1px solid var(--card-edge); }
.stay:first-of-type { border-top: 0; padding-top: 4px; }
.stay-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stay-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
    color: var(--accent); font-weight: 700; text-decoration: none; min-height: 44px;
}

/* ---- idővonal ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px;
    width: 2px; background: var(--card-edge);
}
.timeline-item { position: relative; margin-bottom: 4px; }
.timeline-dot {
    position: absolute; left: -40px; top: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid var(--card-edge); color: var(--muted);
}
.timeline-dot.done { background: var(--ok); border-color: transparent; color: #fff; }

/* ---- űrlapok ---- */
.form label { display: block; font-weight: 700; margin: 12px 0 6px; }
.form input {
    width: 100%; min-height: 50px; padding: 12px 14px;
    border-radius: 12px; border: 1px solid var(--card-edge);
    background: var(--bg); color: var(--text); font: inherit;
}
.form input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.form .btn { width: 100%; margin-top: 18px; }
.error {
    background: rgba(239, 83, 80, .15); color: #ff8a80;
    border-radius: 12px; padding: 10px 14px; font-weight: 600; margin-bottom: 8px;
}

/* ---- egyéb ---- */
.toast {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(53, 196, 141, .15); color: var(--ok);
    border: 1px solid rgba(53, 196, 141, .3);
    border-radius: 14px; padding: 12px; font-weight: 700; margin-bottom: 14px;
}
.footer-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 4px;
}
.footer-nav a {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
    color: var(--muted); font-weight: 700; text-decoration: none;
}
.danger-link { color: var(--danger) !important; }
.small-note { font-size: 15px; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
