/* =========================================================
   MINERISE — weboldal
   ========================================================= */
:root {
  --bg: #07090e;
  --bg-2: #0d1118;
  --bg-3: #131925;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f6f4ef;
  --muted: #a3aab6;
  --faint: #6b7280;
  --gold: #ffc23d;
  --gold-2: #ffd978;
  --amber: #ff9a3c;
  --rose: #ff6a6a;
  --green: #4ade80;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --blue: #60a5fa;
  --danger: #f87171;
  --sun: linear-gradient(100deg, #ffe08a 0%, #ffc23d 32%, #ff9a3c 68%, #ff7a5c 100%);
  --r: 24px;
  --r-sm: 16px;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --display: Archivo, "Arial Black", system-ui, sans-serif;
  --wrap: 1240px;
  --nav-h: 84px;
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--expo) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
body.menu-open { overflow: hidden; }
input, textarea { -webkit-user-select: text; user-select: text; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-family: var(--display); font-stretch: 115%; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.block { padding-top: clamp(80px, 11vw, 140px); }
.center { text-align: center; }
.grad { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .35s var(--expo); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 700 13px/1 Inter, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sun); }

/* --- Gombok --- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 0; border-radius: 14px; overflow: hidden; isolation: isolate;
  background: var(--sun); color: #1d1204;
  font: 700 15px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap;
  box-shadow: 0 14px 34px -14px rgba(255,170,60,.75), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .35s var(--expo), box-shadow .35s var(--expo);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .9s var(--expo);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(255,170,60,.9), inset 0 1px 0 rgba(255,255,255,.45); }
.btn:hover::after { transform: translateX(130%); }
.btn:hover .arr { transform: translateX(4px); }
.btn-lg { padding: 18px 30px; font-size: 16px; border-radius: 16px; }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 12px; }
.btn-ghost {
  background: rgba(255,255,255,.08); color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: rgba(255,255,255,.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn[disabled] { filter: grayscale(.5) brightness(.8); cursor: wait; transform: none; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-2);
  transition: color .2s;
}
.link-more:hover { color: #fff; }
.link-more:hover .arr { transform: translateX(4px); }
.link-more.center { display: flex; justify-content: center; margin-top: 28px; }

/* --- Fejléc --- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  view-transition-name: nav;
  transition: background .4s, box-shadow .4s, height .4s var(--expo);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,14,.7), transparent); transition: opacity .4s;
}
.nav.solid {
  height: 70px;
  background: rgba(7,9,14,.8); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line);
}
.nav.solid::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 56px; height: 56px; filter: drop-shadow(0 6px 20px rgba(255,194,61,.35)); transition: transform .5s var(--expo), width .4s var(--expo), height .4s var(--expo); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav.solid .brand img { width: 48px; height: 48px; }
.brand span { font: 900 20px/1 var(--display); font-stretch: 125%; letter-spacing: .02em; }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a {
  position: relative; padding: 10px 14px; border-radius: 10px;
  color: #cfd4dc; font-weight: 500; font-size: 15px; transition: color .2s, background .2s;
}
.links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.links a[aria-current="page"] { color: #fff; }
.links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--sun);
}
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--expo), top .4s var(--expo); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; padding: calc(var(--nav-h) + 24px) 24px 40px;
  display: flex; flex-direction: column; gap: 32px;
  background: rgba(7,9,14,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font: 800 30px/1.1 var(--display); font-stretch: 115%;
  opacity: 0; transform: translateY(16px); animation: menu-in .6s var(--expo) forwards;
}
.menu nav a[aria-current="page"] { color: var(--gold); }
.menu nav a:nth-child(2) { animation-delay: .04s; } .menu nav a:nth-child(3) { animation-delay: .08s; }
.menu nav a:nth-child(4) { animation-delay: .12s; } .menu nav a:nth-child(5) { animation-delay: .16s; }
.menu nav a:nth-child(6) { animation-delay: .2s; }
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* --- Főoldali hero --- */
.hero {
  position: relative; height: 100svh; min-height: 680px; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center;
}
.slides { position: absolute; inset: 0; z-index: -3; background: #000; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s ease; transform: scale(1.04);
}
.slide.is-on { opacity: 1; animation: kenburns 9s linear forwards; }
.slide:nth-child(even).is-on { animation-name: kenburns-2; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes kenburns-2 { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.04) translate3d(0, -1%, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(7,9,14,0) 0%, rgba(7,9,14,.45) 100%),
    linear-gradient(180deg, rgba(7,9,14,.55) 0%, rgba(7,9,14,0) 22%, rgba(7,9,14,0) 55%, rgba(7,9,14,.85) 88%, var(--bg) 100%);
}
.hero-inner { position: relative; padding: var(--nav-h) 24px 120px; display: flex; flex-direction: column; align-items: center; }
.sun {
  position: absolute; left: 50%; top: 40%; width: min(110vmin, 1100px); aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,214,120,.45) 0%, rgba(255,170,60,.22) 22%, rgba(255,120,80,.06) 45%, transparent 62%);
  animation: sun-in 2.2s var(--expo) both;
}
.sun::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,226,150,.13) 0deg 2.5deg, transparent 2.5deg 10deg);
  -webkit-mask: radial-gradient(circle, transparent 12%, #000 18%, transparent 60%); mask: radial-gradient(circle, transparent 12%, #000 18%, transparent 60%);
  animation: spin 120s linear infinite; mix-blend-mode: screen;
}
@keyframes sun-in { from { opacity: 0; transform: translateY(18%) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img {
  width: clamp(230px, 32vw, 420px); height: auto;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(255,190,80,.25));
  animation: logo-in 1.6s var(--expo) .1s both;
}
@keyframes logo-in { from { opacity: 0; transform: translateY(60px) scale(.92); filter: blur(12px); } }
.hero-tag {
  margin: 6px 0 34px; font-size: clamp(17px, 1.9vw, 22px); font-weight: 500; color: #f1ede6;
  text-shadow: 0 2px 18px rgba(0,0,0,.8); animation: up-in 1.2s var(--expo) .45s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: up-in 1.2s var(--expo) .6s both; }
@keyframes up-in { from { opacity: 0; transform: translateY(24px); } }

.hero-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  padding: 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 30px;
  animation: up-in 1.2s var(--expo) .9s both;
}
.status, .ticker {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: rgba(7,9,14,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 600; color: #e7e9ee; transition: background .3s, box-shadow .3s;
}
.status:hover, .ticker:hover { background: rgba(7,9,14,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.status.on .dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.status.on .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.8s ease-out infinite; }
.status.off .dot { background: var(--danger); }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.ticker { min-width: 0; max-width: 520px; }
.ticker-tag { padding: 4px 9px; border-radius: 999px; background: var(--sun); color: #1d1204; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.ticker-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker:hover .arr { transform: translateX(4px); }
.slide-dots { margin-left: auto; display: flex; gap: 8px; }
.slide-dots i { position: relative; width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.slide-dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-dots i.done::after { transform: scaleX(1); }
.slide-dots i.run::after { animation: dot 7s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }

/* --- Számok --- */
.stats {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { position: relative; padding: 34px 12px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.stat strong { display: block; font: 900 clamp(30px, 3.8vw, 48px)/1 var(--display); font-stretch: 120%; }
.stat > span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* --- Szakaszfejek --- */
.block-head { margin-bottom: 44px; }
.block-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.block-head h2, .block h2.big { font-size: clamp(32px, 5vw, 60px); max-width: 18ch; }
.sub { color: var(--muted); font-size: 17px; }

/* --- Csempék (főoldal) --- */
.tiles { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 300px 300px; gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); isolation: isolate; display: flex; align-items: flex-end; box-shadow: inset 0 0 0 1px var(--line); }
.tile-tall { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--expo); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,9,14,0) 30%, rgba(7,9,14,.92) 100%); transition: background .5s; }
.tile:hover img { transform: scale(1.07); }
.tile-body { padding: 30px; }
.tile-k { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.tile h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 8px; }
.tile p { color: #d4d8df; max-width: 38ch; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--gold-2); }
.tile:hover .more .arr { transform: translateX(5px); }

/* --- Galéria-csík (főoldal) --- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip .shot { aspect-ratio: 4 / 3; }
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-sm);
  cursor: zoom-in; background: var(--bg-2);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--expo), filter .6s; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; pointer-events: none; }
.shot:hover img { transform: scale(1.06); filter: saturate(1.15) brightness(1.05); }
.shot:hover::after { box-shadow: inset 0 0 0 2px rgba(255,194,61,.7); }

.masonry { columns: 3 320px; column-gap: 16px; }
.masonry .shot { margin-bottom: 16px; break-inside: avoid; }
.masonry .shot img { height: auto; }

/* --- Hírek --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); cursor: pointer; text-align: left;
  border: 0; padding: 0; background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--expo), box-shadow .5s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0,0,0,.9); }
.news-img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--expo); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-cat {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(7,9,14,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.news-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.news-card h3 { font-size: 21px; line-height: 1.2; }
.news-card p.prev { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .more { margin-top: auto; padding-top: 6px; }
.news-card:hover .more .arr { transform: translateX(5px); }
.news-card.featured { grid-column: 1 / -1; flex-direction: row; min-height: 420px; }
.news-card.featured .news-img { flex: 1.35; aspect-ratio: auto; }
.news-card.featured .news-body { flex: 1; padding: 44px; justify-content: center; gap: 16px; }
.news-card.featured h3 { font-size: clamp(28px, 3vw, 40px); }
.news-card.featured p.prev { font-size: 17px; -webkit-line-clamp: 5; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 5px 11px; border-radius: 999px; background: rgba(255,194,61,.1); color: var(--gold-2); font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,194,61,.25); }
.news-skel { height: 380px; border-radius: var(--r); background: linear-gradient(100deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.news-page { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.news-page .news-skel:first-child { grid-column: 1 / -1; height: 420px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

.article {
  width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 0; border: 0; border-radius: 28px;
  background: var(--bg-2); color: var(--text); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px rgba(0,0,0,.8);
}
.article[open] { animation: pop .5s var(--expo); }
.article::backdrop { background: rgba(3,4,8,.78); backdrop-filter: blur(6px); }
.article-media { aspect-ratio: 21 / 9; overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-body { position: relative; padding: 36px 44px 44px; display: grid; gap: 16px; }
.article h2 { font-size: clamp(26px, 3.4vw, 38px); }
.article-text { display: grid; gap: 14px; color: #d3d7de; font-size: 17px; line-height: 1.75; }
.article-close { position: fixed; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* --- CTA szalag --- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: calc(var(--wrap) - 48px); margin: clamp(80px, 11vw, 140px) auto 0; border-radius: 36px;
  padding: clamp(64px, 9vw, 110px) 24px; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,194,61,.25);
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 115%, rgba(255,170,60,.45), transparent 60%), linear-gradient(180deg, rgba(7,9,14,.35), rgba(7,9,14,.8)); }
.cta-logo { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 10px 30px rgba(255,190,80,.45)); animation: float 5s ease-in-out infinite; }
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 40px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* --- Letöltőkártyák --- */
.dl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 16px; justify-content: center; }
.dl-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 18px; border-radius: 20px; text-align: left;
  background: rgba(7,9,14,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .45s var(--expo), box-shadow .45s, background .45s;
}
.dl-card:hover { transform: translateY(-4px); background: rgba(7,9,14,.8); box-shadow: inset 0 0 0 1px rgba(255,194,61,.75), 0 24px 44px -18px rgba(255,170,60,.55); }
.dl-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sun); color: #1d1204; flex: none; }
.dl-ico .ico { width: 26px; height: 26px; }
.dl-text { display: grid; gap: 2px; min-width: 0; }
.dl-text b { font: 800 19px/1.2 var(--display); font-stretch: 112%; }
.dl-text small { color: #d0d4db; font-size: 14px; font-weight: 600; }
.dl-text em { color: var(--muted); font-size: 13px; font-style: normal; }
.dl-go { margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); flex: none; transition: background .3s, transform .45s var(--expo); }
.dl-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dl-card:hover .dl-go { background: var(--gold); color: #1d1204; transform: translateY(2px); }

/* --- Aloldali hero --- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(440px, 62vh); display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 7vw, 84px);
}
.page-hero.short { min-height: max(380px, 50vh); }
.page-hero.full { min-height: 100svh; align-items: center; }
.page-hero-bg { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; z-index: -2; animation: hero-zoom 2.4s var(--expo) both; will-change: transform; }
@keyframes hero-zoom { from { transform: scale(1.12); filter: brightness(.6); } to { transform: scale(1.02); } }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,9,14,.82) 0%, rgba(7,9,14,.35) 55%, rgba(7,9,14,.1) 100%),
    linear-gradient(180deg, rgba(7,9,14,.45) 0%, transparent 30%, transparent 55%, var(--bg) 100%);
}
.page-hero.full::before { background: radial-gradient(ellipse at center, rgba(7,9,14,.35), rgba(7,9,14,.85)); }
.page-hero-inner > * { animation: up-in 1.1s var(--expo) both; }
.page-hero-inner > :nth-child(2) { animation-delay: .08s; }
.page-hero-inner > :nth-child(3) { animation-delay: .16s; }
.page-hero-inner > :nth-child(4) { animation-delay: .24s; }
.page-hero h1 {
  font-size: clamp(42px, 7.6vw, 104px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em;
  max-width: 14ch; text-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.page-hero .center h1 { margin: 0 auto; }
.page-lead { margin-top: 18px; font-size: clamp(17px, 1.8vw, 21px); color: #e2e0db; max-width: 46ch; }
.page-hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.center .page-hero-cta { justify-content: center; }

/* --- Útmutató idővonal --- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(255,122,92,.4) 70%, transparent); }
.timeline > li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; }
.tl-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  font: 900 24px/1 var(--display); font-stretch: 120%; color: #1d1204; background: var(--sun);
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px rgba(255,170,60,.45);
}
.tl-body {
  padding: 30px 34px 34px; border-radius: var(--r);
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 16px;
}
.tl-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.tl-body > p { color: var(--muted); font-size: 17px; max-width: 60ch; }
.tl-body b { color: var(--text); }
.tl-body .dl-cards { justify-content: start; margin-top: 6px; }
.tl-shot { margin: 6px 0 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 21 / 8; }
.tl-shot img { width: 100%; height: 100%; object-fit: cover; }

.tabs { display: grid; gap: 18px; }
.tab-list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line); justify-self: start; }
.tab-list button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.tab-list button .ico { width: 18px; height: 18px; }
.tab-list button[aria-selected="true"] { background: rgba(255,255,255,.1); color: #fff; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 12px; }
.mini-steps li { counter-increment: m; position: relative; padding: 3px 0 3px 44px; color: #d3d7de; font-size: 16px; line-height: 1.5; min-height: 30px; }
.mini-steps li::before {
  content: counter(m); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px; background: rgba(255,194,61,.14); color: var(--gold); font-weight: 800; font-size: 14px;
}
.tab-panel[hidden] { display: none; }
.tab-panel { animation: up-in .5s var(--expo); }

.help-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: 980px; margin: 0 auto; padding: 36px 40px; border-radius: 28px;
  background: radial-gradient(ellipse at 0% 0%, rgba(255,194,61,.16), transparent 55%), linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px rgba(255,194,61,.22); transition: transform .5s var(--expo);
}
.help-card:hover { transform: translateY(-4px); }
.help-card h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.help-card p { color: var(--muted); font-size: 17px; }
.help-card:hover .arr { transform: translateX(4px); }

/* --- Launcher funkciók --- */
.features { display: grid; gap: clamp(80px, 10vw, 130px); }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 11;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.9);
}
.feature-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--expo); }
.feature:hover .feature-media > img { transform: scale(1.04); }
.feature-media.ui { aspect-ratio: auto; background: #e9dcc0; }
.feature-media.ui > img { height: auto; }
.feature:hover .feature-media.ui > img { transform: none; }
.feature-text h2 { font-size: clamp(30px, 3.8vw, 48px); margin: 18px 0 16px; }
.feature-text p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.c-green { --c: var(--green); } .c-cyan { --c: var(--cyan); } .c-gold { --c: var(--gold); } .c-violet { --c: var(--violet); } .c-blue { --c: var(--blue); }

.versions {
  aspect-ratio: auto; display: grid; align-content: center; gap: 14px; padding: clamp(24px, 4vw, 48px);
  background: radial-gradient(ellipse at 20% 0%, rgba(34,211,238,.18), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(167,139,250,.18), transparent 55%), var(--bg-2);
}
.ver {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--expo);
}
.ver b { display: block; font: 800 18px/1.2 var(--display); font-stretch: 110%; }
.ver small { color: var(--muted); font-size: 13px; }
.ver img { width: 48px; height: 48px; }
.ver-main { background: linear-gradient(100deg, rgba(255,194,61,.16), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(255,194,61,.4), 0 20px 40px -20px rgba(255,170,60,.5); }
.ver-play { margin-left: auto; padding: 10px 18px; border-radius: 12px; background: var(--sun); color: #1d1204; font-weight: 800; font-size: 14px; }
.ver-ico { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.v-vanilla { background: linear-gradient(180deg, #6fbf4a 0 34%, #8b5a2b 34% 100%); box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.v-fabric { background: repeating-linear-gradient(45deg, #dbd0b4 0 6px, #c8bb98 6px 12px); box-shadow: inset 0 0 0 3px #3b3a36; }
.feature:hover .ver:nth-child(2) { transform: translateX(8px); }
.feature:hover .ver:nth-child(3) { transform: translateX(16px); }

.lite-card, .update-card {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: rgba(7,9,14,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2);
}
.lite-card b, .update-card b { display: block; font-weight: 700; }
.lite-card small { color: var(--muted); font-size: 13px; }
.lite-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,194,61,.15); flex: none; }
.lite-ico svg { width: 22px; height: 22px; fill: var(--gold); }
.switch { margin-left: auto; width: 50px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.15); position: relative; flex: none; transition: background .4s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .5s var(--spring, var(--expo)); }
.switch.is-on { background: var(--gold); }
.switch.is-on::after { transform: translateX(22px); }
.update-card { flex-direction: column; align-items: stretch; gap: 12px; }
.bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--sun); animation: load 3.6s var(--expo) infinite; }
@keyframes load { 0% { width: 4%; } 80%, 100% { width: 100%; } }

