/* NocneHistorie.pl - nocny magazyn literacki. Mobile-first.
   Kierunek: typografia zamiast pudelek, cieply atrament + zloto, uklad redakcyjny. */
:root {
  --bg: #141010;
  --bg2: #1b1514;
  --bg3: #251d1b;
  --text: #ece3d7;
  --text-muted: #a2958a;
  --accent: #a83d4b;
  --accent-hover: #cf6273;
  --gold: #c8a35f;
  --border: #2b2320;
  --hairline: #262019;
  --radius: 2px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --reading-size: 1.125rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(1400px 500px at 50% -8%, #1c1312 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #4a2a30; color: #f5ead9; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.1rem; }

/* ---------- Ikony SVG ---------- */
.icon {
  width: 1em; height: 1em; display: inline-block;
  vertical-align: -0.125em; flex-shrink: 0;
}
.btn .icon { margin-right: .3rem; }
.badge-18 {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 1px; padding: 0 .35rem; font-size: .74rem; font-weight: 600; letter-spacing: .08em;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Naglowek ---------- */
.site-header {
  background: rgba(20,16,16,.96);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding-top: .85rem; padding-bottom: .85rem; flex-wrap: wrap;
}
.logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; letter-spacing: .01em; }
.logo span, .footer-logo span, .age-gate-logo span { color: var(--accent-hover); font-style: italic; }
.nav-toggle {
  display: block; margin-left: auto; background: none; border: 1px solid var(--border);
  color: var(--text); font-size: 1.2rem; padding: .25rem .6rem; border-radius: var(--radius); cursor: pointer;
}
.main-nav { display: none; width: 100%; }
.main-nav.open { display: block; }
.main-nav ul { display: flex; flex-direction: column; gap: .1rem; }
.main-nav a {
  display: block; padding: .5rem .55rem; color: var(--text-muted);
  font-size: .82rem; text-transform: uppercase; letter-spacing: .13em;
}
.main-nav a:hover { color: var(--gold); background: none; }
.sub-nav { padding-left: 1rem; border-left: 1px solid var(--hairline); }
.header-search { position: relative; display: flex; width: 100%; gap: 0; }
.header-search input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid var(--border); color: var(--text);
  padding: .45rem .2rem; font-size: .95rem; outline: none; border-radius: 0;
}
.header-search input:focus { border-bottom-color: var(--gold); }
.header-search input::placeholder { color: #6d6259; font-style: italic; }
.header-search button {
  background: transparent; border: 0; border-bottom: 1px solid var(--border); color: var(--text-muted);
  padding: 0 .6rem; cursor: pointer;
}
.header-search button:hover { color: var(--gold); }
.search-suggestions {
  position: absolute; top: 105%; left: 0; right: 0; background: var(--bg2);
  border: 1px solid var(--border); z-index: 60; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.search-suggestions a {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .55rem .9rem; font-size: .95rem; color: var(--text);
  font-family: var(--font-serif);
}
.search-suggestions a:hover, .search-suggestions a.active { background: var(--bg3); color: var(--gold); }
.sug-type {
  font-family: var(--font-sans); font-size: .64rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--gold); flex-shrink: 0; min-width: 4.6rem;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; width: auto; }
  .main-nav ul { flex-direction: row; gap: .3rem; }
  .has-sub { position: relative; }
  .main-nav .sub-nav {
    display: none; position: absolute; top: 100%; left: 0; background: var(--bg2);
    border: 1px solid var(--border); min-width: 230px; padding: .4rem; z-index: 60;
    flex-direction: column; border-left: 1px solid var(--border);
  }
  .main-nav .sub-nav a { text-transform: none; letter-spacing: 0; font-size: .93rem; padding: .45rem .7rem; }
  .main-nav .has-sub:hover .sub-nav, .main-nav .has-sub:focus-within .sub-nav { display: flex; }
  .header-search { width: 230px; margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--hairline);
  padding: 3rem 0 2.4rem;
  text-align: left;
}
.hero-kicker {
  color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .28em;
  margin-bottom: .9rem;
}
.hero-kicker::after { content: ""; display: inline-block; width: 3.5rem; height: 1px; background: var(--gold); vertical-align: middle; margin-left: .8rem; opacity: .5; }
.hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: 2.3rem; line-height: 1.12; margin-bottom: .8rem; max-width: 14em; }
.hero-lead { color: var(--text-muted); max-width: 560px; margin: 0 0 1.6rem; font-size: 1.02rem; }
.hero-search { display: flex; max-width: 460px; margin: 0 0 .8rem; gap: 0; position: relative; }
.hero-search input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid var(--border); color: var(--text);
  padding: .6rem .2rem; font-size: 1rem; outline: none; border-radius: 0;
}
.hero-search input:focus { border-bottom-color: var(--gold); }
.hero-search input::placeholder { color: #6d6259; font-style: italic; }
.hero-quick { font-size: .88rem; color: var(--text-muted); }
.hero-quick a { color: var(--text); border-bottom: 1px solid var(--border); }
.hero-quick a:hover { color: var(--gold); border-bottom-color: var(--gold); }
@media (min-width: 700px) { .hero h1 { font-size: 3.1rem; } }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-block; padding: .6rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent;
  font-size: .88rem; letter-spacing: .06em; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--accent); color: #f6eee2; }
