/* ===== Apollon Hub API — wspólny motyw ===== */

:root {
  --bg: #09090b;
  --bg-alt: #0e0e11;
  --panel: #131316;
  --panel-border: #232327;
  --accent: #3163d1;
  --accent-2: #5b8bf0;
  --accent-glow: rgba(49, 99, 209, 0.22);
  --brand-gradient: var(--accent);
  --text: #f2f3f6;
  --text-muted: #8b8d97;
  --success: #3ddc97;
  --danger: #ff5d6c;
  --radius: 10px;
  --max-width: 1180px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Pasek ogłoszenia urodzinowego (u góry każdej podstrony) ===== */

.announcement-bar {
  background: var(--accent);
  color: #06101f;
}
.announcement-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 46px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
  text-align: center;
}
.announcement-text strong { font-weight: 800; }
.announcement-cta {
  color: inherit;
  background: rgba(6, 16, 31, 0.14);
  border: 1px solid rgba(6, 16, 31, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.announcement-cta:hover { background: rgba(6, 16, 31, 0.24); }
.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #06101f;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  opacity: 0.75;
}
.announcement-close:hover { opacity: 1; }

/* ===== Nawigacja ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  color: var(--text);
}

.brand .tm {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: #06101f; background: var(--accent-2); }

.nav-links a.nav-highlight { position: relative; color: #06101f; background: var(--accent); font-weight: 800; overflow: visible; }
.nav-links a.nav-highlight:hover { background: var(--accent-2); color: #06101f; }

/* Konfetti nad przyciskiem "3 Urodziny" - czysto dekoracyjne, nie blokuje kliknięcia. */
.nav-confetti {
  position: absolute;
  inset: -10px 0 auto 0;
  height: 0;
  pointer-events: none;
}
.nav-confetti-piece {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  opacity: 0;
  animation-name: av-nav-confetti-fall;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
@keyframes av-nav-confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(22px) rotate(var(--rot, 180deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-confetti-piece { animation: none; opacity: 0; }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Przyciski ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #06101f;
}
.btn-primary:hover { background: var(--accent-2); }

.btn-outline {
  background: transparent;
  border-color: var(--panel-border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }

.btn-discord {
  background: #5865F2;
  color: #fff;
}
.btn-discord:hover { background: #4752c4; }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.btn-text:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ===== Hero ===== */

.hero {
  padding: 90px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(61, 139, 253, 0.08);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  color: var(--accent-2);
}

.hero h1 .hero-tm {
  font-size: 0.32em;
  font-weight: 700;
  vertical-align: top;
  position: relative;
  top: 0.35em;
  margin-left: 3px;
  color: var(--text-muted);
  letter-spacing: 0;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Statystyki / cechy ===== */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 50px 0;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.feature {
  border-top: 2px solid var(--accent);
  border-left: 1px solid var(--panel-border);
  border-right: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}

.feature .index {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.feature h3 { margin: 0 0 8px; font-size: 16px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* ===== Statystyki (liczby) ===== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-2);
}

.stat-number { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== Partnerzy / banery ===== */

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.partner-slot {
  flex: 1 1 200px;
  max-width: 260px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  background: var(--bg-alt);
}

.partner-slot img { max-height: 36px; width: auto; }

/* ===== Sekcje ogólne ===== */

section.section { padding: 70px 0; }
section.section.tight { padding: 40px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .tag { color: var(--accent-2); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin: 10px 0 12px; }
.section-head p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ===== Karty produktów / licencji ===== */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

.card-media {
  height: 110px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--panel-border);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Filtrowanie produktów po kategorii (produkty.html) ===== */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.filter-pill:hover { border-color: var(--accent-2); color: var(--text); }
.filter-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-size: 16px; }
.card-body p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; flex: 1; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.price { font-weight: 800; font-size: 18px; color: var(--accent-2); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge.online { background: rgba(61, 220, 151, 0.12); color: var(--success); }
.badge.offline { background: rgba(255, 93, 108, 0.12); color: var(--danger); }
.badge.info { background: rgba(61, 139, 253, 0.12); color: var(--accent-2); }

/* ===== Panel / formularze ===== */

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px;
}

.panel + .panel { margin-top: 20px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text-muted); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field .hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.status-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}
.status-msg.show { display: block; }
.status-msg.ok { background: rgba(61,220,151,0.1); color: var(--success); border: 1px solid rgba(61,220,151,0.3); }
.status-msg.err { background: rgba(255,93,108,0.1); color: var(--danger); border: 1px solid rgba(255,93,108,0.3); }

/* ===== Tabela licencji ===== */

table.licenses { width: 100%; border-collapse: collapse; }
table.licenses th, table.licenses td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--panel-border);
  font-size: 13px;
}
table.licenses th { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; }
table.licenses td.mono { font-family: 'Courier New', monospace; color: var(--accent-2); }

/* ===== Szczegóły blokady licencji (zakładka "Moje licencje") ===== */
tr.license-block-row td {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--panel-border);
}
.block-details {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 93, 108, 0.08);
  border: 1px solid rgba(255, 93, 108, 0.3);
  font-size: 13px;
  line-height: 1.6;
}
.block-details-row { margin: 0 0 6px; color: var(--text); }
.block-details-row:last-child { margin-bottom: 0; }
.block-details-row strong { color: var(--danger); }
.block-details a { color: var(--accent-2); font-weight: 700; }
.block-details .btn-appeal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #5865F2;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.block-details .btn-appeal:hover { background: #4752c4; transform: translateY(-1px); }

/* ===== Discord powiązanie ===== */

.discord-account {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.35);
}
.discord-account .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: #5865F2;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
}
.discord-account .meta { flex: 1; }
.discord-account .meta strong { display: block; font-size: 14px; }
.discord-account .meta span { font-size: 12px; color: var(--text-muted); }

