@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #0a0714;
  --bg2: #110c20;
  --card: rgba(26, 20, 48, .72);
  --card-solid: #1a1430;
  --card2: #221a3d;
  --line: rgba(155, 120, 255, .16);
  --line2: rgba(155, 120, 255, .32);
  --text: #f1edff;
  --muted: #a59bc6;
  --purple: #9b4dff;
  --purple2: #c58bff;
  --gold: #ffcf3f;
  --gold2: #f5a623;
  --green: #5cf06b;
  --red: #ff5b6e;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(155, 77, 255, .28), transparent 60%),
    radial-gradient(800px 480px at 95% 5%, rgba(255, 207, 63, .10), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(108, 43, 217, .22), transparent 60%);
  animation: aurora 18s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(155, 120, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(155, 120, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: var(--purple2); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.ic { width: 1em; height: 1em; flex: none; }
.muted { color: var(--muted); }

/* ---------- animacje ---------- */
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes spin { to { --a: 360deg; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 207, 63, .45); } 70% { box-shadow: 0 0 0 14px rgba(255, 207, 63, 0); } }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 18px rgba(155, 77, 255, .55)); } 50% { filter: drop-shadow(0 0 34px rgba(255, 207, 63, .45)); } }

.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.grad {
  background: linear-gradient(90deg, var(--purple2), var(--gold), var(--purple2));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}

/* ---------- nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 7, 20, .65);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.nav.scrolled { background: rgba(10, 7, 20, .9); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 11px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span b { color: var(--gold); }
.links { display: flex; gap: 4px; margin-left: 10px; }
.links a { position: relative; color: var(--muted); padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: rgba(155, 77, 255, .1); }
.links a.on { color: var(--text); }
.links a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.nav .user { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px;
}
.chip img { width: 32px; height: 32px; border-radius: 50%; }
.chip.premium img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  color: #2a1a00; background: linear-gradient(110deg, #ffd84f 20%, #fff3b8 40%, #f5a623 60%); background-size: 250% auto;
  animation: shimmer 3.5s linear infinite;
}
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); transition: color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { color: var(--red); border-color: rgba(255, 91, 110, .4); transform: translateY(-1px); }
.icon-btn .ic { width: 18px; height: 18px; }
.login .short { display: none; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- przyciski ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15px "Inter", sans-serif; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--purple), #6c2bd9);
  box-shadow: 0 10px 28px rgba(155, 77, 255, .35);
  transition: transform .2s var(--ease), box-shadow .2s, opacity .2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(155, 77, 255, .5); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn.gold { background: linear-gradient(135deg, #ffdf5f, var(--gold2)); color: #2a1a00; box-shadow: 0 10px 28px rgba(255, 190, 50, .35); }
.btn.gold:hover { box-shadow: 0 16px 40px rgba(255, 190, 50, .55); }
.btn.ghost { background: var(--card); border-color: var(--line2); box-shadow: none; }
.btn.discord { background: linear-gradient(135deg, #6b77ff, #4752e0); box-shadow: 0 10px 28px rgba(88, 101, 242, .38); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.small { padding: 9px 15px; font-size: 14px; border-radius: 11px; }
.btn.big { padding: 17px 30px; font-size: 16px; }

/* ---------- strona główna ---------- */
.hero { position: relative; padding: 64px 0 30px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--purple2); background: rgba(155, 77, 255, .12); border: 1px solid var(--line2); margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
.hero .logo { width: min(520px, 88%); margin: 0 auto 10px; animation: float 6s ease-in-out infinite, glow 6s ease-in-out infinite; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; margin: 6px 0 16px; letter-spacing: -1px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 14px; justify-content: center; margin-top: 46px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
  backdrop-filter: blur(8px); transition: transform .3s var(--ease), border-color .3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--line2); }
