:root {
  --bg: #080a0f;
  --surface: #0f1219;
  --surface-2: #141821;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #929aaa;
  --primary: #ff2e43;
  --primary-2: #ff4d5e;
  --success: #35d07f;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events:none; }
.glow-1 { width: 380px; height: 380px; background: rgba(255,46,67,.18); top: 80px; left: 5%; }
.glow-2 { width: 300px; height: 300px; background: rgba(120,70,255,.08); top: 450px; right: 5%; }

.navbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8,10,15,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { min-height: 74px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.05rem; letter-spacing:-.4px; }
.brand > span:last-child > span { color:var(--primary); }
.brand-mark {
  width:34px; height:34px; display:grid; place-items:center; border-radius:10px;
  background: linear-gradient(135deg,var(--primary),#b7192a);
  box-shadow: 0 8px 24px rgba(255,46,67,.3);
}
.nav-links { display:flex; gap:28px; color:var(--muted); font-size:.9rem; }
.nav-links a:hover { color:var(--text); }
.nav-button, .primary-button {
  background: var(--primary); color:white; border:0; border-radius:11px;
  padding:12px 22px; font-weight:700; cursor:pointer;
  transition:.2s transform,.2s background,.2s box-shadow;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-button:hover, .primary-button:hover { transform:translateY(-2px); background:var(--primary-2); box-shadow:0 10px 28px rgba(255,46,67,.35); }
.menu-button { display:none; border:1px solid var(--border); background:var(--surface); color:white; border-radius:9px; padding:8px 11px; }

/* PRZYCISK SECONDARY */
.secondary-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; background: rgba(255, 255, 255, 0.06);
  color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; text-decoration: none; backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.secondary-button:hover {
  transform: translateY(-2px); background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff; box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* HERO BANER */
.hero { position:relative; padding:60px 0 90px; text-align:center; }
.hero-card {
  position: relative; width: 100%; max-width: 1000px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(255, 46, 67, 0.45);
  box-shadow: 0 0 40px rgba(255, 46, 67, 0.25);
  background: url('hero-bg.jpg') center/cover no-repeat;
}
.hero-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 25, 0.72) 0%, rgba(15, 18, 25, 0.92) 100%);
  backdrop-filter: blur(2px);
}
.hero-card-content {
  position: relative; z-index: 2; padding: 60px 30px;
  display: flex; flex-direction: column; align-items: center;
}

.eyebrow, .section-kicker {
  color:var(--primary); font-size:.73rem; font-weight:800; letter-spacing:1.7px;
}
.eyebrow { display:flex; align-items:center; gap:9px; }
.live-dot { width:7px; height:7px; background:var(--success); border-radius:50%; box-shadow:0 0 12px var(--success); }
h1 { font-size:clamp(3.2rem,8vw,6.6rem); line-height:.98; letter-spacing:-.07em; margin:22px 0 24px; max-width:950px; }
h1 span { color:var(--primary); }
.hero-text { max-width:680px; color:var(--muted); font-size:1.1rem; }

.hero-actions { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 34px 0 42px; }

.server-pill {
  width:min(780px,100%); display:grid; grid-template-columns:1.3fr 1fr .7fr;
  background:rgba(15,18,25,.92); border:1px solid var(--border); border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.3); text-align:left; overflow:hidden;
}
.server-pill > div { padding:20px 24px; }
.server-pill > div + div { border-left:1px solid var(--border); }
.mini-label { display:block; color:#6f7787; font-size:.65rem; letter-spacing:1.2px; font-weight:700; margin-bottom:5px; }
.server-ip strong { font-size:1.1rem; letter-spacing:.5px; }
.server-status { display:flex; gap:10px; align-items:center; }
.status-dot { width:9px; height:9px; border-radius:50%; background:#777; }
.status-dot.online { background:var(--success); box-shadow:0 0 14px var(--success); }
.status-dot.offline { background:var(--primary); box-shadow:0 0 14px var(--primary); }
.online-count strong { font-size:1.05rem; }
.copy-note { min-height:25px; margin-top:12px; color:var(--success); font-size:.8rem; }

.section { padding:100px 0; position:relative; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:42px; }
.section-heading h2, .community h2 { font-size:clamp(2rem,4vw,3.4rem); line-height:1.08; letter-spacing:-.05em; margin-top:10px; max-width:720px; }
.section-heading > p, .community p { color:var(--muted); max-width:430px; }

/* DLACZEGO WARTO */
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feature-card {
  position:relative; padding:34px; min-height:260px; background:var(--surface);
  border:1px solid var(--border); border-radius:18px; overflow:hidden;
  transition:.25s transform,.25s border-color;
}
.feature-card:hover { transform:translateY(-5px); border-color:rgba(255,46,67,.35); }
.feature-card.featured { background:linear-gradient(145deg,rgba(255,46,67,.11),var(--surface) 55%); }
.feature-number { position:absolute; top:22px; right:25px; color:#505766; font-size:.75rem; font-weight:800; }
.feature-icon { font-size:1.7rem; margin-bottom:45px; color:var(--primary); }
.feature-card h3 { font-size:1.2rem; margin-bottom:8px; }
.feature-card p { color:var(--muted); font-size:.9rem; }

/* SEKCJA SKLEPU */
.store-tabs { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  padding: 10px 20px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.tab-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.shop-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 24px; display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.shop-card:hover { transform: translateY(-5px); border-color: rgba(255,46,67,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.shop-card.featured-card { border: 2px solid var(--primary); background: linear-gradient(180deg, rgba(255,46,67,0.08) 0%, var(--surface) 100%); }

.shop-card-badge { position: absolute; top: 16px; right: 16px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.08); color: var(--muted); }
.shop-card-badge.highlight { background: var(--primary); color: white; }

.shop-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.shop-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.shop-card-price { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.shop-card-price span { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

.shop-card-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.shop-card-features li { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }

.shop-buy-btn { width: 100%; margin-top: auto; }

/* MODAL / OKIENKO ZAKUPU */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0;
  pointer-events: none; transition: opacity 0.3s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  width: min(480px, 90%); padding: 36px; position: relative;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-backdrop.active .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.modal-close:hover { color: white; }

.modal-header h3 { font-size: 1.6rem; margin-top: 4px; }
.modal-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group select {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 16px; color: white; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }
.modal-submit-btn { width: 100%; margin-top: 10px; }

/* SPOŁECZNOŚĆ & FAQ */
.community-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.community p { margin-top:18px; }
.social-card {
  display:flex; align-items:center; gap:16px; padding:24px; background:var(--surface);
  border:1px solid var(--border); border-radius:18px;
}
.discord-icon { width:50px; height:50px; display:grid; place-items:center; border-radius:14px; background:rgba(255,46,67,.1); color:var(--primary); font-size:1.5rem; }
.social-card strong, .social-card span { display:block; }
.social-card span { color:var(--muted); font-size:.8rem; }
.social-card a { margin-left:auto; font-size:1.5rem; color:var(--primary); }

.centered { display:block; text-align:center; }
.centered h2 { margin-left:auto; margin-right:auto; }
.faq-list { max-width:820px; margin:auto; }
details { border-bottom:1px solid var(--border); }
summary { list-style:none; cursor:pointer; padding:23px 4px; font-weight:600; display:flex; justify-content:space-between; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; color:var(--primary); font-size:1.2rem; }
details[open] summary::after { content:"−"; }
details p { color:var(--muted); padding:0 4px 23px; max-width:700px; }

footer { border-top:1px solid var(--border); padding:32px 0; background:#06070a; }
.footer-inner { display:flex; align-items:center; gap:25px; color:var(--muted); font-size:.75rem; }
.footer-brand { color:var(--text); margin-right:auto; }
.footer-links { display:flex; gap:18px; }
.footer-links a:hover { color:white; }

@media (max-width: 800px) {
  .nav-links, .nav-actions { display:none; }
  .menu-button { display:block; }
  .nav-inner.menu-open .nav-links {
    display:flex; position:absolute; top:74px; left:20px; right:20px; flex-direction:column;
    padding:18px; background:rgba(15,18,25,.98); border:1px solid var(--border); border-radius:14px;
  }
  .hero-card-content { padding: 40px 15px; }
  .server-pill { grid-template-columns:1fr; }
  .server-pill > div + div { border-left:0; border-top:1px solid var(--border); }
  .feature-grid, .community-grid { grid-template-columns:1fr; }
  .section-heading { display:block; }
  .section-heading > p { margin-top:16px; }
  .footer-inner { flex-wrap:wrap; }
}
@media (max-width: 520px) {
  .container { width:min(var(--max),calc(100% - 28px)); }
  h1 { font-size:3.1rem; }
  .hero-actions { width:100%; flex-direction:column; }
  .primary-button, .secondary-button { justify-content:center; width:100%; }
  .section { padding:75px 0; }
}