/* =========================================================
   ZMIENNE KOLORÓW / TOKENY
   ======================================================= */

:root {
  --bg: #050403;
  --bg-soft: #11100e;
  --card: #151311;
  --card-soft: #1b1815;

  --accent: #cbb47b;
  --accent-soft: #b8a675;
  --accent-strong: #e6d9b2;

  --text: #f5f1e5;
  --text-soft: #b8a675;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --danger: #ff4d4d;
  --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.75);
}

/* =========================================================
   RESET / BAZA
   ======================================================= */

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background: radial-gradient(circle at top, #1b1711 0, #050403 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: none;
}

/* =========================================================
   STRONA / LAYOUT
   ======================================================= */

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px 160px; /* ZWIĘKSZONY padding-bottom pod sticky CTA */
}

/* Wspólna „karta” dla głównych sekcji */
.hero-inner,
.offer,
.section {
  background: linear-gradient(145deg, var(--card) 0, var(--card-soft) 100%);
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   HEADER
   ======================================================= */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
  object-fit: cover;
}

.brand-title {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.brand-title span:first-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-title span:last-child {
  font-size: 11px;
  color: var(--text-soft);
}

/* Menu na desktop – domyślnie ukryte */
.nav {
  display: none;
  gap: 16px;
  font-size: 13px;
}

.nav a {
  color: var(--accent-soft);
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* CTA w headerze */
.header .btn-primary {
  width: auto;
  min-width: max-content;
  padding: 8px 16px;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
}

/* =========================================================
   PRZYCISKI
   ======================================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, #e5d5a4 0%, #dcc68a 100%);
  color: #1a140a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease,
    background 0.15s ease;
  text-align: center;
  width: 100%;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85);
}

a:focus-visible,
.btn-primary:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

/* =========================================================
   BADGE / TYTUŁY
   ======================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.hero h1,
.section h2,
.offer-title {
  margin: 0;
}

.hero h1 {
  font-size: 22px;
  line-height: 1.35;
  color: var(--accent);
}

.offer-title,
.section h2 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--accent);
}

/* =========================================================
   HERO
   ======================================================= */

.hero {
  margin-top: 14px;
  margin-bottom: 18px;
}

.hero-inner {
  position: relative;
}

.subtitle {
  margin: 6px 0 10px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Box „W skrócie” */
.hero-summary {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--accent-soft);
}

.hero-summary-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 4px;
}

.hero-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-summary-list li {
  margin: 2px 0;
}

.hero-note {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* =========================================================
   VIDEO WRAPPER
   ======================================================= */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
  padding-top: 56.25%;
}

.video-wrapper--vertical {
  padding-top: 177.78%;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================================================
   CENA / META
   ======================================================= */

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 8px;
  flex-direction: column;
}

.price-main {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-strong);
}

.note {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-soft);
}

/* =========================================================
   „PIGUŁKI”
   ======================================================= */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.4);
}

/* =========================================================
   PLAKAT
   ======================================================= */

.poster-wrapper {
  max-width: 360px;
  margin: 18px auto 4px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================================
   SEKCJE
   ======================================================= */

.section {
  margin-bottom: 18px;
  scroll-margin-top: 90px;
}

.section p {
  margin: 4px 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.section ul {
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--accent-soft);
}

.section ul li {
  margin-bottom: 8px;
}

.section ul strong {
  color: var(--accent);
  font-weight: 600;
}

.offer {
  margin-bottom: 18px;
  scroll-margin-top: 90px;
}

.offer-copy {
  margin: 4px 0 10px;
  font-size: 14px;
  color: var(--text-soft);
}

/* =========================================================
   O TWÓRCY
   ======================================================= */

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.author-photo {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.about-text {
  font-size: 14px;
}

/* =========================================================
   OPINIE
   ======================================================= */

.testi-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 12px 10px;
  margin-top: 10px;
}

.testi-quote {
  font-size: 13px;
  color: var(--text);
}

.testi-source {
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent-soft);
  font-style: italic;
}

/* =========================================================
   FAQ
   ======================================================= */

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.faq-item:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 4px;
}

.faq-q {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 3px;
}

/* =========================================================
   LISTA AKTÓW
   ======================================================= */

.acts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.act {
  background: rgba(0, 0, 0, 0.42);
  border-radius: 18px;
  padding: 10px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
}

.act-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-strong);
}

/* =========================================================
   STOPKA
   ======================================================= */

.footer {
  margin-top: 22px;
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
  opacity: 0.8;
}

.cta-small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
}

/* =========================================================
   STICKY CTA – MOBILE
   ======================================================= */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #050403 45%);
  z-index: 40;
}