.stat b { display: block; font-size: 32px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

.section { padding: 60px 0; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; letter-spacing: -.5px; }
.section .lead { color: var(--muted); margin: 0 0 32px; font-size: 17px; }
.center { text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .feature {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(8px); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before, .feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(155, 77, 255, .16), transparent 45%);
}
.card:hover, .feature:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.card:hover::before, .feature:hover::before { opacity: 1; }
.tile {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--purple), #6c2bd9); box-shadow: 0 8px 20px rgba(155, 77, 255, .35);
  transition: transform .4s var(--ease);
}
.tile .ic { width: 24px; height: 24px; }
.tile.gold { background: linear-gradient(135deg, #ffdf5f, var(--gold2)); color: #2a1a00; box-shadow: 0 8px 20px rgba(255, 190, 50, .3); }
.card:hover .tile, .feature:hover .tile { transform: rotate(-8deg) scale(1.08); }
.feature h3, .card h3 { margin: 14px 0 6px; font-size: 18px; }
.feature p, .card p { color: var(--muted); margin: 0; }
.banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.banner img { transition: transform 1.2s var(--ease); }
.banner:hover img { transform: scale(1.03); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-4px); border-color: var(--line2); }
.step::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  font-weight: 900; background: linear-gradient(135deg, var(--purple), #6c2bd9); margin-bottom: 14px; box-shadow: 0 8px 20px rgba(155, 77, 255, .35);
}
.step b { display: block; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 15px; }

.footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; }

