/* Bluff Parlor – közös portál. Három téma, fülenként:
   games    → gamer launcher (sötét, neon, izzó csempék)
   programs → futurisztikus Windows / AI (akril üveg, fényfoltok, ablakkártyák)
   poker    → kaszinó (zöld poszt, fa keret, arany zsetonok, kártyák) */
:root { --radius: 14px; --font: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif; --t: .45s cubic-bezier(.2, .8, .2, 1); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); transition: background var(--t), color var(--t); overflow-x: hidden; line-height: 1.5; }
a { color: var(--accent); }
button { font: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- téma-változók ---------- */
body[data-theme="games"] { --bg: #07080d; --panel: rgba(16, 18, 28, .82); --line: rgba(120, 140, 255, .18); --text: #e8ebff; --muted: #8b90b3;
  --accent: #22e3ff; --accent-2: #b14cff; --btn-ink: #06070c; --grad: linear-gradient(90deg, #22e3ff, #b14cff); }
body[data-theme="programs"] { --bg: #0b0e17; --panel: rgba(32, 38, 58, .55); --line: rgba(255, 255, 255, .12); --text: #eef2ff; --muted: #a3acc7;
  --accent: #60cdff; --accent-2: #8a7dff; --btn-ink: #041018; --grad: linear-gradient(120deg, #60cdff, #8a7dff 55%, #ff7ac8); }
body[data-theme="apps"] { --bg: #eef2f9; --panel: rgba(255, 255, 255, .72); --line: rgba(30, 45, 90, .12); --text: #121833; --muted: #5d6685;
  --accent: #2f6bff; --accent-2: #8a5bff; --btn-ink: #fff; --grad: linear-gradient(135deg, #2f6bff, #8a5bff); }
body[data-theme="poker"] { --bg: #050505; --panel: rgba(12, 11, 9, .85); --line: rgba(245, 197, 66, .35); --text: #f7efd8; --muted: #a79d86;
  --accent: #f5c542; --accent-2: #fff1b8; --btn-ink: #140f02; --grad: linear-gradient(180deg, #fff1b8, #f5c542 45%, #b8860b); }

/* ---------- háttér-effektek ---------- */
.fx, .fx > div { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fx > div { opacity: 0; transition: opacity var(--t); }
body[data-theme="games"] .fx-games, body[data-theme="apps"] .fx-apps, body[data-theme="programs"] .fx-programs, body[data-theme="poker"] .fx-poker { opacity: 1; }
.fx-games .grid { position: absolute; inset: -50% -50% 0; background:
    linear-gradient(rgba(34, 227, 255, .08) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(177, 76, 255, .08) 1px, transparent 1px) 0 0 / 60px 60px;
  transform: perspective(600px) rotateX(58deg) translateY(10%); transform-origin: 50% 100%; animation: gridmove 12s linear infinite;
  mask-image: linear-gradient(transparent, #000 60%); }
@keyframes gridmove { to { background-position: 0 60px, 60px 0; } }
.fx-games .glow { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(90px); opacity: .28; }
.fx-games .glow.a { background: #22e3ff; top: -30vw; left: -20vw; } .fx-games .glow.b { background: #b14cff; top: -20vw; right: -25vw; }
.fx-programs .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.fx-programs .blob.a { width: 46vw; height: 46vw; background: #2f7dff; top: -10vw; left: -10vw; }
.fx-programs .blob.b { width: 40vw; height: 40vw; background: #8a5bff; bottom: -12vw; right: -8vw; animation-delay: -6s; }
.fx-programs .blob.c { width: 30vw; height: 30vw; background: #ff5ab8; top: 30%; left: 45%; opacity: .3; animation-delay: -11s; }
@keyframes float { to { transform: translate(6vw, 4vw) scale(1.12); } }
.fx-programs .noise { position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 3px 3px; }
.fx-poker { background: radial-gradient(ellipse at 50% -10%, #2a2008 0%, #0a0805 45%, #030303 100%); }
.fx-poker .beam { position: absolute; top: -20%; width: 32vw; height: 140%; background: linear-gradient(180deg, rgba(245, 197, 66, .28), transparent 70%); filter: blur(30px); transform-origin: 50% 0; animation: sweep 9s ease-in-out infinite alternate; }
.fx-poker .beam.a { left: 12%; transform: rotate(18deg); } .fx-poker .beam.b { right: 12%; transform: rotate(-18deg); animation-delay: -4.5s; }
@keyframes sweep { from { opacity: .35; } to { opacity: .9; transform: rotate(0deg); } }
.fx-poker .dust { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #f5c542, transparent), radial-gradient(1px 1px at 30% 70%, #fff1b8, transparent), radial-gradient(1.5px 1.5px at 55% 35%, #f5c542, transparent), radial-gradient(1px 1px at 75% 80%, #fff1b8, transparent), radial-gradient(2px 2px at 88% 15%, #f5c542, transparent), radial-gradient(1px 1px at 45% 90%, #f5c542, transparent);
  background-size: 400px 400px; animation: twinkle 6s linear infinite; opacity: .55; }
@keyframes twinkle { to { background-position: 0 -400px; } }
.fx-poker .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0, 0, 0, .75)); }

/* ---------- fejléc ---------- */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 12px max(16px, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo .mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--btn-ink); background: var(--grad); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.logo .word { font-weight: 800; letter-spacing: .18em; font-size: 15px; }
.logo .word b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tabs { display: flex; gap: 6px; margin: 0 auto; }
.tabs button { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font-weight: 600; transition: color .2s, background .2s, border-color .2s; }
.tabs button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.tabs button.on { color: var(--text); background: rgba(255, 255, 255, .07); border-color: var(--line); box-shadow: inset 0 -2px 0 var(--accent); }
.tabs .age { font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: #d33b3b; color: #fff; }
.account { display: flex; gap: 8px; align-items: center; font-size: 14px; }

/* ---------- közös elemek ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 24px 16px 48px; min-height: 60vh; animation: in .5s ease; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; border: 0; font-weight: 700; text-decoration: none; color: var(--btn-ink); background: var(--grad); transition: transform .15s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.muted { color: var(--muted); }
.link { background: none; border: 0; color: var(--accent); text-decoration: underline; padding: 0; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 14px; }
.section-title h2 { margin: 0; font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--muted); }

/* ---------- JÁTÉKOK: gamer launcher ---------- */
[data-theme="games"] h1, [data-theme="games"] h2, [data-theme="games"] h3 { font-family: 'Orbitron', var(--font); letter-spacing: .04em; }
.hero { position: relative; min-height: 380px; border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; padding: 34px; background: #000 center / cover no-repeat; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 13, .95) 0%, rgba(7, 8, 13, .6) 45%, transparent 75%), linear-gradient(0deg, rgba(7, 8, 13, .9), transparent 50%); }
.hero > * { position: relative; }
.hero .copy { max-width: 540px; display: grid; gap: 12px; }
.hero .kicker { font-size: 12px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.05; font-weight: 900; text-shadow: 0 0 30px rgba(34, 227, 255, .35); }
.hero p { margin: 0; color: #c9cdf0; }
.hero .btn { justify-self: start; font-size: 16px; padding: 13px 26px; box-shadow: 0 0 28px rgba(34, 227, 255, .45); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .2s, box-shadow .25s, border-color .25s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px rgba(34, 227, 255, .22); }
.tile .img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a1f3a, #2a1240) center / cover no-repeat; display: grid; place-items: center; font-family: 'Orbitron', var(--font); font-weight: 900; font-size: 42px; color: rgba(255, 255, 255, .85); }
.tile .body { padding: 14px; display: grid; gap: 8px; }
.tile h3 { margin: 0; font-size: 16px; }
.tile p { margin: 0; font-size: 13px; color: var(--muted); }
.tile .badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 3px 9px; border-radius: 6px; background: var(--grad); color: var(--btn-ink); text-transform: uppercase; }

/* ---------- PROGRAMOK: Windows / AI, akril ablakok ---------- */
.intro { display: grid; gap: 6px; margin: 10px 0 24px; }
.intro h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro p { margin: 0; color: var(--muted); max-width: 620px; }
.windows { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.win { border-radius: 12px; background: var(--panel); backdrop-filter: blur(28px) saturate(1.4); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; transition: transform .2s, box-shadow .25s; }
.win:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(96, 205, 255, .5); }
.win .titlebar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.win .appico { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--grad); color: var(--btn-ink); font-size: 11px; font-weight: 800; }
.win .ctrl { margin-left: auto; display: flex; gap: 14px; font-size: 12px; opacity: .7; }
.win .content { padding: 18px; display: grid; gap: 10px; }
.win h3 { margin: 0; font-size: 20px; font-weight: 600; }
.win p { margin: 0; color: var(--muted); font-size: 14px; }
.win .ai { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--accent); }
.win .ai::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--accent); }

/* ---------- PÓKER: modern fekete-arany, LED-es, animált ---------- */
[data-theme="poker"] h1, [data-theme="poker"] h2, [data-theme="poker"] h3 { font-family: 'Playfair Display', Georgia, serif; }
.table { position: relative; border-radius: 26px; padding: 50px clamp(18px, 5vw, 64px) 40px; margin: 12px 0 20px; background: linear-gradient(160deg, #15120b, #070605 55%, #0e0b06); box-shadow: 0 0 0 1px rgba(245, 197, 66, .55), 0 0 40px rgba(245, 197, 66, .18), 0 40px 90px rgba(0, 0, 0, .8); isolation: isolate; }
/* körbefutó LED-sor a keret mentén */
.table::before { content: ''; position: absolute; inset: 8px; border-radius: 20px; padding: 3px; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, #fff1b8 0 6px, transparent 6px 22px), repeating-linear-gradient(0deg, #fff1b8 0 6px, transparent 6px 22px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 4px #f5c542) drop-shadow(0 0 10px rgba(245, 197, 66, .7)); animation: chase 1.4s linear infinite; }
@keyframes chase { to { background-position: 22px 0, 0 22px; } }
.table::after { content: ''; position: absolute; inset: 0; border-radius: 26px; z-index: -2; background: radial-gradient(ellipse at 50% 0%, rgba(245, 197, 66, .16), transparent 60%); }
.table h1 { margin: 0 0 6px; text-align: center; font-size: clamp(34px, 5vw, 54px); font-style: italic; letter-spacing: .02em;
  background: linear-gradient(100deg, #b8860b 0%, #fff1b8 25%, #f5c542 45%, #fff9e0 50%, #f5c542 55%, #b8860b 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gold 5s linear infinite; filter: drop-shadow(0 0 14px rgba(245, 197, 66, .45)); }
@keyframes gold { to { background-position: -250% 0; } }
.table .sub { text-align: center; color: var(--muted); margin: 0 0 22px; letter-spacing: .02em; }
.notice { margin: 30px auto 0; text-align: center; max-width: 760px; padding: 12px 16px; border-radius: 12px; background: rgba(245, 197, 66, .06); border: 1px solid rgba(245, 197, 66, .3); font-size: 13px; color: var(--muted); }
.cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; perspective: 900px; }
.pcard { position: relative; width: 250px; min-height: 360px; border-radius: 18px; padding: 26px 20px 20px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; color: var(--text);
  background: linear-gradient(160deg, #1b170d, #0b0906 60%, #15110a); border: 1px solid rgba(245, 197, 66, .6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8) inset, 0 0 26px rgba(245, 197, 66, .18), 0 24px 50px rgba(0, 0, 0, .7); transition: transform .35s, box-shadow .35s; }
.pcard:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8) inset, 0 0 40px rgba(245, 197, 66, .4), 0 30px 60px rgba(0, 0, 0, .8); }
/* végigsuhanó fénycsík */
.pcard > .shine { position: absolute; top: -40%; bottom: -40%; left: -60%; width: 40%; transform: rotate(20deg); background: linear-gradient(90deg, transparent, rgba(255, 241, 184, .22), transparent); animation: shine 5s ease-in-out infinite; pointer-events: none; }
.pcard:nth-child(2) > .shine { animation-delay: -2.5s; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.pcard::before, .pcard::after { content: attr(data-suit); position: absolute; font-size: 24px; line-height: 1; color: var(--accent); text-shadow: 0 0 8px rgba(245, 197, 66, .7); }
.pcard::before { top: 12px; left: 14px; } .pcard::after { bottom: 12px; right: 14px; transform: rotate(180deg); }
.pcard h3 { margin: 6px 0 0; font-size: 30px; text-align: center; color: var(--accent-2); text-shadow: 0 0 16px rgba(245, 197, 66, .5); }
.pcard p { margin: 0; font-size: 13px; color: var(--muted); text-align: center; flex: 1; }
.pcard .code { align-self: center; font-family: ui-monospace, monospace; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; color: var(--btn-ink); background: var(--grad); box-shadow: 0 0 12px rgba(245, 197, 66, .45); }
.chip-btn { align-self: center; display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--btn-ink);
  background: radial-gradient(circle, #fff1b8 0 34%, #f5c542 35% 50%, #140f02 51% 55%, transparent 56%), conic-gradient(#f5c542 0 10%, #140f02 0 15%, #f5c542 0 35%, #140f02 0 40%, #f5c542 0 60%, #140f02 0 65%, #f5c542 0 85%, #140f02 0 90%, #f5c542 0);
  box-shadow: 0 0 0 3px #f5c542, 0 0 22px rgba(245, 197, 66, .7); animation: pulse 2.2s ease-in-out infinite; transition: transform .25s; }
.chip-btn:hover { transform: rotate(30deg) scale(1.06); }
@keyframes pulse { 50% { box-shadow: 0 0 0 3px #fff1b8, 0 0 36px rgba(245, 197, 66, .95); } }
.gate { max-width: 460px; margin: 0 auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.gate .big { font-size: 64px; line-height: 1; color: var(--accent); filter: drop-shadow(0 0 16px rgba(245, 197, 66, .7)); }
.gate h2 { margin: 0; color: var(--accent-2); }
.gate form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.gate input { padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .5); color: var(--text); font: inherit; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { .table::before, .table h1, .pcard > .shine, .chip-btn, .fx-poker .beam, .fx-poker .dust { animation: none; } }

/* ---------- belépés / regisztráció ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.modal { width: min(420px, 100%); max-height: 92vh; overflow-y: auto; padding: 22px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 88%, #fff 4%); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal h2 { margin: 0 0 6px; }
.modal form { display: grid; gap: 8px; }
.modal label { font-size: 13px; color: var(--muted); }
.modal input, .modal select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; }
.modal .check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text); }
.modal .check input { width: auto; margin-top: 3px; }
.modal .switch { margin-top: 10px; font-size: 14px; }
.err { color: #ff8a8a; font-size: 13px; min-height: 1em; }

.foot { max-width: 1180px; margin: 0 auto; padding: 18px 16px 30px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .bar { flex-wrap: wrap; gap: 10px; }
  .tabs { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .tabs button { padding: 7px 10px; font-size: 14px; }
  .account { margin-left: auto; }
  .hero { min-height: 320px; padding: 20px; }
  .table { border-radius: 20px; padding: 36px 14px 28px; }
}
@media (prefers-reduced-motion: reduce) { .fx-games .grid, .fx-programs .blob { animation: none; } main { animation: none; } }

.pcard .qr { align-self: center; width: 124px; height: 124px; image-rendering: pixelated; border-radius: 10px; background: #fff; padding: 5px; box-shadow: 0 0 0 2px #f5c542, 0 0 18px rgba(245, 197, 66, .45); }

/* ---------- póker: promóciós bannerek ---------- */
.promo-btn { align-self: center; display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: 999px; cursor: pointer; font: 600 13px/1 inherit; font-family: inherit;
  color: var(--accent-2); background: rgba(245, 197, 66, .08); border: 1px solid rgba(245, 197, 66, .55); box-shadow: 0 0 10px rgba(245, 197, 66, .2); transition: background .2s, box-shadow .2s; }
.promo-btn b { min-width: 18px; padding: 2px 5px; border-radius: 999px; color: var(--btn-ink); background: var(--grad); font-size: 11px; }
.promo-btn:hover { background: rgba(245, 197, 66, .18); box-shadow: 0 0 18px rgba(245, 197, 66, .5); }
.promo-bg { background: rgba(0, 0, 0, .85); }
.promo-view { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; max-width: min(96vw, 620px); }
.promo-view img { grid-column: 2; width: 100%; max-height: calc(92vh - 70px); min-height: 200px; object-fit: contain; border-radius: 16px; box-shadow: 0 0 0 1px rgba(245, 197, 66, .6), 0 0 40px rgba(245, 197, 66, .25); background: #0b0906; }
.promo-nav, .promo-x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(245, 197, 66, .6); background: rgba(10, 8, 4, .8); color: #f5c542; font-size: 24px; line-height: 1; cursor: pointer; }
.promo-nav:hover, .promo-x:hover { background: rgba(245, 197, 66, .2); }
.promo-nav[hidden] { visibility: hidden; display: block; }
.promo-x { position: absolute; top: -8px; right: 44px; z-index: 1; font-size: 18px; }
.promo-foot { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .promo-view { grid-template-columns: minmax(0, 1fr); } .promo-view img { grid-column: 1; } .promo-nav { position: absolute; top: 45%; z-index: 1; } .promo-nav.prev { left: 4px; } .promo-nav.next { right: 4px; } .promo-x { right: 4px; } }

/* ---------- fiókmenü ---------- */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 190px; display: grid; padding: 6px; border-radius: 12px; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, #fff 4%); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.menu-list > * { display: block; text-align: left; padding: 8px 10px; border-radius: 8px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; text-decoration: none; }
.menu-list > *:hover { background: rgba(255, 255, 255, .07); color: var(--accent); }

/* ---------- programok: ikonok ---------- */
.win img.appico { width: 18px; height: 18px; padding: 0; object-fit: cover; border-radius: 5px; background: none; }
.win .bigico { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }

/* ---------- Licenceim ---------- */
.win.lic.off { opacity: .72; }
.lic-st { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.lic-st.st-active { background: rgba(60, 220, 140, .16); color: #6ff0ae; }
.lic-st.st-cancelled, .lic-st.st-past_due, .lic-st.st-paused { background: rgba(255, 190, 60, .16); color: #ffcf6e; }
.lic-st.st-expired, .lic-st.st-revoked, .lic-st.st-refunded { background: rgba(255, 90, 90, .16); color: #ff9a9a; }
.small { font-size: 12px; }
.keyrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.keyrow code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 14px; font-weight: 700; letter-spacing: .03em; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); user-select: all; }
.lic-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.lic-meta b { color: var(--text); }
.devs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.devs li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13px; }
.devs li > .dev { display: grid; gap: 2px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; }
.buy { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(20px); }
.lic-gate .big { filter: none; }
.notice-in { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.modal[role="alertdialog"] { display: grid; gap: 14px; justify-items: end; }
.modal[role="alertdialog"] p { margin: 0; justify-self: stretch; }

/* ---------- ALKALMAZÁSOK: világos üveg, „app store” ---------- */
.fx-apps { background: radial-gradient(ellipse at 20% 0%, #ffffff 0%, #eef2f9 45%, #e3e9f6 100%); }
.fx-apps .bubble { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: float 20s ease-in-out infinite alternate; }
.fx-apps .bubble.a { width: 42vw; height: 42vw; background: #9ec0ff; top: -14vw; right: -8vw; }
.fx-apps .bubble.b { width: 34vw; height: 34vw; background: #d6c2ff; bottom: -12vw; left: -8vw; animation-delay: -7s; }
.fx-apps .bubble.c { width: 22vw; height: 22vw; background: #9ff0dc; top: 40%; left: 40%; opacity: .3; animation-delay: -13s; }
[data-theme="apps"] .tabs button:hover { background: rgba(30, 45, 90, .06); }
[data-theme="apps"] .tabs button.on { background: rgba(255, 255, 255, .8); box-shadow: inset 0 -2px 0 var(--accent), 0 2px 10px rgba(30, 45, 90, .08); }
[data-theme="apps"] .chip { background: rgba(47, 107, 255, .07); }
[data-theme="apps"] .menu-list > *:hover { background: rgba(30, 45, 90, .06); }
[data-theme="apps"] .modal input, [data-theme="apps"] .modal select { background: #fff; }
[data-theme="apps"] .err { color: #d4344a; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.app { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 12px 16px; padding: 18px; border-radius: 20px; background: var(--panel);
  backdrop-filter: blur(24px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 30px rgba(30, 45, 90, .1), inset 0 1px 0 #fff; transition: transform .2s, box-shadow .25s; }
.app:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(30, 45, 90, .16), inset 0 1px 0 #fff; }
.app-icon { grid-row: 1 / 3; width: 72px; height: 72px; border-radius: 18px; object-fit: cover; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(47, 107, 255, .3); }
.app-body { display: grid; gap: 6px; align-content: start; }
.app h3 { margin: 0; font-size: 18px; }
.app p { margin: 0; color: var(--muted); font-size: 14px; }
.app .ai { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--accent); }
.app .ai::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.btn.pill { justify-self: start; border-radius: 999px; padding: 8px 22px; }
@media (prefers-reduced-motion: reduce) { .fx-apps .bubble { animation: none; } }
