/* ==========================================================================
   Unseen – black / white, rounded, animated design
   ========================================================================== */
:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --surface: #111;
  --surface-2: #171717;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #fafafa;
  --fg-2: #a3a3a3;
  --fg-3: #6b6b6b;
  --inv-bg: #fafafa;
  --inv-fg: #050505;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --font: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* zaj textúra a háttéren */
body::before {
  content: "";
  position: fixed; inset: -50%;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
}

main { position: relative; z-index: 1; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Preloader ---------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path .9s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader__logo { display: flex; align-items: center; gap: .18em; font-size: clamp(48px, 10vw, 112px); font-weight: 800; letter-spacing: -.06em; }
.preloader__mark { width: .8em; height: .8em; animation: markIn 1s var(--ease) both; }
.preloader__mark svg { width: 100%; height: 100%; }
.preloader__mark .logo-moon { animation: eclipseIn 1.1s var(--ease) both; }
@keyframes markIn { from { transform: scale(0) rotate(-90deg); } }
@keyframes eclipseIn { from { transform: translate(-12px, 10px); } }
.preloader__word { display: flex; overflow: hidden; padding-bottom: .06em; }
.preloader__word span { display: inline-block; transform: translateY(110%); animation: rise .8s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * 60ms); }
.preloader__bar { position: absolute; bottom: 48px; left: 50%; width: 160px; height: 2px; translate: -50% 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform-origin: left; animation: load 1s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Oldalváltás --------------------------------------------------- */
.page-transition {
  position: fixed; inset: 0; z-index: 999;
  background: var(--inv-bg);
  pointer-events: none;
  transform: translateY(100%);
  border-radius: 40px 40px 0 0;
}
.page-transition.in { transition: transform .55s var(--ease-in-out), border-radius .55s; transform: translateY(0); border-radius: 0; }

/* ---------- Egyedi kurzor ------------------------------------------------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; transition: opacity .3s; }
.cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1px solid #fff; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; }
.cursor-ring.hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: #fff; }
.cursor-ring.down { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.cursor-ring.hover.down { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.cursor-out .cursor, .cursor-out .cursor-ring { opacity: 0; }
/* the circle fully replaces the system cursor */
html.has-cursor, html.has-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Navigáció ----------------------------------------------------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 100;
  width: min(1200px, 100% - 32px);
  translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h);
  padding: 0 12px 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(10, 10, 10, .6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: height .4s var(--ease), top .4s var(--ease), background .4s, transform .5s var(--ease);
  animation: navIn 1s var(--ease) both;
  animation-delay: 1.1s;
}
.nav.scrolled { top: 10px; height: 60px; background: rgba(10, 10, 10, .85); }
.nav.hidden { transform: translateY(-140%); }
@keyframes navIn { from { opacity: 0; transform: translateY(-30px); } }
.nav__logo { display: flex; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.055em; line-height: 1; color: var(--fg); }
.logo-mark { width: 28px; height: 28px; display: block; }
.logo-mark svg { width: 100%; height: 100%; overflow: visible; }
.logo-moon { animation: eclipse 7s var(--ease-in-out) infinite; }
.logo:hover .logo-moon { animation-duration: 1.4s; }
@keyframes eclipse {
  0%, 70%, 100% { transform: translate(0, 0); }
  80% { transform: translate(-6px, 5px); }
  88% { transform: translate(-6px, 5px); }
}

.nav__links { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: rgba(255, 255, 255, .03); }
.nav__link { position: relative; z-index: 1; padding: 10px 20px; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color .3s; }
.nav__link:hover, .nav__link.active { color: var(--fg); }
.nav__link.active { color: var(--inv-fg); }
.nav__indicator { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--pill); background: var(--fg); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__user { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 14px; }
.nav__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--inv-fg); font-weight: 700; font-size: 13px; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 27px; }
.nav.open .nav__burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 32px; background: var(--bg); clip-path: circle(0 at calc(100% - 48px) 52px); transition: clip-path .7s var(--ease-in-out); }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 48px) 52px); }
.mobile-menu a { font-size: clamp(40px, 12vw, 64px); font-weight: 700; letter-spacing: -.04em; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(2) { transition-delay: .06s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .12s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .18s; }

/* User menu (click the name) */
.user-wrap { position: relative; }
button.nav__user { color: inherit; font: inherit; background: none; cursor: pointer; }
.user-wrap.open .nav__user { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.user-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; min-width: 240px; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); box-shadow: 0 24px 60px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
.user-wrap.open .user-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.user-menu__head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; min-width: 0; }
.user-menu__who { display: grid; gap: 2px; min-width: 0; }
.user-menu__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--fg); color: var(--inv-fg); font-weight: 700; font-size: 14px; }