/* ---------- podstrony ---------- */
.page-hero { text-align: center; padding: 60px 0 20px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -1px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }
.orb {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 26px; display: grid; place-items: center; color: #2a1a00;
  background: linear-gradient(135deg, #ffe680, var(--gold2)); animation: float 5s ease-in-out infinite, pulse 2.6s infinite;
}
.orb .ic { width: 42px; height: 42px; }
.orb.purple { color: #fff; background: linear-gradient(135deg, var(--purple2), #6c2bd9); animation: float 5s ease-in-out infinite; }

/* premium */
.premium-grid { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; padding: 30px 0 20px; }
.perk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.perk-grid .card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.perk-grid .card h3 { margin: 2px 0 4px; font-size: 16px; }
.perk-grid .card p { font-size: 14.5px; }
.perk-grid .tile { width: 44px; height: 44px; border-radius: 13px; }
.perk-grid .tile .ic { width: 22px; height: 22px; }
.buy-card {
  position: sticky; top: 92px; border-radius: 24px; padding: 2px;
  background: conic-gradient(from var(--a), var(--purple), var(--gold), #6c2bd9, var(--gold), var(--purple));
  animation: spin 6s linear infinite; box-shadow: 0 30px 80px rgba(155, 77, 255, .35);
}
.buy-card .inner { border-radius: 22px; padding: 28px; background: linear-gradient(165deg, #241542, #120b22 70%); }
.buy-card .tag {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 207, 63, .14); color: var(--gold);
  border: 1px solid rgba(255, 207, 63, .3); border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 12px; letter-spacing: .5px;
}
.price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; }
.price b { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.price span { color: var(--muted); font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .ic { color: var(--green); width: 18px; height: 18px; }
.buy-card .btn { width: 100%; }
.methods { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.methods span { font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 600; margin: 22px 0 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.free { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.free div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.free b { display: block; font-size: 20px; color: var(--gold); }
.free span { font-size: 12.5px; color: var(--muted); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(8px); }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); background: rgba(255, 255, 255, .02); }
.compare th:last-child, .compare td:last-child { color: var(--gold); font-weight: 700; background: rgba(255, 207, 63, .05); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: rgba(155, 77, 255, .07); }
.compare .ic { width: 18px; height: 18px; vertical-align: -3px; }
.compare .no { color: var(--red); }
.compare .yes { color: var(--green); }

/* regulamin */
.rules { counter-reset: r; display: grid; gap: 12px; }
.rules p {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 17px 20px 17px 64px; position: relative;
  transition: border-color .3s, transform .3s var(--ease);
}
.rules p:hover { border-color: var(--line2); transform: translateX(4px); }
.rules p::before {
  counter-increment: r; content: counter(r); position: absolute; left: 18px; top: 15px; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--purple), #6c2bd9); display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.rules-head { display: flex; align-items: center; gap: 12px; margin: 38px 0 16px; }
.rules-head h3 { margin: 0; font-size: 22px; }

/* ---------- kreator ---------- */
.k-wrap { display: grid; grid-template-columns: 250px 1fr 330px; gap: 16px; padding: 22px 0 40px; align-items: start; }
.k-wrap.first { animation: fadeUp .6s var(--ease); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); }
.cats { padding: 10px; position: sticky; top: 86px; max-height: calc(100vh - 102px); overflow: auto; }
.cat { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: 600 14px "Inter"; text-align: left; cursor: pointer; transition: background .2s, color .2s, padding .2s; }
.cat:hover { background: var(--card2); color: var(--text); padding-left: 16px; }
.cat.on { background: linear-gradient(90deg, rgba(155, 77, 255, .38), rgba(155, 77, 255, .06)); color: var(--text); box-shadow: inset 3px 0 0 var(--purple); }
.cat .dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); display: none; }
.cat.done .dot { display: block; }
.sets { padding: 20px; min-height: 60vh; }
.sets h2 { margin: 0 0 4px; }
.sets .help { color: var(--muted); margin: 0 0 16px; }
.setgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.setgrid.wide { grid-template-columns: 1fr; }
.set { background: var(--bg2); border: 2px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.setgrid.anim .set { animation: fadeUp .45s var(--ease) both; }
.set:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 12px 26px rgba(0, 0, 0, .35); }
.set.on { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 207, 63, .14), 0 12px 30px rgba(255, 190, 50, .15); }
.set.just { animation: pop .35s var(--ease); }
.set img { width: 100%; border-radius: 9px; image-rendering: pixelated; background: #1e1f22; display: block; }
.set img.smooth, .lightbox img.smooth { image-rendering: auto; }
.imgwrap { position: relative; }
.zoom { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(10, 7, 20, .75); color: #fff; font-size: 15px; cursor: zoom-in; opacity: 0; transition: opacity .2s, transform .2s; backdrop-filter: blur(4px); }
.set:hover .zoom { opacity: 1; }
.zoom:hover { transform: scale(1.08); }
@media (hover: none) { .zoom { opacity: 1; } }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; gap: 10px; padding: 24px; cursor: zoom-out;
  background: rgba(5, 3, 12, .88); backdrop-filter: blur(6px); animation: fadeUp .25s var(--ease); }
.lightbox img { max-width: min(1400px, 96vw); max-height: 82vh; border-radius: 14px; image-rendering: pixelated; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox span { color: var(--muted); font-size: 13px; }
.set .nm { font-weight: 600; font-size: 14px; margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; }
.set .nm small { color: var(--gold); font-weight: 800; }
.set.vanilla { display: grid; place-items: center; min-height: 110px; color: var(--muted); font-weight: 700; }
.side { padding: 20px 20px 0; position: sticky; top: 86px; display: grid; gap: 14px; max-height: calc(100vh - 102px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.side-actions { position: sticky; bottom: 0; display: grid; gap: 10px; margin: 0 -20px; padding: 14px 20px 18px; background: linear-gradient(180deg, rgba(26, 20, 48, 0), #1a1430 22%); border-radius: 0 0 var(--radius) var(--radius); }
.side-actions #out:empty { display: none; }
.side h3 { margin: 0; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field select { width: 100%; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: 500 14px "Inter"; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(155, 77, 255, .18); }
.chosen { list-style: none; margin: 0; padding: 0; max-height: 210px; overflow: auto; font-size: 13px; display: grid; gap: 4px; }
.chosen li { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.chosen li b { color: var(--text); font-weight: 600; text-align: right; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks label {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; user-select: none; color: #ffb3bd; background: rgba(255, 91, 110, .1); border: 1px solid rgba(255, 91, 110, .4);
  transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.checks label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); transition: background .2s, box-shadow .2s; }
.checks label:hover { transform: translateY(-1px); }
.checks label:active { transform: scale(.95); }
.checks label:has(input:checked) { color: #b9ffc0; background: rgba(92, 240, 107, .12); border-color: rgba(92, 240, 107, .5); box-shadow: 0 0 14px rgba(92, 240, 107, .15); }
.checks label:has(input:checked)::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.checks input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.result { background: rgba(92, 240, 107, .08); border: 1px solid rgba(92, 240, 107, .35); border-radius: 12px; padding: 14px; font-size: 14px; animation: fadeUp .4s var(--ease); }
.result.err { background: rgba(255, 91, 110, .08); border-color: rgba(255, 91, 110, .35); }
.preview img { border-radius: 12px; border: 1px solid var(--line); image-rendering: pixelated; animation: fadeUp .4s var(--ease); }
.gate { text-align: center; padding: 80px 20px; animation: fadeUp .6s var(--ease); }
.gate h2 { font-size: 32px; margin: 0 0 10px; }
.gate p { color: var(--muted); margin: 0 0 24px; }

@media (max-width: 1080px) {
  .k-wrap { grid-template-columns: 210px 1fr; }
  .side { grid-column: 1 / -1; position: static; max-height: none; overflow: visible; }
  .premium-grid { grid-template-columns: 1fr; }
  .buy-card { position: static; max-width: 460px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--bg2); padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .burger { display: block; }
  .nav .user { margin-left: 0; }
  .chip .name, .chip .badge { display: none; }
  .nav .wrap { gap: 10px; }
  .brand { font-size: 16px; min-width: 0; }
  .brand img { width: 34px; height: 34px; }
  .login .long { display: none; }
  .login .short { display: inline; }
  .chip { padding: 4px; }
  .grid3, .perk-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .k-wrap { grid-template-columns: 1fr; }
  .cats { position: static; max-height: none; display: flex; overflow-x: auto; }
  .cat { white-space: nowrap; }
  .compare th, .compare td { padding: 12px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- personalizacja ---------- */
.cat.special { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; color: var(--gold); }
.cat.special.on { color: var(--text); }
.cit-form { display: grid; gap: 14px; max-width: 620px; }
.row2 { display: grid; grid-template-columns: 1fr 140px; gap: 10px; }
.row2.wide { grid-template-columns: 1fr 1fr; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 5px; }
.tab { flex: 1; min-width: 120px; border: 0; border-radius: 9px; padding: 10px 12px; font: 600 13.5px "Inter"; color: var(--muted); background: none; cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab.on { color: #fff; background: linear-gradient(135deg, var(--purple), #6c2bd9); box-shadow: 0 6px 16px rgba(155, 77, 255, .3); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .15); background: var(--c); cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, border-color .2s; }
.swatch:hover { transform: translateY(-2px) scale(1.06); }
.swatch.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15), 0 0 16px var(--c); transform: scale(1.1); }
.rules-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.rules-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; font-size: 14px; animation: fadeUp .35s var(--ease); }
.rules-list .icon-btn { width: 32px; height: 32px; flex: none; }
.field select:disabled { opacity: .45; }
@media (max-width: 760px) { .row2 { grid-template-columns: 1fr; } }

.result.warn { margin: 0 0 16px; font-weight: 600; background: rgba(255, 207, 63, .1); border-color: rgba(255, 207, 63, .45); color: #ffe7a0; }

.saved-box { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 207, 63, .12), rgba(155, 77, 255, .1)); border: 1px solid rgba(255, 207, 63, .35); animation: fadeUp .4s var(--ease); }
.saved-box span { color: var(--muted); font-size: 13px; }
.saved-box .btn { justify-self: start; margin-top: 4px; }
.saved-box.locked { background: var(--bg2); border-color: var(--line2); }

.k-jump { display: none; }
@media (max-width: 1080px) {
  .k-jump {
    display: flex; position: fixed; left: 50%; transform: translateX(-50%); width: min(420px, 100% - 32px); bottom: 14px;
    z-index: 40; justify-content: center; padding: 13px; border-radius: 14px; font-weight: 800; color: #2a1a00;
    background: linear-gradient(135deg, #ffdf5f, var(--gold2)); box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  }
  .side { scroll-margin-top: 80px; margin-bottom: 70px; }
}
@media (max-width: 760px) {
  .tab { min-width: 0; padding: 9px 6px; font-size: 12.5px; }
  .row2.wide { grid-template-columns: 1fr; }
  .side { scroll-margin-top: 80px; margin-bottom: 70px; max-height: none; overflow: visible; }
  .setgrid { grid-template-columns: 1fr; }
  .sets h2 { font-size: 22px; }
  .gate { padding: 50px 6px; }
  .gate h2 { font-size: 26px; }
}

.inv-box { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: center; margin: 0 0 18px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(155, 77, 255, .14), rgba(255, 207, 63, .06)); border: 1px solid var(--line2); }
.inv-box b { display: block; margin-bottom: 4px; }
.inv-box span { color: var(--muted); font-size: 14px; }
.inv-box img { width: 100%; border-radius: 10px; image-rendering: pixelated; border: 1px solid var(--line); }
.inv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
.inv-actions label { cursor: pointer; }
@media (max-width: 760px) { .inv-box { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 60; width: min(520px, 100% - 32px); padding: 14px 18px; border-radius: 14px; background: #16301c; border: 1px solid rgba(92, 240, 107, .5); color: #d8ffdc; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); line-height: 1.5; cursor: pointer; animation: toastIn .45s var(--ease); transition: opacity .5s, transform .5s; }
.toast.err { background: #3a1820; border-color: rgba(255, 91, 110, .55); color: #ffd9de; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -18px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast.hide { opacity: 0; transform: translate(-50%, -10px); pointer-events: none; }

.own-box { display: block; padding: 14px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line2); }
.own-box.on { display: grid; gap: 8px; background: linear-gradient(135deg, rgba(155, 77, 255, .18), rgba(92, 240, 107, .06)); border-color: rgba(155, 77, 255, .5); }
.own-box summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.own-box summary .arrow { color: var(--muted); transition: transform .2s; }
.own-box[open] summary .arrow { transform: rotate(180deg); }
.own-body { display: grid; gap: 10px; margin-top: 10px; }
.own-box summary::-webkit-details-marker { display: none; }
.own-box span { color: var(--muted); font-size: 13px; }
.own-box .btn { justify-self: start; }
.own-box select, .own-link input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 500 14px "Inter"; }
.own-link { display: flex; gap: 8px; }
.own-link input { flex: 1; min-width: 0; }

/* ---------- wgraj paczkę ---------- */
.up-page { max-width: 720px; padding-bottom: 30px; }
.up-card { display: grid; gap: 14px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); backdrop-filter: blur(10px); animation: fadeUp .6s var(--ease); }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 38px 20px; border-radius: 16px; cursor: pointer;
  border: 2px dashed var(--line2); background: rgba(155, 77, 255, .06); transition: border-color .2s, background .2s, transform .2s; }
.drop:hover, .drop.over { border-color: var(--purple); background: rgba(155, 77, 255, .14); transform: translateY(-2px); }
.drop.has { border-style: solid; border-color: rgba(92, 240, 107, .55); background: rgba(92, 240, 107, .07); }
.drop-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--purple), #6c2bd9); box-shadow: 0 10px 26px rgba(155, 77, 255, .4); }
.drop-ico .ic { width: 28px; height: 28px; }
.drop b { font-size: 17px; word-break: break-all; }
.drop span { color: var(--muted); font-size: 14px; }
.up-row input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: 500 15px "Inter"; }
.up-row input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(155, 77, 255, .18); }
.up-card .btn.big { width: 100%; }
.up-card .or { margin: 2px 0; }
.progress { position: relative; height: 34px; border-radius: 12px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); }
.progress #bar { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--purple), var(--gold)); transition: width .2s; }
.progress span { position: relative; display: grid; place-items: center; height: 100%; font-weight: 700; font-size: 14px; }
.up-list { margin-top: 26px; }
.up-list h3 { margin: 0 0 12px; }
.up-list ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.up-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); animation: fadeUp .4s var(--ease); }
.up-list li b { display: block; }
.up-list li span { color: var(--muted); font-size: 13px; }
.up-li-actions { display: flex; gap: 8px; align-items: center; flex: none; }
@media (max-width: 760px) {
  .up-card { padding: 18px; }
  .up-list li { flex-direction: column; align-items: stretch; }
  .up-li-actions .btn { flex: 1; }
}

.own-box.mine { display: grid; gap: 8px; border-color: rgba(155, 77, 255, .5); background: linear-gradient(135deg, rgba(155, 77, 255, .16), rgba(155, 77, 255, .04)); }
.own-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: 600 14px "Inter"; text-align: left; transition: border-color .2s, transform .2s, background .2s; }
.own-item:hover { border-color: var(--purple); background: rgba(155, 77, 255, .14); transform: translateY(-1px); }
.own-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 14px; }
.own-item small { flex: none; color: var(--gold); font-weight: 700; }
.own-box.mine details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); }
.own-box.mine details summary::-webkit-details-marker { display: none; }
.own-box.mine details[open] summary .arrow { transform: rotate(180deg); }

.up-done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 18px 6px; animation: fadeUp .5s var(--ease); }
.up-done-ico { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; font-size: 36px;
  background: rgba(92, 240, 107, .14); border: 1px solid rgba(92, 240, 107, .45); animation: pop .5s var(--ease); }