.phone-wrap { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, rgba(167,139,250,.28), transparent 60%), var(--bg-2); }
.phone {
  width: 42%; aspect-ratio: 9 / 19; border-radius: 34px; padding: 10px; background: #0b0d12;
  box-shadow: inset 0 0 0 2px #2a2f3a, 0 40px 80px -20px rgba(0,0,0,.9), 0 0 60px rgba(167,139,250,.25);
  transform: rotate(-6deg); transition: transform .9s var(--expo);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; border-radius: 26px; }
.feature:hover .phone { transform: rotate(0deg) translateY(-6px); }

.download-panel {
  position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 36px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,194,61,.2), transparent 60%), linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  box-shadow: inset 0 0 0 1px rgba(255,194,61,.22);
}
.dp-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 24px 60px -12px rgba(139,92,246,.7); animation: float 5s ease-in-out infinite; }
.download-panel h2 { font-size: clamp(34px, 5vw, 60px); }
.download-panel .sub { margin: 12px 0 36px; }

/* --- Kapcsolat --- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact {
  display: grid; gap: 18px; padding: 36px; border-radius: 28px;
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line);
}
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #d3d7de; }
.contact input, .contact textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.35);
  color: var(--text); font: 15px/1.5 Inter, sans-serif; resize: vertical; transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--gold); background: rgba(0,0,0,.5); box-shadow: 0 0 0 4px rgba(255,194,61,.15); }
.contact .bad { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--muted); }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--danger); }
.faq h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 17px; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--gold);
  transition: transform .4s var(--expo);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--gold-2); }
.faq details p { padding: 0 0 20px; color: var(--muted); animation: up-in .4s var(--expo); }

/* --- Lightbox --- */
.lightbox {
  max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 5vmin 80px; border: 0;
  background: rgba(3,4,8,.94); place-items: center;
}
.lightbox[open] { display: grid; animation: fade .3s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 16px; box-shadow: 0 40px 120px rgba(0,0,0,.8); animation: pop .5s var(--expo); }
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); cursor: pointer; transition: background .2s, transform .3s var(--expo);
}
.lb-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.article .lb-btn { position: absolute; top: 18px; right: 18px; background: rgba(7,9,14,.6); }
@keyframes fade { from { opacity: 0; } }