/* Profile pictures (nav, menu, dialog) */
.nav__avatar { overflow: hidden; }
.nav__avatar img, .user-menu__avatar img, .profile__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav__avatar.has-img, .user-menu__avatar.has-img, .profile__avatar.has-img { background: var(--surface-2); }

/* Profile dialog */
.profile__avatar { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--fg); color: var(--inv-fg); font-size: 40px; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 0 0 1px var(--line-2), 0 18px 50px rgba(0,0,0,.5); }
.profile > .muted { margin: 0 0 18px; }
.profile .paid__note { margin: 14px 0 22px; }
.profile__form { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.profile__form .btn { justify-self: end; }
.user-menu__head b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu__head small { font-size: 12px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu__item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--fg-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.user-menu__item svg { width: 18px; height: 18px; flex: none; }
.user-menu__item:hover, .user-menu__item:focus-visible { background: rgba(255,255,255,.06); color: var(--fg); outline: none; }
.user-menu__item--out:hover, .user-menu__item--out:focus-visible { color: #ff6b6b; }
.user-menu__sep { height: 1px; margin: 6px 4px; background: var(--line); }

/* Customer Discord dialog */
.discord .paid__actions { margin-top: 4px; }
.discord__linked { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 22px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--bg); max-width: 100%; }
.discord__linked svg { width: 18px; height: 18px; flex: none; }
.discord__linked b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discord__unlink { margin-top: 18px; border: 0; background: none; color: var(--fg-3); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.discord__unlink:hover { color: var(--fg-2); }
#discord-btn svg { width: 18px; height: 18px; }

@media (max-width: 820px) {
  .nav { padding-left: 20px; padding-right: 8px; }
  .nav__links, .nav__right > .btn, .nav__user-name { display: none; }
  .nav__user { padding: 4px; border: 0; }
  .nav__burger { display: block; }
}

/* ---------- Gombok -------------------------------------------------------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border-radius: var(--pill);
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transform: translate(var(--bx), var(--by));
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, opacity .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--fg); color: var(--inv-fg); }
.btn--primary::before { background: #d4d4d4; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--inv-fg); border-color: var(--fg); }
.btn--lg { height: 60px; padding: 0 34px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; border-right-color: transparent; color: var(--inv-fg); animation: spin .7s linear infinite; }
.btn--ghost.loading::after { color: var(--fg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Közös szekciók ------------------------------------------------ */
.section { padding: 120px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 13px; color: var(--fg-2); font-family: var(--mono); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.h-display { font-size: clamp(48px, 10vw, 152px); font-weight: 800; letter-spacing: -.06em; line-height: .9; margin: 0; }
.h-1 { font-size: clamp(40px, 6vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: 0; }
.h-2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 0; }
.muted { color: var(--fg-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }

.page-hero { padding: calc(var(--nav-h) + 120px) 0 56px; text-align: center; }
.page-hero .h-1 { margin: 24px 0 16px; }
.page-hero p { margin: 0 auto; max-width: 440px; color: var(--fg-2); }

/* betűnkénti / szavankénti emelkedés */
.split { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
.is-ready .split > span, .split.in > span { transform: none; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 60px) 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); animation: gridMove 20s linear infinite; }
@keyframes gridMove { to { background-position: 72px 72px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; background: #fff; will-change: transform; }
.orb--1 { width: 520px; height: 520px; top: -10%; left: -8%; animation: float1 18s var(--ease-in-out) infinite alternate; }
.orb--2 { width: 380px; height: 380px; bottom: -12%; right: -6%; opacity: .12; animation: float2 22s var(--ease-in-out) infinite alternate; }
.orb--3 { width: 220px; height: 220px; top: 40%; left: 55%; opacity: .1; animation: float1 14s var(--ease-in-out) infinite alternate-reverse; }
@keyframes float1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes float2 { to { transform: translate(-140px, -60px) scale(.9); } }
.hero__parallax { transition: transform .8s var(--ease); }
.hero .h-display { margin: 28px 0; }
.hero__outline { -webkit-text-stroke: 1.5px var(--fg); color: transparent; }
.hero__sub { max-width: 420px; margin: 0 auto 40px; color: var(--fg-2); font-size: 18px; }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.hero__scroll::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

.reveal-on-load { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) 1.5s, transform 1s var(--ease) 1.5s; }
.is-ready .reveal-on-load { opacity: 1; transform: none; }
.fast .nav { animation-delay: 0s; }
.fast .reveal-on-load { transition-delay: .45s; }

/* ---------- Statisztikák -------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); transition: border-color .4s, transform .5s var(--ease); }
.stat:hover { border-color: var(--line-2); transform: translateY(-6px); }
.stat__num { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat__label { margin-top: 8px; color: var(--fg-2); font-size: 14px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 24px; } }

/* ---------- Funkció blokkok ---------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { position: relative; padding: 36px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.feature__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--fg); color: var(--inv-fg); transition: transform .6s var(--ease); }
.feature:hover .feature__icon { transform: rotate(-12deg) scale(1.1); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; }
.feature p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .feature { min-height: 200px; } }

/* spotlight effekt (egérkövető fény a kártyákon) */
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,255,255,.09), transparent 40%); }
.spotlight:hover::before { opacity: 1; }

/* ---------- Termék kártyák ------------------------------------------------ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products-grid { grid-template-columns: 1fr; } }
.card {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease);
  cursor: pointer;
}
.card:hover { border-color: var(--line-2); }
.card[data-reveal].in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.card__top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 48px; }
.card__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); transition: background .4s, color .4s, transform .6s var(--ease); }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--fg); color: var(--inv-fg); transform: scale(1.08) rotate(-6deg); }
.tag { padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 12px; color: var(--fg-2); font-family: var(--mono); }
.card__name { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.04em; }
.card__tagline { margin: 4px 0 24px; color: var(--fg-2); font-size: 14px; }
.card__bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); }
.price { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.card__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .4s, color .4s, transform .5s var(--ease); }
.card__go svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.card:hover .card__go { background: var(--fg); color: var(--inv-fg); }
.card:hover .card__go svg { transform: rotate(0); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--fg-2); }
.rating svg { width: 14px; height: 14px; fill: var(--fg); }

/* Toolbar (kereső + szűrő) */
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 32px; }
.search { position: relative; flex: 1 1 280px; max-width: 380px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--fg-3); }
.search input { width: 100%; height: 52px; padding: 0 20px 0 48px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--bg-2); outline: none; transition: border-color .3s, background .3s; }
.search input:focus { border-color: var(--fg); background: var(--surface); }
.chips { position: relative; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); overflow-x: auto; scrollbar-width: none; }
.chip { position: relative; z-index: 1; padding: 10px 18px; border-radius: var(--pill); font-size: 14px; color: var(--fg-2); white-space: nowrap; transition: color .3s; }
.chip.active { color: var(--inv-fg); }
.chips__indicator { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: var(--pill); background: var(--fg); transition: transform .5s var(--ease), width .5s var(--ease); }
.empty { padding: 80px 0; text-align: center; color: var(--fg-3); }

