/* ==========================================================================
   HU-TÉMA v3 — „JÉG & PARÁZS”
   A style.css után töltődik, és felülírja azt.

   MIÉRT KÜLÖN FÁJL
   A style.css a testvéroldal sablonja: az elrendezés, a komponensek és a
   reszponzív viselkedés onnan jön, és jó. Ami nem jó, az a vizuális
   azonosság. Ez a fájl EZT a réteget cseréli le — a szerkezethez nem nyúl.

   MI VÁLTOZOTT A KORÁBBI HU-TÉMÁHOZ (ibolya + arany) KÉPEST
   1. paletta     — ibolyafekete + arany   →  éjkék-petrol + jégkék, parázs kiemelés
   2. tipográfia  — Sora + Manrope         →  Space Grotesk + Plus Jakarta Sans
   3. forma       — szögletes, 6–8 px      →  lágy, 14–16 px + pirula gombok
   4. fejléc      — lapos sáv, aláhúzás    →  lebegő üvegkártya, pirula aktív jelölés
   5. H2-jel      — bal oldali arany vonal →  cím FÖLÖTTI rövid gradiens vonal
   6. CTA         — arany                  →  jégkék gradiens, sötét tintával

   A név („Celsius”) adja az irányt: hideg alap, meleg akcentus. A parázs
   (--ember-*) csak jelöléshez és kiemeléshez használt, nagy felületen soha.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. PALETTA */
