/* GameFest2 landing page tervek – közös alap (a kozos.css UTÁN töltsd be).
   Minden terv saját CSS-t ad hozzá; itt csak a közös elemek: helykitöltő, részletek-panel, gombok alapja. */
html { scroll-behavior: smooth; }
html, body { background: var(--navy); color: #fff; }
body { font-family: 'Funnel Display', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; }
html.gfw-nyitva, body.gfw-nyitva { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.mono { font-family: 'Spline Sans Mono', 'Courier New', monospace; }
.nw, gf-nw { white-space: nowrap; }
.rejtett { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid #0DEBFF; outline-offset: 3px; }

/* HELYKITÖLTŐ – ismeretlen adat (jegyár, link). Publikálás előtt cserélendő. */
.ph { display: inline-block; padding: 0 .35em; border: 2px dashed #FBFF0C; border-radius: 6px; color: #FBFF0C;
  font-family: 'Spline Sans Mono', monospace; font-weight: 700; font-size: .8em; letter-spacing: .02em; line-height: 1.35;
  background: rgba(251, 255, 12, .08); vertical-align: middle; white-space: nowrap; }

/* Részletek-panel (#program/<id>) */
.gfw-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(5, 4, 40, .78); backdrop-filter: blur(6px); }
.gfw-modal[hidden] { display: none; }
.gfw-panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  padding: 36px 36px 30px; border-radius: 22px; background: linear-gradient(160deg, #1E1D6E, #0B0A3E 70%);
  border: 2px solid var(--p); box-shadow: 0 0 0 6px rgba(0,0,0,.18), 0 30px 80px rgba(0,0,0,.5); }
.gfw-fejsav { position: absolute; top: 14px; right: 16px; z-index: 3; }
.gfw-vissza { display: none; }
.gfw-x { width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.gfw-x:hover { background: rgba(255,255,255,.22); }
.gfw-panel { overflow-x: hidden; overscroll-behavior: contain; }
.gfw-panel .ph { white-space: normal; }
.gfw-panel img { max-width: 100%; }

.gfw-cimke { font-family: 'Spline Sans Mono', monospace; font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--p); }
.gfw-panel h2 { margin: 10px 0 16px; font-size: clamp(32px, 6vw, 52px); line-height: .95; font-weight: 800; letter-spacing: -.01em; }
.gfw-panel h2 .al { display: block; margin-top: 8px; font-size: .45em; font-weight: 700; color: var(--p); letter-spacing: 0; }
.gfw-chipek { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gfw-chipek span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  font-family: 'Spline Sans Mono', monospace; font-size: 13px; font-weight: 700; }
.gfw-szoveg p { margin: 0 0 12px; font-size: 18px; line-height: 1.5; font-weight: 500; color: #E4E6FF; }
.gfw-napok { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.gfw-nap { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); }
.gfw-nap.ures { opacity: .55; }
.gfw-nap-fej { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.gfw-nap-fej b { font-size: 18px; }
.gfw-nap-fej span { font-family: 'Spline Sans Mono', monospace; font-size: 12px; color: #9EA2E8; }
.gfw-alk { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.gfw-alk.nincs { color: #9EA2E8; font-size: 14px; }
.gfw-ido { font-family: 'Spline Sans Mono', monospace; font-weight: 700; color: var(--p); font-size: 14px; min-width: 88px; }
.gfw-mi { flex: 1; font-size: 15px; font-weight: 600; }
.gfw-mi small { display: block; color: #9EA2E8; font-weight: 500; font-size: 13px; }
.gfw-nyer { padding: 2px 8px; border-radius: 6px; background: var(--p); color: #0E0D59; font-family: 'Spline Sans Mono', monospace;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.gfw-nk { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.gfw-nk img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--n); }
.gfw-nk small { display: block; font-family: 'Spline Sans Mono', monospace; font-size: 12px; color: var(--n); text-transform: uppercase; letter-spacing: .1em; }
.gfw-nk b { font-size: 20px; }
.gfw-nk em { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; opacity: .85; }
.gfw-gombok { display: flex; flex-wrap: wrap; gap: 12px; }
.gfw-cta, .gfw-cta2 { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 17px; }
.gfw-cta { background: #0DEBFF; color: #0E0D59; }
.gfw-cta2 { border: 2px solid var(--p); color: #fff; }
@media (max-width: 600px) {
  /* telefonon teljes képernyős panel, ragadós fejléccel (Vissza + ×) – mindig látszik, és a panel nem lehet szélesebb a kijelzőnél */
  .gfw-modal { padding: 0; align-items: stretch; background: #0B0A3E; backdrop-filter: none; }
  .gfw-panel { width: 100%; max-width: 100vw; height: 100%; max-height: none; border: 0; border-radius: 0; box-shadow: none;
    padding: 0 18px calc(28px + env(safe-area-inset-bottom)); }
  .gfw-fejsav { position: sticky; top: 0; right: auto; display: flex; justify-content: space-between; align-items: center;
    margin: 0 -18px 14px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px 8px; background: rgba(11,10,62,.96);
    border-bottom: 2px solid var(--p); }
  .gfw-vissza { display: block; padding: 10px 12px; border: 0; background: none; color: #fff; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
  .gfw-panel h2 { font-size: 34px; }
  .gfw-napok { grid-template-columns: minmax(0, 1fr); }
}

/* Nagykövet-panel (#nagykovet/<id>) */
.gfw-nkp-fej { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: end; margin-bottom: 18px; }
.gfw-nkp-foto { position: relative; height: 220px; border-radius: 16px; overflow: hidden; background: var(--p); }
.gfw-nkp-foto img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 92%; width: auto; max-width: 96%; object-fit: contain; object-position: bottom; }
.gfw-kredit { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(9,8,64,.9); color: #fff; font-size: 12px; font-weight: 700; }
.gfw-tenyek { margin: 0; padding: 0; list-style: none; }
.gfw-tenyek li { padding: 6px 0 6px 18px; position: relative; font-size: 15px; font-weight: 600; color: #DADCFF; }
.gfw-tenyek li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--p); }
.gfw-nkp-prog { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.gfw-nkp-prog a { padding: 10px 14px; border-radius: 12px; border: 2px solid var(--c); text-decoration: none; }
.gfw-nkp-prog a:hover { background: color-mix(in srgb, var(--c) 18%, transparent); }
.gfw-nkp-prog b { display: block; font-size: 16px; }
.gfw-nkp-prog small { font-size: 13px; color: var(--c); font-weight: 700; }
.gfw-nkp-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.gfw-nkp-gal figure { position: relative; margin: 0; height: 150px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--p) 30%, #0B0A3E); }
.gfw-nkp-gal img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.gfw-nkp-gal figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(9,8,64,.9); font-size: 11px; font-weight: 700; }
@media (max-width: 600px) {
  .gfw-nkp-fej { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
  .gfw-nkp-foto { height: 150px; }
  .gfw-nkp-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gfw-nkp-gal figure { height: 130px; }
}

/* Partnerlogó-sáv a programpanelen (MEFOB: SZE × UNI-G, estb+ MVM, HUNESZ, MEFS, MEFOB – fehér logók sötét alapon) */
.gfw-logok { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 20px 0 6px; }
.gfw-logok [data-logosor] { flex-basis: 100%; }   /* felül a SZE × UNI-G, alatta a partnerlogók */
.gfw-logok .par { display: flex; align-items: center; gap: 24px; }
.gfw-logok img { height: 32px; width: auto; }
.gfw-logok .logo-estb-mvm { height: 42px; }
@media (max-width: 600px) { .gfw-logok { gap: 10px 16px; } .gfw-logok .par { gap: 16px; } .gfw-logok img { height: 24px; } .gfw-logok .logo-estb-mvm { height: 30px; } }

/* Díjazás-dobogó */
.gfw-dij { margin: 18px 0 4px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid color-mix(in srgb, var(--p, #FBFF0C) 45%, transparent); }
.gfw-dij-fej { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.gfw-dij-fej b { font-family: 'Spline Sans Mono', monospace; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--p, #FBFF0C); }
.gfw-dij-fej span { font-size: 15px; font-weight: 700; }
.gfw-dij-sor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.gfw-dij .hely { padding: 10px 8px; border-radius: 12px; text-align: center; background: rgba(255,255,255,.08); }
.gfw-dij .hely small { display: block; font-family: 'Spline Sans Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #C9CCF5; }
.gfw-dij .hely b { display: block; font-size: clamp(14px, 4.8vw, 19px); font-weight: 800; white-space: nowrap; }
.gfw-dij .h1 { background: var(--p, #FBFF0C); color: #0E0D59; padding-top: 18px; }
.gfw-dij .h1 small { color: #0E0D59; }