.card.leaving { opacity: 0; transform: scale(.9); }

/* skeleton */
.skeleton { min-height: 300px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--bg-2) 0%, var(--surface-2) 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Vélemények ---------------------------------------------------- */
.fb-summary { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.fb-score { font-size: clamp(64px, 10vw, 120px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.stars { display: flex; gap: 4px; }
.stars svg { width: 22px; height: 22px; fill: var(--fg-3); transition: fill .3s; }
.stars svg.on { fill: var(--fg); animation: starPop .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes starPop { from { transform: scale(0) rotate(-90deg); } }
.fb-grid { columns: 3 300px; column-gap: 16px; }
.fb-card { break-inside: avoid; margin-bottom: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); position: relative; overflow: hidden; transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease); }
.fb-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.fb-card .stars svg { width: 16px; height: 16px; }
.fb-card__msg { margin: 18px 0 24px; font-size: 18px; line-height: 1.45; letter-spacing: -.01em; }
.fb-card__foot { display: flex; align-items: center; gap: 12px; }
.fb-card__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--inv-fg); font-weight: 700; font-size: 14px; }
.fb-card__name { font-weight: 600; font-size: 14px; }
.fb-card__meta { font-size: 12px; color: var(--fg-3); }
.fb-card__quote { position: absolute; right: 20px; top: 8px; font-size: 96px; font-weight: 800; color: var(--surface-2); line-height: 1; pointer-events: none; }

