/* nova.css -- (11-29, a tulaj: „a csajunkkal kidekorálod a weboldalt? … okosan, mintha a weboldal része lenne”): Nova 'Redline' Kessler, az Armor Grid
   reklámarca a kezdőlapon (képek: /assets/fooldal/img/nova/, forrás: Assets\Kepek\Nova_reklamarc_1129). Négy hely:
   1) nyitókép: csak 1680 px-től, a tartalom melletti jobb sávban, névtáblával (a /crew-ra visz);
   2) pályák: a térdelő, távcsöves Nova a pályarács jobb felső sarkán „kémleli” a bolygókat (1100 px-től);
   3) letöltés: a feliratkozó doboz MÖGÖTT áll, csak a felsőteste látszik ki (minden méreten);
   4) csatlakozás: gépen (1280 px-től) a panelben bal oldalt, kisebb képernyőn a panel felső széle mögül néz ki.
   Kilógás nincs: a hős és a letöltés szekciója overflow: hidden, a panel is; a többi a tartalmon belül marad. */
.nova { pointer-events: none; user-select: none; -webkit-user-drag: none; }
img.nova, .nova img { filter: drop-shadow(0 0 16px rgba(46, 166, 255, .26)) drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }

/* 1) nyitókép */
.nova--hero { display: none; }
@media (min-width: 1680px) {
  .nova--hero {
    display: flex; flex-direction: column; align-items: center; position: absolute; z-index: 2; pointer-events: auto; text-decoration: none;
    right: max(12px, calc((100vw - 1200px) / 4 - 125px)); top: calc(var(--nav-h) + 64px);
  }
  .nova--hero img { display: block; width: auto; height: min(70vh, 740px, calc((100vw - 1200px) * 1.3)); }
  .nova--hero::before {
    content: ""; position: absolute; z-index: -1; left: 50%; bottom: 34px; width: 320px; height: 70px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(46, 166, 255, .38), rgba(46, 166, 255, .08) 60%, transparent);
  }
}
.nova__tag {
  display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 8px; padding: 8px 16px;
  background: rgba(5, 7, 10, .78); box-shadow: inset 0 0 0 1px var(--line-2);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--f-mono); font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: #c77dff; text-align: center; max-width: 280px;
  transition: box-shadow .3s var(--ease);
}
.nova__tag b { font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: .05em; color: var(--ice-2); text-transform: none; }
.nova--hero:hover .nova__tag, .nova--hero:focus-visible .nova__tag { box-shadow: inset 0 0 0 1px var(--volt), 0 0 18px var(--volt-glow); }

/* 1b) nyitókép 1680 px alatt (telefonon is; a tulaj: „kár, hogy mobilon nem lehet”): a lenti sáv mögül, deréktól felfelé, a névtábla a derekán */
.nova--hero-m { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: 30px; pointer-events: auto; text-decoration: none; }
.nova-hm__kep { display: block; height: 228px; padding: 22px 34px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.nova-hm__kep img { display: block; width: auto; height: 460px; max-width: none; }
.nova--hero-m .nova__tag { position: relative; margin-top: -34px; }
.nova--hero-m + .hero__platform { margin-top: 12px; }
.nova--hero-m:hover .nova__tag, .nova--hero-m:focus-visible .nova__tag { box-shadow: inset 0 0 0 1px var(--volt), 0 0 18px var(--volt-glow); }
@media (min-width: 1680px) { .nova--hero-m { display: none; } }
@media (max-width: 380px) { .nova-hm__kep { height: 200px; } .nova-hm__kep img { height: 400px; } }

/* 2) pályák */
.nova--maps { display: none; }
@media (min-width: 1100px) {
  .maps .mapgrid { position: relative; }
  .nova--maps { display: block; position: absolute; z-index: 1; right: 1.5%; bottom: calc(100% - 8px); width: auto; height: clamp(240px, 21vw, 310px); }
}

/* 3) letöltés: a doboz mögött (a keret a doboz aljánál levágja, hogy alul ne lógjon ki a lába, ha a doboz alacsony) */
.signup { --nh: 500px; margin-top: calc(.43 * var(--nh) + 8px); }
.nova-dl { position: absolute; z-index: -2; left: 0; right: 0; bottom: 0; top: calc(-.43 * var(--nh) - 30px); overflow: hidden; pointer-events: none; }
.nova-dl .nova--dl { position: absolute; right: 7%; top: 30px; width: auto; height: var(--nh); max-width: none; }
@media (max-width: 980px) { .signup { --nh: 380px; } }
@media (max-width: 400px) { .signup { --nh: 340px; } }

/* 4) csatlakozás */
.join__panel { z-index: 1; }
.nova--join { display: none; }
.nova--join-m { display: block; position: relative; z-index: 0; width: auto; height: 300px; margin: 0 auto -150px; }
@media (min-width: 1280px) {
  .nova--join-m { display: none; }
  .nova--join { display: block; position: absolute; z-index: 0; left: 46px; bottom: -64px; width: auto; height: 640px; }
}

/* 5) kilépési ajánlat (#kilpop, px.js; 11-29 este): a regisztrációs popup kinézetén, alatta két egyforma súlyú választás */
.kilpop__ketto { display: flex; gap: 10px; margin-top: 12px; }
.kilpop__ment, .kilpop__ki { flex: 1 1 0; min-height: 46px; padding: 10px 12px; font: 600 15px/1.25 var(--f-body); border-radius: 10px; cursor: pointer; }
.kilpop__ment { color: var(--text); background: rgba(46, 166, 255, .12); border: 1px solid rgba(46, 166, 255, .55); }
.kilpop__ment:hover, .kilpop__ment:focus-visible { background: rgba(46, 166, 255, .24); }
.kilpop__ki { color: var(--muted); background: transparent; border: 1px solid var(--line-2); }
.kilpop__ki:hover, .kilpop__ki:focus-visible { color: var(--text); border-color: var(--line-3); }
.kilpop__kesz { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(109, 255, 160, .1); border: 1px solid rgba(109, 255, 160, .45); color: #c9ffdd; font-size: 15px; line-height: 1.4; text-align: center; }
@media (max-width: 360px) { .kilpop__ketto { flex-direction: column; } }
