/* BÉT50 2026 – regisztrációs oldal
   Címsorok: Albert Sans · Szöveg: Source Sans 3 (Myriad-helyettes) · Fő szín: #013974 */

/* ---------- Betűk (helyben tárolva, nem Google-ről – GDPR) ---------- */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/albert-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/albert-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/albert-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/albert-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Alapok ---------- */
:root {
  --navy: #013974;
  --navy-dark: #0A2550;
  --ink: #14243D;
  --text: #22344F;
  --muted: #44546E;
  --line: #DCE5F0;
  --field: #BFCCDF;
  --sky: #BCDDF6;
  --pale: #EEF5FC;
  --tint: #E3EEFA;
  --plum: #7E2A8C;
  --magenta: #CD52CE;
  --ok: #1F6B3A;
  --err: #A12A2A;
  --font-head: "Albert Sans", "Source Sans 3", Arial, sans-serif;
  --font-body: "Source Sans 3", "Myriad Pro", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 6px rgba(1,57,116,0.08), 0 28px 56px rgba(1,57,116,0.18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Oldalváz + videós háttér ---------- */
.page { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--sky) url("../video/bet50-hullam-poster.jpg") center / cover no-repeat; }
.page__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page--home .page::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(238,246,253,0.88) 0%, rgba(238,246,253,0.5) 45%, rgba(238,246,253,0) 75%); }
.main { position: relative; z-index: 1; flex: 1; width: 100%; padding: 56px 24px 64px; display: flex; flex-direction: column; align-items: center; }