.up-done h2 { margin: 4px 0 0; font-size: 26px; word-break: break-word; }
.up-done p { margin: 0 0 6px; color: var(--muted); }
.up-done .btn.big { width: min(360px, 100%); }

/* personalizacja: logo na zbroi */
.logo-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.logo-pick img { width: 64px; height: 64px; object-fit: contain; image-rendering: auto; border-radius: 12px; padding: 6px;
  background: repeating-conic-gradient(rgba(255, 255, 255, .06) 0 25%, transparent 0 50%) 0 0 / 14px 14px; border: 1px solid rgba(255, 255, 255, .12); }
.swatch.none { color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 700; display: grid; place-items: center; }

/* stopka: podpis twórcy */
.footer .made-by { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.footer .made-by b { background: linear-gradient(90deg, #b57bff, #ffd36b); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; letter-spacing: .3px; }

/* Pytanie o przymusowy texturepack (od 1.17) */
.ask { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
       background: rgba(6, 4, 14, .72); backdrop-filter: blur(6px); animation: askIn .2s var(--ease); }
.ask-box { width: min(520px, 100%); background: var(--card-solid); border: 1px solid var(--line2); border-radius: var(--radius);
           padding: 22px; box-shadow: var(--shadow); }
.ask-box h3 { margin: 0 0 6px; font-size: 19px; }
.ask-box p { margin: 0 0 12px; }
.ask-box ol { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.ask-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 14px; }
@keyframes askIn { from { opacity: 0; } to { opacity: 1; } }

/* przymusowy txt: ostrzeżenie */
.ask-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(253, 216, 53, .1); border: 1px solid rgba(253, 216, 53, .35); font-size: 14px; }

/* kreator: znaczek nowego zestawu */
.badge-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #1b1030; background: linear-gradient(90deg, #ffd36b, #ffb830); vertical-align: middle; }