/* ===== Regulamin ===== */

.legal h2 { font-size: 19px; margin: 34px 0 12px; color: var(--accent-2); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); font-size: 14.5px; line-height: 1.75; }
.legal ol, .legal ul { padding-left: 20px; }

.legal-meta { color: var(--text-muted); font-size: 13px; margin: 4px 0 34px; }

.legal-toc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}
.legal-toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.legal-toc a:hover { border-color: var(--accent-2); color: var(--text); }
.legal-toc a span { color: var(--accent-2); font-family: 'Courier New', monospace; font-size: 12px; }

.legal-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.legal-tools button {
  background: none;
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.legal-tools button:hover { border-color: var(--accent-2); color: var(--text); }

.legal-acc {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  margin-bottom: 10px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.legal-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
}
.legal-acc summary::-webkit-details-marker { display: none; }
.legal-acc summary::before {
  content: '+';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--panel);
  color: var(--accent-2);
  font-size: 15px;
  line-height: 1;
}
.legal-acc[open] summary::before { content: '\2212'; }
.legal-acc-num { color: var(--accent-2); font-family: 'Courier New', monospace; font-size: 12.5px; flex-shrink: 0; }
.legal-acc-body { padding: 0 20px 22px; }
.legal-acc-body p, .legal-acc-body li { color: var(--text-muted); font-size: 13.75px; line-height: 1.75; }
.legal-acc-body ul { padding-left: 20px; margin: 8px 0; }
.legal-acc-body p + p { margin-top: 10px; }
.legal-acc-body strong { color: var(--text); }

/* ===== Baner cookie ===== */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 300;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.cookie-banner p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; min-width: 220px; }
.cookie-banner .btn { flex-shrink: 0; padding: 10px 20px; }

/* ===== Urodzinowa niespodzianka (dymek + konfetti na stronie głównej) ===== */

.birthday-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  opacity: 0;
  z-index: 401;
  width: min(380px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.birthday-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.birthday-toast.wheel-modal { width: min(440px, calc(100% - 32px)); padding: 30px 24px 26px; }
.birthday-emoji { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.birthday-toast h3 { margin: 0 0 10px; font-size: 19px; }
.birthday-toast p { margin: 0 0 20px; color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }
.birthday-cta { width: 100%; }
.birthday-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.birthday-close:hover { color: var(--text); }

/* ===== Koło Fortuny (urodzinowe losowanie kodu) ===== */

.wheel-eyebrow { color: var(--accent-2); font-weight: 700; font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 6px; }
.wheel-sub { color: var(--text-muted); font-size: 13px; margin: 0 0 18px; }
.wheel-sub strong, .wheel-sub span { color: var(--text); font-variant-numeric: tabular-nums; }

.wheel-wrap { position: relative; width: 240px; height: 240px; margin: 0 auto 20px; }
.wheel-canvas { width: 240px; height: 240px; border-radius: 50%; border: 3px solid var(--panel-border); display: block; }
.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid var(--accent-2);
  z-index: 2;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

.wheel-spin-btn { width: 100%; }
.wheel-spin-btn:disabled { opacity: 0.7; cursor: default; }

.wheel-result { margin-top: 18px; text-align: center; }
.wheel-result-title { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.wheel-result-desc { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 0 0 14px; }

.wheel-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.wheel-code { font-weight: 800; letter-spacing: 0.5px; font-size: 15px; color: var(--accent-2); }

/* ===== Twoje kody rabatowe (zakładka Wydarzenia) ===== */

.mycode-panel { margin-bottom: 40px; text-align: left; }
.mycode-list { display: flex; flex-direction: column; gap: 10px; }
.mycode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  flex-wrap: wrap;
}
.mycode-code { font-weight: 800; font-size: 15px; letter-spacing: 0.4px; }
.mycode-meta { color: var(--text-muted); font-size: 12.5px; margin-top: 2px; }

/* ===== Karty botów ===== */

.bot-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bot-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-2);
  flex-shrink: 0;
}
.bot-card-head .name { flex: 1; min-width: 0; }
.bot-card-head .name strong { display: block; font-size: 15px; }
.bot-card-head .name span { font-size: 12px; color: var(--text-muted); }
/* margin-top: auto przypina status+znacznik czasu do dołu karty, niezależnie od tego,
   ile linii zajmie opis bota nad nim - dzięki temu plakietki są zawsze na jednej wysokości
   między kartami, nawet gdy opisy mają różną długość. */
.bot-status-row { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; }
/* min-height rezerwuje miejsce na 2 linie niezależnie od faktycznej długości tekstu (raz jest to
   jedna linia z godziną, raz dłuższy dwuliniowy komunikat) - inaczej plakietka nad nim ląduje na
   różnej wysokości w różnych kartach, zależnie od tego, ile miejsca zajmie tekst POD nią. */
.bot-updated { font-size: 11px; color: var(--text-muted); margin-top: 8px; min-height: 28px; }

.notice-panel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 93, 108, 0.08);
  border: 1px solid rgba(255, 93, 108, 0.35);
  margin-bottom: 30px;
}
.notice-panel .dot-mark {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger);
  margin-top: 6px;
  flex-shrink: 0;
}
.notice-panel p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.notice-panel strong { color: var(--danger); }

/* ===== Stopka ===== */

.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 46px 0 30px;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: var(--text); font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-grid a { display: block; color: var(--text-muted); font-size: 13.5px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--panel-border); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== Responsywność ===== */

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .navbar { flex-wrap: wrap; }
  .stats-grid { grid-template-columns: 1fr; }
}
