:root{
  --bg: #0b0f14;
  --panel: #0f1620;
  --panel-2: #111927;
  --text: #e6edf3;
  --muted: #9fb2c3;
  --accent: #22c55e; /* zielony minecraftowy vibe */
  --accent-2: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, #11223333, transparent),
              radial-gradient(1000px 500px at 120% 10%, #11331133, transparent),
              var(--bg);
  line-height:1.5;
}

.container{
  width:min(1100px, 92%);
  margin-inline:auto;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(10px);
  background:color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom:1px solid #1e293b;
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{font-weight:700; color:var(--text); text-decoration:none; letter-spacing:.3px}
.nav a{color:var(--muted); text-decoration:none; margin-left:18px; font-weight:600}
.nav a:hover{color:var(--text)}

/* Hero */
.hero{padding:72px 0 36px}
.hero-inner{text-align:center}
.hero h1{font-size:clamp(28px, 4vw, 44px); line-height:1.1; margin:0}
.lead{color:var(--muted); margin-top:10px}
.ip-box{
  margin:26px auto 0; display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap;
}
.ip-text{background:var(--panel); border:1px solid #1e293b; padding:10px 14px; border-radius:10px}
.ip-text .label{font-size:12px; color:var(--muted); margin-right:8px}
.ip-text code{font-weight:700; color:var(--text)}

/* Buttons */
.btn{appearance:none; border:0; cursor:pointer; font-weight:700; border-radius:10px; padding:10px 14px}
.btn-primary{background:linear-gradient(180deg, var(--accent), var(--accent-2)); color:#03110a; box-shadow:var(--shadow)}
.btn-primary:hover{filter:brightness(1.05)}
.btn-secondary{background:#111c2a; color:var(--text); border:1px solid #233145}
.btn-secondary:hover{border-color:#2f415b}

/* Pricing */
.pricing{padding:36px 0 12px}
.pricing h2{text-align:center; margin:0}
.pricing .sub{color:var(--muted); text-align:center; margin:8px auto 24px; width:min(760px, 100%)}
.cards{display:grid; gap:16px; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr))}
.card{
  position:relative; background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid #1f2a3a; border-radius:16px; padding:18px; box-shadow:var(--shadow);
}
.card header{display:flex; align-items:baseline; justify-content:space-between}
.card h3{margin:0}
.title-with-icon{display:flex; align-items:center; gap:8px}
.mc-icon{width:22px; height:22px; image-rendering: pixelated}
.price{display:flex; align-items:flex-end; gap:4px}
.price .amount{font-size:28px; font-weight:800}
.price .currency{color:var(--muted); font-weight:700}
.features{margin:14px 0 16px; padding-left:18px}
.features li{margin:6px 0}
.popular{outline:2px solid #3b82f6}
.popular .badge{position:absolute; top:12px; right:12px; background:#1e40af; color:#cfe3ff; font-size:12px; padding:6px 8px; border-radius:999px}
.highlight{outline:2px solid var(--accent)}
.danger{outline:2px solid var(--danger)}

/* PayPal */
.paypal-wrap{margin:8px 0 12px}
.paypal-hint{display:block; color:var(--muted); margin-top:6px}
.pulse{outline:2px solid var(--accent); box-shadow:0 0 0 6px #22c55e22; border-radius:8px; transition:box-shadow .6s ease}

/* Cart */
.cart{margin-top:24px}
.cart h3{margin:8px 0 12px}
.cart-panel{background:linear-gradient(180deg, var(--panel), var(--panel-2)); border:1px solid #1f2a3a; border-radius:16px; padding:16px}
.cart-items{list-style:none; margin:0; padding:0}
.cart-item{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid #1e293b}
.cart-item:last-child{border-bottom:0}
.item-name{font-weight:700}
.item-price{color:var(--muted); min-width:72px; text-align:right}
.cart-summary{display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:10px}
.cart-actions{margin-top:8px}
.cart-empty{color:var(--muted); margin-top:8px}

/* How to */
.howto{padding:24px 0}
.steps{margin:8px 0 0; padding-left:20px}
.note{color:var(--muted)}

/* Contact */
.contact{padding:24px 0 48px}

/* Footer */
.site-footer{border-top:1px solid #1e293b; background:#0c131c}
.footer-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:10px; flex-wrap:wrap}
.footer-links a{color:var(--muted); text-decoration:none; margin-left:14px}
.footer-links a:hover{color:var(--text)}

/* Accessibility & misc */
:focus-visible{outline:2px solid #6ee7b7; outline-offset:2px; border-radius:6px}
code{background:#0b1420; padding:2px 6px; border-radius:6px; border:1px solid #1c2a3a}

@media (prefers-reduced-motion:no-preference){
  .btn-primary{transition:filter .15s ease}
  .nav a{transition:color .15s ease}
}