.star-input { display: flex; gap: 6px; }
.star-input button { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.star-input button svg { width: 20px; height: 20px; fill: var(--fg-3); transition: fill .3s; }
.star-input button.on { background: var(--fg); border-color: var(--fg); }
.star-input button.on svg { fill: var(--inv-fg); }
.star-input button:hover { transform: translateY(-3px) scale(1.06); }

/* ---------- Űrlapok ------------------------------------------------------- */
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea, .field select {
  width: 100%; height: 60px; padding: 24px 20px 8px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg-2); outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { height: 130px; resize: none; padding-top: 30px; }
.field select { padding-top: 22px; appearance: none; }
.field label { position: absolute; left: 21px; top: 19px; color: var(--fg-3); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fg); background: var(--surface); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.78); color: var(--fg-2); }
.field.error input { border-color: #fff; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field__toggle { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--fg-3); transition: color .3s, background .3s; }
.field__toggle:hover { color: var(--fg); background: var(--surface-2); }
.field__toggle svg { width: 18px; height: 18px; }
.field__counter { position: absolute; right: 16px; bottom: 10px; font-size: 12px; color: var(--fg-3); font-family: var(--mono); }
.strength { display: flex; gap: 6px; margin: -2px 4px 16px; }
.strength span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s, transform .4s var(--ease); transform: scaleX(.6); }
.strength span.on { background: var(--fg); transform: scaleX(1); }
.form-error { min-height: 22px; margin: 4px 4px 12px; font-size: 14px; color: var(--fg); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.form-error.show { opacity: 1; transform: none; }
.form-error.show::before { content: "⚠ "; }

/* ---------- Auth oldal ---------------------------------------------------- */
.auth { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 56px) 16px 56px; position: relative; overflow: hidden; }
.auth__card { position: relative; width: min(440px, 100%); padding: 40px; border-radius: 36px; border: 1px solid var(--line); background: rgba(12, 12, 12, .7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.auth__card h1 { margin: 0 0 8px; font-size: 36px; letter-spacing: -.05em; }
.auth__card > p { margin: 0 0 28px; color: var(--fg-2); }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--pill); }
.tabs button { position: relative; z-index: 1; height: 44px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--fg-2); transition: color .4s; }
.tabs button.active { color: var(--inv-fg); }
.tabs__indicator { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--pill); background: var(--fg); transition: transform .55s var(--ease); }
.tabs[data-active="register"] .tabs__indicator { transform: translateX(100%); }
.auth__forms { position: relative; display: grid; }
.auth__forms form { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s; }
.auth__forms form[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateX(30px); pointer-events: none; }
.auth__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 12px; color: var(--fg-3); font-family: var(--mono); }
.auth__secure svg { width: 14px; height: 14px; }

