:root{
  --bg: #0a0a09;
  --bg-soft: #121210;
  --panel: #161613;
  --line: #2a2a25;
  --white: #f4f2ea;
  --dim: #b8b5a8;
  --gold: #e8b923;
  --gold-soft: #f0cf6a;
  --red: #c31f2a;
  --stone: #8f8c81;
  --radius: 2px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 85px; /* Odstęp na stałą belkę reklamową na dole */
}

::selection{ background: var(--gold); color: #0a0a09; }

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

.grain{
  position: fixed; inset:0; pointer-events:none; z-index: 1;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
.nav{
  position: sticky; top:0; z-index: 40;
  background: rgba(10,10,9,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  max-width: 1100px; margin: 0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 24px;
}
.nav-logo{ height: 46px; width:auto; display:block; }
.nav-links{ display:flex; gap: 28px; align-items: center; }
.nav-links a{
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); transition: color .2s ease;
}
.nav-links a:hover{ color: var(--gold); }
.nav-links a.nav-support{
  color: var(--gold);
  font-weight: 600;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- HERO ---------- */
.hero{
  position: relative;
  min-height: 90vh;
  display:flex; flex-direction:column; justify-content:center;
  align-items:flex-start;
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px 100px;
  overflow: hidden;
}
.tower-mark{
  position:absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 260px; height: auto; color: var(--stone); opacity: 0.35;
}
.eyebrow{
  font-family:'Inter'; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.headline{
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 8.5vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0 0 26px;
  text-transform: uppercase;
  max-width: 780px;
}
.headline .script{
  font-family: 'Bad Script', cursive;
  text-transform: none;
  color: var(--gold);
  font-size: 1.05em;
  -webkit-text-stroke: 0;
}
.hero-sub{
  max-width: 480px;
  color: var(--dim);
  font-size: 1.05rem;
  margin: 0 0 40px;
}
.btn-primary{
  display:inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 14px 30px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  transition: background .25s ease, color .25s ease;
}
.btn-primary:hover{ background: var(--gold); color: #0a0a09; }

.hero-line{
  position:absolute; left:24px; right:24px; bottom: 0;
  height:1px; background: linear-gradient(90deg, var(--red), transparent 60%);
}

/* ---------- SECTION HEAD ---------- */
.section-head{ max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-num{
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red);
}
.section-head h2, .about h2, .support h2{
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 10px 0 8px;
}
.section-sub{ color: var(--dim); margin: 0 0 50px; }

/* ---------- FILMS ---------- */
.films{ padding: 80px 0 60px; border-top: 1px solid var(--line); }
.film-grid{
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display:grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.film-card{
  background: var(--panel);
  border: 1px solid var(--line);
  display:flex; flex-direction:column;
  overflow:hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.film-card:hover{ transform: translateY(-4px); border-color: var(--gold); }

.film-thumb{
  position:relative; aspect-ratio: 16/9; overflow:hidden;
  background: linear-gradient(135deg, #1b1b17, #0d0d0b);
}
.film-thumb img{
  width:100%; height:100%; object-fit:cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform .4s ease;
}
.film-card:hover .film-thumb img{ transform: scale(1.06); }

.play-heart{
  position:absolute; inset:0; margin:auto; width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  color: var(--white);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}
.play-heart svg{ width:100%; height:100%; }

.film-body{ padding: 20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1; }
.film-date{ font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.film-title{ font-size: 1.12rem; font-weight: 700; margin:0; }
.film-desc{ color: var(--dim); font-size: 0.92rem; margin:0; flex:1; }
.film-link{
  margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); display:inline-flex; align-items:center; gap:6px;
}
.film-link:after{ content:"→"; transition: transform .2s ease; }
.film-card:hover .film-link:after{ transform: translateX(4px); }

.empty-state{ text-align:center; color: var(--dim); padding: 60px 24px; }

/* ---------- ABOUT ---------- */
.about{ padding: 80px 0; border-top: 1px solid var(--line); }
.about-grid{
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display:grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items:center;
}
.about-text p{ color: var(--dim); font-size: 1rem; margin-bottom: 1rem; }

/* Wyśrodkowane okrągłe zdjęcie profilowe pod nagłówkiem */
.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin: 20px auto 28px auto; /* 'auto' po bokach wyśrodkowuje zdjęcie */
  display: block;
}

.about-media{ 
  display:flex; 
  justify-content: center; 
  align-items:center; 
}
.about-logo{ width: 100%; max-width: 260px; opacity: 0.92; }

/* ---------- SUPPORT ---------- */
.support{
  padding: 80px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: center;
}
.support-inner{
  max-width: 680px;
  margin: 0 auto;
}
.support-lead{
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--white);
}
.support-text{
  font-size: 1rem;
  color: var(--dim);
  margin-bottom: 26px;
}
.support-action{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.support-action span{
  font-size: 0.95rem;
  color: var(--stone);
}
.support-thanks{
  font-size: 1rem;
  color: var(--gold-soft);
  font-weight: 500;
  margin-top: 10px;
}

/* ---------- CONTACT ---------- */
.contact{
  padding: 80px 24px 100px; text-align:center;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(195,31,42,0.08), transparent 60%);
}
.contact h2{
  font-family:'Anton'; font-weight:400; text-transform:uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px;
}
.contact p{ color: var(--dim); margin: 0 0 34px; }
.contact-links{ display:flex; justify-content:center; gap: 16px; flex-wrap:wrap; }
.contact-links a{
  border: 1px solid var(--line); padding: 12px 22px;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
}
.contact-links a:hover{ border-color: var(--gold); color: var(--gold); }

/* ---------- FOOTER ---------- */
.footer{
  text-align:center; padding: 40px 24px 50px;
  border-top: 1px solid var(--line);
  color: var(--stone); font-size: 0.82rem;
}
.footer-logo{ height: 40px; opacity: 0.8; margin-bottom: 14px; }

/* ---------- ODTWARZACZ MODALNY (POP-UP) ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: var(--gold);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* Proporcja 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 16px;
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
}

.modal-desc {
  color: var(--dim);
  font-size: 0.95rem;
  margin: 0;
}

.modal-external-notice {
  text-align: center;
  padding: 40px 20px;
}

/* ---------- STAŁA BELKA REKLAMOWA NA DOLE ---------- */
.bottom-ad-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 2px solid var(--line);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
  z-index: 90;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}

.ad-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.ad-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555555;
  font-weight: 700;
  white-space: nowrap;
}

.ad-logo {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.2s ease;
  object-fit: contain;
}

.ad-logo:hover {
  transform: scale(1.06);
}

/* ---------- RESPONSIVE (MOBILE) ---------- */
@media (max-width: 768px){
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 9, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    align-items: flex-start;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ margin-top: 20px; }
  .about-logo{ max-width: 180px; }
  .tower-mark{ opacity: 0.12; width: 160px; right: -30px; }

  .hero{ padding: 60px 24px 80px; min-height: auto; }
  .btn-primary{ width: 100%; }
  
  .contact-links{
    flex-direction: column;
    align-items: stretch;
  }
  .contact-links a{
    text-align: center;
  }
  
  .ad-logo {
    height: 32px;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}

/* ---------- FOCUS ---------- */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold); outline-offset: 3px;
}
