:root {
  --bg: #0f1115;
  --bg-soft: #1a1d24;
  --paper: #f4eee4;
  --text-dark: #1f1f1f;
  --accent: #ff7a1a;
  --accent-hover: #ff9447;
  --line: rgba(255, 255, 255, 0.15);
  --radius: 16px;
  --topbar-height: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--paper);
  line-height: 1.7;
}

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

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(800px, 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem;
  background: rgba(10, 12, 17, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.9rem;
}

.menu {
  display: flex;
  gap: 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu a {
  color: rgba(244, 238, 228, 0.85);
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus {
  color: var(--accent);
}

main {
  margin-top: calc(-1 * var(--topbar-height));
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      165deg,
      rgba(10, 12, 17, 0.84),
      rgba(10, 12, 17, 0.5)
    ),
    url('pics/zdjecie 1.jpg');
  background-size: cover;
  background-position: center 22%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--topbar-height);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  color: rgba(244, 238, 228, 0.86);
  margin-bottom: 1rem;
}

h1,
h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

h1 {
  font-size: clamp(4.6rem, 18vw, 11.5rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(244, 238, 228, 0.9);
  margin-bottom: 1.9rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.social-links a {
  border: 1px solid rgba(244, 238, 228, 0.45);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.section {
  padding: 4.8rem 0;
}

.section-light {
  background: var(--paper);
  color: var(--text-dark);
}

.section-dark {
  background: var(--bg-soft);
  color: var(--paper);
}

.small-copy {
  color: #3a3a3a;
  font-size: 0.96rem;
  margin-bottom: 1.2rem;
}

.facts {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.facts li {
  font-size: 0.9rem;
  background: rgba(10, 12, 17, 0.05);
  border-left: 3px solid var(--accent);
  padding: 0.65rem 0.8rem;
  border-radius: 0 10px 10px 0;
}

.facts span {
  font-weight: 700;
}

.split-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid rgba(244, 238, 228, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.detail-card-light {
  border-color: rgba(16, 16, 16, 0.14);
  background: #fff;
}

.meta-copy {
  font-size: 0.9rem;
  color: rgba(244, 238, 228, 0.82);
  margin-bottom: 0.75rem;
}

.meta-copy-dark {
  color: #3e3e3e;
}

.role-list,
.events-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.role-list li,
.events-list li {
  font-size: 0.9rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.detail-card-light .events-list li,
.detail-card-light .role-list li {
  background: rgba(16, 16, 16, 0.06);
}

.events-card {
  margin-top: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.tab-btn {
  cursor: pointer;
  border: 1px solid rgba(244, 238, 228, 0.35);
  background: transparent;
  color: var(--paper);
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #141414;
  font-weight: 700;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.embed-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(244, 238, 228, 0.25);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
  background: #000;
}

.embed-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.hint {
  margin-top: 0.85rem;
  color: rgba(244, 238, 228, 0.8);
  font-size: 0.86rem;
}

.link-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.65rem 1rem;
  transition: background 0.2s ease;
}

.link-btn:hover,
.link-btn:focus {
  background: var(--accent-hover);
}

.tiktok-wrap {
  width: 100%;
  margin: 0.35rem 0 0.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(244, 238, 228, 0.25);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
  background: #000;
}

#tt-panel {
  padding: 0.3rem 0 0.1rem;
}

#tt-panel .tiktok-embed {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
}

#tt-panel .tiktok-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  display: block !important;
  border: 0 !important;
}

.song-links {
  display: grid;
  gap: 0.8rem;
}

.song-links a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 16, 16, 0.16);
  background: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.song-links a:hover,
.song-links a:focus {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.contact-block {
  text-align: center;
}

.contact-copy {
  font-size: 1rem;
  color: rgba(244, 238, 228, 0.86);
  margin-bottom: 0.8rem;
}

.mail-link {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 122, 26, 0.45);
  padding-bottom: 0.15rem;
}

.photo-panel {
  min-height: 88vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.photo-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.15), rgba(10, 12, 17, 0.55));
}

.photo-1 {
  background-image: url('pics/zdjecie 1.jpg');
  background-position: center 30%;
}

.photo-2 {
  background-image: url('pics/Zdjęcie 2.jpg');
  background-position: center 30%;
}

.photo-3 {
  background-image: url('pics/zdjecie 3.jpg');
}

.photo-4 {
  background-image: url('pics/zdjecie 4.jpg');
  background-position: center 16%;
}

.footer {
  background: #080a0f;
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: rgba(244, 238, 228, 0.75);
}

.footer a {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--accent);
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .section.section-light {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .menu {
    display: none;
  }

  .photo-panel {
    min-height: 70vh;
    background-attachment: scroll;
  }

  .photo-2 {
    background-position: center 22%;
  }

  .photo-4 {
    background-position: center 10%;
  }

  .photo-1 {
    background-position: center 24%;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .events-card {
    margin-top: 0.8rem;
  }
}