/* ---------- Modal ---------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: 36px; border-radius: 36px; border: 1px solid var(--line-2); background: var(--bg-2); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.modal.open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--fg); color: var(--inv-fg); }
.modal__close svg { width: 18px; height: 18px; }
.pd__icon { width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; background: var(--fg); color: var(--inv-fg); margin-bottom: 24px; }
.pd__icon svg { width: 40px; height: 40px; }
.pd__name { margin: 0; font-size: 44px; letter-spacing: -.05em; line-height: 1; }
.pd__tagline { margin: 6px 0 20px; color: var(--fg-2); }
.pd__desc { margin: 0 0 24px; line-height: 1.6; }
.pd__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pd__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; border-radius: var(--pill); border: 1px solid var(--line); }
.pd__buy .price { font-size: 24px; }
/* "Payment successful" dialog – the license code to copy / redeem */
.paid { text-align: center; }
.paid__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--inv-fg); }
.paid__icon svg { width: 30px; height: 30px; }
.paid__title { margin: 0 0 8px; font-size: 32px; letter-spacing: -.04em; line-height: 1.1; }
.paid > .muted { margin: 0 0 20px; }
.paid__code { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 20px; border: 1px dashed var(--line-2); border-radius: 20px; background: var(--bg); text-align: left; }
.paid__code code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 17px; letter-spacing: .04em; word-break: break-all; user-select: all; }
.paid__note { margin: 16px 0 24px; font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.paid__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 520px) { .paid__code { flex-direction: column; align-items: stretch; text-align: center; } .paid__actions .btn { flex: 1; } }

/* ---------- Product page -------------------------------------------------- */
.section--tight { padding: 56px 0; }
.modal .star-input { margin: 24px 0; }
/* product page – editorial, calm: name + price, video, screenshot strip, spec sheet */
.pp { padding-top: calc(var(--nav-h) + 64px); }
.pp-crumb { display: flex; gap: 10px; margin-bottom: 28px; font-size: 14px; color: var(--fg-3); }
.pp-crumb a { color: var(--fg-2); transition: color .2s; }
.pp-crumb a:hover { color: var(--fg); }
.pp-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; padding-bottom: 36px; }
.pp-name { margin: 0; font-size: clamp(48px, 7vw, 96px); font-weight: 800; letter-spacing: -.055em; line-height: .95; }
.pp-tagline { margin: 16px 0 0; max-width: 520px; font-size: 20px; color: var(--fg-2); }
.pp-meta { margin: 10px 0 0; font-size: 14px; color: var(--fg-3); }
.pp-buy { display: grid; justify-items: end; gap: 12px; text-align: right; }
#p-action { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.pp-price { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-note { max-width: 260px; font-size: 13px; color: var(--fg-3); }
@media (max-width: 720px) { .pp-buy { justify-items: start; text-align: left; } #p-action { justify-content: flex-start; } }

.pp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.pp-video video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.pp-play { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 14px; border-radius: var(--pill); background: rgba(10, 10, 10, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 500; transition: background .3s, opacity .4s; }
.pp-play:hover { background: rgba(10, 10, 10, .85); }
.pp-play svg { width: 14px; height: 14px; }
.pp-video.playing .pp-play svg path { d: path("M6 4.5h4.5v15H6zM13.5 4.5H18v15h-4.5z"); }
.pp-video.playing .pp-play { opacity: 0; }
.pp-video.playing:hover .pp-play { opacity: 1; }
.pp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .12); pointer-events: none; }
.pp-progress span { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }

.pp-shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 80%); gap: 12px; margin-top: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-shots::-webkit-scrollbar { display: none; }
.pp-shot { padding: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--bg-2); }
.pp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .88; transition: transform .8s var(--ease), opacity .3s; }
.pp-shot:hover img { transform: scale(1.03); opacity: 1; }

