/* CamelCoding 2026 – a régi arculatra építve (cián #00D5FF, sötét #00001E, Segoe UI Black,
   vastag aláhúzások, függőleges sáv), de bátrabb, "bizonyítékfal" szerkezettel. */

@font-face { font-family: "CC Segoe"; src: url("fonts/segoeui-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CC Segoe"; src: url("fonts/segoeui-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "CC Segoe"; src: url("fonts/segoeui-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --cyan: #00d5ff;
  --cyan-ink: #0094b3;
  --dark: #00001e;
  --ink: #111118;
  --muted: #55596a;
  --light: #f4f5f7;
  --line: #e4e6ea;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --font: "CC Segoe", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 36px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 900; color: var(--dark); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--dark); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Gombok, linkek ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; padding: 15px 26px;
  border: 2px solid var(--dark); transition: background .2s, color .2s, border-color .2s;
  text-transform: uppercase; letter-spacing: .05em; font-size: 15px;
}
.btn-cyan { background: var(--cyan); color: var(--dark); border-color: var(--cyan); }
.btn-cyan:hover { background: #fff; border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--cyan); color: var(--dark); border-color: var(--cyan); }
.btn-small { padding: 8px 16px; font-size: 13px; }
.link-under { font-weight: 700; text-decoration: none; color: var(--dark); border-bottom: 4px solid var(--cyan); padding-bottom: 2px; transition: border-color .2s; }
.link-under:hover { border-color: var(--dark); }
.link-light { color: #fff; }
.link-light:hover { border-color: #fff; }
.ext-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: .06em; text-decoration: none; padding: 7px 12px; border: 2px solid currentColor; margin: 0 8px 8px 0;
  transition: background .2s, color .2s, border-color .2s;
}
.ext-link:hover { background: var(--cyan); border-color: var(--cyan); color: var(--dark); }

/* ── Fejléc ────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { width: 116px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .05em; padding: 6px 0; border-bottom: 3px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a.active { border-color: var(--cyan); }
.header-tools { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 2px solid var(--dark); }
.lang a { text-decoration: none; font-weight: 700; font-size: 12px; padding: 4px 8px; letter-spacing: .05em; }
.lang a[aria-current] { background: var(--dark); color: #fff; }
.lang a:not([aria-current]):hover { background: var(--cyan); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 8px; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--dark); margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── HERO: sötét háttér, úszó képfal ───────────── */
.hero {
  position: relative; background: var(--dark); color: #fff; overflow: hidden; display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
}
.hero-wall {
  position: absolute; top: -60px; bottom: -60px; right: -3vw; width: 58%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  transform: rotate(-6deg);
}
.hero-wall::after {
  content: ""; position: absolute; inset: -20% -10%; pointer-events: none;
  background:
    linear-gradient(90deg, var(--dark) 4%, rgba(0,0,30,.82) 22%, rgba(0,0,30,.1) 52%, rgba(0,0,30,.3) 100%),
    linear-gradient(180deg, var(--dark) 6%, transparent 22%, transparent 80%, var(--dark) 96%);
}
.wall-col { overflow: hidden; }
.wall-track { display: flex; flex-direction: column; gap: 14px; animation: wall-up 80s linear infinite; }
.wall-col-2 .wall-track { animation-name: wall-down; animation-duration: 95s; }
.wall-col-3 .wall-track { animation-duration: 210s; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.wall-tile { display: block; margin: 0; position: relative; background: #12123a; aspect-ratio: 4 / 3; overflow: hidden; flex: none; color: inherit; text-decoration: none; -webkit-user-drag: none; }
.wall-tile img { -webkit-user-drag: none; user-select: none; }
/* JS-sel a falat és a szalagot a main.js mozgatja (görgővel, húzással is); JS nélkül marad a CSS-animáció */
.js .hero-wall .wall-track, .js .ticker-mask .ticker-track { animation: none; will-change: transform; }
.js .wall-col { user-select: none; -webkit-user-select: none; }
/* Asztalon csak a jobb szélső (teljes) oszlop mozgatható görgővel/húzással */
@media (min-width: 921px) { .js .wall-col-3 { touch-action: pan-x; } }
.js .ticker-mask { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.js .ticker-mask:active { cursor: grabbing; }
.wall-col-2 .wall-tile:nth-child(odd) { aspect-ratio: 3 / 4; }
.wall-col-1 .wall-tile:nth-child(3n) { aspect-ratio: 1; }
.wall-tile img { width: 100%; height: 100%; object-fit: cover; }
.wall-tile .wall-cap {
  position: absolute; left: 0; bottom: 0; background: var(--cyan); color: var(--dark); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; line-height: 1.3;
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 72px; }
/* A szövegréteg átengedi az egeret a képfalnak; csak maga a szöveg és a gombok fogják meg */
.hero-inner { pointer-events: none; }
.hero-text { pointer-events: auto; }
.hero-text { max-width: 600px; }
.eyebrow { text-transform: uppercase; font-weight: 700; letter-spacing: .1em; font-size: 13px; color: var(--cyan); margin-bottom: 18px; }
.hero-title { color: #fff; border-left: clamp(8px, 1vw, 13px) solid var(--cyan); padding-left: clamp(16px, 2vw, 26px); }
.hero-big { display: block; font-size: clamp(96px, 14.5vw, 190px); line-height: .86; letter-spacing: -.035em; color: var(--cyan); font-variant-numeric: tabular-nums; }
/* A hosszabb szavak (pl. "blockchain-uri") kisebb betűvel, hogy mindig egy sorban férjenek el */
.hero-big-label { display: block; font-size: min(clamp(44px, 6.2vw, 82px), calc(190cqi / var(--len, 8))); line-height: 1; letter-spacing: -.02em; margin-top: 6px; white-space: nowrap; }

/* Váltakozó számok: mind ugyanabban a rácscellában, így a hero magassága nem ugrál */
.hero-rot { display: grid; container-type: inline-size; }
.hero-stat { grid-area: 1 / 1; display: block; opacity: 0; transform: translateY(28px); pointer-events: none;
  transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.hero-stat.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-stat.is-out { transform: translateY(-28px); }
.hero-ticks { display: none; gap: 6px; margin-top: 16px; }
.js .hero-ticks { display: flex; }
.tick { position: relative; width: 48px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.tick::before, .tick-fill { position: absolute; left: 0; top: 10px; height: 4px; }
.tick::before { content: ""; right: 0; background: rgba(255, 255, 255, .22); transition: background .2s; }
.tick:hover::before { background: rgba(255, 255, 255, .45); }
.tick-fill { width: 0; background: var(--cyan); }
.tick.is-active .tick-fill { animation: tick-fill 6s linear forwards; }
.hero-title:hover ~ .hero-ticks .tick-fill, .hero-ticks:hover .tick-fill, .hero-ticks:has(.tick:focus-visible) .tick-fill { animation-play-state: paused; }
.tick:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@keyframes tick-fill { from { width: 0; } to { width: 100%; } }
.hero-sub { margin-top: 22px; font-weight: 900; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.25; }
.hero-lead { margin-top: 14px; font-size: clamp(16px, 1.4vw, 18px); color: #c9cce0; max-width: 560px; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 32px; }
.hero-camel { pointer-events: none; position: absolute; z-index: 3; right: var(--gutter); bottom: -2px; width: clamp(110px, 12vw, 170px); }

/* ── Számok + díjak ─────────────────────────────── */
.numbers { background: var(--cyan); color: var(--dark); padding: 44px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.num { padding: 4px 14px; border-left: 2px solid rgba(0,0,30,.18); }
.num:first-child { border-left: 0; padding-left: 0; }
.num strong { display: block; font-weight: 900; font-size: clamp(40px, 4.4vw, 62px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; }

/* ── Futó névszalag ────────────────────────────── */
.ticker { background: var(--dark); color: #fff; display: flex; align-items: center; overflow: hidden; }
.ticker-label { flex: none; position: relative; z-index: 2; padding: 18px 22px 18px var(--gutter); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); white-space: nowrap; }
.ticker-mask { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; flex: none; animation: ticker 120s linear infinite; }
.ticker-track li { white-space: nowrap; font-weight: 900; font-size: 18px; padding: 18px 0; }
.ticker-track li::after { content: "✦"; color: var(--cyan); font-size: 12px; margin: 0 26px; vertical-align: 3px; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ── Szekciók ──────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 48px); }
.kicker { text-transform: uppercase; font-weight: 700; letter-spacing: .1em; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--cyan); vertical-align: 4px; margin-right: 10px; }
.section-head h2 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.02em; }
.section-head p:last-child { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 720px; }
h2 span { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: .13em; text-underline-offset: .12em; text-decoration-skip-ink: none; }

/* ── Múzeumok ──────────────────────────────────── */
.museums { background: var(--light); padding-bottom: 0; }
.mstats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(56px, 7vw, 88px); border-top: 4px solid var(--dark); }
.mstats div { padding: 22px 20px 0 0; }
.mstats strong { display: block; font-weight: 900; font-size: clamp(36px, 4.4vw, 58px); line-height: 1; color: var(--dark); }
.mstats span { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.flagship { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(64px, 8vw, 104px); }
.flagship.flip .flagship-media { order: 2; }
/* Zászlóshajó-képek vágás nélkül, eredeti arányban: fent 1/1, alatta 1/2 + 1/4 + 1/4 (két telefonkép) */
.flagship-media { display: flex; flex-direction: column; gap: 10px; }
.fm-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.fm { overflow: hidden; background: #dde0e6; min-height: 0; }
/* Kattintható bemutató-képek (nagyban nyílnak meg) */
a.zoom { display: block; cursor: zoom-in; }
a.zoom:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.cat-img a.zoom, .b-img a.zoom { width: 100%; height: 100%; }
.fm img { display: block; width: 100%; height: auto; transition: transform .6s; }
.fm:hover img { transform: scale(1.04); }
/* Mobilos (PWA) képernyők: két külön kép egymás mellett, sötét háttéren */
/* Telefonképek: a sor magasságát a mellettük lévő fél kép adja, ehhez igazodnak vágás nélkül, a negyedük közepén */
.fm-phone { position: relative; background: none; overflow: visible; }
.fm-phone a.zoom { position: absolute; inset: 0; display: flex; justify-content: center; }
.fm-phone img { width: auto; height: 100%; max-width: 100%; object-fit: contain; box-shadow: 0 8px 22px rgba(0, 0, 30, .28); }
.fm-phone:hover img { transform: none; }
.flagship-place { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--muted); }
.flagship-place span { background: var(--dark); color: var(--cyan); padding: 3px 8px; margin-right: 8px; letter-spacing: .04em; }
.flagship h3 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0; letter-spacing: -.01em; }
.flagship-lead { font-size: 18px; color: #2f3242; }
.flagship-facts { display: flex; flex-wrap: wrap; row-gap: 14px; margin: 24px 0; }
.flagship-facts div { padding-right: 22px; margin-right: 22px; border-right: 2px solid var(--line); }
.flagship-facts div:last-child { border-right: 0; margin-right: 0; }
.flagship-facts strong { display: block; font-size: 52px; font-weight: 900; line-height: 1; color: var(--dark); }
.flagship-facts span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); max-width: 160px; line-height: 1.3; margin-top: 6px; }
.ticks li { position: relative; padding-left: 28px; margin-top: 9px; font-size: 16px; color: #2f3242; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 3px solid var(--cyan-ink); border-bottom: 3px solid var(--cyan-ink); transform: rotate(-45deg); }

.sub-head { max-width: 720px; margin-bottom: 32px; }
.sub-head h3 { font-size: clamp(28px, 3.4vw, 42px); }
.sub-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat { background: #fff; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -26px rgba(0,0,30,.4); }
.cat-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dde0e6; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan-ink); }
.cat h3 { font-size: 21px; }
.cat p { font-size: 15px; color: #3a3d4a; }
.cat .cat-also { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }
.cat .ext-link { align-self: flex-start; margin-top: 6px; }

.fleet { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--dark); color: #fff; padding: clamp(28px, 4vw, 44px); margin-top: 40px; }
.fleet-icon { color: var(--cyan); }
.fleet h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.fleet p { color: #c9cce0; margin-top: 8px; max-width: 860px; }

.timeline-wrap { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.timeline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.timeline-title { font-size: clamp(24px, 3vw, 36px); }
.tl-nav { display: flex; gap: 8px; flex: none; }
.tl-btn { width: 44px; height: 44px; display: grid; place-items: center; background: var(--dark); color: #fff; border: 2px solid var(--dark); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.tl-btn:hover { background: var(--cyan); color: var(--dark); border-color: var(--cyan); }
.tl-btn:disabled { opacity: .25; cursor: default; background: var(--dark); color: #fff; border-color: var(--dark); }
.timeline-frame { position: relative; }
.timeline-frame::after { content: ""; position: absolute; top: 0; right: 0; bottom: 18px; width: 72px; pointer-events: none; background: linear-gradient(90deg, rgba(244,245,247,0), var(--light)); transition: opacity .3s; }
.timeline-frame.at-end::after { opacity: 0; }
.timeline { display: flex; overflow-x: auto; padding: 10px 0 18px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--dark) transparent; }
.timeline li { flex: 0 0 230px; border-top: 4px solid var(--dark); padding: 18px 22px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; background: var(--cyan); border: 4px solid var(--dark); box-sizing: border-box; }
.tl-year { display: block; font-weight: 900; font-size: 28px; color: var(--dark); line-height: 1; margin-bottom: 8px; }
.timeline b { display: block; font-size: 15.5px; line-height: 1.3; color: var(--dark); }
.tl-place { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.timeline li:last-child::before { background: #fff; }
.timeline li:last-child .tl-year { color: var(--cyan-ink); }

/* ── Bento ─────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.b { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--light); }
.b h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.b p { font-size: 15.5px; color: #3a3d4a; }
.b .b-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan-ink); margin-bottom: 8px; }
.b-body { padding: 24px 26px 22px; display: flex; flex-direction: column; flex: 1; }
.b-img { overflow: hidden; background: #e4e6ea; aspect-ratio: 16 / 9; }
.b-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.b:hover .b-img img { transform: scale(1.04); }
.b-img-duo { display: grid; grid-template-columns: 1fr 1fr; }
.b .b-also { margin-top: 12px; font-size: 14px; color: var(--muted); }
.b-links { margin-top: auto; padding-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--dark); color: #fff; padding: 4px 9px; }

.b-games { grid-column: span 8; }
/* A Részvényfutam képernyőkép a saját arányában, vágás nélkül (minden szélességen) */
.b-games .b-img { aspect-ratio: 1500 / 716; background: #fff; border-bottom: 1px solid #e1e3e8; }
.b-award { grid-column: span 4; background: var(--dark); color: #fff; padding: 26px; }
.b-award .b-cat { color: var(--cyan); }
.b-award h3 { color: #fff; font-size: 22px; margin-top: 14px; }
.b-award p { color: #c9cce0; }
.award-badge { display: flex; align-items: center; gap: 12px; color: var(--cyan); }
.award-badge strong { font-size: clamp(28px, 2.8vw, 38px); font-weight: 900; line-height: 1; }
.b-award .award-rating { margin-top: 10px; font-weight: 700; color: #fff; font-size: 16px; }
/* Három hivatalos App Store-kép egymás mellett; a szélesség a hasábból, a magasság az arányból jön, így nem torzul */
.award-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; max-width: 360px; }
.award-shots img { width: 100%; height: auto; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.b-award .ext-link { color: #fff; }
.b-award .ext-link:hover { color: var(--dark); }

.b-casino { grid-column: span 4; background: var(--cyan); padding: 26px; }
.b-casino .b-cat { color: var(--dark); }
.b-casino p { color: var(--dark); }
.casino-big { display: flex; flex-direction: column; margin-bottom: 12px; }
.casino-big strong { font-size: clamp(72px, 8vw, 112px); line-height: .9; font-weight: 900; letter-spacing: -.03em; color: var(--dark); }
.casino-big span { font-weight: 900; font-size: 22px; color: var(--dark); }
.b-casino a.zoom { margin: auto -26px 0; width: calc(100% + 52px); }
.casino-img { width: 100%; max-width: none; mix-blend-mode: multiply; }
.b-casino .b-also { color: rgba(0,0,30,.8); }
.b-mobile { grid-column: span 4; }
.b-mobile .b-img { background: #0f3d2e; }
.b-webapps { grid-column: span 4; }
.b-webapps .b-img img { object-position: top; }
.b-blockchain { grid-column: span 7; }
.b-blockchain .b-img { aspect-ratio: 2 / 1; }
.b-web { grid-column: span 5; }
.b-web .b-img { aspect-ratio: 2 / 1; }
.b-web .b-img a:first-child img { object-fit: contain; padding: 8px; }
.b-web .b-img a:last-child img { object-position: left top; }

/* ── Vezetőség ─────────────────────────────────── */
.team { background: var(--light); }
.team-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 52px); }
.team-top .section-head { margin-bottom: 0; }
.tstats { border-top: 4px solid var(--dark); }
.tstats div { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tstats strong { font-size: 44px; font-weight: 900; line-height: 1; color: var(--dark); }
.tstats span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader { background: #fff; padding: 28px; display: flex; flex-direction: column; border-top: 6px solid var(--cyan); transition: transform .25s, box-shadow .25s; }
.leader:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -26px rgba(0,0,30,.4); }
.leader-head { display: flex; align-items: center; gap: 18px; }
.leader-head img { width: 104px; height: 104px; object-fit: cover; flex: none; filter: grayscale(1); transition: filter .4s; }
.leader:hover .leader-head img { filter: none; }
.leader h3 { font-size: 21px; text-transform: uppercase; line-height: 1.15; }
.leader-role { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--cyan-ink); }
.leader-bio { margin-top: 20px; font-size: 15.5px; color: #3a3d4a; }
.leader-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.leader-tags li { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--dark); color: #fff; padding: 4px 9px; }

/* ── ISO ───────────────────────────────────────── */
.iso { padding: clamp(56px, 7vw, 88px) 0; }
.iso-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.iso-logo { background: #fff; padding: 20px; border: 1px solid var(--line); }
.iso-logo img { width: 280px; }
.iso-text h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.iso-text p { max-width: 760px; color: #3a3d4a; }
.iso-text .iso-details { margin-top: 14px; font-size: 14px; color: var(--muted); }
.iso-links { margin-top: 20px; display: flex; gap: 28px; flex-wrap: wrap; }

/* ── Kapcsolat ─────────────────────────────────── */
.contact { background: var(--cyan); color: var(--dark); padding: clamp(64px, 9vw, 112px) 0; }
.contact-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.contact-top h2 { font-size: clamp(40px, 6.6vw, 92px); letter-spacing: -.025em; line-height: 1; }
.contact-top h2 span { text-decoration-color: var(--dark); }
.contact-top p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 480px; }
.contact-row { display: grid; grid-template-columns: 1.45fr .85fr 1.6fr .85fr; gap: 32px; border-top: 4px solid var(--dark); padding-top: 28px; }
.contact-row h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 10px; }
.contact-row p, .contact-row a { font-size: 18px; text-decoration: none; }
.contact-row a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-row .contact-mail { display: inline-block; font-weight: 900; font-size: clamp(20px, 1.85vw, 25px); border-bottom: 5px solid var(--dark); line-height: 1.25; white-space: nowrap; }
.contact-row .contact-mail:hover { color: #fff; text-decoration: none; }
.social { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ── Lábléc ────────────────────────────────────── */
.site-footer { background: var(--dark); color: #c5c8d6; padding: 40px 0; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.footer-note { grid-column: 2; }
.lang-footer { grid-row: 1 / span 2; grid-column: 3; border-color: #fff; }
.lang-footer a { color: #fff; }
.lang-footer a[aria-current] { background: #fff; color: var(--dark); }
.lang-footer a:not([aria-current]):hover { color: var(--dark); }

/* ── Nyelvi javaslat ───────────────────────────── */
.lang-hint { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 520px; margin: 0 auto; background: #fff; color: var(--dark); border: 2px solid var(--dark); padding: 14px 52px 14px 18px; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,30,.25); }
.lang-hint a { color: var(--dark); font-weight: 700; margin-left: 6px; border-bottom: 3px solid var(--cyan); text-decoration: none; }
.lang-hint-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--dark); font-size: 26px; cursor: pointer; width: 40px; height: 40px; }

/* ── Megjelenés görgetésre ─────────────────────── */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Számláló: csak a ::after réteg pörög, a valódi szöveg (SEO) a helyén marad ── */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.counting { position: relative; -webkit-text-fill-color: transparent; }
.counting::after {
  content: counter(n) attr(data-suffix);
  counter-reset: n var(--n);
  position: absolute; inset: 0; white-space: nowrap;
  -webkit-text-fill-color: currentColor;
  animation: count-up 1.4s cubic-bezier(.33, 1, .68, 1) forwards;
}
@keyframes count-up { from { --n: 0; } to { --n: var(--to); } }

/* ── Ugrás egy projektre: rövid cián kiemelés a célponton ── */
@keyframes target-flash { 0%, 55% { box-shadow: 0 0 0 4px var(--cyan); } 100% { box-shadow: 0 0 0 4px rgba(0, 213, 255, 0); } }
.cat:target, .b:target, .flagship:target .flagship-media, .timeline li:target { animation: target-flash 2.4s ease-out; }
.timeline li { scroll-margin-inline: 24px; }

/* ── Lightbox (nagy kép) ───────────────────────── */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 30, .96); color: #fff; overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 30, .7); }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto;
  object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); touch-action: pan-y; user-select: none; }
.lightbox figcaption { font-size: 15px; color: #c9cce0; text-align: center; max-width: 720px; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255, 255, 255, .08);
  border: 0; color: #fff; cursor: pointer; font-size: 34px; line-height: 1; transition: background .2s; }
.lb-btn:hover { background: var(--cyan); color: var(--dark); }
.lb-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 640px) {
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lightbox img { max-height: calc(100dvh - 190px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); }
}

/* ── 404 ───────────────────────────────────────── */
.nf-main { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.nf-code { font-weight: 900; font-size: clamp(110px, 20vw, 200px); line-height: .9; letter-spacing: -.04em; margin: 48px 0 12px; color: var(--dark); }
.nf-code .dot { color: var(--cyan); }
.nf-lang { padding: 22px 0; border-top: 4px solid var(--dark); }
.nf-lang h1, .nf-lang h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 0 0 6px; }
.nf-lang p { margin: 0; font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .timeline { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wall-track, .ticker-track { animation: none !important; }
  /* Mozgáscsökkentésnél nincs automatikus váltás, csak kattintásra */
  .hero-stat { transition: none; }
  .tick.is-active .tick-fill { animation: none; width: 100%; }
  html:not(.js) .ticker-mask { overflow-x: auto; }
  .fm img, .b-img img, .cat, .leader, .leader-head img { transition: none; }
}

/* ── Reszponzív ────────────────────────────────── */
@media (max-width: 1120px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .num:nth-child(4) { border-left: 0; padding-left: 0; }
  .header-cta { display: none; }
  .b-games { grid-column: span 12; }
  .b-award, .b-casino, .b-mobile, .b-webapps, .b-blockchain, .b-web { grid-column: span 6; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; background: #fff;
    padding: 8px var(--gutter) 24px; border-bottom: 2px solid var(--dark); margin: 0;
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .header-tools { margin-left: auto; }
  .brand img { width: 100px; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-wall { position: relative; inset: auto; width: 100%; height: 260px; transform: none; display: block; }
  .hero-wall::after { inset: 0; background: linear-gradient(180deg, var(--dark) 0%, transparent 22%, transparent 78%, var(--dark) 100%); }
  /* Mobilon a teljes (3.) oszlop fut vízszintesen, ujjal húzható */
  .wall-col-1, .wall-col-2 { display: none; }
  .wall-col-3 .wall-track { flex-direction: row; width: max-content; animation: wall-left 150s linear infinite; }
  .js .wall-col-3 { height: 100%; touch-action: pan-y; cursor: grab; }
  .js .wall-col-3:active { cursor: grabbing; }
  .wall-col-3 .wall-tile { width: 280px; height: 210px; aspect-ratio: auto; }
  .hero-inner { padding-top: 40px; padding-bottom: 28px; }
  .hero-camel { display: none; }
  .mstats { grid-template-columns: repeat(2, 1fr); }
  .mstats div { padding-bottom: 18px; }
  .flagship, .flagship.flip { grid-template-columns: 1fr; }
  .flagship.flip .flagship-media { order: 0; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .iso-inner { grid-template-columns: 1fr; }
  .team-top, .contact-top { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .contact-row .c-mail, .contact-row > div:last-child { grid-column: 1 / -1; }
  .leaders { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-note, .lang-footer { grid-column: auto; grid-row: auto; }
  .lang-footer { justify-self: start; }
}
@keyframes wall-left { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lang a { padding: 4px 6px; }
  .hero-wall { height: 200px; }
  .wall-col-3 .wall-tile { width: 220px; height: 165px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num, .num:nth-child(4) { border-left: 0; padding-left: 0; }
  .num:nth-child(even) { border-left: 2px solid rgba(0,0,30,.18); padding-left: 14px; }
  .ticker-label { display: none; }
  .flagship-facts strong { font-size: 40px; }
  .flagship-facts div { padding-right: 14px; margin-right: 14px; }
  .flagship-facts span { font-size: 12px; }
  .cats { grid-template-columns: 1fr; }
  .timeline li { flex-basis: 200px; }
  .tl-btn { width: 40px; height: 40px; }
  .b-award, .b-casino, .b-mobile, .b-webapps, .b-blockchain, .b-web { grid-column: span 12; }
  .leaders { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .tstats div { grid-template-columns: 90px 1fr; }
  .tstats strong { font-size: 36px; }
}
