/* MidasPay — lekkie style uzupełniające Tailwind CDN */
html { scroll-behavior: smooth; }
body { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
[x-cloak] { display: none !important; }

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.3);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  background: #0f172a;
  color: #fff;
}
.btn-secondary:hover { background: #1e293b; }
.btn-ghost {
  background: #f1f5f9;
  color: #0f172a;
}
.btn-ghost:hover { background: #e2e8f0; }
.btn-danger {
  background: #e11d48;
  color: #fff;
}
.btn-success {
  background: #059669;
  color: #fff;
}

.input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  background: #fff;
}
.input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.hero-grid {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.15), transparent 35%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.prose-legal h2 { font-size: 1.125rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.prose-legal p, .prose-legal li { color: #475569; line-height: 1.7; font-size: 0.95rem; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0; }

.page-cms-content h1 { font-size: 1.5rem; font-weight: 700; margin: 1rem 0 0.5rem; }
.page-cms-content h2 { font-size: 1.125rem; font-weight: 700; margin: 1.25rem 0 0.5rem; color: #0f172a; }
.page-cms-content h3 { font-size: 1rem; font-weight: 700; margin: 1rem 0 0.4rem; }
.page-cms-content p { margin: 0.5rem 0; line-height: 1.7; color: #475569; }
.page-cms-content ul, .page-cms-content ol { margin: 0.5rem 0; padding-left: 1.25rem; color: #475569; }
.page-cms-content ul { list-style: disc; }
.page-cms-content ol { list-style: decimal; }
.page-cms-content li { margin: 0.25rem 0; line-height: 1.6; }

/* Nawigacja publiczna — nowoczesne przyciski */
.nav-btn-modern:active { transform: scale(0.98); }

/* Hero — animowane loga social */
.hero-float-logo {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  will-change: transform;
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(12px, -22px) rotate(6deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(4deg); }
  50% { transform: translate(-16px, 18px) rotate(-8deg); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(10px, 14px) scale(1.08) rotate(10deg); }
}
@keyframes floatD {
  0%, 100% { transform: translate(0, 0) rotate(8deg); }
  50% { transform: translate(-20px, -12px) rotate(-4deg); }
}
@keyframes floatE {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  33% { transform: translate(18px, 8px) rotate(5deg); }
  66% { transform: translate(-8px, -16px) rotate(-10deg); }
}
.float-a { animation: floatA 9s ease-in-out infinite; }
.float-b { animation: floatB 11s ease-in-out infinite; }
.float-c { animation: floatC 8s ease-in-out infinite; }
.float-d { animation: floatD 12s ease-in-out infinite; }
.float-e { animation: floatE 10s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .float-d, .float-e { animation: none; }
}
