[hidden] { display: none !important; }
:root {
  color-scheme: dark;
  --bg: #0f0b07;
  --bg-2: #17110b;
  --card: #1c150e;
  --card-2: #241a11;
  --line: rgba(255, 150, 60, .16);
  --line-2: rgba(255, 150, 60, .32);
  --text: #fff7ee;
  --muted: #b8a593;
  --orange: #ff8a1a;
  --orange-2: #ff6200;
  --orange-soft: rgba(255, 138, 26, .14);
  --green: #6fcf5b;
  --red: #ff5d4d;
  --radius: 18px;
  --display: 'Lexend', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55;
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(255, 110, 20, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(80, 140, 40, .10), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; position: relative; z-index: 1; }

/* Spadające liście */
.leaves { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.leaf { position: absolute; top: -40px; font-size: 18px; opacity: .45; animation: fall linear infinite; }
@keyframes fall {
  0% { transform: translate(0, -40px) rotate(0); }
  50% { transform: translate(40px, 50vh) rotate(180deg); }
  100% { transform: translate(-20px, 105vh) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .leaf { display: none; } html { scroll-behavior: auto; } }

/* Nagłówek */
.nav { display: flex; align-items: center; gap: 36px; padding: 22px 0; }
.nav .logo img { height: 54px; display: block; filter: drop-shadow(0 4px 14px rgba(255, 110, 0, .35)); }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav ul a { text-decoration: none; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s; }
.nav ul a:hover, .nav ul a.active { color: var(--text); border-color: var(--orange); }
.online { text-align: right; line-height: 1.2; }
.online b { font-family: var(--display); font-size: 20px; }
.online small { display: block; color: var(--muted); font-size: 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 4px rgba(111, 207, 91, .18); vertical-align: middle; }
.dot.off { background: #777; box-shadow: none; }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 60px 0 70px; }
.kicker { color: var(--orange); font-family: var(--display); font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 14px; }
.kicker::after { content: ''; width: 90px; height: 4px; background: radial-gradient(circle, var(--orange) 1.5px, transparent 2px) 0 0 / 10px 4px; opacity: .6; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 14px 0 18px; }
.hero h1 span { color: var(--orange); }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 30px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 120, 20, .35), transparent 65%); filter: blur(10px); }
.hero-art img { position: relative; width: min(460px, 100%); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 14px; font: 600 16px var(--body);
  border: 2px solid var(--line-2); background: var(--card); color: var(--text); text-decoration: none; cursor: pointer; transition: .2s; }
.btn:hover { border-color: var(--orange); transform: translateY(-2px); }
.btn.primary { background: linear-gradient(180deg, var(--orange), var(--orange-2)); border-color: transparent; color: #1b0e02; box-shadow: 0 10px 30px rgba(255, 100, 0, .3); }
.btn.primary:hover { box-shadow: 0 14px 36px rgba(255, 100, 0, .45); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--orange); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }

/* Sekcje */
section { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 34px; }
.section-title h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.section-title p { color: var(--muted); margin: 10px auto 0; max-width: 620px; }
.panel { border: 2px solid var(--line); border-radius: 28px; padding: 30px; background: rgba(28, 21, 14, .55); backdrop-filter: blur(6px); }

/* Sklep */
.notice { display: flex; gap: 12px; align-items: center; background: var(--orange-soft); border: 1px solid var(--line-2); color: #ffd2a8; border-radius: 14px; padding: 12px 16px; margin: 0 auto 26px; max-width: 760px; font-size: 14px; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 600 14px var(--body); cursor: pointer; transition: .2s; }
.tab.active, .tab:hover { background: var(--orange); color: #1b0e02; border-color: var(--orange); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .25s; }
.product:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.product .badge { position: absolute; top: 14px; right: 14px; background: var(--orange); color: #1b0e02; font: 700 11px var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; }
.product .icon { width: 78px; height: 78px; border-radius: 20px; display: grid; place-items: center; font-size: 42px; background: radial-gradient(circle at 30% 25%, rgba(255, 160, 60, .35), rgba(255, 110, 0, .08)); border: 1px solid var(--line-2); margin-bottom: 16px; overflow: hidden; }
.product .icon img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.product h3 { font-size: 20px; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--display); font-weight: 800; font-size: 24px; }
.price s { color: var(--muted); font-size: 14px; font-weight: 500; margin-left: 6px; }
.product .btn { padding: 10px 18px; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* Discord + IP */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.discord { border-radius: 24px; padding: 40px; text-align: center; color: #fff; background: linear-gradient(140deg, #ff9a2e, #ff5a00); box-shadow: 0 20px 50px rgba(255, 90, 0, .28); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.discord h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.discord p { margin: 12px 0 24px; opacity: .92; }
.discord .btn { background: #fff; color: #c24400; border: 0; min-width: 240px; }
.join { border-radius: 24px; padding: 34px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.join h3 { font-size: 28px; }
.ipbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 14px; font: 700 20px var(--display); }
.steps { color: var(--muted); padding-left: 20px; margin: 0; }

/* Ostatnie zakupy */
.recent { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.buyer { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 10px 14px; text-align: center; }
.buyer img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 8px; display: block; margin: 0 auto 10px; }
.buyer b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buyer small { color: var(--orange); display: block; font-size: 12px; }
.buyer time { color: var(--muted); font-size: 11px; }
.top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.top .row { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.medal { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--orange-soft); }
.top img { width: 36px; height: 36px; image-rendering: pixelated; border-radius: 6px; }
.top b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { background: var(--orange-soft); color: var(--orange); padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Formularze */
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 15px var(--body); outline: none; transition: .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--orange); }
.input-head { position: relative; }
.input-head img { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; image-rendering: pixelated; border-radius: 6px; }
.row2 { display: flex; gap: 10px; }
.row2 > :first-child { flex: 1; }
.msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--green); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(5, 3, 1, .72); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal.open { display: flex; }
.modal-box { width: min(480px, 100%); max-height: 92vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 24px; padding: 28px; position: relative; animation: pop .2s ease; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }
.modal-head { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.modal-head .icon { width: 60px; height: 60px; font-size: 32px; margin: 0; }
.summary { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.summary .total { color: var(--text); font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.demo-note { margin-top: 12px; font-size: 12px; color: #ffcf99; background: rgba(255, 170, 60, .08); border-radius: 10px; padding: 8px 10px; }

/* Voucher */
.voucher { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 50px 0; }
.voucher h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 800; text-transform: uppercase; }
.voucher h1 span { color: var(--orange); display: block; }
.voucher form { max-width: 380px; margin-top: 28px; }
.step-no { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }

/* Regulamin, status */
.doc { max-width: 820px; margin: 40px auto; white-space: pre-wrap; color: #e9dccf; }
.status { max-width: 560px; margin: 70px auto; text-align: center; }
.status .big { font-size: 64px; }
.status h1 { font-size: 40px; margin: 10px 0; }
.status p { color: var(--muted); }

/* Stopka */
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 40px 0 30px; color: var(--muted); font-size: 14px; position: relative; z-index: 1; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: var(--text); font-family: var(--display); margin: 0 0 12px; }
footer a { display: block; text-decoration: none; margin: 6px 0; }
footer a:hover { color: var(--orange); }
footer .legal { margin-top: 26px; font-size: 12px; opacity: .7; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(30px); background: var(--orange); color: #1b0e02; font-weight: 700; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }


/* Doładowanie suwakiem (BajlaMC) */
.topup { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.topup-card { border: 1px solid var(--line-2); border-radius: 28px; padding: 30px 32px 26px; background: linear-gradient(180deg, rgba(36, 26, 17, .92), rgba(24, 17, 11, .92)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 180, 90, .12); }
.topup-amount { text-align: center; margin-bottom: 8px; }
.topup-amount .big { font-family: var(--display); font-weight: 800; line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.topup-amount .big b { font-size: clamp(56px, 8vw, 84px); background: linear-gradient(180deg, #ffd27a, var(--orange) 55%, var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(255, 120, 0, .35)); font-variant-numeric: tabular-nums; }
.topup-amount .big span { font-size: 22px; color: var(--muted); font-weight: 700; }
.bonus-tag { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(111, 207, 91, .14); color: var(--green); border: 1px solid rgba(111, 207, 91, .35); font-weight: 700; font-size: 14px; }
.bonus-tag small { color: #a9dba0; font-weight: 500; }
.slider-wrap { padding: 18px 6px 4px; }
.slider-wrap input[type=range] { --pct: 10%; -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; outline: none; margin: 0; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--orange-2), var(--orange) var(--pct), rgba(255, 255, 255, .08) var(--pct)); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); }
.slider-wrap input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3dc, #ffb347 60%, #ff7a00); border: 3px solid #1b0e02; box-shadow: 0 0 0 4px rgba(255, 138, 26, .25), 0 8px 20px rgba(255, 110, 0, .5); transition: transform .15s; }
.slider-wrap input[type=range]::-webkit-slider-thumb:hover, .slider-wrap input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.slider-wrap input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3dc, #ffb347 60%, #ff7a00); border: 3px solid #1b0e02; box-shadow: 0 0 0 4px rgba(255, 138, 26, .25), 0 8px 20px rgba(255, 110, 0, .5); }
.slider-wrap input[type=range]::-moz-range-track { background: transparent; }
.slider-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 8px; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 14px 0 12px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 700 14px var(--body); cursor: pointer; transition: .15s; }
.chip:hover { color: var(--text); border-color: var(--orange); }
.chip.active { background: var(--orange); color: #1b0e02; border-color: var(--orange); box-shadow: 0 6px 18px rgba(255, 110, 0, .35); }
.topup-card .input-head .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; font-size: 14px; }
.topup-card #tInput { text-align: center; font: 700 20px var(--display); -moz-appearance: textfield; }
.topup-card #tInput::-webkit-outer-spin-button, .topup-card #tInput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tiers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.tier { font-size: 12px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 999px; padding: 5px 11px; transition: .2s; }
.tier b { color: var(--green); }
.tier.active { background: rgba(111, 207, 91, .12); border-style: solid; border-color: rgba(111, 207, 91, .45); color: var(--text); }
.pay-box { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 138, 26, .16), rgba(255, 98, 0, .06)); border: 1px solid var(--line-2); }
.pay-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; padding: 3px 0; }
.pay-row b { color: var(--text); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 10px; }
.pay-total span { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--muted); }
.pay-total b { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--orange); }
.btn.xl { padding: 18px 26px; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }
.pay-info { margin-top: 12px; text-align: center; color: var(--muted); font-size: 13px; }
.topup-side { display: flex; flex-direction: column; gap: 18px; }
.topup-side h3 { font-size: 22px; margin: 6px 0 0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.perks li span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--orange-soft); flex: none; }
.perks li b { display: block; font-size: 15px; }
.perks li small { color: var(--muted); font-size: 13px; }
.how { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: var(--muted); font-size: 14px; }
.how b { color: var(--text); }
.how ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }

@media (max-width: 900px) {
  .hero, .voucher, .duo, .topup { grid-template-columns: 1fr; }
  .topup-card { padding: 22px 18px; }
  .hero-art { order: -1; } .hero-art img { width: 300px; }
  .recent { grid-template-columns: repeat(3, 1fr); }
  .top, footer .cols { grid-template-columns: 1fr; }
  .nav ul { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; z-index: 5; }
  .nav ul.open { display: flex; }
  .burger { display: block; }
  .nav { justify-content: space-between; }
}