:root {
  /* Alapok — éjkék/petrol */
  --bg:        #061019;
  --bg-2:      #0a1824;
  --panel:     #0e2130;
  --surface:   #12293a;
  --surface-2: #17374c;
  --bg-deep:   #030a11;

  --border:        #1d3b4f;
  --border-strong: #2f6a86;

  --text:      #f3fafd;
  --text-soft: #c6dbe6;
  --text-mute: #8aa8b8;

  /* Akcentus: jégkék. A logó „°C” jele és a hideg/meleg kettősség viszi. */
  --accent-1:   #3fdfe8;
  --accent-2:   #0f9ec6;
  --accent-lt:  #9cf1f7;
  --accent-dim: rgba(63, 223, 232, .12);

  /* Parázs: a meleg ellenpont. Jelvények, kiemelt számok, figyelmeztetés. */
  --ember-1: #ff9a3d;
  --ember-2: #f2622e;

  /* Link: világos jégkék, kontraszt a --bg-n ~11:1 */
  --link: #7fe3f0;

  /* CTA = jégkék gradiens, sötét tintával (kontraszt 8,9:1) */
  --cta-1:   #4ce7ef;
  --cta-2:   #12a9cf;
  --cta-ink: #04212b;

  --green-1: #3ddc84;
  --green-2: #16a34a;

  --warn:     #ff9a3d;
  --warn-dim: rgba(255, 154, 61, .10);
  --tip:      #3fdfe8;
  --tip-dim:  rgba(63, 223, 232, .09);

  /* Csempe-színátmenetek: petrol–jég–parázs család */
  --grad-orange: linear-gradient(135deg, #7a3211, #f2622e);
  --grad-green:  linear-gradient(135deg, #0b4a52, #17a2a6);
  --grad-purple: linear-gradient(135deg, #123a58, #2f7fb5);
  --grad-blue:   linear-gradient(135deg, #0a2233, #1a6f96);
  --grad-teal:   linear-gradient(135deg, #093a44, #0f9ec6);

  /* Forma: lágyabb, mint a korábbi szögletes HU-téma */
  --radius:    16px;
  --radius-sm: 12px;
  --pill:      999px;

  --font:         "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font);
}

/* ------------------------------------------------------------ 2. TIPOGRÁFIA */
h1, h2, h3, h4, .promo-title, .brand-txt b, .toc-title, .faq-q, .site-foot h3,
.block-head, .fact-v, .num-step b {
  font-family: var(--font-display);
  letter-spacing: -.015em;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }
.promo-title { font-weight: 700; }
body { letter-spacing: 0; }

/* --------------------------------------------------------------- 3. FEJLÉC */
/* A korábbi HU-téma lapos, alul szegélyezett sávot használt. Itt lebegő
   üvegkártya — ez a leglátványosabb különbség a két verzió között. */
.site-head { padding: 10px 0 0; background: none; border-bottom: 0; backdrop-filter: none; }
.head-in {
  min-height: 62px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: rgba(14, 33, 48, .82);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(3, 10, 17, .55);
  backdrop-filter: blur(12px);
}
/* A márkajel a valódi logó (ikon + szóvédjegy egy fájlban), nem a sablon
   betűs korongja. A .brand-txt ezért már csak a rövid alcímet viszi. */
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  flex: 0 0 auto;
}
.site-foot .brand-logo { height: 38px; }
.brand-txt { padding-top: 2px; }
@media (max-width: 560px) {
  /* Telefonon a fejlécben a logó mellett nincs hely az alcímnek. */
  .site-head .brand-txt { display: none; }
  .brand-logo { height: 30px; }
}
.nav a { border-radius: var(--pill); }
.nav a[aria-current="page"] {
  background: rgba(63, 223, 232, .14);
  box-shadow: inset 0 0 0 1px rgba(63, 223, 232, .34);
  color: var(--accent-lt);
}
.nav a[aria-current="page"]::after { display: none; }
@media (max-width: 1023px) {
  .nav { top: 80px; border-radius: var(--radius); }
}

/* -------------------------------------------------------------- 4. GOMBOK */
.btn { border-radius: var(--pill); letter-spacing: .005em; }
.btn-cta { box-shadow: 0 10px 26px rgba(18, 169, 207, .34); }
.btn-green { box-shadow: 0 10px 26px rgba(61, 220, 132, .24); }
.nav a.btn-cta, .nav a.btn-cta:hover { color: var(--cta-ink); }

/* --------------------------------------------------------- 5. SZAKASZCÍMEK */
/* Nem bal oldali vonal, hanem a cím FÖLÖTT futó rövid gradiens — más ritmus,
   és egy pillantásra megkülönbözteti a lapot a korábbi verziótól. */
h2 {
  padding-left: 0;
  padding-top: 20px;
}
h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 3px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  box-shadow: none;
}
h2::after { display: none; }
@media (max-width: 1023px) {
  h2 { padding-left: 0; padding-top: 16px; }
  h2::before { width: 36px; height: 3px; }
  h2::after { display: none; }
}
.block-head::before {
  width: 10px; height: 10px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: none;
}
.eyebrow {
  border-radius: var(--pill);
  border-color: rgba(63, 223, 232, .30);
  color: var(--accent-lt);
}
.steps h3::before { background: linear-gradient(180deg, var(--accent-1), var(--accent-2)); }

/* ------------------------------------------------------- 6. OLDALSÓ SÁV */
.rail a { border-radius: var(--pill); }
.rail a[aria-current="page"] {
  background: rgba(63, 223, 232, .12);
  box-shadow: inset 0 0 0 1px rgba(63, 223, 232, .30);
  color: var(--accent-lt);
}
.rail a[aria-current="page"]::before { display: none; }
.rail-cta {
  color: var(--cta-ink) !important;
  background: linear-gradient(135deg, var(--cta-1), var(--cta-2));
  box-shadow: 0 8px 18px rgba(18, 169, 207, .32);
}
.rail-cta:hover { background: linear-gradient(135deg, var(--cta-1), var(--cta-2)); }
/* Az oldalsó sáv szakaszcímkéi nagybetűsek, a soruk line-height: 1 — így a
   magyar ékezetek (Á, É, Ó, Ő, Ú, Ű) levágódnának. */
.rail-sep span { line-height: 1.45; }

/* ----------------------------------------------------------- 7. ALSÓ SÁV */
.botbar {
  border-radius: var(--pill);
  background: rgba(14, 33, 48, .92);
  backdrop-filter: blur(12px);
}
.botbar-item { border-radius: var(--pill); }
.botbar-cta { color: var(--cta-ink); }

/* ------------------------------------------------------- 8. APRÓ ELEMEK */
.chip, .age-badge, .rail-age em { border-radius: var(--pill); }
.promo, .toc, .faq-item, .tbl-wrap, .pay-panel, .shot, .banner,
.tile-card, .game-card, .legal-block, .cta-block { border-radius: var(--radius); }
.tbl-wrap table thead th { letter-spacing: .06em; }
.callout { border-left-width: 4px; }

.promo::before {
  background: linear-gradient(95deg,
    rgba(3, 10, 17, .95) 0%, rgba(3, 10, 17, .86) 38%,
    rgba(3, 10, 17, .44) 66%, rgba(3, 10, 17, .08) 100%);
}
@media (max-width: 700px) {
  .promo::before {
    background: linear-gradient(180deg,
      rgba(3, 10, 17, .66) 0%, rgba(3, 10, 17, .90) 45%, rgba(3, 10, 17, .97) 100%);
  }
}

/* ------------------------------------------------- 9. BEÉGETETT SZÍNEK
   A style.css néhány helyen nem tokenből, hanem kézzel írt tengerészkékből
   dolgozik — ezeket a :root felülírása nem éri el, külön kell cserélni. */
body::before {
  background:
    radial-gradient(70% 50% at 12% 0%, rgba(15, 158, 198, .26), transparent 70%),
    radial-gradient(45% 45% at 92% 2%, rgba(242, 98, 46, .10), transparent 72%);
}
@media (min-width: 1024px) {
  .rail {
    border-radius: 18px;
    background: linear-gradient(180deg, #12293a, #0a1824 55%, #17374c);
  }
  .rail:not(.open) a span { border-radius: 12px; background: #12293a; }
}
.banner {
  background:
    var(--img, none) right center / auto 100% no-repeat,
    linear-gradient(110deg, #061019 0%, #0e3a4e 40%, #12718f 70%, #b8551f 100%);
}
.banner::after {
  background: linear-gradient(90deg,
    rgba(3, 10, 17, .96) 0%, rgba(3, 10, 17, .80) 40%,
    rgba(3, 10, 17, .26) 68%, transparent 100%);
}
.tile-card::after {
  background: linear-gradient(180deg, transparent 30%, rgba(3, 10, 17, .78) 100%);
}
.game-card::after {
  background: linear-gradient(180deg, transparent 40%, rgba(3, 10, 17, .84) 100%);
}
.tile-card.tile-obj::after {
  background: linear-gradient(90deg,
    rgba(3, 10, 17, .58) 0%, rgba(3, 10, 17, .14) 58%, transparent 100%);
}
.tile-card.tile-shot::after,
.game-card.game-photo::after {
  background: linear-gradient(180deg, transparent 42%, rgba(3, 10, 17, .88) 100%);
}

/* ==========================================================================
   10. HU-KIEGÉSZÍTÉSEK — a sablonban nem létező elemek
   ========================================================================== */

/* --- Cikkbe ágyazott illusztrációk képaláírással ----------------------- */
.shot {
  margin: 26px 0 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(3, 10, 17, .5);
}
.shot img { width: 100%; }
.shot figcaption {
  padding: 12px 18px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
}

/* --- Promó-hero: enyhébb elmosás (a motívumok felismerhetők maradjanak) - */
.promo img {
  filter: blur(2px) brightness(.82) saturate(1.05);
  transform: scale(1.04);
}

/* --- Nyitó rács: bevezető + „gyors tények” kártya ---------------------- */
.hero-split { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .hero-split { grid-template-columns: 1.45fr 1fr; gap: 30px; } }

.spec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  padding: 20px 22px 22px;
  box-shadow: 0 16px 40px rgba(3, 10, 17, .45);
}
.spec-card h2 { margin: 0 0 14px; padding-top: 0; font-size: 18px; }
.spec-card h2::before { display: none; }
.spec-card dl { margin: 0; display: grid; gap: 0; }
.spec-card dt {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-lt);
  margin-top: 14px;
}
.spec-card dt:first-of-type { margin-top: 0; }
.spec-card dd {
  margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-soft);
}
.spec-card dd strong { color: var(--text); }
.spec-card .btn { margin-top: 20px; width: 100%; text-align: center; justify-content: center; }

/* --- Kiemelt számok sora (100% / 150 / 24-7 / 22%) --------------------- */
.facts {
  display: grid; gap: 12px; margin: 26px 0 34px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}
.fact::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
}
.fact-v {
  display: block; font-size: 26px; font-weight: 700; line-height: 1.1;
  color: var(--accent-lt);
}
.fact-k {
  display: block; margin-top: 6px; font-size: 13px; line-height: 1.4;
  color: var(--text-mute);
}
.fact.fact-warm::before { background: linear-gradient(180deg, var(--ember-1), var(--ember-2)); }
.fact.fact-warm .fact-v { color: #ffbe83; }

/* --- Számozott lépések (regisztráció, promókód) ------------------------ */
.num-steps { list-style: none; margin: 22px 0 30px; padding: 0; counter-reset: ns; }
.num-steps li {
  counter-increment: ns;
  position: relative;
  padding: 2px 0 0 52px;
  margin-bottom: 16px;
  min-height: 36px;
  color: var(--text-soft);
}
.num-steps li::before {
  content: counter(ns);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  color: var(--cta-ink);
  background: linear-gradient(140deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 6px 16px rgba(18, 169, 207, .28);
}
.num-steps li strong { color: var(--text); }

/* --- Személyes tapasztalat doboz --------------------------------------- */
.diary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(63, 223, 232, .08), transparent 60%),
    var(--panel);
  padding: 22px 24px;
  margin: 26px 0 32px;
}
.diary h3 { margin: 0 0 10px; font-size: 17.5px; }
.diary p:last-child { margin-bottom: 0; }
.diary-tag {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cta-ink);
  background: linear-gradient(135deg, var(--ember-1), var(--ember-2));
  border-radius: var(--pill);
  padding: 5px 12px;
}

/* --- Kinek való / kinek nem -------------------------------------------- */
.verdict { display: grid; gap: 16px; margin: 26px 0 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .verdict { grid-template-columns: 1fr 1fr; } }
.verdict > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px 22px;
}
.verdict h3 { margin: 0 0 12px; font-size: 17px; }
.verdict ul { margin: 0; padding-left: 20px; color: var(--text-soft); }
.verdict li { margin-bottom: 8px; }
.verdict li:last-child { margin-bottom: 0; }
.verdict .v-yes { border-top: 3px solid var(--accent-1); }
.verdict .v-no  { border-top: 3px solid var(--ember-2); }

/* --- GYIK harmonikaként (<details>) ------------------------------------ */
.faq details.faq-item { padding: 0; }
.faq details.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 20px;
  position: relative;
  font-family: var(--font-display);
  font-size: 16.5px; font-weight: 700; color: #fff;
}
.faq details.faq-item > summary::-webkit-details-marker { display: none; }
.faq details.faq-item > summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--accent-1);
  border-bottom: 2px solid var(--accent-1);
  transform: rotate(45deg);
  transition: transform .18s;
}
.faq details.faq-item[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details.faq-item > summary:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 2px; }
.faq details.faq-item > p { margin: 0 20px 18px; color: var(--text-soft); }
.faq details.faq-item[open] { border-color: var(--border-strong); }

/* --- Jogi lábjegyzet a cikk alján -------------------------------------- */
.age-line {
  margin: 28px 0 0;
  font-size: 13.5px;
  color: var(--text-mute);
  text-align: center;
}