.sticky-cta-inner {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-cta-text {
  font-size: 11px;
  color: var(--accent-soft);
  white-space: nowrap;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-btn {
  flex: 1;
}

/* =========================================================
   SCREENSHOT DOSTĘPU
   ======================================================= */

.purchase-screenshot {
  border-radius: 18px;
  overflow: hidden;
}

/* =========================================================
   MEDIA QUERIES – OGÓLNE
   ======================================================= */

@media (min-width: 720px) {
  body {
    font-size: 15px;
  }

  .page {
    padding: 26px 24px 80px;
  }

  .header {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .section h2,
  .offer-title {
    font-size: 20px;
  }

  .hero-inner,
  .offer,
  .section {
    padding: 22px 22px 24px;
  }

  .poster-wrapper {
    max-width: 420px;
  }

  .about-content {
    flex-direction: row;
  }

  .sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .page {
    padding-top: 32px;
  }

  .hero {
    margin-bottom: 22px;
  }

  .hero-inner {
    padding: 24px 26px 26px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section,
  .offer {
    margin-bottom: 22px;
  }

  .video-wrapper--vertical {
    padding-top: 150%;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 18px;
  }

  .nav a {
    white-space: nowrap;
  }
}

/* =========================================================
   FRONT PAGE (index / indexF2) – HERO, KAFELKI, SPEKTAKLE
   ======================================================= */

/* Główna strona – lekkie różnice w spacingu */
.page--front {
  padding-bottom: 96px;
}

/* HERO */

.front-hero {
  margin-top: 22px;
  margin-bottom: 26px;
  text-align: center;
}

.front-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.front-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 8px;
}

.front-hero-title {
  font-size: 30px;
  line-height: 1.35;
  color: var(--accent);
  margin: 0 0 6px;
}

.front-hero-subtitle {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0 0 10px;
}

.front-hero-note {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 6px;
}

.front-hero-note strong {
  color: var(--accent-strong);
  font-weight: 600;
}

/* Informacja o aktualnej sztuce pod leadem */

.front-current-play {
  font-size: 13px;
  margin-top: 10px;
  color: var(--accent-soft);
}

.front-current-play strong {
  color: var(--accent-strong);
}

/* Okładka w hero */

.front-hero-cover {
  max-width: 620px;
  margin: 22px auto 12px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  background: #000;
}

.front-hero-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* Meta-pigułki pod okładką */

.front-meta-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 18px;
}

.front-meta-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.55);
}

/* Główne CTA w hero */

.front-hero-cta {
  max-width: 320px;
  margin: 0 auto;
}

/* BLOK „Teatr, który dzieje się w środku” + 3 kafelki */

.front-section {
  margin-bottom: 30px;
}

.front-section-header {
  text-align: center;
  margin-bottom: 22px;
}

.front-section-title {
  font-size: 20px;
  color: var(--accent);
  margin: 0 0 6px;
}

.front-section-lead {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* 3 kafelki z opisem Teatru */

.front-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.front-card {
  background: linear-gradient(145deg, var(--card) 0, var(--card-soft) 100%);
  border-radius: 20px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.front-card-title {
  font-size: 15px;
  color: var(--accent-strong);
  margin: 0 0 6px;
}

.front-card-text {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* BLOK „Aktualna sztuka” + lista spektakli */

.shows {
  margin-bottom: 30px;
}

.shows-header {
  text-align: center;
  margin-bottom: 18px;
}

.shows-title {
  font-size: 19px;
  color: var(--accent);
  margin: 0 0 4px;
}

.shows-subtitle {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}

.shows-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Karta spektaklu */

.show-card {
  background: linear-gradient(145deg, var(--card) 0, var(--card-soft) 100%);
  border-radius: 22px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.85);
}

.show-card--primary {
  border-color: rgba(255, 255, 255, 0.22);
}

.show-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 6px;
}

.show-title {
  font-size: 17px;
  color: var(--accent-strong);
  margin: 0 0 6px;
}

.show-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 8px;
}

.show-meta {
  font-size: 12px;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.show-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.35);
  margin-top: 4px;
}

/* CTA w karcie spektaklu */

.show-cta {
  margin-top: 10px;
}

.show-cta .btn-primary {
  width: 100%;
}

/* „W przygotowaniu” – karty nadchodzących spektakli */

.show-card--upcoming {
  opacity: 0.82;
}

.show-card--upcoming .btn-primary {
  background: linear-gradient(180deg, #b5a477 0%, #a19062 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
}

/* BLOK „Dlaczego powstał ten teatr?” na froncie */

.front-why {
  text-align: center;
  margin: 40px 0 26px;
}

.front-why-title {
  font-size: 19px;
  color: var(--accent);
  margin: 0 0 10px;
}

.front-why-text {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 8px;
}

.front-why-signature {
  font-size: 13px;
  color: var(--accent-soft);
  margin-top: 8px;
}

/* CTA na dole frontu */

.front-bottom-cta {
  text-align: center;
  margin-top: 24px;
}

.front-bottom-cta-text {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.front-bottom-cta .btn-primary {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

/* =========================================================
   MEDIA QUERIES – FRONT PAGE
   ======================================================= */

@media (min-width: 720px) {
  .front-hero-title {
    font-size: 34px;
  }

  .front-hero-subtitle {
    font-size: 18px;
  }

  .front-hero {
    margin-bottom: 30px;
  }

  .front-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shows-grid {
    gap: 18px;
  }
}

@media (min-width: 960px) {
  .front-hero-title {
    font-size: 36px;
  }

  .front-hero-subtitle {
    font-size: 19px;
  }

  .front-hero-inner {
    padding-inline: 28px;
  }

  .shows-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
