@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/bricolage-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/bricolage-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/nunito-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/nunito-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #EEF5F4;
  --surface: #FFFFFF;
  --ink: #262A4A;
  --ink2: #555A7A;
  --line: #D9E3E3;
  --accent: #5357C4;
  --up: #2FA36B;
  --err: #E0564A;
  --rod: #94391F;
  --r: 22px;
  --font-d: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(38,42,74,.04), 0 14px 34px -20px rgba(38,42,74,.28);
  color-scheme: light;
}
.ty-grass    { --c0: #CDEBD8; --c1: #23663F; }
.ty-water    { --c0: #CFE3F3; --c1: #22527E; }
.ty-fire     { --c0: #F7D6C9; --c1: #94391F; }
.ty-electric { --c0: #F6E7A8; --c1: #6E5410; }
.ty-psychic  { --c0: #E6DAF3; --c1: #5E3C8A; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-b); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input { font: inherit; }
a { color: var(--accent); }
[hidden] { display: none !important; }
[data-lang="hu"] .t-en { display: none; }
[data-lang="en"] .t-hu { display: none; }

@keyframes lrFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes lrBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lrWobble { 0%,100% { transform: rotate(0); } 15% { transform: rotate(-24deg); } 35% { transform: rotate(18deg); } 55% { transform: rotate(-10deg); } 75% { transform: rotate(5deg); } }
@keyframes lrPop { 0% { opacity: 0; transform: translateY(22px) scale(.94); } 100% { opacity: 1; transform: none; } }
@keyframes lrFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lrShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
@keyframes lrPulse { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 7px transparent; } }
@keyframes lrStar { 0% { opacity: 0; transform: translate(0,0) scale(0); } 40% { opacity: 1; transform: translate(var(--tx),var(--ty)) scale(1.2) rotate(90deg); } 100% { opacity: 0; transform: translate(calc(var(--tx)*1.4),calc(var(--ty)*1.4)) scale(.5) rotate(180deg); } }
@keyframes lrBlink { 50% { opacity: 0; } }
@keyframes grTw { 0%,100% { transform: scale(.15) rotate(0); opacity: 0; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
@keyframes grBob { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(3px) rotate(5deg); } }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 40px; position: relative; z-index: 1; }
@media (max-width: 860px) { .wrap { padding-inline: 20px; } }

.ball { display: block; overflow: visible; flex-shrink: 0; }
.wobble { animation: lrWobble .8s ease-in-out infinite; transform-origin: 50% 92%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); color: var(--up); animation: lrPulse 1.6s infinite; flex-shrink: 0; }
.label { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink2); }
.in { animation: lrPop .6s cubic-bezier(.2,.9,.3,1.3) both; }

.btn {
  font-family: var(--font-b); font-weight: 800; font-size: 15px;
  padding: 14px 24px; border: none; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(83,87,196,.7);
  transition: transform .2s cubic-bezier(.2,.9,.3,1.6), filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn:focus-visible, .faq-q:focus-visible, .lang button:focus-visible, .logo:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Floating background shapes */
.floaters { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.floater {
  position: absolute;
  /* Follows the pointer only: a scroll-linked offset lags behind Firefox's
     off-thread scrolling and makes the page feel like it drags. */
  transform: translate(calc(var(--mx, 0) * var(--d) * 70px), calc(var(--my, 0) * var(--d) * 70px));
  transition: transform .5s ease-out;
}
.floater > * { animation: lrFloat var(--t) ease-in-out var(--delay) infinite; }
.blob { border-radius: 50%; }

/* Header and logo */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 26px; }
@media (max-width: 860px) { .top { padding-block: 18px; } }
.logo {
  display: flex; align-items: baseline; text-decoration: none; color: var(--ink);
  font-family: var(--font-d); font-weight: 800; font-size: 26px; letter-spacing: -.7px; line-height: 1;
  white-space: nowrap; padding-left: 4px;
}
.logo .rod { color: var(--rod); }
.gr { position: relative; display: inline-block; width: 16.5px; height: 24px; margin: 0 1px -1px; }
.gr-float { display: block; width: 100%; height: 100%; transform-origin: 50% 66%; }
.logo:hover .gr-float { animation: grBob 1.2s ease-in-out infinite; }
.gr-star { position: absolute; pointer-events: none; overflow: visible; animation: grTw 3.8s ease-in-out infinite; }
.lang { display: flex; padding: 3px; gap: 2px; background: rgba(38,42,74,.07); border-radius: 999px; }
.lang button {
  border: none; cursor: pointer; padding: 6px 11px; border-radius: 999px;
  font-weight: 800; font-size: 12px; background: transparent; color: var(--ink2); transition: background .2s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 40px 80px; }
.hero.solo { grid-template-columns: minmax(0, 1fr); }
/* The tilted deal cards poke a few px past the right edge, and iOS Safari
   ignores overflow-x on body; clip here rather than on the root element,
   which changes the scroll container and upsets Firefox's scrolling. */
.hero { overflow-x: clip; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 16px 30px; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink); padding: 7px 13px; border-radius: 999px; }
h1, h2 { font-family: var(--font-d); font-weight: 800; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: 64px; letter-spacing: -1.5px; line-height: 1.02; margin-top: 20px; }
@media (max-width: 860px) { h1 { font-size: 40px; } }
.sub { font-size: 18px; color: var(--ink2); margin-top: 20px; max-width: 540px; text-wrap: pretty; }
.sub p { margin: 0; }
.sub p + p { margin-top: 12px; }
@media (max-width: 860px) { .sub { font-size: 17px; } }

.join { margin-top: 28px; max-width: 540px; }
.join-form { display: flex; gap: 10px; }
.join-form.shake { animation: lrShake .4s; }
@media (max-width: 860px) { .join-form { flex-direction: column; } }
.join-form input[type="email"] {
  flex: 1; min-width: 0; font-size: 16px; color: var(--ink); padding: 14px 20px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.join-form input[type="email"]:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(83,87,196,.14); }
.join-form input.bad { border-color: var(--err); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join-msg { margin: 10px 0 0 20px; font-size: 14px; font-weight: 700; }
.join-msg-err { color: #B8392E; }
.join-msg-dup { color: var(--ink2); }
.join-done {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow);
  font-weight: 700; color: var(--ink); overflow-wrap: anywhere;
  animation: lrPop .6s cubic-bezier(.2,.9,.3,1.3) both;
}
.early { margin: 16px 0 0; max-width: 540px; font-size: 14px; color: var(--ink2); }
.early b { color: var(--ink); }
.consent { margin: 8px 0 0; max-width: 540px; font-size: 12.5px; color: var(--ink2); }

/* Deal tiles */
.stack { position: relative; height: 470px; }
@media (max-width: 860px) { .stack { height: 380px; } }
.stack-slot { position: absolute; left: var(--x); top: var(--y); width: 44%; transform: rotate(var(--r)); }
.stack-slot:nth-child(2) { z-index: 2; }
@media (max-width: 860px) { .stack-slot { left: var(--xm); width: 46%; } }
.stack-slot > div { animation: lrBob var(--t) ease-in-out var(--delay) infinite; }
.tile {
  background: var(--c0); border-radius: var(--r); padding: 12px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 44px -24px rgba(38,42,74,.45);
  transition: transform .4s cubic-bezier(.2,.9,.3,1.5);
}
.tile:hover { transform: translateY(-6px) rotate(-1.2deg); }
.wm { position: absolute; right: -36px; top: -36px; color: #fff; opacity: .55; transition: transform .8s; }
.tile:hover .wm { transform: rotate(200deg); }
.tile-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.off { background: #fff; color: var(--c1); font-family: var(--font-d); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.cat { font-size: 11px; font-weight: 800; color: var(--c1); letter-spacing: .8px; text-transform: uppercase; }
.photo { height: 104px; border-radius: 16px; background: rgba(255,255,255,.6); display: grid; place-items: center; position: relative; overflow: hidden; }
.photo img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 8px; }
.tile-name { font-family: var(--font-d); font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink); position: relative; text-wrap: pretty; }
.tile-shop { font-size: 12.5px; font-weight: 800; color: var(--c1); margin-top: 3px; }
.tile-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.tile-price b { font-family: var(--font-d); font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.tile-price s { font-size: 12px; color: var(--ink2); }
.stock { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12.5px; }

/* Sections */
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
h2 { font-size: 32px; letter-spacing: -1px; line-height: 1.05; }
@media (max-width: 860px) { h2 { font-size: 26px; } }
.live { display: flex; align-items: center; gap: 6px; color: var(--up); }
.live .dot { width: 7px; height: 7px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

/* Five cards in one row on desktop; two columns on phones, with the shop
   count spanning both so the odd card out is the first, not a straggler. */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats > .stat:first-child { grid-column: 1 / -1; }
}
.stat { background: var(--c0); border-radius: var(--r); padding: 22px 20px 20px; position: relative; overflow: hidden; }
.stat .wm { right: -30px; top: auto; bottom: -40px; }
.stat-num { font-family: var(--font-d); font-weight: 800; font-size: 48px; letter-spacing: -2px; line-height: 1; position: relative; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { color: var(--c1); font-weight: 800; font-size: 14.5px; line-height: 1.35; margin-top: 8px; position: relative; text-wrap: pretty; }
@media (max-width: 640px) {
  .stat { padding: 16px 14px 14px; }
  .stat-num { font-size: 36px; letter-spacing: -1.2px; }
  .stat-label { font-size: 13px; }
}

.faq { max-width: 820px; margin: 0 auto; padding: 96px 40px 60px; position: relative; z-index: 1; }
@media (max-width: 860px) { .faq { padding: 56px 20px 40px; } }
.faq h2 { margin-bottom: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; border: none; background: transparent; cursor: pointer; text-align: left;
  font-family: var(--font-d); font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq-q i { font-style: normal; font-size: 24px; line-height: 1; flex-shrink: 0; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 18px; color: var(--ink2); font-size: 15px; }

footer.wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 20px 48px; }
footer p { margin: 0; font-size: 12.5px; color: var(--ink2); }

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 24px 40px 72px; position: relative; z-index: 1; }
@media (max-width: 860px) { .doc { padding: 12px 20px 48px; } }
.doc-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 32px; }
@media (max-width: 860px) { .doc-card { padding: 22px; } }
.doc h1 { font-size: 40px; margin-top: 0; }
.doc h2 { font-size: 20px; letter-spacing: -.3px; margin-top: 26px; }
.doc p, .doc li { color: var(--ink2); font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.back { display: inline-block; margin-top: 22px; font-weight: 800; }

/* Catch overlay */
.catch { position: fixed; inset: 0; z-index: 100; background: rgba(38,42,74,.35); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: lrFade .3s both; }
.catch-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 38px 28px 30px; width: min(420px, 100%); text-align: center; animation: lrPop .5s cubic-bezier(.2,.9,.3,1.3) both; }
.catch-ball { position: relative; width: 96px; height: 96px; margin: 0 auto 22px; }
.star { position: absolute; left: 38px; top: 38px; animation: lrStar 1s cubic-bezier(.2,.8,.3,1) both; }
.catch-busy { font-family: var(--font-d); font-weight: 800; font-size: 24px; }
.catch-busy i { font-style: normal; animation: lrBlink 1s steps(1) infinite; }
.catch-done h2 { font-size: 34px; }
.catch-done p { margin: 10px 0 0; color: var(--ink2); font-size: 15px; }
.catch-done .btn { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
