/* DEUCE. — közös stíluslap: fogadóoldal, tájékoztató, kérdőív, admin.
   A színek és formák a docs/platform-ui/ui.css designnyelvét követik. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0B1F16; --ink-2: #13301F; --court: #1C4A34; --court-2: #255C42;
  --ball: #D8F26A; --ball-2: #C6E34E; --clay: #E2683C; --clay-sotet: #B8481F; --clay-soft: #FBE3D8;
  --paper: #F6F4EE; --card: #FFFFFF; --line: #E6E1D7; --muted: #6A6660;
  --ok: #116B43; --ok-hatter: #DDF5E8; --warn: #7A4F00; --warn-hatter: #FFF2DA; --bad: #A1171C; --bad-hatter: #FFE9E9;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px;
  --f-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--f-head); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

.marka { font-family: var(--f-head); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; }
.marka span { color: var(--clay); }
.marka.vilagos { color: #fff; }
.marka.vilagos span { color: var(--ball); }

.gomb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border-radius: 999px; border: 1px solid transparent; font: 700 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; background: none; color: inherit; }
.gomb:disabled { opacity: .55; cursor: default; }
.gomb-labda { background: var(--ball); color: var(--ink); }
.gomb-labda:hover:not(:disabled) { background: var(--ball-2); }
.gomb-tinta { background: var(--ink); color: #fff; }
.gomb-tinta:hover:not(:disabled) { background: var(--ink-2); }
.gomb-keret { border-color: rgba(11,31,22,.22); }
.gomb-keret:hover:not(:disabled) { background: rgba(11,31,22,.05); }
.gomb-veszely { border-color: var(--bad); color: var(--bad); }
.gomb-veszely:hover:not(:disabled) { background: var(--bad-hatter); }
.gomb-kicsi { min-height: 36px; padding: 6px 14px; font-size: 14px; }

.jelzes { border-radius: var(--r-md); padding: 12px 14px; font-size: 15px; }
.jelzes.hiba { background: var(--bad-hatter); color: var(--bad); }
.jelzes.figyel { background: var(--warn-hatter); color: var(--warn); }
.jelzes.jo { background: var(--ok-hatter); color: var(--ok); }

/* ── Fogadóoldal ─────────────────────────────────────────────────────────── */
.fogado { background: var(--ink); color: #fff; min-height: 100vh; min-height: 100dvh; position: relative; overflow: hidden; }
.fogado-tartalom { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; max-width: 1180px; margin: 0 auto; padding: 24px 16px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.fogado-marka { font-family: var(--f-head); font-weight: 800; font-size: 28px; letter-spacing: -0.04em; }
.fogado-marka span, .fogado-pont { color: var(--ball); }
.fogado-felirat { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ball); margin-bottom: 14px; }
.fogado h1 { font-size: clamp(40px, 8.4vw, 92px); font-weight: 800; line-height: .98; max-width: 13.5em; letter-spacing: -0.035em; }
.fogado-szoveg { font-size: clamp(17px, 2vw, 21px); max-width: 30em; margin: 20px 0 28px; color: rgba(255,255,255,.76); }
.fogado-lab { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255,255,255,.62); }
.fogado-lab a:hover { color: #fff; }
.palya { position: absolute; top: 50%; right: -130px; height: 128%; transform: translateY(-50%) rotate(10deg); opacity: .9; pointer-events: none; }
.palya-vonal { fill: none; stroke: rgba(216,242,106,.13); stroke-width: 3; }
.palya-halo { stroke: rgba(255,255,255,.16); stroke-width: 3; stroke-dasharray: 3 7; }
.palya-labda { fill: var(--ball); animation: labda 7s cubic-bezier(.45,.05,.55,.95) infinite alternate; }
@keyframes labda { from { transform: translate(0, 0); } to { transform: translate(120px, -330px); } }
@media (min-width: 900px) { .palya { right: 3%; height: 122%; } .fogado-tartalom { padding: 40px 32px 28px; } }
@media (max-width: 640px) { .palya { right: -210px; opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .palya-labda { animation: none; } }

/* ── Szöveges oldal (tájékoztató, üzenetek) ──────────────────────────────── */
.fejlec { background: var(--ink); color: #fff; }
.fejlec-belso { max-width: 720px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.olvaso { max-width: 720px; margin: 0 auto; padding: 32px 16px 56px; }
.olvaso h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 12px; }
.olvaso h2 { font-size: 22px; margin: 32px 0 10px; }
.olvaso p, .olvaso ul { margin: 0 0 12px; }
.olvaso ul { padding-left: 22px; }
.olvaso li { margin-bottom: 6px; }
.halvany { color: var(--muted); }
.kis { font-size: 14px; }
.uzenet-oldal { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }

/* ── Kérdőív ─────────────────────────────────────────────────────────────── */
.kerdoiv { max-width: 640px; margin: 0 auto; padding: 24px 16px 64px; }
.kerdoiv h1 { font-size: clamp(32px, 7vw, 48px); font-weight: 800; }
.kerdoiv-bevezeto { margin-top: 16px; display: grid; gap: 12px; font-size: 17px; }
.hozzajarulas { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; }
.hozzajarulas h2 { font-size: 20px; }
.pipa-sor { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.pipa-sor input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--court); }

.reszek { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-bottom: 8px; }
.reszek i { height: 5px; border-radius: 9px; background: rgba(11,31,22,.12); }
.reszek i.kesz { background: var(--ink); }
.reszek i.most { background: var(--clay); }
.resz-szam { font-size: 13px; font-weight: 700; color: var(--muted); }
.oldal-cim { font-size: clamp(26px, 6vw, 36px); margin-top: 6px; outline: none; }
.oldal-leiras { margin-top: 8px; color: var(--muted); }
.kerdes { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 16px; margin: 16px 0 0; min-width: 0; }
.kerdes.hibas { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad); }
.kerdes-cim { display: block; font-weight: 700; font-size: 17px; line-height: 1.3; padding: 0; float: none; width: 100%; }
.kerdes-cim .kotelezo { color: var(--clay-sotet); }
.kerdes-seged { color: var(--muted); font-size: 14px; margin-top: 4px; }
.kerdes-hiba { color: var(--bad); font-size: 14px; font-weight: 600; margin-top: 10px; }
.valaszok { display: grid; gap: 8px; margin-top: 12px; }
.valasz { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: var(--card); line-height: 1.3; }
.valasz:hover { border-color: rgba(11,31,22,.35); }
.valasz input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--court); }
.valasz:has(input:checked) { border-color: var(--ink); background: #FBFDF2; box-shadow: 0 0 0 2px var(--ball); }
.valasz:has(input:focus-visible) { outline: 3px solid var(--clay); outline-offset: 2px; }
.mezo { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink); font: 16px/1.4 var(--f-body); margin-top: 12px; }
.mezo:focus { border-color: var(--ink); outline: 2px solid var(--ball); outline-offset: 0; }
textarea.mezo { min-height: 110px; resize: vertical; }
.racs-sor { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
.racs-sor legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 8px; }
.racs-valaszok { display: flex; flex-wrap: wrap; gap: 6px; }
.racs-valaszok.skala { display: grid; grid-template-columns: repeat(5, 1fr); }
.racs-valasz { position: relative; cursor: pointer; }
.racs-valasz input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.racs-valasz span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 13px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.2; }
.racs-valasz:hover span { border-color: rgba(11,31,22,.35); }
.racs-valasz input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ball); }
.racs-valasz input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.lapozo { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.lapozo .gomb-elore { margin-left: auto; min-width: 150px; }
.kesz-karika { width: 76px; height: 76px; border-radius: 50%; background: var(--ball); display: flex; align-items: center; justify-content: center; }
.kesz-karika svg { width: 38px; height: 38px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.elonezet-sav { background: var(--clay); color: #fff; font-size: 14px; font-weight: 700; text-align: center; padding: 8px 16px; }
.mentes-sav { position: sticky; top: 0; z-index: 5; background: var(--ink-2); color: #fff; font-size: 14px; }
.mentes-sav-belso { max-width: 640px; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.mentes-felirat { font-weight: 700; }
.mentes-allapot.jo { color: var(--ball); }
.mentes-allapot.hiba { color: #FFC9B3; font-weight: 600; }
.resz-ugro { margin-top: 10px; }
#interju-blokk { margin-top: 20px; }
.folytat #inditas { display: none; }
.urlap-lab { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.lablec { max-width: 640px; margin: 0 auto; padding: 0 16px 28px; font-size: 14px; color: var(--muted); }
