/* =====================================================
   VASE UPRAVY V DREAMWEAVERI
   Tento subor sa nacita ako posledny. Upravujte ho pri
   zmene farieb, velkosti pisma a medzier bez zasahovania
   do hlavneho dizajnu v site.css.
   ===================================================== */

/* 1. FARBY WEBU */
:root {
  --paper: #090909; /* pozadie */
  --ink: #f3f0e9; /* hlavny text */
  --muted: #b4b2ac; /* menej vyrazny text */
  --yellow: #fbb03a; /* tlacidla a zlate akcenty */
  --line: #30302e; /* oddelovacie ciary */
}
body {
  background: var(--paper);
}

/* 2. MENU: povolene zalomenie dlhsieho nazvu moderatora */
.topbar nav {
  flex-wrap: wrap;
  gap: 10px 20px;
}

/* 3. PREHRAVAC SPOTIFY */
.spotify-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.spotify-intro .eyebrow {
  color: #c1a372;
}
.spotify-intro h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 52px;
}
.spotify-intro p {
  color: var(--muted);
}
.spotify-intro .text-link {
  color: var(--yellow);
}
.spotify-player {
  min-width: 0;
  border: 1px solid #38352e;
  background: #141412;
  border-radius: 16px;
  padding: 22px;
}
.spotify-badge {
  display: block;
  color: #7ee59b;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 16px;
}
.spotify-placeholder h3 {
  font-size: 27px;
  font-weight: 500;
  line-height: 1.25;
}
.spotify-placeholder p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.spotify-placeholder p a {
  text-decoration: underline;
}
.spotify-placeholder .button {
  font-size: 13px;
}
.spotify-player iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
}
.spotify-player .reset-link {
  margin-top: 12px;
  text-align: left;
}

/* 4. MODERATOR: fotografia vlavo, text vpravo */
.moderator-layout {
  display: grid;
  grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
  gap: 55px;
  align-items: center;
  border: 1px solid #37332b;
  border-radius: 18px;
  padding: 32px;
  background: #141412;
}
.moderator-portrait {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #191919;
}
.moderator-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.moderator-copy {
  min-width: 0;
}
.moderator-copy h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 42px;
}
.moderator-copy p {
  font-size: 17px;
  color: #c6c2b9;
  line-height: 1.8;
}
.moderator-copy .text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
}

/* 5. TABLET A MOBIL: nic sa nesmie vysuvat mimo obrazovku */
@media (max-width: 780px) {
  .spotify-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .moderator-layout {
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    gap: 25px;
    padding: 24px;
    align-items: start;
  }
  .moderator-copy h3 {
    font-size: 32px;
  }
  .moderator-copy p {
    font-size: 15px;
  }
  .topbar nav {
    gap: 5px 14px;
  }
}
@media (max-width: 520px) {
  .moderator-layout {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .moderator-portrait {
    max-width: 300px;
  }
  .spotify-intro h2 {
    font-size: 40px;
  }
  .spotify-player {
    padding: 16px;
  }
  .topbar nav {
    justify-content: flex-start;
    gap: 4px 17px;
  }
  html {
    scroll-padding-top: 155px;
  }
}

/* 6. HORIZONTALNY YOUTUBE PREHRAVAC - pomer 16:9 */
.youtube-section {
  border-bottom: 1px solid var(--line);
}
.youtube-shell {
  overflow: hidden;
  border: 1px solid #423424;
  border-radius: 18px;
  background: #131310;
}
.youtube-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 310px;
  padding: 35px;
  background: radial-gradient(ellipse at 70% 20%, #312516, #121210 70%);
}
.youtube-placeholder > div {
  max-width: 590px;
  text-align: center;
}
.youtube-placeholder h3 {
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
}
.youtube-placeholder p {
  color: var(--muted);
  font-size: 14px;
}
.youtube-placeholder a {
  text-decoration: underline;
}
.youtube-badge {
  display: block;
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.youtube-shell iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.youtube-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}
.youtube-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 70%;
}
.youtube-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: end;
}
.youtube-bottom .text-link {
  color: var(--yellow);
  font-size: 12px;
}
.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
@media (max-width: 520px) {
  .youtube-placeholder {
    padding: 25px 18px;
    min-height: 290px;
  }
  .youtube-placeholder h3 {
    font-size: 29px;
  }
  .youtube-bottom {
    flex-direction: column;
  }
  .youtube-bottom p {
    max-width: 100%;
  }
  .youtube-bottom > div {
    align-items: start;
  }
}