/* ---------- Fejléc, menü ---------- */
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(1,57,116,0.10); }
.site-header__inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__brand img { display: block; height: 46px; width: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.nav__link { display: block; padding: 12px; text-decoration: none; color: var(--navy); }
.nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav__item--sub { position: relative; display: flex; align-items: center; }
.nav__item--sub > .nav__link { padding-right: 2px; }
.nav__subtoggle { width: 36px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.nav__subtoggle svg { transition: transform .15s; }
.nav__subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 2px 4px rgba(1,57,116,0.08), 0 16px 36px rgba(1,57,116,0.18); font-family: var(--font-body); font-size: 16px; }
.nav__sub a { display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.nav__sub a:hover { background: var(--pale); }
.nav__item--sub.is-open .nav__sub { display: block; }
@media (hover: hover) and (min-width: 1081px) { .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { display: block; } }
.nav__cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; padding: 0; }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 16px 32px rgba(1,57,116,0.18); padding: 8px 16px 20px; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li.nav__cta { border-bottom: 0; margin: 14px 0 0; }
  .nav__item--sub { flex-wrap: wrap; }
  .nav__item--sub > .nav__link { flex: 1; }
  .nav__sub { position: static; box-shadow: none; width: 100%; padding: 0 0 8px 12px; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Gombok ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius); border: 1.5px solid transparent; font-family: var(--font-head); font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.1; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { background: rgba(255,255,255,0.85); border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: #fff; }
.btn--link { background: transparent; color: var(--navy); padding: 0 12px; text-decoration: underline; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 20px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Kezdőlap ---------- */
.hero { width: 100%; max-width: 1240px; display: flex; flex-direction: column; gap: 26px; justify-content: center; flex: 1; }
.eyebrow { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); }
.hero__logo { margin: 0; }
.hero__logo img { display: block; width: 100%; max-width: 620px; }
.hero__lead { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--navy); line-height: 1.2; }
.facts { display: flex; flex-wrap: wrap; gap: 16px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 20px 26px; border-radius: 18px; background: rgba(255,255,255,0.84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fact svg { flex: none; margin-top: 4px; color: var(--navy); }
.fact__main { display: block; font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.15; }
.fact__sub { display: block; font-size: 20px; font-weight: 600; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.partners { position: relative; z-index: 1; padding: 0 24px 28px; display: flex; justify-content: center; }
.partners img { display: block; width: 100%; max-width: 1180px; border-radius: 14px; box-shadow: 0 10px 28px rgba(1,57,116,0.14); }

/* ---------- Üvegkártya (űrlap, program, GYIK, köszönő) ---------- */
.card { width: 100%; max-width: 560px; background: rgba(255,255,255,0.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; box-shadow: var(--shadow); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.card--wide { max-width: 820px; }
.card--faq { max-width: 760px; gap: 8px; }
.card--center { max-width: 640px; text-align: center; align-items: center; margin: auto 0; }
.card h1 { font-size: clamp(28px, 3.4vw, 40px); }
.card__intro { color: var(--muted); font-size: 17px; }

/* ---------- Űrlap ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field input { height: 50px; border: 1px solid var(--field); border-radius: 10px; padding: 0 14px; font: inherit; font-weight: 400; font-size: 17px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--navy); outline: 3px solid rgba(1,57,116,0.18); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__error { color: var(--err); font-weight: 600; font-size: 14px; }
.consents { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); text-align: center; }
.form-note--left { text-align: left; }
.alert { border-radius: 10px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.alert--error { background: #FBEAEA; color: var(--err); }
.alert--ok { background: #E7F4EC; color: var(--ok); }

/* ---------- GYIK ---------- */
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .15s; }
.faq[open] summary svg { transform: rotate(180deg); }
.faq p { padding: 0 0 18px; color: var(--text); }

/* ---------- Köszönőoldal ---------- */
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.calendar { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; }
.calendar__body { flex: 999 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.calendar__body h2 { font-size: 24px; }
.calendar__event { color: var(--text); }
.calendar__event strong { color: var(--ink); }
.calendar__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.calendar__buttons .btn { min-height: 50px; padding: 0 20px; font-size: 16px; }
.calendar__qr { width: 150px; flex: none; }
.info-band { width: 100%; max-width: 820px; margin-top: 24px; background: var(--navy); color: #fff; border-radius: 18px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.info-band h2 { color: #fff; font-size: 26px; }
.info-band__text { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; color: #DCE6F5; }
.info-band__text .eyebrow { color: #C9D8F0; }
.info-band__form { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.info-band__form .check { color: #DCE6F5; font-size: 14px; }
.info-band__form .check input { accent-color: #fff; }
.info-band__form .btn { background: #fff; color: var(--navy); }
.info-band__small { font-size: 13px; color: #C9D8F0; }
.info-band a { color: #fff; }

/* ---------- Lábléc ---------- */
.site-footer { position: relative; z-index: 1; background: rgba(10,37,80,0.92); color: #DCE6F5; font-size: 14px; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.site-footer__logo img { display: block; height: 36px; width: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a, .site-footer .linklike { color: #fff; }
.social { display: flex; gap: 6px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: rgba(255,255,255,0.22); }

/* ---------- Szöveges oldal (adatvédelem) ---------- */
.prose { max-width: 820px; text-align: left; align-items: stretch; }
.prose h2 { font-size: 22px; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 22px; }

/* ---------- Zárolt előnézet ---------- */
.page--lock .main { justify-content: center; }
.card--lock { max-width: 440px; text-align: center; align-items: center; }
.card--lock img { width: 260px; }
.card--lock .field { width: 100%; text-align: left; }

/* ---------- Cookie ---------- */
.cookie-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 50; background: #fff; border-radius: 18px; box-shadow: 0 2px 6px rgba(1,57,116,0.10), 0 24px 56px rgba(1,57,116,0.28); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cookie-banner h2 { font-size: 21px; }
.cookie-banner p { font-size: 16px; color: var(--text); }
.cookie-banner__actions { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-banner .btn { min-height: 48px; font-size: 16px; padding: 0 18px; }
.cookie-dialog { border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 32px)); box-shadow: 0 24px 56px rgba(1,57,116,0.28); color: var(--ink); }
.cookie-dialog::backdrop { background: rgba(10,37,80,0.4); }
.cookie-dialog__inner { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.cookie-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cookie-dialog__head h2 { font-size: 26px; }
.cookie-dialog__list { border-top: 1px solid var(--line); }
.cookie-row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-row > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.cookie-row strong { font-family: var(--font-head); font-size: 18px; color: var(--navy); }
.cookie-row > span:first-child > span { font-size: 15px; color: var(--muted); }
.cookie-row input { width: 24px; height: 24px; flex: none; accent-color: var(--navy); margin-top: 2px; }
.cookie-row__always { flex: none; font-size: 14px; font-weight: 700; color: var(--ok); }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-dialog__more { font-size: 14px; }
.icon-btn { width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header__inner { padding: 10px 16px; }
  .site-header__brand img { height: 38px; }
  .main { padding: 28px 16px 40px; }
  .page--home .page::after { background: linear-gradient(180deg, rgba(238,246,253,0.88) 0%, rgba(238,246,253,0.6) 60%, rgba(238,246,253,0.2) 100%); }
  .page__video { object-position: 30% 50%; }
  .card { padding: 24px 20px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .fact { width: 100%; padding: 16px 18px; }
  .fact__sub { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .partners { padding: 0 16px 20px; }
  .info-band { padding: 24px 20px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-banner__actions .btn { flex: 1 1 100%; }
  .calendar__qr { width: 130px; }
}

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