.btn-primary:hover { background: #bd4c5c; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text-muted); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-small { padding: .35rem .8rem; font-size: .82rem; }

/* ---------- Sekcje / karty (uklad redakcyjny, bez pudelek) ---------- */
.home-section { margin: 3rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.3rem; gap: 1rem; }
.section-head h2 {
  font-family: var(--font-sans); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .24em; color: var(--gold);
  display: flex; align-items: center; gap: 1rem; flex: 1;
}
.section-head h2::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.section-more { color: var(--text-muted); font-size: .85rem; white-space: nowrap; font-style: italic; }
.section-more:hover { color: var(--gold); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 0 2.4rem; }
@media (min-width: 640px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0;
  overflow: visible; display: flex; flex-direction: column; padding: 1.05rem 0 1.35rem;
}
.card-thumb { margin-bottom: .8rem; }
.card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: sepia(.12) saturate(.9); }
.card-body { padding: 0; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-meta { font-size: .78rem; color: var(--text-muted); letter-spacing: .02em; }
.card-cat { color: var(--gold); text-transform: uppercase; font-size: .72rem; letter-spacing: .18em; }
.card-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.32rem; line-height: 1.28; }
.story-card:hover .card-title a, .card-title a:hover { color: var(--accent-hover); }
.card-lead { color: var(--text-muted); font-size: .93rem; flex: 1; }
.card-foot { font-size: .8rem; color: #7d7166; font-style: italic; }
.card-rating { color: var(--gold); font-style: normal; }
.empty-note { color: var(--text-muted); padding: 1.4rem 0; border-top: 1px solid var(--border); font-style: italic; }

/* ---------- Kategorie / landingi ---------- */
.category-grid { display: grid; grid-template-columns: 1fr; gap: 0 2.4rem; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.category-tile {
  background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0;
  padding: .9rem 0 1.2rem; display: flex; flex-direction: column; gap: .3rem;
}
.category-tile:hover .category-name { color: var(--accent-hover); }
.category-name { font-family: var(--font-serif); font-size: 1.12rem; color: var(--text); }
.category-desc { font-size: .86rem; color: var(--text-muted); }
.landing-links { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.landing-links a {
  display: inline-block; background: none; border: 0; padding: .2rem 0;
  font-size: .92rem; color: var(--text-muted); border-bottom: 1px solid transparent;
}
.landing-links a::before { content: "— "; color: var(--gold); opacity: .7; }
.landing-links a:hover { color: var(--text); border-color: transparent; }

/* ---------- Losowa / CTA ---------- */
.random-box {
  text-align: center; background: none; border: 0;
  border-top: 1px double var(--border); border-bottom: 1px double var(--border);
  padding: 2.2rem 1.2rem;
}
.random-box h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: .4rem; }
.random-box p { color: var(--text-muted); margin-bottom: 1.1rem; font-style: italic; }
.cta-block {
  margin: 2rem 0; background: #181212; border: 1px solid #35272a; border-radius: 0;
  padding: 1.5rem 1.4rem 1.4rem; text-align: center; position: relative;
}
.cta-block::before {
  content: "we współpracy"; position: absolute; top: -.65em; left: 50%; transform: translateX(-50%);
  background: var(--bg); padding: 0 .8rem; color: #7d7166;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .22em; white-space: nowrap;
}
.cta-headline { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; color: var(--text); margin-bottom: .35rem; }
.cta-desc { color: var(--text-muted); font-size: .95rem; margin-bottom: .95rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-link {
  display: inline-block; background: var(--accent); color: #f6eee2; font-size: .92rem; font-weight: 600;
  letter-spacing: .05em; padding: .6rem 1.5rem; border-radius: var(--radius); transition: filter .15s;
}
.cta-link:hover { filter: brightness(1.15); color: #fff; }
.cta-sticky .cta-link { padding: .45rem 1rem; font-size: .88rem; }
.cta-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; margin: 0;
  background: rgba(24,18,18,.98); border: 0; border-top: 1px solid #35272a;
  display: none; align-items: center; justify-content: center; gap: 1rem; padding: .7rem 2.6rem .7rem 1rem;
}
.cta-sticky::before { display: none; }
@media (max-width: 760px) { .cta-sticky { display: flex; } }
.cta-close {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--text-muted); font-size: 1rem; cursor: pointer;
}

/* ---------- SEO text / FAQ ---------- */
.seo-text { margin: 3rem 0; color: var(--text-muted); font-size: .97rem; max-width: 44rem; }
.seo-text h2 { font-family: var(--font-serif); font-weight: 400; color: var(--text); margin-bottom: .8rem; font-size: 1.45rem; }
.seo-text p { margin-bottom: .9rem; }
.seo-text a { color: var(--text); border-bottom: 1px solid var(--border); }
.seo-text a:hover { color: var(--gold); border-color: var(--gold); }
.faq-section { margin: 3rem 0; max-width: 44rem; }
.faq-section h2 { font-family: var(--font-serif); font-weight: 400; margin-bottom: .6rem; font-size: 1.45rem; }
.faq-item { background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; margin: 0; padding: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: .85rem .2rem; cursor: pointer; font-weight: 400; font-size: 1.02rem; font-family: var(--font-serif);
  list-style-position: outside;
}
.faq-item summary:hover { color: var(--gold); }
.faq-item p { padding: 0 .2rem .95rem; color: var(--text-muted); font-size: .94rem; }

/* ---------- Breadcrumbs / paginacja ---------- */
.breadcrumbs { font-size: .8rem; color: #7d7166; margin: 1.2rem 0; letter-spacing: .04em; }
.breadcrumbs a { color: #7d7166; }
.breadcrumbs a:hover { color: var(--gold); }
.crumb-sep { margin: 0 .3rem; opacity: .55; }
.pagination { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0; align-items: baseline; }
.page-link {
  padding: .15rem 0; background: none; border: 0; border-bottom: 1px solid transparent;
  font-size: .95rem; color: var(--text-muted); border-radius: 0;
}
.page-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.page-link.current { background: none; color: var(--text); border-bottom: 1px solid var(--accent-hover); }
.page-dots { color: #7d7166; }

/* ---------- Strony / naglowki ---------- */
.page-head { margin: .6rem 0 2rem; }
.page-head h1 { font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.18; margin-bottom: .6rem; }
.page-intro { color: var(--text-muted); max-width: 680px; }
@media (min-width: 700px) { .page-head h1 { font-size: 2.5rem; } }

/* ---------- Historia ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 90;
  transition: width .1s linear;
}
.story-layout { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
@media (min-width: 1000px) { .story-layout { grid-template-columns: minmax(0, 1fr) 290px; } }
.story-head h1 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.16; margin-bottom: .8rem; }
@media (min-width: 700px) { .story-head h1 { font-size: 2.7rem; } }
.story-meta { font-size: .85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; }
.story-meta a { color: var(--text); border-bottom: 1px solid var(--border); }
.story-meta a:hover { color: var(--gold); border-color: var(--gold); }
.story-series-info { margin-top: .5rem; font-size: .92rem; color: var(--text-muted); font-style: italic; }
.story-series-info a { color: var(--gold); }
.content-warning {
  margin-top: 1rem; background: none; border: 0; border-left: 2px solid var(--accent);
  padding: .2rem 0 .2rem .9rem; font-size: .88rem; color: var(--text-muted); font-style: italic;
}
.story-lead {
  font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.55; font-style: italic; color: #c9bcab;
  border: 0; padding: 0; margin: 1.8rem 0 1.4rem; max-width: 40rem;
}
.audio-player { background: none; border: 1px solid var(--border); border-radius: 0; padding: 1rem 1.1rem; margin: 1.4rem 0; max-width: 46rem; }
.audio-label { font-size: .78rem; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; margin-bottom: .5rem; }
.audio-player audio { width: 100%; }
.story-content {
  font-family: var(--font-serif); font-size: var(--reading-size); line-height: 1.9;
  max-width: 42rem; margin: 1.6rem 0;
}
.story-content p { margin-bottom: 1.15em; }
.story-content h2, .story-content h3 { margin: 1.4em 0 .6em; font-weight: 400; }
.story-content blockquote { border-left: 2px solid var(--gold); padding-left: 1rem; color: var(--text-muted); margin: 1.2em 0; font-style: italic; }
.story-content hr { border: 0; text-align: center; margin: 1.8em 0; }
.story-content hr::after { content: "⁂"; color: var(--gold); font-size: 1rem; }
.tag-chips { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; margin: 1.6rem 0; }
.tag-chips a {
  background: none; border: 0; border-radius: 0; padding: 0;
  font-size: .88rem; color: var(--text-muted);
}
.tag-chips a::before { content: "#"; color: var(--gold); opacity: .8; margin-right: .1em; }
.tag-chips a:hover { color: var(--text); border-color: transparent; }

.story-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin: 2rem 0;
  background: none; border: 0; border-top: 1px double var(--border); border-bottom: 1px double var(--border);
  border-radius: 0; padding: 1.2rem .2rem;
}
.rating-label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .16em; margin-bottom: .25rem; }
.rating-stars { display: flex; gap: .15rem; }
.star { background: none; border: 0; font-size: 1.5rem; color: #494038; cursor: pointer; transition: color .1s; padding: 0 .1rem; }
.star.active, .star:hover, .star:has(~ .star:hover) { color: var(--gold); }
.rating-stars:hover .star { color: var(--gold); }
.rating-stars .star:hover ~ .star { color: #494038; }
.rating-result { font-size: .85rem; color: var(--text-muted); margin-top: .25rem; font-style: italic; }

.series-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 1.8rem 0; flex-wrap: wrap; }
.series-nav a { color: var(--text); font-family: var(--font-serif); font-style: italic; font-size: 1rem; border-bottom: 1px solid var(--border); }
.series-nav a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Komentarze ---------- */
.comments-section { margin: 2.6rem 0; max-width: 44rem; }
.comments-section h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 1rem; }
.comments-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.8rem; }
.comment { background: none; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: .9rem .1rem; }
.comment-head { font-size: .82rem; color: #7d7166; margin-bottom: .3rem; }
.comment-head strong { color: var(--gold); font-weight: 600; }
.comment-body { font-size: .96rem; white-space: pre-wrap; }
.comment-form, .contact-form {
  background: none; border: 1px solid var(--border); border-radius: 0;
  padding: 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; max-width: 560px;
}
.comment-form h3 { font-family: var(--font-serif); font-weight: 400; }
.form-note { font-size: .84rem; color: var(--text-muted); font-style: italic; }
.comment-form label, .contact-form label, .report-box label {
  display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em;
}
.comment-form input, .comment-form textarea, .contact-form input, .contact-form textarea,
.contact-form select, .report-box input, .report-box textarea, .report-box select {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  padding: .55rem .8rem; border-radius: var(--radius); font-size: .96rem; font-family: inherit; outline: none;
  text-transform: none; letter-spacing: 0;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.form-result { font-size: .9rem; color: #9dbb8b; font-style: italic; }
.form-result.error { color: #d18a8a; }

/* ---------- Sidebar ---------- */
.story-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-section { background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 1rem 0 0; }
.sidebar-section h2 {
  font-family: var(--font-sans); font-weight: 600; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold); margin-bottom: .9rem;
}
.sidebar-list { display: flex; flex-direction: column; gap: .8rem; }
.sidebar-list a { font-size: 1rem; line-height: 1.4; font-family: var(--font-serif); }
.sidebar-list a:hover { color: var(--accent-hover); }
.sidebar-meta { display: block; font-size: .78rem; color: #7d7166; font-family: var(--font-sans); font-style: italic; }

/* ---------- Serie / autorzy ---------- */
.series-grid { display: grid; grid-template-columns: 1fr; gap: 0 2.4rem; }
@media (min-width: 640px) { .series-grid { grid-template-columns: repeat(2, 1fr); } }
.series-tile {
  background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0;
  padding: .9rem 0 1.2rem; display: flex; flex-direction: column; gap: .3rem;
}
.series-tile:hover .series-title { color: var(--accent-hover); }
.series-title { font-family: var(--font-serif); font-size: 1.2rem; }
.series-desc { font-size: .9rem; color: var(--text-muted); }
.series-count, .author-count { font-size: .8rem; color: #7d7166; font-style: italic; }
.series-meta { color: var(--text-muted); font-size: .9rem; margin: .5rem 0 1rem; font-style: italic; }
.series-parts { list-style: none; counter-reset: part; display: flex; flex-direction: column; gap: 0; margin: 1rem 0; max-width: 44rem; }
.series-part-link {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem;
  background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: .85rem .1rem;
}
.series-part-link:hover .series-part-title { color: var(--accent-hover); }
.series-part-no { color: var(--gold); font-size: .8rem; letter-spacing: .1em; white-space: nowrap; }
.series-part-title { font-family: var(--font-serif); font-size: 1.1rem; flex: 1; }
.series-part-meta { font-size: .8rem; color: #7d7166; font-style: italic; }
.series-list li, .authors-list li { padding: .55rem 0; border-bottom: 1px solid var(--hairline); }
.series-list a, .authors-list a { color: var(--text); font-family: var(--font-serif); font-size: 1.05rem; }
.series-list a:hover, .authors-list a:hover { color: var(--accent-hover); }

/* ---------- Strony statyczne ---------- */
.static-page { max-width: 720px; }
.static-page h1 { font-family: var(--font-serif); font-weight: 400; margin: .5rem 0 1.2rem; }
.static-page h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; margin: 1.7rem 0 .6rem; }
.static-page p, .static-page li { color: var(--text-muted); margin-bottom: .6rem; font-size: .97rem; }
.static-page ul { list-style: disc; padding-left: 1.4rem; }
.static-page a { color: var(--text); border-bottom: 1px solid var(--border); }
.static-page a:hover { color: var(--gold); border-color: var(--gold); }
.error-page { text-align: center; padding: 4.5rem 1rem; }
.error-page h1 { font-family: var(--font-serif); font-weight: 400; margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 1.4rem; font-style: italic; }
.error-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Modal zgloszenia / age gate ---------- */
.report-modal, .age-gate {
  position: fixed; inset: 0; background: rgba(10,7,7,.82); z-index: 95;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.report-box, .age-gate-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 0;
  max-width: 460px; width: 100%; padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  box-shadow: 0 0 0 6px rgba(20,16,16,.6);
}
.report-box h2, .age-gate-box h2 { font-family: var(--font-serif); font-weight: 400; }
.report-box form { display: flex; flex-direction: column; gap: .9rem; }
.report-actions, .age-gate-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.age-gate-actions { justify-content: center; width: 100%; }
.age-gate-box { text-align: center; align-items: center; border-top: 2px solid var(--gold); }
.age-gate-logo { font-family: var(--font-serif); font-size: 1.35rem; }
.age-gate-box p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Stopka ---------- */
.site-footer { border-top: 1px double var(--border); background: none; margin-top: 4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.8rem; padding: 2.4rem 1rem 1.2rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: .5rem; }
.footer-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: .6rem; }
.footer-18 { font-size: .85rem; color: var(--text-muted); }
.footer-head {
  font-weight: 600; margin-bottom: .7rem; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold);
}
.site-footer ul { display: flex; flex-direction: column; gap: .4rem; }
.site-footer ul a { color: var(--text-muted); font-size: .92rem; }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--hairline); padding: 1.1rem; font-size: .8rem; color: #7d7166; text-align: center; font-style: italic; }