/* --- Lábléc --- */
.footer { margin-top: clamp(100px, 12vw, 160px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255,194,61,.03)); }
.foot-top { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { width: 72px; height: 72px; }
.foot-brand p { color: var(--muted); max-width: 32ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font: 700 13px/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.foot-col a { color: #cfd4dc; width: fit-content; transition: color .2s; }
.foot-col a:hover { color: var(--gold-2); }
.foot-bottom {
  max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: 13px; color: var(--faint);
}
.foot-bottom span:first-child { color: var(--muted); font-weight: 600; }

/* --- Megjelenés görgetéskor --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--expo), transform 1s var(--expo); }
.reveal.in { opacity: 1; transform: none; }

/* --- Reszponzív --- */
@media (max-width: 1080px) {
  .links, .nav-cta { display: none; }
  .burger { display: block; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { flex-direction: column; min-height: 0; }
  .news-card.featured .news-img { aspect-ratio: 16 / 9; flex: none; }
  .news-card.featured .news-body { padding: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --nav-h: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 17px; }
  .hero-bar { flex-wrap: wrap; justify-content: center; padding-bottom: 22px; gap: 10px; }
  .slide-dots { display: none; }
  .ticker { max-width: 100%; }
  .hero-inner { padding-bottom: 150px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 0; }
  .tiles { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; }
  .tile-tall { grid-row: auto; }
  .strip { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .dl-cards { grid-template-columns: 1fr; }
  .timeline::before { left: 21px; }
  .timeline > li { grid-template-columns: 44px 1fr; gap: 16px; }
  .tl-num { width: 44px; height: 44px; border-radius: 14px; font-size: 19px; }
  .tl-body { padding: 24px 22px 26px; }
  .contact { padding: 24px; }
  .contact .row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .article-body { padding: 28px 24px 32px; }
  .lightbox { padding: 70px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .page-hero h1 { font-size: clamp(30px, 9.2vw, 60px); font-stretch: 108%; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .slide { transition: none; }
}
