/* ==========================================================================
   STYLE 2 - STWARDNIENIESMROZSIANE.PL
   Fintech-Grade High Trust Design (Cobalt / Slate / Amber)
   Zero AI Slop - Strict Hierarchy & Clean Typography
   ========================================================================== */

:root {
  --brand-bg: #f8fafc;
  --brand-surface: #ffffff;
  --brand-text: #0f172a;
  --brand-muted: #334155;
  --brand-subtle: #64748b;
  --brand-border: #e2e8f0;
  --brand-border-focus: #93c5fd;
  
  --brand-accent: #1d4ed8;       /* Royal Cobalt */
  --brand-accent-hover: #1e40af;
  --brand-accent-subtle: #eff6ff;
  
  --brand-cta: #ea580c;          /* High-converting Warm Orange */
  --brand-cta-hover: #c2410c;
  
  --brand-success: #059669;
  --brand-danger: #dc2626;
  --brand-radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--brand-bg);
  color: var(--brand-muted);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-text);
  letter-spacing: -0.02em;
}

.header-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.header-nav a {
  color: var(--brand-muted);
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--brand-accent);
}

.header-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--brand-text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  padding: 1rem 1.25rem 1.25rem;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.mobile-nav.open {
  display: flex;
}

/* Hero Section (Clean Intro, No BLUF box, No 3-Pick Grid) */
.hero {
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  padding: 2.75rem 0 2rem;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.author-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-accent);
  background: var(--brand-accent-subtle);
  padding: 4px 10px;
  border-radius: 6px;
}

.date-pill {
  color: var(--brand-subtle);
  font-weight: 600;
}

.hero-h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--brand-text);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-intro-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.hero-intro-sub {
  font-size: 0.92rem;
  color: var(--brand-subtle);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-border);
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-text);
}

.badge-check {
  color: var(--brand-success);
  font-weight: 900;
}

/* Main Layout */
.main-wrapper {
  padding: 2.5rem 0 4rem;
}

/* Ranking Header */
.ranking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-border);
}

.ranking-title-wrap h2 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--brand-text);
  letter-spacing: -0.02em;
}

.ranking-subtitle {
  font-size: 0.85rem;
  color: var(--brand-subtle);
}

.ranking-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-accent);
  background: var(--brand-accent-subtle);
  border: 1px solid #bfdbfe;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Prose Typography (Unique Body) */
.prose {
  color: #334155;
  line-height: 1.7;
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-text);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--brand-border);
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-text);
  margin: 1.75rem 0 0.75rem;
}

.prose p {
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.prose strong {
  color: var(--brand-text);
  font-weight: 700;
}

.prose ul, .prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Spec Table in Content */
.table-wrap {
  overflow-x: auto;
  margin: 1.35rem 0 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--brand-border);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.spec-table th {
  background: #f1f5f9;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 800;
  color: var(--brand-text);
  border-bottom: 2px solid var(--brand-border);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spec-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.spec-table tr:hover td {
  background: #f8fafc;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* Review Cards (ZERO H4 HEADINGS RULE!) */
.review-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.review-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-text);
}

.review-score-badge {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 9px;
  border-radius: 6px;
}

.review-mockup {
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid var(--brand-border);
}

/* Pros and Cons - Styled Semantic Containers (NO H4) */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.pro-box, .con-box {
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.pro-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.con-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros-heading {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cons-heading {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pros-cons-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.pros-cons-grid li {
  margin-bottom: 0.35rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.pro-box li::before {
  content: "✔";
  color: #16a34a;
  font-weight: 800;
}

.con-box li::before {
  content: "✘";
  color: #dc2626;
  font-weight: 800;
}

.review-cta-wrap {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.review-btn:hover {
  background: var(--brand-accent-hover);
}

/* FAQ Accordion */
.faq-box {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-card summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--brand-text);
  font-size: 0.96rem;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.15s ease;
  user-select: none;
}

.faq-card summary:hover {
  background: #f8fafc;
}

.faq-card p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-muted);
  line-height: 1.6;
}

/* Author Section */
.author-box {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 1.75rem;
  margin: 2.5rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.author-avatar-initials {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-text);
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-accent);
  background: var(--brand-accent-subtle);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.author-desc {
  font-size: 0.9rem;
  color: var(--brand-muted);
  line-height: 1.55;
  margin: 0;
}

/* Subpage Utilities (O nas, Kontakt, Odpowiedzialna gra) */
.subpage-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
  padding: 2.5rem 0;
  text-align: center;
}

.subpage-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  font-weight: 900;
  color: var(--brand-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.subpage-hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--brand-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.contact-panel {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact-form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-text);
}

.contact-input, .contact-textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--brand-text);
}

.contact-input:focus, .contact-textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.contact-btn {
  background: var(--brand-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.92rem;
  transition: background 0.15s ease;
}

.contact-btn:hover {
  background: var(--brand-accent-hover);
}

/* Responsible Gaming Boxes */
.rg-warning {
  background: #fef2f2;
  border: 2px solid #ef4444;
  border-radius: 12px;
  padding: 1.4rem;
  margin: 1.5rem 0;
}

.rg-warning-title {
  font-weight: 900;
  color: #b91c1c;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.rg-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.rg-contact-item {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.rg-phone-big {
  font-size: 1.4rem;
  font-weight: 900;
  color: #b91c1c;
  display: block;
  margin: 0.5rem 0;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.25rem 0 2.75rem;
  font-size: 0.82rem;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-nav-row a {
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.footer-nav-row a:hover {
  color: #ffffff;
}

.footer-copy-text {
  text-align: center;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-menu-btn { display: block; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
  .hero-h1 { font-size: 1.65rem; }
}
