:root {
  --apf-red: #ca2333;
  --apf-dark: #14151b;
  --apf-gold: #edd4a4;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
#bilety {
  scroll-margin-top: 90px;
}
.apf-container {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}
.apf-hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111 url("content/musician/images/background_25.jpg") center
    center/cover no-repeat;
  text-align: center;
  color: #fff;
  padding: 110px 0 65px;
}
.apf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.84)
  );
}
.apf-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}
.apf-eyebrow {
  font-size: 12px !important;
  font-weight: 750;
  letter-spacing: 1.6px;
  line-height: 1.55;
  color: var(--apf-red);
  margin: 0 0 13px;
}
.apf-hero .apf-eyebrow {
  color: var(--apf-gold);
}
.apf-hero h1 {
  font-size: clamp(34px, 5.4vw, 65px);
  line-height: 1.1;
  color: #fff;
  letter-spacing: normal;
  font-weight: inherit;
  margin: 0 0 19px;
}
.apf-hero h1 span {
  color: var(--apf-gold);
}
.apf-hero-band {
  font-weight: inherit;
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.2;
  letter-spacing: normal;
  color: #fff;
  margin: 0 0 6px;
}
.apf-hero-guest {
  color: #fff;
  font-size: clamp(17px, 2.8vw, 23px);
  margin: 0 0 12px;
}
.apf-hero-description {
  color: #f0f0f0;
  line-height: 1.6;
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 13px;
}
.apf-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 21px;
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}
.apf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 7px;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.2;
  font-size: 15px;
  transition:
    filter 0.2s,
    transform 0.2s;
  letter-spacing: 0.35px;
  text-align: center;
}
.apf-button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.apf-button-primary {
  background: var(--apf-red) !important;
  color: #fff !important;
}
.apf-button-dark {
  background: var(--apf-dark) !important;
  color: #fff !important;
  margin-top: 20px;
}
.apf-hero-small {
  font-size: 13px;
  color: #f3e7d8;
  margin: 12px 0 0;
}
.apf-content {
  background: #fff url("../images/wall.jpg") center top / 100% auto repeat-y;
  color: #252525;
  padding: 48px 0 80px;
}
.apf-content h2 {
  color: #151515;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: inherit;
  line-height: 1.18;
  margin: 0 0 13px;
}
.apf-content p {
  line-height: 1.65;
}
.apf-ticket-section {
  padding: 32px;
  border: 1px solid #e9e3df;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}
.apf-section-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 24px;
}
.apf-section-heading > p:last-child {
  font-size: 16px;
  margin: 0;
  color: #414141;
}
.apf-ticket-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.apf-ticket-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 123px;
  padding: 19px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  background: #fafafa;
  text-align: center;
  text-decoration: none !important;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.apf-ticket-card:hover {
  border-color: var(--apf-red);
  background: #fff7f7;
}
.apf-ticket-name {
  color: #222;
  font-size: 21px;
  font-weight: 800;
}
.apf-ticket-buy {
  color: #fff;
  background: var(--apf-red);
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
}
.apf-ticket-note {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin: 20px 0 0;
}
.apf-why {
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  padding: 80px 0 48px;
}
.apf-why-copy > p:not(.apf-eyebrow) {
  font-size: 17px;
  color: #373737;
}
.apf-benefits {
  padding-left: 20px;
  margin: 22px 0 25px;
  font-size: 16px;
  line-height: 1.8;
}
.apf-why-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 32px #0002;
}
.apf-video-section {
  /* background: rgba(255, 255, 255, 0.92); */
  border-radius: 12px;
  text-align: center;
  padding: 47px 0 65px;
  border-top: 1px solid #eee;
}
.apf-video-section > p:not(.apf-eyebrow) {
  font-size: 16px;
  margin-bottom: 22px;
}
.apf-video {
  max-width: 940px;
  margin: 0 auto 24px;
  aspect-ratio: 16/9;
  background: #141414;
  border-radius: 11px;
  overflow: hidden;
}
.apf-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.apf-details {
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 12px;
  padding: 35px 20px;
  border-top: 1px solid #eee;
}
.apf-details > h2 {
  text-align: center;
  margin-bottom: 22px;
}
.apf-details details {
  max-width: 900px;
  margin: 0 auto 36px;
  border: 1px solid #ddd;
  border-radius: 9px;
  overflow: hidden;
}
.apf-details summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 750;
  background: #f6f6f6;
  list-style-position: inside;
}
.apf-details-body {
  padding: 15px 22px 24px;
  font-size: 16px;
  line-height: 1.75;
}
.apf-details-body p {
  margin: 12px 0;
}
.apf-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.apf-photo-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}
.apf-poster {
  text-align: center;
  margin: 36px 0 0;
}
.apf-poster img {
  width: min(100%, 270px);
  height: auto;
  box-shadow: 0 9px 22px #0002;
}
.apf-bottom-cta {
  padding: 45px 25px;
  text-align: center;
  background: #181923;
  border-radius: 13px;
  margin: 36px 0 0;
}
.apf-bottom-cta h2 {
  color: #fff !important;
}
.apf-bottom-cta p {
  color: #f1f1f1;
}
.apf-sticky {
  display: none;
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 65px;
  }
  #bilety {
    scroll-margin-top: 66px;
  }
  .apf-container {
    width: calc(100% - 32px);
  }
  .apf-hero {
    min-height: 530px;
    padding: 100px 0 50px;
  }
  .apf-hero h1 {
    font-size: 35px;
  }
  .apf-hero-description {
    font-size: 15px;
  }
  .apf-hero-band {
    font-size: 24px;
  }
  .apf-hero-small {
    font-size: 12px;
  }
  .apf-content {
    padding: 25px 0 115px;
  }
  .apf-ticket-section {
    padding: 24px 14px;
  }
  .apf-ticket-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .apf-ticket-card {
    flex-direction: row;
    justify-content: space-between;
    min-height: 70px;
    padding: 13px 14px;
    text-align: left;
  }
  .apf-ticket-name {
    font-size: 18px;
  }
  .apf-ticket-buy {
    padding: 12px 13px;
  }
  .apf-why {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 48px 0 34px;
  }
  .apf-why-photo {
    grid-row: 1;
  }
  .apf-video-section {
    padding: 32px 0 46px;
  }
  .apf-photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .apf-photo-grid a:last-child {
    display: none;
  }
  .apf-photo-grid img {
    height: 155px;
  }
  .apf-sticky {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px max(14px, env(safe-area-inset-left))
      calc(11px + env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-right));
    background: #151821;
    box-shadow: 0 -5px 25px #0004;
    transform: translateY(120%);
    transition: transform 0.22s ease;
    pointer-events: none;
  }
  .apf-sticky.apf-sticky-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .apf-sticky-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .apf-sticky-copy strong {
    color: white;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
  }
  .apf-sticky-copy small {
    color: #d8d8de;
    font-size: 11px;
    line-height: 1.4;
  }
  .apf-sticky-button {
    background: var(--apf-red);
    border-radius: 6px;
    color: #fff !important;
    padding: 13px 15px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none !important;
  }
  .apf-urgency {
    display: inline-block;
    background: #b91c1c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 22px;
    border-radius: 6px;
    margin-bottom: 22px;
    text-align: center;
  }

  /* Informacja o sprzedanych biletach */
  .apf-social-proof {
    background: rgba(185, 28, 28, 0.08);
    border: 1px solid rgba(185, 28, 28, 0.25);
    border-radius: 8px;
    padding: 18px;
    margin: 22px 0;
    text-align: center;
    color: #252525;
  }

  .apf-social-proof strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
  }

  .apf-social-proof span {
    display: block;
    font-size: 15px;
  }

  /* Wersja mobilna */
  @media (max-width: 768px) {
    .apf-urgency {
      font-size: 12px;
      padding: 10px 14px;
      margin-bottom: 16px;
    }

    .apf-social-proof {
      padding: 14px 10px;
    }

    .apf-social-proof strong {
      font-size: 15px;
    }

    .apf-social-proof span {
      font-size: 13px;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .apf-button,
  .apf-sticky {
    transition: none;
  }
}