.pp-spec { margin-top: 72px; border-top: 1px solid var(--line); }
.pp-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pp-row h2 { margin: 0; font-size: 14px; font-weight: 500; color: var(--fg-3); }
.pp-row p { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.6; }
.pp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; font-size: 16px; }
.pp-list li::before { content: "—"; margin-right: 10px; color: var(--fg-3); }
.pp-file { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; font-size: 16px; }
.pp-file + .pp-file { margin-top: 8px; }
.pp-file small { font-size: 14px; color: var(--fg-3); }
.pp-link { border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.pp-link:hover { border-color: var(--fg); }
@media (max-width: 720px) { .pp-row { grid-template-columns: 1fr; gap: 10px; } .pp-list { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 72px 16px; visibility: hidden; }
.lightbox.open { visibility: visible; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.lightbox.open .lightbox__backdrop { opacity: 1; }
.lightbox img { position: relative; max-width: min(1200px, 100%); max-height: 100%; border-radius: var(--r); border: 1px solid var(--line-2); opacity: 0; transform: scale(.94); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.lightbox img.in { opacity: 1; transform: none; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); transition: background .3s, color .3s, transform .4s var(--ease); }
.lightbox__btn:hover { background: var(--fg); color: var(--inv-fg); transform: scale(1.08); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__prev { left: 24px; top: 50%; margin-top: -26px; }
.lightbox__prev svg { transform: rotate(180deg); }
.lightbox__next { right: 24px; top: 50%; margin-top: -26px; }
.lightbox__close { right: 24px; top: 16px; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
@media (max-width: 620px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; margin: 0; } }

/* ---------- Account / licenses ---------------------------------------------- */
.nav__user { transition: border-color .3s, background .3s; }
.nav__user:hover { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.acc-hero { padding-bottom: 40px; }
.acc-hero .hero__ctas { margin-top: 28px; }
.lic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .lic-grid { grid-template-columns: 1fr; } }
.lic { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease); }
.lic:hover { border-color: var(--line-2); }
.lic--off { opacity: .6; }
.lic__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 20px; }
.lic__product { display: flex; align-items: center; gap: 14px; }
.lic__product h3 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.lic__product .card__icon { width: 52px; height: 52px; border-radius: 16px; }
.lic__product:hover .card__icon { background: var(--fg); color: var(--inv-fg); transform: rotate(-6deg); }
.lic__status { padding: 5px 12px; border-radius: var(--pill); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--line-2); color: var(--fg-2); white-space: nowrap; }
.lic__status--active { background: var(--fg); color: var(--inv-fg); border-color: var(--fg); }
.lic__status--revoked, .lic__status--refunded, .lic__status--cancelled { text-decoration: line-through; }
.lic__status--pending, .lic__status--suspended, .lic__status--expired { border-style: dashed; color: var(--fg); }
.lic__label { display: block; margin-bottom: 8px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); }
.lic__keybox { padding: 16px; border: 1px dashed var(--line-2); border-radius: 18px; background: var(--surface); }
.lic__key { display: block; font: 600 clamp(14px, 2vw, 17px) var(--mono); letter-spacing: .05em; overflow-wrap: anywhere; }
.lic__key.flash { animation: keyIn .7s var(--ease); }
@keyframes keyIn { from { opacity: 0; filter: blur(6px); letter-spacing: .3em; } }
.lic__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lic__devices { margin-top: 18px; }
.lic__device { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.lic__device > span:first-child svg { width: 18px; height: 18px; color: var(--fg-2); }
.lic__device small, .lic__product small { display: block; font-size: 12px; color: var(--fg-3); }
.lic-empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.lic-empty p { margin: 0 0 20px; color: var(--fg-2); font-size: 18px; }
.orders { display: grid; gap: 8px; }
.order-row { display: grid; grid-template-columns: 60px 1fr auto auto auto; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); transition: border-color .3s, transform .5s var(--ease), opacity 1s var(--ease); }
.order-row:hover { border-color: var(--line-2); }
.order-row__name { font-weight: 600; }
@media (max-width: 620px) { .order-row { grid-template-columns: 1fr auto; } .order-row > :nth-child(1), .order-row > :nth-child(3) { display: none; } }
.mono { font-family: var(--mono); }
.lic__files { margin-bottom: 16px; }
.lic__file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 60%); transition: border-color .3s, transform .5s var(--ease); }
.lic__file + .lic__file { margin-top: 8px; }
.lic__file:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.lic__file-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--fg); color: var(--inv-fg); }
.lic__file-icon svg { width: 18px; height: 18px; }
.lic__file:hover .lic__file-icon svg { animation: nudge .8s var(--ease) infinite alternate; }
@keyframes nudge { to { transform: translateY(3px); } }
.lic__file-info { min-width: 0; }
.lic__file-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lic__file small { display: block; font-size: 12px; color: var(--fg-3); }
.lic__file-notes { margin-top: 4px; white-space: pre-line; color: var(--fg-2) !important; }
@media (max-width: 480px) { .lic__file { grid-template-columns: auto 1fr; } .lic__file .btn { grid-column: 1 / -1; } }

