/* Shared blue palette, with a quiet background and a stronger logo halo. */
body,body.store-page,body.legal-page {
  background:
    radial-gradient(ellipse 85% 850px at 100% 0%,#5ca8ff21,transparent 75%),
    radial-gradient(ellipse 80% 1050px at 0% 48%,#58b7fa16,transparent 78%),
    linear-gradient(145deg,#f5f9ff 0%,#edf5ff 48%,#f2f8ff 100%);
  background-color:#f0f6ff;
}
body:before { background:radial-gradient(ellipse at 75% 10%,#53aaff12,transparent 65%); }
.shop,
.hero-actions .button.primary,
.hero-actions .button.secondary,
.footer-discord .button {
  background:linear-gradient(115deg,#0868cf,#1475dc);
  border-color:#428ded40;color:#fff;
  box-shadow:0 7px 21px #0870d928,inset 0 1px 0 #ffffff1f;
}
.shop:hover,
.hero-actions .button.primary:hover,
.hero-actions .button.secondary:hover,
.footer-discord .button:hover {
  background:linear-gradient(115deg,#075ebf,#0b6bd3);
  color:#fff;box-shadow:0 10px 28px #0870d940,inset 0 1px 0 #ffffff26;
}
.shop .small-arrow { opacity:.85; }
.hero-actions .discord-emote { background:#ffffff18;border:1px solid #ffffff20;box-shadow:none; }
.hero-actions .discord-emote > svg { color:#fff; }
.footer-discord-icon { background:#0c78e414;color:#1075d9; }
.settings-trigger { border-color:#d5e5f7; }
.settings-trigger:hover { border-color:#8cbfee;color:#086bce; }
.hero:before {
  background:radial-gradient(ellipse at 82% 43%,#0762c53b,transparent 55%),
    radial-gradient(ellipse at 8% 100%,#13355926,transparent 46%);
}
.hero-art { isolation:isolate; }
.logo-aura {
  inset:auto;left:50%;top:50%;width:137%;max-width:680px;height:auto;aspect-ratio:1;
  background:radial-gradient(circle,#188eff94 0%,#087aff61 27%,#178bfa38 46%,#45b9ff16 59%,transparent 73%);
  filter:blur(26px);opacity:.9;border-radius:50%;z-index:0;
  transform:translate(-50%,-50%);animation:wificraft-blue-aura 5.5s ease-in-out infinite;
}
.logo-aura:after {
  content:"";position:absolute;inset:21%;border-radius:50%;
  box-shadow:0 0 90px 34px #077eff44;
  background:#138eff22;
}
.hero-art .orbit-one {
  border:1.5px dashed #52b6ff58;
  box-shadow:0 0 34px #107de516;
}
.hero-art .orbit-one:after {
  content:"";position:absolute;top:20px;right:47px;width:7px;height:7px;border-radius:50%;
  background:#73caff;box-shadow:0 0 14px #38aaff,0 0 30px #087aff;
}
.hero-art .orbit-two { border-color:#3c9aff22; }
.logo-burst { border-color:#6bc8ff;box-shadow:0 0 30px #258aff55,inset 0 0 25px #258aff22; }
.logo-sparks > span { background:#74cfff;box-shadow:0 0 11px #168fffaa; }
.main-logo { filter:drop-shadow(0 20px 24px #001025a0) drop-shadow(0 0 18px #148cff28); }
.modes .section-heading h2 > span { color:#7693b1; }
.modes .section-heading .eyebrow { color:#1888dc; }
@keyframes wificraft-blue-aura {
  0%,100% { transform:translate(-50%,-50%) scale(.93);opacity:.72; }
  50% { transform:translate(-50%,-50%) scale(1.06);opacity:1; }
}
@media(max-width:850px) {
  .logo-aura { width:142%;filter:blur(23px); }
}
@media(max-width:600px) {
  .logo-aura { width:145%;max-width:470px;filter:blur(21px); }
}
@media(prefers-reduced-motion:reduce) {
  .logo-aura { animation:none;transform:translate(-50%,-50%);opacity:.82; }
}

/* Whole-page atmosphere: floating logos, blue dust and drifting light. */
body { position:relative;isolation:isolate; }
body:before { z-index:-2; }
.world-ambient {
  position:fixed;inset:0;z-index:-1;overflow:hidden;
  pointer-events:none;user-select:none;
}
.world-logos,.world-particles,.world-shapes { position:absolute;inset:0;pointer-events:none; }
.world-logo {
  position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);
  object-fit:contain;opacity:var(--alpha);filter:saturate(.65);
  animation:world-logo-drift var(--duration) ease-in-out var(--delay) infinite alternate;
}
.world-particle {
  position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);
  border-radius:50%;background:#45baff;box-shadow:0 0 9px #45baff44;opacity:.32;
  animation:world-dust-drift var(--duration) ease-in-out var(--delay) infinite alternate;
}
.world-square {
  position:absolute;left:var(--x);top:var(--y);width:78px;height:78px;
  border:1px solid #fff8;background:#fff3;border-radius:13px;
  animation:world-logo-drift var(--duration) ease-in-out var(--delay) infinite alternate;
}
.world-square:nth-child(2) { width:58px;height:58px;background:#d1eaff12; }
.world-square:nth-child(3) { width:96px;height:96px;opacity:.5; }
.world-haze {
  position:absolute;width:530px;height:530px;border-radius:50%;filter:blur(90px);opacity:.48;
  animation:world-light-drift 26s ease-in-out infinite alternate;
}
.world-haze-1 { left:-210px;top:10%;background:#91e5ff75; }
.world-haze-2 { right:-190px;bottom:-160px;background:#87baff5c;animation-delay:-12s; }
.world-haze-3 { left:43%;top:33%;width:400px;height:400px;background:#b6f1ff55;animation-delay:-21s; }
.world-paused * { animation-play-state:paused!important; }
@keyframes world-logo-drift {
  0% { transform:translate3d(-20px,32px,0) rotate(calc(var(--rotation) - 10deg)); }
  50% { transform:translate3d(27px,-15px,0) rotate(var(--rotation)); }
  100% { transform:translate3d(-6px,-74px,0) rotate(calc(var(--rotation) + 13deg)); }
}
@keyframes world-dust-drift {
  0% { transform:translate3d(-8px,35px,0);opacity:.16; }
  50% { opacity:.48; }
  100% { transform:translate3d(32px,-85px,0);opacity:.25; }
}
@keyframes world-light-drift {
  from { transform:translate3d(-24px,15px,0) scale(.92); }
  to { transform:translate3d(58px,-38px,0) scale(1.08); }
}
@media(max-width:600px) {
  .world-logo:nth-child(n+10),.world-particle:nth-child(n+14),.world-square:nth-child(3) { display:none; }
  .world-logo { width:calc(var(--size) * .8);height:calc(var(--size) * .8); }
  .world-haze { width:350px;height:350px;filter:blur(75px); }
  .world-haze-1 { left:-160px; }
  .world-haze-2 { right:-160px; }
  .world-square { width:48px;height:48px; }
}
@media(prefers-reduced-motion:reduce) {
  .world-logo,.world-particle,.world-square { display:none; }
  .world-haze { animation:none; }
}

/* Quantity picker uses the existing shop's live minimum and maximum. */
.quantity-field { margin-top:25px;padding-bottom:21px;border-bottom:1px solid #e5edf5; }
.quantity-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px; }
.quantity-heading .field-label { margin:0;font-size:11px;letter-spacing:.6px; }
.quantity-heading .field-label small { font:inherit; }
.quantity-heading output { flex-shrink:0;border-radius:10px;background:#eaf3ff;color:#0878ef;padding:8px 12px;font-size:12px;font-weight:900; }
.quantity-slider-row { display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:14px;align-items:center; }
.quantity-step { display:grid;place-items:center;width:42px;height:42px;padding:0;background:#f0f3f7;color:#192b3c;border-radius:11px;font-size:24px;font-weight:800;line-height:1;transition:background .2s,color .2s; }
.quantity-step:hover:not(:disabled) { background:#e4f0ff;color:#0878ed; }
.quantity-step:disabled { color:#9baabc;cursor:default;opacity:.55; }
.checkout-grid .quantity-field input[type="range"] {
  appearance:none;-webkit-appearance:none;width:100%;height:28px;min-width:0;
  padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;
  accent-color:#0c7df3;
}
.checkout-grid .quantity-field input[type="range"]::-webkit-slider-runnable-track { height:7px;border-radius:8px;background:linear-gradient(to right,#147ef0 var(--quantity-progress,0%),#e1e8f2 var(--quantity-progress,0%)); }
.checkout-grid .quantity-field input[type="range"]::-webkit-slider-thumb { appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-7.5px;background:#087cf1;border:3px solid white;border-radius:50%;box-shadow:0 0 0 3px #1381f114,0 2px 9px #087cf13d; }
.checkout-grid .quantity-field input[type="range"]::-moz-range-track { height:7px;border:0;border-radius:8px;background:#e1e8f2; }
.checkout-grid .quantity-field input[type="range"]::-moz-range-progress { height:7px;border-radius:8px;background:#147ef0; }
.checkout-grid .quantity-field input[type="range"]::-moz-range-thumb { width:17px;height:17px;background:#087cf1;border:3px solid white;border-radius:50%;box-shadow:0 0 0 3px #1381f114,0 2px 9px #087cf13d; }
.checkout-grid .quantity-field input[type="range"]:focus-visible { outline:2px solid #1789f5;outline-offset:5px;border-radius:5px; }
@media(max-width:550px) { .quantity-slider-row { grid-template-columns:38px minmax(0,1fr) 38px;gap:11px; }.quantity-step { width:38px;height:38px; }.quantity-heading .field-label { font-size:10px; }.quantity-heading output { font-size:11px; } }

.hero-bottom a{display:inline-flex;align-items:center;gap:12px}
.hero-bottom a .discover-minecraft-arrow{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;margin:0;line-height:0}
.hero-bottom .discover-minecraft-arrow svg{width:24px;height:24px;stroke:none;transform:rotate(90deg);filter:drop-shadow(0 2px 3px #001a3860)}

/* Live Minecraft status and local pixel head */
.header .brand .brand-online{display:flex;align-items:center;gap:4px;font:600 10px/1.5 Manrope,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#7795ae;margin-top:3px;white-space:nowrap}.brand-online i{width:6px;height:6px;border-radius:50%;background:#a8bdcf;box-shadow:0 0 0 3px #9eb5c419;flex-shrink:0}.brand-online[data-state="online"] i{background:#20c9a4;box-shadow:0 0 0 3px #20c9a41c}.brand-online[data-state="offline"] i{background:#a9b8c6}.brand-online b{font-weight:800;color:#327fac}.nickname-field>.minecraft-nick-head,.voucher-field>.minecraft-nick-head{position:absolute;left:13px;width:24px;height:24px;image-rendering:pixelated;border-radius:4px;pointer-events:none;box-shadow:0 2px 5px #284b6920}.nickname-field input{padding-left:48px!important}.voucher-field>.minecraft-nick-head{left:15px}.voucher-field #voucher-nick{padding-left:49px}@media(max-width:600px){.header .brand .brand-online{font-size:8px;gap:3px}.brand-online i{width:5px;height:5px}}@media(max-width:380px){.brand-online>span{display:none}}

/* ============ Ustawienia ============ */
.settings-dialog{max-width:440px;padding:28px 28px 24px;border-radius:26px;border:1px solid #dbe8f6;background:radial-gradient(120% 55% at 0% 0%,#e4f1ff 0%,transparent 62%),#fbfdff;box-shadow:0 40px 90px #021a3a55}
.settings-dialog .settings-close,.shop-dialog .shop-dialog-close{top:18px;right:18px;width:34px;height:34px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:22px;line-height:1;color:#6f8aa3;background:#fff;border:1px solid #dfeaf6;box-shadow:0 3px 10px #0b3a6b12;transition:background .2s,color .2s,transform .25s}
.settings-dialog .settings-close:hover,.shop-dialog .shop-dialog-close:hover{background:#e8f2ff;color:#0868cf;transform:rotate(90deg)}
.settings-head{display:flex;align-items:center;gap:15px;margin-bottom:20px;padding-right:40px}
.settings-head-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(135deg,#1d8bf0,#0861c4);color:#fff;box-shadow:0 10px 22px #0870d935,inset 0 1px 0 #ffffff35}
.settings-head-icon svg{width:25px;height:25px;stroke-width:1.9}
.settings-kicker,.shop-dialog-kicker{display:block;font-size:9px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#1888dc;margin-bottom:3px;line-height:1.4}
.settings-dialog h2{font-size:28px;line-height:1.1;margin:0;color:#0c2440}
.settings-card{background:#fff;border:1px solid #e1ecf8;border-radius:20px;padding:6px;box-shadow:0 8px 24px #0b3a6b0f}
.settings-row{display:flex;align-items:center;gap:12px;padding:12px 12px 14px 10px}
.settings-row-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:#e8f2ff;color:#0a6fd8}
.settings-row-icon svg{width:21px;height:21px}
.settings-row-text{flex:1;min-width:0}
.settings-row-text>span{display:block;font-size:13px;font-weight:800;line-height:1.4;color:#13304d}
.settings-row-text p{margin:1px 0 0;font-size:10.5px;line-height:1.5;color:#7d93a8}
.settings-state{font-size:9px;font-weight:800;color:#0a7be8;background:#e6f1ff;border-radius:20px;padding:4px 9px;white-space:nowrap;line-height:1.5}
.settings-state.is-off{color:#8a9bab;background:#eef2f6}
.settings-dialog .sound-switch{position:relative;display:block;flex-shrink:0;width:50px;height:29px;padding:0;border-radius:30px;background:#cdd9e5;box-shadow:inset 0 1px 3px #0b2a4a1f;transition:background .25s,box-shadow .25s}
.settings-dialog .sound-switch[aria-checked=true]{background:linear-gradient(115deg,#1d8bf0,#0868cf);box-shadow:0 4px 12px #0870d940}
.settings-dialog .switch-knob{top:4px;left:4px;width:21px;height:21px;box-shadow:0 2px 6px #0b2a4a33;transition:transform .28s cubic-bezier(.3,1.4,.5,1)}
.settings-dialog .sound-switch[aria-checked=true] .switch-knob{transform:translateX(21px)}
.settings-dialog .sound-switch:focus-visible{outline:2px solid #1789f5;outline-offset:3px}
.volume-block{padding:15px 14px 14px;border-radius:15px;background:linear-gradient(180deg,#f3f8fe,#edf4fc);border:1px solid #e2edf9;transition:opacity .25s}
.volume-block.is-disabled{opacity:.45}
.volume-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.volume-head label{font-size:12px;font-weight:800;color:#13304d}
.volume-head output{min-width:54px;text-align:center;font:800 13px/1 Outfit,Manrope,Arial,sans-serif;font-variant-numeric:tabular-nums;color:#fff;background:linear-gradient(115deg,#1d8bf0,#0868cf);border-radius:9px;padding:7px 9px;box-shadow:0 4px 10px #0870d930}
.volume-block.is-disabled .volume-head output{background:#9fb1c3;box-shadow:none}
.volume-slider{display:flex;align-items:center;gap:10px}
.volume-end{width:18px;height:18px;color:#86a0b8;flex-shrink:0}
.volume-slider input[type=range]{flex:1;min-width:0;height:32px;margin:0;padding:0;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:0;box-shadow:none;cursor:pointer}
.volume-slider input[type=range]:disabled{cursor:default}
.volume-slider input[type=range]::-webkit-slider-runnable-track{height:10px;border-radius:10px;background:linear-gradient(90deg,#45b6ff,#0868cf) 0 0/var(--volume-progress,70%) 100% no-repeat,#d8e4f0;box-shadow:inset 0 1px 2px #0b2a4a22}
.volume-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;box-sizing:border-box;width:26px;height:26px;margin-top:-8px;border-radius:50%;background:#fff;border:7px solid #0f7ae5;box-shadow:0 3px 10px #0868cf59;transition:transform .15s ease,box-shadow .15s ease,border-color .2s}
.volume-slider input[type=range]:hover:not(:disabled)::-webkit-slider-thumb{box-shadow:0 3px 10px #0868cf59,0 0 0 7px #0f7ae51f}
.volume-slider input[type=range]:active:not(:disabled)::-webkit-slider-thumb{transform:scale(1.12);box-shadow:0 3px 12px #0868cf66,0 0 0 9px #0f7ae529}
.volume-slider input[type=range]::-moz-range-track{height:10px;border-radius:10px;background:#d8e4f0;box-shadow:inset 0 1px 2px #0b2a4a22}
.volume-slider input[type=range]::-moz-range-progress{height:10px;border-radius:10px;background:linear-gradient(90deg,#45b6ff,#0868cf)}
.volume-slider input[type=range]::-moz-range-thumb{box-sizing:border-box;width:26px;height:26px;border-radius:50%;background:#fff;border:7px solid #0f7ae5;box-shadow:0 3px 10px #0868cf59}
.volume-block.is-disabled input[type=range]::-webkit-slider-thumb{border-color:#9fb1c3;box-shadow:none}
.volume-block.is-disabled input[type=range]::-moz-range-thumb{border-color:#9fb1c3;box-shadow:none}
.volume-slider input[type=range]:focus-visible{outline:2px solid #1789f5;outline-offset:3px;border-radius:8px}
.volume-presets{display:flex;gap:7px;margin-top:12px}
.volume-presets button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 6px;border-radius:10px;font-size:11px;font-weight:800;line-height:1.2;color:#3d5a76;background:#fff;border:1px solid #d8e5f3;transition:background .18s,color .18s,border-color .18s,transform .18s}
.volume-presets button:hover:not(:disabled){border-color:#9cc8f2;color:#0868cf;transform:translateY(-1px)}
.volume-presets button[aria-pressed=true]{background:#e2efff;border-color:#6fb0ef;color:#0868cf}
.volume-presets .volume-test{flex:0 0 auto;padding:9px 14px;color:#fff;background:linear-gradient(115deg,#1d8bf0,#0868cf);border-color:transparent;box-shadow:0 4px 10px #0870d930}
.volume-presets .volume-test:hover:not(:disabled){color:#fff;border-color:transparent;filter:brightness(1.07)}
.volume-presets .volume-test svg{width:11px;height:11px;fill:currentColor;stroke:none}
.volume-presets button:disabled{cursor:default}
.settings-dialog .settings-note{margin:14px 0 16px;font-size:10px;line-height:1.6;color:#93a6b8;text-align:center}
.settings-dialog .settings-done,.shop-dialog .shop-dialog-done{width:100%;border-radius:14px;background:linear-gradient(115deg,#0868cf,#1475dc);color:#fff;box-shadow:0 8px 22px #0870d935,inset 0 1px 0 #ffffff26}
.settings-dialog .settings-done:hover{background:linear-gradient(115deg,#075ebf,#0b6bd3);color:#fff}
@media(max-width:600px){
  .settings-dialog{padding:24px 18px 20px}
  .settings-head{margin-bottom:16px}
  .settings-head-icon{width:44px;height:44px;border-radius:14px}
  .settings-dialog h2{font-size:24px}
  .settings-row{gap:10px;padding:10px 8px 12px 6px}
  .settings-row-icon{width:38px;height:38px}
  .settings-state{display:none}
  .volume-presets{flex-wrap:wrap}
  .volume-presets .volume-test{flex:1 1 100%}
}

/* ============ Sklep serwera — wybór trybu ============ */
.shop-dialog{max-width:720px;width:calc(100% - 32px);padding:30px;border-radius:28px;border:1px solid #dbe8f6;background:radial-gradient(90% 70% at 100% 0%,#e1efff 0%,transparent 55%),#fbfdff;box-shadow:0 40px 100px #021a3a66}
.shop-dialog[open]{animation:shop-enter .32s cubic-bezier(.2,.8,.2,1)}
.shop-dialog-head{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding-right:44px}
.shop-dialog-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(135deg,#1d8bf0,#0861c4);box-shadow:0 10px 24px #0870d940,inset 0 1px 0 #ffffff35}
.shop-dialog-icon svg{width:34px;height:34px}
.shop-dialog h2{font-size:34px;line-height:1.05;margin:0;color:#0c2440}
.shop-dialog h2 span{color:#1888dc}
.shop-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.shop-mode{position:relative;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;border-radius:20px;background:#fff;border:1px solid #e0ebf7;box-shadow:0 8px 24px #0b3a6b12;color:inherit;text-decoration:none;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.shop-mode:hover{transform:translateY(-6px);box-shadow:0 22px 44px #0b3a6b26;border-color:#b9d8f6}
.shop-mode:focus-visible{outline:3px solid #1789f5;outline-offset:3px}
.shop-mode-visual{position:relative;height:190px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 115%,#1c4270 0%,#0b1a2c 72%)}
.shop-mode-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0f 1px,transparent 1px),linear-gradient(90deg,#ffffff0f 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:radial-gradient(circle at 50% 60%,#000 25%,transparent 72%);mask-image:radial-gradient(circle at 50% 60%,#000 25%,transparent 72%)}
.shop-mode-glow{position:absolute;width:170px;height:170px;border-radius:50%;filter:blur(32px);opacity:.7;transition:transform .45s,opacity .45s}
.shop-mode.boxpvp .shop-mode-glow{background:#9b5cff}
.shop-mode.skypvp .shop-mode-glow{background:#2fa8ff}
.shop-mode-visual img{position:relative;width:116px;height:116px;object-fit:contain;filter:drop-shadow(0 16px 18px #000b);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.shop-mode.skypvp .shop-mode-visual img{width:150px;height:150px}
.shop-mode:hover .shop-mode-visual img{transform:translateY(-8px) scale(1.06) rotate(-3deg)}
.shop-mode:hover .shop-mode-glow{transform:scale(1.25);opacity:1}
.shop-mode-body{display:flex;flex-direction:column;gap:2px;padding:18px 70px 20px 22px}
.shop-mode-name{font:800 25px/1.15 Outfit,Arial,sans-serif;letter-spacing:-.6px;color:#0c2440}
.shop-mode-tags{font-size:11px;font-weight:700;line-height:1.5;color:#7f97ad}
.shop-mode-arrow{position:absolute;right:20px;bottom:22px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e8f2ff;color:#0868cf;transition:background .25s,color .25s,transform .25s}
.shop-mode-arrow svg{width:18px;height:18px}
.shop-mode:hover .shop-mode-arrow{background:linear-gradient(115deg,#1d8bf0,#0868cf);color:#fff;transform:translateX(3px)}
.shop-mode-here{position:absolute;top:14px;left:14px;z-index:1;font-size:9px;font-weight:800;letter-spacing:1px;line-height:1.4;text-transform:uppercase;color:#fff;background:#ffffff24;border:1px solid #ffffff45;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:5px 10px;border-radius:20px}
.shop-mode.is-entering{border-color:#7fb8f2;box-shadow:0 0 0 4px #1a8cff45,0 22px 44px #0b3a6b30;transform:translateY(-4px) scale(.985)}
.shop-mode.is-entering .shop-mode-glow{transform:scale(1.7);opacity:1}
.shop-dialog[open] .shop-mode{animation:shop-card-in .5s cubic-bezier(.2,.8,.2,1) backwards}
.shop-dialog[open] .shop-mode:nth-child(2){animation-delay:.07s}
.shop-dialog-foot{margin:18px 0 0;text-align:center;font-size:11px;line-height:1.6;color:#8aa0b5}
.shop-dialog-foot a{color:#0868cf;font-weight:800}
.shop-dialog-foot a:hover{text-decoration:underline}
@keyframes shop-enter{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes shop-card-in{from{opacity:0;transform:translateY(18px)}}
@media(max-width:600px){
  .shop-dialog{padding:24px 16px 18px;border-radius:24px}
  .shop-dialog-head{gap:12px;margin-bottom:18px}
  .shop-dialog-icon{width:46px;height:46px;border-radius:14px}
  .shop-dialog-icon svg{width:28px;height:28px}
  .shop-dialog h2{font-size:26px}
  .shop-dialog-grid{grid-template-columns:1fr;gap:12px}
  .shop-mode-visual{height:120px}
  .shop-mode-visual img{width:84px;height:84px}
  .shop-mode.skypvp .shop-mode-visual img{width:108px;height:108px}
  .shop-mode-body{padding:14px 66px 16px 18px}
  .shop-mode-name{font-size:21px}
  .shop-mode-arrow{bottom:16px;right:16px;width:36px;height:36px}
}

/* Cząsteczki przy dźwiękach (orby XP, iskry) */
.fx-layer{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden}
.fx-pixel{position:absolute;border-radius:2px;will-change:transform,opacity}

/* Easter egg: logo podskakuje przy kliknięciu */
.hero .logo-stage{cursor:pointer;-webkit-tap-highlight-color:transparent}
.hero .logo-stage .main-logo.logo-bop{animation:logo-bop .38s cubic-bezier(.3,1.6,.5,1)}
@keyframes logo-bop{0%{transform:scale(1)}35%{transform:scale(.93,1.06) translateY(4px)}70%{transform:scale(1.04,.97) translateY(-3px)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.hero .logo-stage .main-logo.logo-bop,.shop-dialog[open],.shop-dialog[open] .shop-mode{animation:none}}

/* Płynne przejście między stronami (klik zdąży wybrzmieć) */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.22s}
html.wc-leaving body{opacity:0;transition:opacity .26s ease}
html.wc-leaving{cursor:progress}

/* Główka gracza przy nicku — bez migania */
.minecraft-nick-head{transition:opacity .2s ease,filter .2s ease}
.minecraft-nick-head.is-loading{opacity:.55;filter:saturate(.4)}
.minecraft-nick-head.is-swapping{animation:nick-head-pop .34s cubic-bezier(.3,1.6,.5,1)}
@keyframes nick-head-pop{0%{transform:scale(.6)}65%{transform:scale(1.15)}100%{transform:scale(1)}}

/* Komunikaty formularzy zamiast dymka „Wypełnij to pole” */
.field-error{display:flex;align-items:flex-start;gap:8px;margin:9px 0 0;padding:10px 13px;border-radius:12px;background:linear-gradient(180deg,#fff6f6,#ffeef0);border:1px solid #f7cdd2;box-shadow:0 6px 16px -10px #e2434b66;color:#bf2f39;font-size:11px;font-weight:700;line-height:1.55;text-align:left;animation:field-error-in .28s cubic-bezier(.2,.8,.2,1)}
.field-error svg{flex-shrink:0;width:16px;height:16px;margin-top:1px;color:#e2434b;stroke-width:2.1}
.nickname-field.is-invalid input,.voucher-field.is-invalid input,.promo-row.is-invalid input{border-color:#ef959c!important;background:#fff9f9!important;box-shadow:0 0 0 3px #e2434b1c!important}
.payment-fieldset.is-invalid .payment-option>span{border-color:#f1b6bb;background:#fffafa}
.payment-fieldset.is-invalid legend{color:#bf2f39}
.checkout-consent.is-invalid{color:#b23a43}
.checkout-consent.is-invalid input{outline:2px solid #e2434b;outline-offset:2px;border-radius:3px}
.checkout-consent+.field-error{margin:-5px 0 12px 25px}
.is-shaking{animation:field-shake .4s cubic-bezier(.36,.07,.19,.97)}
@keyframes field-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(3px)}30%,50%,70%{transform:translateX(-5px)}40%,60%{transform:translateX(5px)}}
@keyframes field-error-in{from{opacity:0;transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.is-shaking,.field-error,.minecraft-nick-head.is-swapping{animation:none}}

/* Postać 3D — mały kafelek obok pola z nickiem */
.skin-tile{position:relative;flex-shrink:0;align-self:stretch;width:0;margin-left:0;overflow:hidden;border-radius:12px;opacity:0;transform:scale(.8);background:radial-gradient(70% 60% at 50% 88%,#3d8bff66,transparent 72%),linear-gradient(160deg,#173761,#0b1a2c);border:1px solid #1d3a5d;box-shadow:0 8px 18px -10px #0b1a2caa,inset 0 1px 0 #ffffff14;transition:width .38s cubic-bezier(.2,.8,.2,1),margin .38s cubic-bezier(.2,.8,.2,1),opacity .3s ease,transform .38s cubic-bezier(.3,1.4,.5,1),box-shadow .25s ease}
.skin-tile.is-open{width:var(--tile-w,54px);margin-left:10px;opacity:1;transform:none}
.skin-tile canvas{position:absolute;inset:0;display:block;cursor:grab;opacity:0;transition:opacity .3s ease}
.skin-tile canvas:active{cursor:grabbing}
.skin-tile.is-ready canvas{opacity:1}
.skin-tile.is-ready.is-loading canvas{opacity:.45}
.skin-tile-spinner{position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;border:2.5px solid #ffffff26;border-top-color:#4fb4ff;opacity:0;pointer-events:none;transition:opacity .2s;animation:skin-spin .8s linear infinite}
.skin-tile.is-loading .skin-tile-spinner{opacity:1}
.skin-tile.is-pop{animation:skin-tile-pop .45s cubic-bezier(.3,1.6,.5,1)}
.skin-tile.is-ready:hover{box-shadow:0 10px 22px -10px #0b1a2ccc,0 0 0 3px #4fb4ff3d,inset 0 1px 0 #ffffff14}
@keyframes skin-spin{to{transform:rotate(360deg)}}
@keyframes skin-tile-pop{0%{transform:scale(.85)}60%{transform:scale(1.07)}100%{transform:none}}
@media(prefers-reduced-motion:reduce){.skin-tile{transition:opacity .2s}.skin-tile.is-pop{animation:none}}

/* Drugi kafelek w ustawieniach */
.settings-dialog .settings-card+.settings-card{margin-top:10px}

/* Powiadomienia o zakupach na żywo */
.live-purchase{position:fixed;left:20px;bottom:20px;z-index:60;width:min(360px,calc(100vw - 40px));opacity:0;transform:translateY(18px) scale(.96);pointer-events:none;transition:opacity .35s ease,transform .5s cubic-bezier(.2,.9,.25,1.15)}
.live-purchase.is-visible{opacity:1;transform:none;pointer-events:auto}
.live-purchase[hidden]{display:none}
.live-purchase-card{position:relative;display:flex;align-items:center;gap:13px;padding:13px 42px 16px 13px;overflow:hidden;border-radius:18px;color:inherit;text-decoration:none;background:#ffffffef;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid #d9e7f6;box-shadow:0 20px 44px -18px #0b3a6b66,0 2px 0 #fff inset;transition:transform .2s,box-shadow .2s}
.live-purchase-card:hover{transform:translateY(-2px);box-shadow:0 24px 50px -18px #0b3a6b77,0 2px 0 #fff inset}
.live-purchase-head{position:relative;flex-shrink:0;width:46px;height:46px}
.live-purchase-head img{display:block;width:46px;height:46px;border-radius:12px;image-rendering:pixelated;box-shadow:0 6px 14px #0b2a4a33}
.live-purchase-head i{position:absolute;right:-5px;bottom:-5px;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#46e0a4,#10b37a);border:2px solid #fff;box-shadow:0 3px 8px #10b37a55}
.live-purchase-head i:after{content:"";position:absolute;left:5px;top:3px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.live-purchase-text{min-width:0}
.live-purchase-kicker{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:800;letter-spacing:1.4px;line-height:1.3;text-transform:uppercase;color:#0f9f6e}
.live-purchase-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:#10b37a;box-shadow:0 0 0 3px #10b37a2b;animation:live-dot 1.4s ease-in-out infinite}
.live-purchase-line{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:3px;font-size:12px;line-height:1.45;color:#3d5a76}
.live-purchase-line strong{margin-right:5px;font-weight:900;color:#0c2440}
.live-purchase-product{font-weight:700}
.live-purchase-meta{display:block;margin-top:3px;font-size:10px;font-weight:700;line-height:1.4;color:#8aa0b5}
.live-purchase-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#45b6ff,#0868cf);transform-origin:left center}
.live-purchase.is-visible .live-purchase-bar{animation:live-bar var(--live-duration,6.5s) linear forwards}
.live-purchase.is-paused .live-purchase-bar{animation-play-state:paused}
.live-purchase-close{position:absolute;top:8px;right:8px;width:26px;height:26px;padding:0;display:grid;place-items:center;border-radius:50%;font-size:17px;line-height:1;color:#8aa0b5;background:transparent;transition:background .2s,color .2s}
.live-purchase-close:hover{background:#eef4fb;color:#0868cf}
@keyframes live-bar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes live-dot{50%{opacity:.35}}
@media(max-width:600px){.live-purchase{left:12px;right:12px;bottom:12px;width:auto}}
@media(prefers-reduced-motion:reduce){.live-purchase{transition:opacity .2s}.live-purchase-kicker:before{animation:none}}

/* Topka wydanych PLN — podium */
.support-ranking-grid.is-podium{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:16px;max-width:780px;margin:34px auto 0;padding-bottom:4px}
.support-ranking-grid.is-podium:after{content:"";position:absolute;left:5%;right:5%;bottom:-8px;height:26px;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,#0b3a6b2e,transparent);pointer-events:none}
.podium-spot{position:relative;display:flex;flex-direction:column;align-items:center;flex:1 1 0;min-width:0;max-width:240px;cursor:default}
.podium-spot.place-1{order:2;--h:156px;--delay:.36s;--medal:#eea21a;--medal-light:#ffdc63;--medal-soft:#fff4d2;--medal-text:#8a5d00;--medal-ring:#eea21a33;--block-text:#fff;--block-shadow:#a86f00}
.podium-spot.place-2{order:1;--h:116px;--delay:.18s;--medal:#98adc4;--medal-light:#edf3f9;--medal-soft:#eef3f9;--medal-text:#4b6178;--medal-ring:#98adc433;--block-text:#4b6178;--block-shadow:#ffffffb0}
.podium-spot.place-3{order:3;--h:88px;--delay:0s;--medal:#c8774a;--medal-light:#f6c29b;--medal-soft:#fcebdf;--medal-text:#8e4e28;--medal-ring:#c8774a33;--block-text:#fff;--block-shadow:#8e4e28}
.podium-player{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;padding:0 6px 16px;text-align:center;transition:transform .45s cubic-bezier(.3,1.5,.5,1)}
.podium-rays{position:absolute;top:-10px;left:50%;z-index:-1;width:210px;height:210px;margin-left:-105px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#ffd23f45 0deg 10deg,#ffd23f00 10deg 30deg);-webkit-mask-image:radial-gradient(circle,#000 22%,transparent 66%);mask-image:radial-gradient(circle,#000 22%,transparent 66%);pointer-events:none;animation:podium-rays 18s linear infinite}
.podium-crown{position:relative;z-index:2;width:46px;height:35px;margin-bottom:-9px;filter:drop-shadow(0 4px 6px #b0740066);animation:podium-crown 2.8s ease-in-out infinite}
.podium-avatar{position:relative;z-index:1;display:block;width:82px;height:82px;padding:4px;border-radius:22px;background:linear-gradient(145deg,var(--medal-light),var(--medal));box-shadow:0 14px 28px -14px var(--medal);transition:transform .45s cubic-bezier(.3,1.5,.5,1),box-shadow .35s ease}
.place-1 .podium-avatar{width:100px;height:100px;padding:5px;border-radius:27px}
.podium-avatar:after{content:"";position:absolute;inset:4px;border-radius:18px;background:linear-gradient(115deg,transparent 38%,#ffffffa8 50%,transparent 62%) no-repeat;background-size:260% 100%;background-position:130% 0;opacity:0;pointer-events:none}
.place-1 .podium-avatar:after{inset:5px;border-radius:22px}
.podium-head{display:block;width:100%;height:100%;border-radius:18px;background:#fff;object-fit:cover;image-rendering:pixelated;cursor:pointer}
.place-1 .podium-head{border-radius:22px}
.podium-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 15px/1.25 Outfit,Arial,sans-serif;letter-spacing:-.2px;color:#0c2440}
.place-1 .podium-name{font-size:18px}
.podium-amount{padding:6px 12px;border-radius:20px;font:800 13px/1 Outfit,Arial,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--medal-text);background:var(--medal-soft);border:1px solid var(--medal-ring);transition:transform .35s cubic-bezier(.3,1.5,.5,1),box-shadow .35s}
.podium-block{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;width:100%;height:var(--h);padding-top:15px;overflow:hidden;border-radius:16px 16px 6px 6px;color:var(--block-text);background:linear-gradient(180deg,var(--medal-light),var(--medal));box-shadow:inset 0 3px 0 #ffffff8c,inset 0 -7px 0 #0000001c,0 22px 36px -22px var(--medal);transform-origin:bottom center;transition:filter .3s ease}
.podium-block:before{content:"";position:absolute;inset:0;opacity:.17;background-image:linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);background-size:14px 14px;pointer-events:none}
.podium-shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,#ffffff75 48%,transparent 66%);transform:translateX(-130%);pointer-events:none}
.place-1 .podium-shine{animation:podium-shine 5.5s ease-in-out 2.4s infinite}
.podium-rank{position:relative;font:900 46px/1 Outfit,Arial,sans-serif;text-shadow:0 3px 0 var(--block-shadow);transition:transform .4s cubic-bezier(.3,1.5,.5,1)}
.podium-block small{position:relative;font-size:9px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;opacity:.85}
/* Najechanie: postać się unosi, ramka błyska, blok lśni */
.podium-spot:hover .podium-player{transform:translateY(-8px)}
.podium-spot:hover .podium-avatar{transform:rotate(-5deg) scale(1.07);box-shadow:0 22px 38px -14px var(--medal),0 0 0 6px var(--medal-ring)}
.podium-spot:hover .podium-avatar:after{animation:podium-avatar-shine .8s ease forwards}
.podium-spot:hover .podium-crown{animation:podium-crown-hop .65s cubic-bezier(.3,1.6,.5,1)}
.podium-spot:hover .podium-amount{transform:scale(1.07);box-shadow:0 8px 18px -10px var(--medal)}
.podium-spot:hover .podium-block{filter:brightness(1.06) saturate(1.08)}
.podium-spot:hover .podium-shine{animation:podium-shine-once .9s ease forwards}
.podium-spot:hover .podium-rank{transform:translateY(-3px) scale(1.07)}
/* Wejście: bloki wyrastają (3 → 2 → 1), potem spadają gracze */
.is-podium:not(.is-revealed) .podium-block{transform:scaleY(.02)}
.is-podium:not(.is-revealed) .podium-player{opacity:0}
.is-podium.is-revealed .podium-block{animation:podium-rise .8s cubic-bezier(.2,.9,.25,1.08) var(--delay) backwards}
.is-podium.is-revealed .podium-player{animation:podium-drop .7s cubic-bezier(.3,1.5,.5,1) calc(var(--delay) + .45s) backwards}
@keyframes podium-rise{from{transform:scaleY(.02)}to{transform:none}}
@keyframes podium-drop{from{opacity:0;transform:translateY(-24px)}to{opacity:1;transform:none}}
@keyframes podium-crown{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-5px) rotate(4deg)}}
@keyframes podium-crown-hop{0%{transform:translateY(0) rotate(0)}40%{transform:translateY(-12px) rotate(10deg) scale(1.12)}100%{transform:translateY(0) rotate(0)}}
@keyframes podium-rays{to{transform:rotate(360deg)}}
@keyframes podium-shine{0%,70%{transform:translateX(-130%)}100%{transform:translateX(130%)}}
@keyframes podium-shine-once{from{transform:translateX(-130%)}to{transform:translateX(130%)}}
@keyframes podium-avatar-shine{0%{opacity:1;background-position:130% 0}100%{opacity:1;background-position:-30% 0}}
@media(max-width:850px){.support-ranking-grid.is-podium{gap:10px}}
@media(max-width:600px){
  .support-ranking-grid.is-podium{gap:7px;margin-top:26px}
  .podium-spot.place-1{--h:124px}.podium-spot.place-2{--h:94px}.podium-spot.place-3{--h:72px}
  .podium-avatar{width:62px;height:62px;padding:3px;border-radius:17px}
  .place-1 .podium-avatar{width:76px;height:76px;padding:4px;border-radius:21px}
  .podium-head,.place-1 .podium-head{border-radius:14px}
  .podium-avatar:after,.place-1 .podium-avatar:after{inset:3px;border-radius:14px}
  .podium-rays{width:160px;height:160px;margin-left:-80px}
  .podium-crown{width:36px;height:27px;margin-bottom:-7px}
  .podium-name{font-size:12px}.place-1 .podium-name{font-size:14px}
  .podium-amount{padding:5px 8px;font-size:11px}
  .podium-rank{font-size:34px}
  .podium-block small{display:none}
}
@media(prefers-reduced-motion:reduce){.podium-crown,.podium-rays,.podium-shine,.is-podium.is-revealed .podium-block,.is-podium.is-revealed .podium-player{animation:none!important}.podium-player,.podium-avatar{transition:none}}

/* Ukryte niespodzianki */
.secret-layer{position:fixed;inset:0;z-index:9998;pointer-events:none}
.secret-fuse{background:#fff;opacity:0;animation:secret-fuse 1.4s linear forwards}
.secret-boom{background:radial-gradient(circle at 50% 50%,#fff 0%,#fff1c2 22%,#ff9a4a66 50%,transparent 75%);animation:secret-fade .7s ease-out forwards}
.secret-dark{background:radial-gradient(circle at 50% 45%,transparent 0%,#02040acc 70%);opacity:0;animation:secret-dark 2.6s ease forwards}
html.secret-shake body{animation:secret-shake .65s cubic-bezier(.36,.07,.19,.97)}
html.secret-party main,html.secret-party .header{animation:secret-hue 1.6s linear infinite}
html.secret-party .world-logo{animation:secret-spin 1.1s linear infinite!important;opacity:.35!important}
html.secret-party .hero .logo-float{animation:secret-bounce .42s ease-in-out infinite alternate!important}
.secret-haunted{animation:secret-haunt 2.6s ease}
.wumpus-image{cursor:pointer}
.wumpus-image.secret-jump{animation:secret-jump .7s cubic-bezier(.3,1.4,.5,1)!important}
.podium-avatar.secret-bop{animation:secret-bop .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes secret-fuse{0%{opacity:0}14%{opacity:.2}24%{opacity:0}42%{opacity:.26}52%{opacity:0}66%{opacity:.32}74%{opacity:0}84%{opacity:.4}90%{opacity:0}96%{opacity:.5}100%{opacity:.55}}
@keyframes secret-fade{from{opacity:1}to{opacity:0}}
@keyframes secret-dark{0%{opacity:0}14%{opacity:1}20%{opacity:.35}28%{opacity:1}72%{opacity:.9}100%{opacity:0}}
@keyframes secret-shake{10%,90%{transform:translate(-2px,1px)}20%,80%{transform:translate(4px,-2px)}30%,50%,70%{transform:translate(-8px,3px) rotate(-.4deg)}40%,60%{transform:translate(8px,-3px) rotate(.4deg)}}
@keyframes secret-hue{from{filter:hue-rotate(0deg)}to{filter:hue-rotate(360deg)}}
@keyframes secret-spin{to{transform:rotate(360deg) scale(1.2)}}
@keyframes secret-bounce{from{transform:translateY(0) scale(1)}to{transform:translateY(-16px) scale(1.04)}}
@keyframes secret-haunt{0%,100%{filter:none}18%,52%{filter:drop-shadow(0 0 12px #ff2a2a) saturate(.4)}35%{filter:none}}
@keyframes secret-jump{0%{transform:translateY(0)}30%{transform:translateY(-38px) rotate(-6deg)}55%{transform:translateY(0) scaleY(.92)}75%{transform:translateY(-10px)}100%{transform:none}}
@keyframes secret-bop{0%{transform:scale(1)}40%{transform:scale(1.22) rotate(6deg)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){html.secret-shake body,html.secret-party main,html.secret-party .header,html.secret-party .world-logo,html.secret-party .hero .logo-float,.wumpus-image.secret-jump{animation:none!important}}

/* Animacje wejścia — kierunki i ukrycie pierwszego ekranu do startu animacji */
@media(prefers-reduced-motion:no-preference){
  .reveal-pending[data-reveal="left"]{transform:translate3d(-56px,0,0)}
  .reveal-pending[data-reveal="right"]{transform:translate3d(56px,0,0)}
  .reveal-pending[data-reveal="up"]{transform:translate3d(0,34px,0)}
  .reveal-pending[data-reveal="zoom"]{transform:translate3d(0,18px,0) scale(.94)}
  html.motion-init :is(.header>.brand,.header .nav,.header-actions,.hero-copy .status,.hero-copy h1,.hero-copy>p,.hero-actions,.hero-art,.purchase-strip,.hero-bottom,.store-back,.catalog-heading,.checkout-heading,.checkout-aside,.purchase-form,.voucher-card,.pay-card,.lost-card,.rules-title,.section-heading,.mode-card,.support-ranking>header,.community-copy,.community-art,.catalog-group>h2,.product-card,.comparison-scroll,.rules-section,.legal-document,.footer-brand,.footer-links,.footer-discord,.footer-legal){opacity:0}
}

/* Ekran wczytywania (pierwsze wejście w sesji) */
.wc-loader{display:none}
html.wc-loading{overflow:hidden}
html.wc-loading .wc-loader{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:radial-gradient(60% 55% at 50% 42%,#0f3a6e 0%,#0a1d36 45%,#060f1d 100%);transition:opacity .45s ease,visibility .45s}
.wc-loader:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:radial-gradient(55% 55% at 50% 45%,#000,transparent);mask-image:radial-gradient(55% 55% at 50% 45%,#000,transparent)}
.wc-loader-box{position:relative;display:flex;flex-direction:column;align-items:center;width:min(300px,78vw)}
.wc-loader-logo{position:relative;width:168px;height:168px;margin-bottom:30px;animation:wc-loader-float 2.4s ease-in-out infinite}
.wc-loader-logo:before{content:"";position:absolute;inset:-28%;border-radius:50%;background:radial-gradient(circle,#2f8fff66 0%,#2f8fff22 45%,transparent 70%);filter:blur(10px);animation:wc-loader-glow 2.4s ease-in-out infinite}
.wc-loader-logo img{position:relative;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 16px 22px #000a)}
.wc-loader-bar{position:relative;width:100%;height:9px;overflow:hidden;border-radius:9px;background:#ffffff14;box-shadow:inset 0 1px 2px #0006,0 0 0 1px #ffffff12}
.wc-loader-bar i{position:absolute;inset:0;border-radius:9px;background:linear-gradient(90deg,#1474e0,#3fb6ff 70%,#9be6ff);transform:scaleX(0);transform-origin:left center;box-shadow:0 0 14px #3fb6ff99}
.wc-loader-bar i:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,#ffffff70 50%,transparent 70%);background-size:200% 100%;animation:wc-loader-shine 1.2s linear infinite}
.wc-loader-meta{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:12px;font:700 11px/1.4 Manrope,Arial,sans-serif;letter-spacing:.3px;color:#8fb2d6}
.wc-loader-meta b{font:800 13px/1 Outfit,Arial,sans-serif;font-variant-numeric:tabular-nums;color:#fff}
.wc-loader.is-done{opacity:0;visibility:hidden}
.wc-loader.is-done .wc-loader-logo{animation:wc-loader-out .45s cubic-bezier(.3,1.4,.5,1) forwards}
@keyframes wc-loader-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes wc-loader-glow{0%,100%{opacity:.7;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}
@keyframes wc-loader-shine{from{background-position:120% 0}to{background-position:-80% 0}}
@keyframes wc-loader-out{to{transform:scale(1.12);opacity:0}}

/* Ruch za myszką (tylko mysz, bez „ogranicz ruch”) */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .hero-art .logo-stage{translate:calc(var(--mx,0) * -16px) calc(var(--my,0) * -12px)}
  .hero-art .logo-aura{translate:calc(var(--mx,0) * -9px) calc(var(--my,0) * -7px)}
  .hero-art .logo-burst,.hero-art .logo-sparks{translate:calc(var(--mx,0) * -12px) calc(var(--my,0) * -9px)}
  .hero-art .orbit-one{translate:calc(var(--mx,0) * 10px) calc(var(--my,0) * 8px)}
  .hero-art .orbit-two{translate:calc(var(--mx,0) * 18px) calc(var(--my,0) * 14px)}
  .hero-art .cube-one{translate:calc(var(--mx,0) * 30px) calc(var(--my,0) * 24px)}
  .hero-art .cube-two{translate:calc(var(--mx,0) * -26px) calc(var(--my,0) * -20px)}
  .hero-art .art-dot{translate:calc(var(--mx,0) * 36px) calc(var(--my,0) * 28px)}
  .hero-art .dot-two{translate:calc(var(--mx,0) * -30px) calc(var(--my,0) * 22px)}
  .hero .hero-grid{translate:calc(var(--mx,0) * 10px) calc(var(--my,0) * 8px)}
  .hero .ambient-particles{translate:calc(var(--mx,0) * 14px) calc(var(--my,0) * 10px)}
  .hero-copy{translate:calc(var(--mx,0) * 5px) calc(var(--my,0) * 4px)}
  .world-ambient .world-logos{translate:calc(var(--mx,0) * 16px) calc(var(--my,0) * 14px)}
  .world-ambient .world-particles{translate:calc(var(--mx,0) * 28px) calc(var(--my,0) * 22px)}
  .world-ambient .world-shapes{translate:calc(var(--mx,0) * -12px) calc(var(--my,0) * -10px)}
}

/* Kopanie logo */
.hero .logo-stage{cursor:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='0' y='14' width='1' height='1' fill='%230b2240'/><rect x='1' y='13' width='1' height='1' fill='%230b2240'/><rect x='1' y='15' width='1' height='1' fill='%230b2240'/><rect x='2' y='12' width='1' height='1' fill='%230b2240'/><rect x='2' y='14' width='1' height='1' fill='%230b2240'/><rect x='3' y='11' width='1' height='1' fill='%230b2240'/><rect x='3' y='13' width='1' height='1' fill='%230b2240'/><rect x='4' y='1' width='1' height='1' fill='%230b2240'/><rect x='4' y='10' width='1' height='1' fill='%230b2240'/><rect x='4' y='12' width='1' height='1' fill='%230b2240'/><rect x='5' y='0' width='1' height='1' fill='%230b2240'/><rect x='5' y='2' width='1' height='1' fill='%230b2240'/><rect x='5' y='9' width='1' height='1' fill='%230b2240'/><rect x='5' y='11' width='1' height='1' fill='%230b2240'/><rect x='6' y='0' width='1' height='1' fill='%230b2240'/><rect x='6' y='3' width='1' height='1' fill='%230b2240'/><rect x='6' y='8' width='1' height='1' fill='%230b2240'/><rect x='6' y='10' width='1' height='1' fill='%230b2240'/><rect x='7' y='0' width='1' height='1' fill='%230b2240'/><rect x='7' y='3' width='1' height='1' fill='%230b2240'/><rect x='7' y='7' width='1' height='1' fill='%230b2240'/><rect x='7' y='9' width='1' height='1' fill='%230b2240'/><rect x='8' y='0' width='1' height='1' fill='%230b2240'/><rect x='8' y='3' width='1' height='1' fill='%230b2240'/><rect x='8' y='6' width='1' height='1' fill='%230b2240'/><rect x='8' y='8' width='1' height='1' fill='%230b2240'/><rect x='9' y='0' width='1' height='1' fill='%230b2240'/><rect x='9' y='3' width='1' height='1' fill='%230b2240'/><rect x='9' y='5' width='1' height='1' fill='%230b2240'/><rect x='9' y='7' width='1' height='1' fill='%230b2240'/><rect x='10' y='0' width='1' height='1' fill='%230b2240'/><rect x='10' y='3' width='1' height='1' fill='%230b2240'/><rect x='10' y='4' width='1' height='1' fill='%230b2240'/><rect x='10' y='6' width='1' height='1' fill='%230b2240'/><rect x='11' y='1' width='1' height='1' fill='%230b2240'/><rect x='11' y='5' width='1' height='1' fill='%230b2240'/><rect x='12' y='1' width='1' height='1' fill='%230b2240'/><rect x='12' y='6' width='1' height='1' fill='%230b2240'/><rect x='12' y='7' width='1' height='1' fill='%230b2240'/><rect x='12' y='8' width='1' height='1' fill='%230b2240'/><rect x='13' y='2' width='1' height='1' fill='%230b2240'/><rect x='13' y='3' width='1' height='1' fill='%230b2240'/><rect x='13' y='9' width='1' height='1' fill='%230b2240'/><rect x='14' y='4' width='1' height='1' fill='%230b2240'/><rect x='14' y='5' width='1' height='1' fill='%230b2240'/><rect x='14' y='10' width='1' height='1' fill='%230b2240'/><rect x='15' y='6' width='1' height='1' fill='%230b2240'/><rect x='15' y='7' width='1' height='1' fill='%230b2240'/><rect x='15' y='8' width='1' height='1' fill='%230b2240'/><rect x='15' y='9' width='1' height='1' fill='%230b2240'/><rect x='1' y='14' width='1' height='1' fill='%23a36b37'/><rect x='2' y='13' width='1' height='1' fill='%23a36b37'/><rect x='3' y='12' width='1' height='1' fill='%23a36b37'/><rect x='4' y='11' width='1' height='1' fill='%23a36b37'/><rect x='5' y='1' width='1' height='1' fill='%235fd0ff'/><rect x='5' y='10' width='1' height='1' fill='%23a36b37'/><rect x='6' y='1' width='1' height='1' fill='%235fd0ff'/><rect x='6' y='2' width='1' height='1' fill='%232a9be0'/><rect x='6' y='9' width='1' height='1' fill='%23a36b37'/><rect x='7' y='1' width='1' height='1' fill='%235fd0ff'/><rect x='7' y='2' width='1' height='1' fill='%232a9be0'/><rect x='7' y='8' width='1' height='1' fill='%23a36b37'/><rect x='8' y='1' width='1' height='1' fill='%235fd0ff'/><rect x='8' y='2' width='1' height='1' fill='%232a9be0'/><rect x='8' y='7' width='1' height='1' fill='%23a36b37'/><rect x='9' y='1' width='1' height='1' fill='%235fd0ff'/><rect x='9' y='2' width='1' height='1' fill='%232a9be0'/><rect x='9' y='6' width='1' height='1' fill='%23a36b37'/><rect x='10' y='1' width='1' height='1' fill='%235fd0ff'/><rect x='10' y='2' width='1' height='1' fill='%232a9be0'/><rect x='10' y='5' width='1' height='1' fill='%23a36b37'/><rect x='11' y='2' width='1' height='1' fill='%235fd0ff'/><rect x='11' y='3' width='1' height='1' fill='%232a9be0'/><rect x='11' y='4' width='1' height='1' fill='%23a36b37'/><rect x='12' y='2' width='1' height='1' fill='%235fd0ff'/><rect x='12' y='3' width='1' height='1' fill='%235fd0ff'/><rect x='12' y='4' width='1' height='1' fill='%232a9be0'/><rect x='12' y='5' width='1' height='1' fill='%232a9be0'/><rect x='13' y='4' width='1' height='1' fill='%235fd0ff'/><rect x='13' y='5' width='1' height='1' fill='%235fd0ff'/><rect x='13' y='6' width='1' height='1' fill='%232a9be0'/><rect x='13' y='7' width='1' height='1' fill='%232a9be0'/><rect x='13' y='8' width='1' height='1' fill='%232a9be0'/><rect x='14' y='6' width='1' height='1' fill='%235fd0ff'/><rect x='14' y='7' width='1' height='1' fill='%235fd0ff'/><rect x='14' y='8' width='1' height='1' fill='%235fd0ff'/><rect x='14' y='9' width='1' height='1' fill='%235fd0ff'/></svg>") 5 3,pointer}
.logo-mine{position:relative;display:block;transition:opacity .2s ease,transform .25s ease}
.logo-cracks{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;-webkit-mask:url('/assets/wificraft-logo.png') center/contain no-repeat;mask:url('/assets/wificraft-logo.png') center/contain no-repeat}
.logo-cracks g{opacity:0;transition:opacity .08s ease}
.logo-cracks path{stroke:none}
.logo-cracks g.on{opacity:1}
.logo-cracks .crack-dark{fill:#030d1f;opacity:.82}
.logo-cracks .crack-light{fill:#d8f1ff;opacity:.3}
/* Szybkie klikanie / przytrzymanie nie zaznacza ani nie „łapie” obrazka */
.hero .logo-stage,.hero .logo-stage *{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.hero .logo-stage{touch-action:manipulation}
.logo-mine.is-hit{animation:logo-hit .22s ease-out}
.hero .logo-stage.is-broken .logo-mine{opacity:0;transform:scale(.55)}
.hero .logo-stage.is-broken .logo-shine{opacity:0}
.hero .logo-stage.is-respawn .logo-mine{animation:logo-respawn .7s cubic-bezier(.3,1.5,.5,1)}
@keyframes logo-hit{0%{transform:none}35%{transform:scale(.965) rotate(-1.2deg)}70%{transform:scale(1.015) rotate(.8deg)}100%{transform:none}}
@keyframes logo-respawn{0%{opacity:0;transform:scale(.3)}60%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.logo-mine.is-hit,.hero .logo-stage.is-respawn .logo-mine{animation:none}}

/* Karta „graczy online” z wykresem 12 h */
.online-card{display:flex;align-items:center;gap:16px;width:fit-content;max-width:100%;margin-top:24px;padding:11px 16px 11px 14px;border-radius:16px;color:#dbe9f7;background:#ffffff0c;border:1px solid #ffffff1c;box-shadow:inset 0 1px 0 #ffffff12;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.online-card[hidden]{display:none}
.online-now{display:flex;align-items:center;gap:9px;white-space:nowrap}
.online-dot{flex-shrink:0;width:9px;height:9px;border-radius:50%;background:#2ee6a6;box-shadow:0 0 0 4px #2ee6a622;animation:online-pulse 1.8s ease-in-out infinite}
.online-now b{font:800 22px/1 Outfit,Arial,sans-serif;font-variant-numeric:tabular-nums;color:#fff}
.online-now span:last-child{font-size:11px;font-weight:700;color:#9fb8d2}
.online-card.is-offline .online-dot{background:#8a9bab;box-shadow:0 0 0 4px #8a9bab22;animation:none}
.online-card.is-offline .online-now b{font-size:16px;color:#c3d2e0}
.online-chart{width:200px;padding-left:16px;border-left:1px solid #ffffff1a}
.online-chart[hidden]{display:none}
.online-plot{position:relative;cursor:crosshair}
.online-spark{display:block;width:100%;height:40px;overflow:visible}
.online-line{fill:none;stroke:#5fc4ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.online-marker{position:absolute;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #4fb4ff66,0 0 10px #4fb4ff;pointer-events:none;transition:left .12s ease,top .12s ease}
.online-tip{position:absolute;top:-30px;transform:translateX(-50%);padding:4px 8px;border-radius:7px;background:#06101d;border:1px solid #ffffff22;font:700 10px/1.3 Manrope,Arial,sans-serif;color:#e6f1ff;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease}
.online-chart.is-hovering .online-tip{opacity:1}
.online-meta{display:flex;justify-content:space-between;gap:12px;margin-top:4px;font-size:9.5px;font-weight:700;line-height:1.3;color:#7f9bb8}
.online-meta b{color:#cfe6ff}
@keyframes online-pulse{50%{box-shadow:0 0 0 7px #2ee6a600}}
@media(max-width:600px){.online-card{width:100%;gap:12px;padding:10px 12px}.online-chart{flex:1;width:auto;min-width:0;padding-left:12px}.online-now b{font-size:20px}}
@media(prefers-reduced-motion:reduce){.online-dot{animation:none}}
.online-card:not([hidden]){animation:online-in .6s cubic-bezier(.16,.84,.24,1) both}
@keyframes online-in{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.online-card:not([hidden]){animation:none}}