/* ---------- Maintenance page ------------------------------------------------ */
.mt-body { display: grid; place-items: center; min-height: 100svh; }
.mt { position: relative; z-index: 1; padding: 48px 16px; text-align: center; animation: mtIn 1.2s var(--ease) both; }
.mt__mark { width: 120px; height: 120px; margin: 0 auto 28px; color: var(--fg); }
.mt__mark svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 40px rgba(255,255,255,.15)); }
.mt__moon { animation: mtEclipse 6s var(--ease-in-out) infinite; }
@keyframes mtEclipse { 0%, 100% { transform: translate(0, 0); } 45%, 55% { transform: translate(-6px, 5px); } }
.mt__brand { margin: 0 0 18px; font-weight: 800; font-size: 20px; letter-spacing: -.05em; color: var(--fg-2); }
.mt__title { margin: 0; font-size: clamp(40px, 7vw, 80px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.mt__msg { max-width: 460px; margin: 20px auto 0; font-size: 18px; color: var(--fg-2); white-space: pre-line; }
.mt__until { display: inline-block; margin: 28px 0 0; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: var(--pill); font: 13px var(--mono); color: var(--fg); font-variant-numeric: tabular-nums; }
.mt__foot { margin: 40px 0 0; font-size: 13px; color: var(--fg-3); }
@keyframes mtIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Sale prices ------------------------------------------------------ */
.price-old { margin-left: 8px; font-size: .78em; font-weight: 500; color: var(--fg-3); text-decoration: line-through; }
.tag--sale { background: var(--fg); color: var(--inv-fg); border-color: var(--fg); font-weight: 700; }
.pp-price .price-old { display: block; margin: 6px 0 0; font-size: 16px; }
.pp-sale { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--pill); background: var(--fg); color: var(--inv-fg); font: 700 12px var(--mono); }

/* ---------- Toast ---------------------------------------------------------- */
.toasts { position: fixed; bottom: 24px; left: 50%; z-index: 300; translate: -50% 0; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(420px, 100% - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--pill); background: var(--fg); color: var(--inv-fg); font-size: 14px; font-weight: 500; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: toastIn .6s var(--ease) both; }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
.toast--error { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-2); }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px) scale(.9); } }

/* ---------- Footer --------------------------------------------------------- */
.footer { position: relative; z-index: 1; padding: 40px 0; margin-top: 120px; border-top: 1px solid var(--line); }
.footer .logo { font-size: 18px; }
.footer .logo-mark { width: 22px; height: 22px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--fg); }

/* ---------- Vissza a tetejére / progress ---------------------------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; background: var(--fg); transform-origin: left; transform: scaleX(0); }

/* ---------- 404 ------------------------------------------------------------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound .h-display { font-size: clamp(120px, 30vw, 360px); }

/* ---------- Csökkentett mozgás --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split > span, .reveal-on-load { opacity: 1 !important; transform: none !important; }
}

/* ---- Redeem codes ---------------------------------------------------------------------- */
.redeem { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 40px; align-items: center; padding: 32px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 60%), var(--bg-2); }
.redeem__text p { margin: 8px 0 0; }
.redeem__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.redeem__row .field { margin: 0; }
.redeem__row .field input { font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.redeem__row .btn { height: 56px; }
.redeem .form-error { grid-column: 1 / -1; margin: -12px 4px 0; }
@media (max-width: 860px) { .redeem { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 520px) { .redeem__row { grid-template-columns: 1fr; } }

.code-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); transition: border-color .3s, transform .5s var(--ease), opacity 1s var(--ease); }
.code-row:hover { border-color: var(--line-2); }
.code-row__info { min-width: 0; }
.code-row__info small { display: block; color: var(--fg-2); }
.code-row__code { font-family: var(--mono); font-size: 14px; color: var(--fg-2); word-break: break-all; }
.code-row__actions { display: flex; gap: 8px; }
.lic__status--unused { border-style: dashed; color: var(--fg); }
.lic__status--redeemed { opacity: .7; }
@media (max-width: 620px) { .code-row { grid-template-columns: 1fr auto; } .code-row__code, .code-row__actions { grid-column: 1 / -1; } }
