/* =========================================================
   01 VARIABLES
========================================================= */

:root {
  --bg: #0b0b0b;
  --bg2: #141414;
  --paper: #ece7dc;
  --paperText: #171717;

  --text: #f2f2f2;
  --muted: #bdbdbd;
  --accent: #f7f501;
  --line: rgba(255,255,255,.14);

  --serif: Baskerville, "Libre Baskerville", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}


/* =========================================================
   02 RESET / BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

a {
  color: inherit;
}


 
 
/* =========================================================
   HEADER
========================================================= */
.chapter-header {
  pointer-events: none;
}

.chapter-header nav,
.chapter-header a {
  pointer-events: auto;
}

.ddp-audio-player {
  position: relative;
  z-index: 20;
}

.site-header {
  position: fixed;
  margin-top: 5px;
  margin-left: 30px;
  width: 100%;

  z-index: 1000;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;

  padding: 24px 5vw;

  background: transparent;
  backdrop-filter: none;
  border: none;

  pointer-events: auto;
}
.brand {
  display: none;
}

.main-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.nav-row1 {
  display: flex;
  gap: 10px;
  font-family: "Arial Bold", sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
}
.nav-row2 {
  display: flex;
  gap: 8px;
  font-family: "Arial Bold", sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
}

.main-nav {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: #fff;
  transition: color .15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a {
  text-decoration: none;
  text-transform: uppercase;
  
  letter-spacing: .10em;
  color: rgb(255, 255, 255);
  transition: color .15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

/* =========================================================
   04 HOME HERO
========================================================= */

.home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .95;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: relative;
  z-index: 2;

  padding-top: 0px;
  padding-left: 5vw;
}

.hero-logo {
  display: block;
  width: min(760px, 52vw);
  height: auto;
  margin-top: 5px;
  margin-left: 35px;
}

.hero-content .btn {
  margin-top: 48vh;
}
 
/* STORY PAGE */

.story-page-nav {
    position: fixed;

    right: 40px;   
    top: 145px;      

    width: 220px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    z-index: 999;

    text-align: right;
}

.story-page-nav a {
    color: #e6d78f;
    text-decoration: none;
    font-size: 1.0rem;
    font-weight: 400;
    letter-spacing: .14em;
     
}
.story-page-nav a span {
    font-size: .65rem;
    opacity: .8;
}

.story-strip {
  width: 100%;
  max-width: 700px;
 margin-top: 18px;
  margin-right: auto;
  margin-bottom: 8px;
  margin-left: auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.story-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  border: 1px solid var(--line);
}

.story-dialog {
  margin: 1.6rem 0;
  font-size: 0.7rem !important;
  line-height: 1.75;
  font-style: italic;
  color: #e3d097;
  opacity: 0.95;
}

@media (max-width: 800px) {
  .story-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .story-strip {
    grid-template-columns: 1fr;
  }
}

/* MERCH */

.merch-section {
  padding: 80px 20px;
  background: #050505;
  color: #fff;
  text-align: center;
}

.merch-section h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.merch-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-top: -15px;
}

.merch-item {
  width: 220px;
  flex: 0 0 220px;
}
.merch-card {
  width: 200px;
max-width: 200px;
min-height: 300px;
padding: 12px;

  box-sizing: border-box;

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background: #0b0b0b;

  cursor: pointer;
  transition: transform .25s ease,
              box-shadow .25s ease,
              border-color .25s ease;
}

.merch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247,245,1,.55);
  box-shadow: 0 0 20px rgba(247,245,1,.18);
}

.merch-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 8px;
   margin-top: 1px;
}

.merch-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.merch-card p {
  color: #ccc;
  line-height: 1.45;
  font-size: 0.9rem;
}

.merch-price {
  margin-top: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f7f501;
}

.merch-sizes {
  margin: 8px 0 18px;
  color: #ddd;
  font-size: 0.9rem;
}

.merch-button {
  display: inline-block;
  padding: 10px 22px;

  border: 2px solid #f7f501;
  border-radius: 999px;
  background: transparent;
  color: #f7f501;

  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;
  transition: all 0.25s ease;
}

.merch-button:hover {
  background: #f4d200;
  color: #050505;
  box-shadow: 0 0 16px rgba(247,245,1,0.55);
}

 .story-appearance {
    scroll-margin-top: 60px;
    margin-bottom: 30px;
}


.merch-scenes{
    margin-top:60px;
    margin-bottom:80px;
}

 

.merch-scenes-grid{
    display:grid;
    grid-template-columns:repeat(4, 280px);
    justify-content:center;
    gap:20px;
}

.merch-scenes figure{
    margin:0;
    background:#111;
    border-radius:12px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
}

.merch-scenes img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.merch-scenes h3{
    text-align:center;
    margin-bottom:30px;
    color:#f4d200;
}

.merch-scenes figcaption{
    padding:18px;
    line-height:1.6;
    color:#bbb;
    font-size:.65rem;
}

.merch-scenes strong{
    color:#f4d200;
}

/* MODAL */

.order-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.82);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-modal.show {
  display: flex;
}

.order-modal-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;

  width: min(1020px, 100%);
  max-height: 90vh;

  overflow-y: auto;

  padding: 34px;

  border-radius: 24px;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.18);

  color: #fff;
}

.order-product-preview {
  width: 320px;
  flex-shrink: 0;
  text-align: center;
  margin-top: 28px;
}

.order-product-preview img {
  width: 100%;
  height: 380px;
  object-fit: contain;
}

.order-close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.order-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}

.order-form label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #ddd;
  text-align: left;
  font-size: 0.95rem;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid #333;
  background: #151515;
  color: #fff;
  font-family: inherit;
  font-size: 0.68rem;
  box-sizing: border-box;
}

.order-form textarea {
  min-height: 70px;
  resize: vertical;
}

.order-note {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: #bbb;
  text-align: left;
}

.shipping-label {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.order-thanks {
  display: none;
  margin-top: 16px;
  padding: 13px;
  border-radius: 11px;
  background: rgba(247,245,1,0.12);
  color: #f4d200;
}

.merch-note{
    margin-top:10px;
    font-size: 0.7rem;
    color:#efd89a;
    line-height:1.1;
}

/* =========================================================
   05 BUTTONS
========================================================= */
.ddp-audio-player {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 10px 20px;
   
    background: rgba(0,0,0,.78);
    border: 1px solid rgba(247,245,1,.45);
    border-radius: 8px;

    color: #f4d200;

    cursor: pointer;
    user-select: none;

    transition: .2s;
}

.ddp-volume-strip {
    width: 0;
    opacity: 0;
    pointer-events: none;

    accent-color: #f4d200;
    transition: .25s ease;
}
.audio-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap; /* na úzkých obrazovkách se zalomí pod sebe */
}
.ddp-audio-player.is-playing .ddp-volume-strip {
    width: 65px;
    opacity: 1;
    pointer-events: auto;
}

.ddp-audio-player:hover {
    border-color: #f4d200;
    background: rgba(247,245,1,.08);
}

.ddp-audio-icon {
    width: 30px;
    height: 30px;

    border: 1px solid #f4d200;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.ddp-play,
.ddp-pause {
    color: #f4d200;
    font-size: 12px;
}

.ddp-audio-title {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: .05em;
}

.ddp-audio-btn {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 230px;
  padding: 0;
  margin: 0;

  border: 1px solid #f4d200;
  border-radius: 50%;

  background: transparent;
  color: #f4d200;

  cursor: pointer;

  font-size: 14px;
  line-height: 1;

  flex-shrink: 0;
  box-sizing: border-box;

  user-select: none;
}

.ddp-audio-btn:hover,
.ddp-audio-btn:focus,
.ddp-audio-btn:active {
  background: #f4d200;
  color: #000;
}

.ddp-audio-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(247,245,1,.25);
}

.ddp-audio-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ddp-audio-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.65;
}

 

.ddp-audio-time {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.7;
}

.btn {
  display: inline-block;
   
  padding: 14px 24px;

  border: 1px solid var(--line);
  border-radius: 999px;

  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .8rem;
}

.btn.primary {
  background: transparent;
  color: #080808c7;
  border-color: #080808;
}

.home-hero .btn {
    margin-top:200px;
}

/* =========================================================
   06 GENERAL SECTIONS
========================================================= */

.page-section {
  padding: 9px 6vw;
  border-top: 1px solid var(--line);
}

.page-section h2 {
  margin: 14px 0 44px;

  font-size: clamp(2.1rem, 7vw, 6rem);
  line-height: .8;
  letter-spacing: -.05em;
}

.page-section-merch {
    padding-top: 0;
    margin-top: 0px;
}

.reading-column {
  max-width: 680px;
  margin: 0 auto;
}

.reading-column.center {
  text-align: center;
}
.reading-column p {
    font-size: 0.95rem;
    line-height: 1.0;
}

.large-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: #eee;
}

.text-after-images {
  margin-top: 0;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
}


/* =========================================================
   07 BAND GRID
========================================================= */
#band {
  min-height: 100vh;
  padding-top: 0;
  box-sizing: border-box;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#band {
  scroll-margin-top: 50px;
}


.band-member {
  text-align: center;
}

.band-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.portrait-placeholder {
  aspect-ratio: 4 / 5;

  display: grid;
  place-items: center;

  background: #1d1d1d;
  border: 1px solid var(--line);

  letter-spacing: .2em;
  color: rgba(255,255,255,.36);
}

.band-member h3 {
  margin: 18px 0 4px;
  font-size: 1.4rem;
}

.band-member p {
  color: var(--muted);
}

/* =========================================================
   08 STORY INDEX
========================================================= */
.story-page {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 24px 70px;
  box-sizing: border-box;
  scroll-margin-top: 0px;
}

.story-page2 {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1px 24px 70px;
  box-sizing: border-box;
  scroll-margin-top: 0px;

  font-size: 0.5rem;
}

.story-page3 {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5px 24px 70px;
  box-sizing: border-box;
  scroll-margin-top: 0px;

  font-size: 0.45rem;
}

.story-page5 {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 35px 24px 70px;
  box-sizing: border-box;
  scroll-margin-top: 25px;

  font-size: 0.45rem;
}


.story-video1 {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1px 24px 70px;
  box-sizing: border-box;
  scroll-margin-top: 0px;

  font-size: 0.5rem;
}

.blockquote-ref {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid #f7f501;
  font-style: italic;
  font-size: 1.0rem;
  line-height: 1.8;
  color: #ddd;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}
.blockquote-inter {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid #f7f501;
  font-style: italic;
  font-size: 0.7rem;
  line-height: 1.8;
  color: #ddd;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

#story {
    min-height: 100vh;
    padding-top: 0px;
    box-sizing: border-box;
}

.episode {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4d200;
}

.story-index {
  max-width: 1280px;
  margin: 0 auto;
}

.story-index {
  scroll-margin-top: 0px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.chapter-cover {
    position: relative;
}

.cover-title {
    position: absolute;
    left: 80px;
    bottom: 70px;
    z-index: 10;
    color: #fff;
}

.contact {
    background-image:
        linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
        url("../assets/DDP_BANNER1.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding-top: 40px;
    padding-bottom: 40px;
}

.chapter-card {
  margin-top: 0px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #0b0b0b;
}

.chapter-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.chapter-image {
  min-height: 0;
  height: 220px;
}

.chapter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.chapter-info {
  padding: 22px;
}

.chapter-info .episode {
  color: var(--accent);
  letter-spacing: .2em;
  font-weight: 900;
  margin: 0 0 10px;
}

.chapter-info h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.chapter-kicker {
    margin: 0 0 16px;
    color: #f4d200;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.chapter-meta {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 12px;
}

.chapter-info p {
  font-family: var(--serif);
  font-size: 1.0rem;
  line-height: 1.45;
}

.muted-card {
  opacity: 1;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  transition: .25s ease;
}

.cover-image-full img {
    width: 100%;
    max-height: 100vh;
    height: auto;
    display: block;
    object-fit: contain;
}

.cover-image-half img {
    width: 50%;
    height: auto;
    display: block;
}
.cover-image-half {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
@media (max-width: 900px) {
  .chapter-grid {
    grid-template-columns: 1fr;
  }
 
  /* Desktop */
.contact-item{
  margin:22px 0;
}

.contact-item summary{
  list-style:none;
  cursor:default;
}

.contact-item summary::-webkit-details-marker{
  display:none;
}
}




/* =========================================================
   11 STORY IMAGES / FRAMES
========================================================= */
/* ===========================
   MUSIC PLAYER
=========================== */
 
#music{
    min-height:100vh;
}

.music-header{
    max-width:1180px;
    margin:34px 0 18px;
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.music-master-volume{
    display:flex;
    align-items:center;
    gap:10px;
    color:#f4d200;
    font-size:.68rem;
    letter-spacing:.12em;

    margin-right:140px;
}

.music-master-volume input{
    width:110px;
    accent-color:#f4d200;
    cursor:pointer;
}

.music-catalog{
    max-width:1180px;
    display:flex;
    flex-direction:column;
}

.music-track{
    display:grid;
    grid-template-columns:34px 36px 220px 1fr auto 52px;
    align-items:center;
    gap:14px;

    min-height:48px;

    padding:7px 12px;

    border-top:1px solid rgba(244,210,0,.22);
    background:rgba(0,0,0,.45);

    cursor:pointer;
    transition:.18s;
}

.music-track:last-child{
    border-bottom:1px solid rgba(244,210,0,.22);
}

.music-track:hover{
    background:rgba(244,210,0,.06);
}

.music-track.playing{
    background:rgba(244,210,0,.08);
}

.track-play{
    width:28px;
    height:28px;

    border:1px solid #f4d200;
    border-radius:50%;

    color:#f4d200;
    background:transparent;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:.78rem;

    pointer-events:auto;
    z-index:5;
}

.track-number{
    color:rgba(255,255,255,.42);
    font-size:.82rem;
    text-align:right;
    letter-spacing:.08em;
}

.track-title{
    color:#fff;
    font-size:.98rem;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.track-wave{
    height:22px;
    cursor:pointer;
}

.track-tags{
    display:flex;
    gap:6px;
}

.track-tags span{
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    padding:2px 8px;

    font-size:.67rem;
    color:rgba(255,255,255,.72);

    white-space:nowrap;
}

.track-time{
    color:rgba(255,255,255,.68);
    font-size:.82rem;
    text-align:right;
}
.story-frame {
  max-width: 1060px;
  margin: 70px auto;
}

.story-frame.wide {
  max-width: 1240px;
}

.story-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;

  background: #222;
  border: 1px solid var(--line);

  cursor: zoom-in;
}

.story-frame figcaption {
  margin-top: 14px;

  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* =========================================================
   12/1 VIDEO přehrávač
========================================================= */

.video-placeholder {
  aspect-ratio: 16 / 9;

  display: grid;
  place-items: center;

  border: 1px solid var(--line);
  background: #050505;
  color: var(--muted);

  letter-spacing: .14em;
  text-align: center;
}
 
#videos{
    min-height:100vh;
}

.video-card{
    position:relative;
    overflow:hidden;
}

.video-award{
    position:absolute;

    top:10px;
    right:10px;

    width:88px;
    height:auto;

    pointer-events:none;
    user-select:none;

    filter:drop-shadow(0 2px 6px rgba(0,0,0,.55));
}

.video-modal-content {
    width: min(90vw, 1500px);
    max-height: 92vh;

    padding: 12px 12px 12px;   /* nahoře, boky, dole */

    border-radius: 18px;
    overflow: hidden;

    background: rgba(18,18,18,.55);

    border: 1px solid rgba(244,210,0,.15);

    box-shadow:
        0 25px 70px rgba(0,0,0,.55);
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .6s ease,
    visibility .6s ease;
}

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

.ddp-video-header {
    margin-bottom: 18px;
}

.ddp-video-label {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: .18em;
    color: rgba(244,210,0,.75);
}

.ddp-video-header h2 {
    margin: 0;
    color: #f4d200;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 600;
}

.ddp-video-block {
  width: min(96vw, 1500px);
  margin: 40px auto 80px;
  padding: 0;
  box-sizing: border-box;
}

.ddp-video-frame {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
}

.ddp-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
    object-fit: contain;
}

/* =========================================================
   12/2 VIDEO CATALOG
========================================================= */
/* =========================================================
   VIDEO MODAL
========================================================= */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 40px;
  background: rgba(0, 0, 0, 0.94);
}

.video-modal.is-open {
  display: flex;
}

 

.video-modal-player {
    display: block;
    width: 100%;
    max-height: 92vh;
    aspect-ratio: 16 / 9;

    object-fit: contain;
    background: #000;

    border-radius: 10px;
}

.video-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 2;

  border: 0;
  padding: 0;

  background: transparent;
  color: #fff;

  font-size: 42px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
}

.video-modal-close:hover {
  color: #f4d200;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .video-modal {
    padding: 12px;
  }

  .video-modal-close {
    top: 12px;
    right: 14px;
  }
}
.video-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:16px;
    margin-top:80px;
}

.video-card{
    cursor:pointer;
    overflow:hidden;
    border-radius:10px;
    transition:.25s;
}

.video-card:hover{
    transform:translateY(-4px);
}

.video-thumb{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.video-info{
    padding:16px 0 0;
}

.video-title{
    margin:0;
    font-size:1.15rem;
    font-weight:600;
    color:var(--text);
}

.video-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:10px;
}

.video-tags span{
    padding:4px 10px;
    border:1px solid var(--line);
    border-radius:999px;
    font-size:.72rem;
    color:var(--muted);
    letter-spacing:.08em;
}

/* =========================================================
   13 TRIVIA
========================================================= */

.trivia-list {
  display: grid;
  gap: 18px;
}

.trivia-list div {
  display: grid;
  grid-template-columns: 160px 1fr;

  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.trivia-list dt {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.trivia-list dd {
  margin: 0;
  color: #eee;
}


/* =========================================================
   14 NEXT CHAPTER
========================================================= */

.next-chapter {
  padding: 90px 6vw;
  background: #151515;
  text-align: center;
}

.next-chapter a {
  display: grid;
  gap: 14px;
  text-decoration: none;
}

.next-chapter span {
  color: var(--accent);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 900;
}

.next-chapter strong {
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: -.06em;
}

.next-chapter em {
  color: var(--muted);
  font-style: normal;
}


/* =========================================================
   15 LIGHTBOX
========================================================= */

#lightbox{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;

    justify-content:center;
    align-items:center;

    padding:24px;
    background:rgba(0,0,0,.94);

    opacity:0;
    transition:opacity .35s ease;

    cursor:zoom-out;

}

#lightbox img{
    border-radius:10px;
    box-shadow:0 0 60px rgba(0,0,0,.6);
}



#lightbox.show{
    display:flex;
    opacity:1;
}

#lightbox img{
    max-width:94vw;
    max-height:94vh;

    transform:scale(.94);
    opacity:0;

    transition:
        transform .35s ease,
        opacity .35s ease;
}

#lightbox.show img{
    transform:scale(1);
    opacity:1;
}


/* =========================================================
/* =========================================================
   16 RESPONSIVE
========================================================= */

/* Tablet / menší notebook */
@media (max-width: 1400px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1000px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chapter-link {
    grid-template-columns: 1fr;
  }

  .chapter-image {
    min-height: 300px;
  }

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

  .reading-column p {
    font-size: 1.15rem;
  }

  .trivia-list div {
    grid-template-columns: 1fr;
  }

  .cover-title h1 {
    font-size: clamp(3.4rem, 18vw, 7rem);
  }
}
/* Mobilní prvky jsou na desktopu skryté */
.mobile-menu-button,
.mobile-hero-logo,
.mobile-menu-overlay{
  display:none;
}


/* Mobil */
@media (max-width:700px){

  .site-header{
    display:none;
  }

  .hero-content{
    display:none;
  }

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
  /* Globální hamburger */
  .mobile-menu-button{
    display:flex;

    position:fixed;
    top:28px;
    left:28px;
    right:auto;
    z-index:9000;

    width:42px;
    height:32px;
    padding:0;

    flex-direction:column;
    justify-content:space-between;

    background:none;
    border:none;
    cursor:pointer;
  }

  .mobile-menu-button span{
    display:block;
    width:100%;
    height:4px;

    border-radius:999px;
   background-color:#f4d200;
  }

   .video-award{
        width:64px;
        top:8px;
        right:8px;
    }

  /* Logo pouze na mobilním HOME */
  .mobile-hero-logo{
    display:block;

    position:absolute;
    left:50%;
    bottom:55px;

    transform:translateX(-50%);

    width:88%;
    max-width:600px;
    height:auto;

    z-index:15;
    pointer-events:none;

    filter:drop-shadow(0 3px 8px rgba(0,0,0,.8));
  }
 /* Navigace */
  .mobile-menu-nav{
    position:static !important;

    width:auto !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    transform:none !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:20px;

    text-align:center;
  }

  .mobile-menu-nav a{
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:.10em;
  }


  /* Fullscreen mobilní menu */
 .mobile-menu-overlay{
  display:none;

  position:fixed;
  inset:0;

  width:100vw;
  height:100vh;
  height:100dvh;

  margin:0;
  padding:0;

  overflow:hidden;

  z-index:9999;

  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,.90);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.mobile-menu-overlay.open{
  display:flex;
}

.mobile-menu-close{
  position:absolute;
  top:18px;
  right:18px;

  z-index:10000;

  width:44px;
  height:44px;
  padding:0;

  display:flex;
  align-items:center;
  justify-content:center;

  border:0;
  background:transparent;
  color:#f4d200;

  font-size:2.5rem;
  line-height:1;
  cursor:pointer;
}


  /* Při otevřeném overlayi schovej hamburger */
  body.mobile-menu-open .mobile-menu-button{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
  }

  body.mobile-menu-open{
    overflow:hidden;
  }


  .video-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .story-appearance{
  width:100%;
  padding:48px 18px;
  box-sizing:border-box;
}

.merch-scenes{
  width:100%;
  max-width:none;
  margin:0;
}

.merch-scenes h3{
  margin:0 0 24px;
  text-align:center;
  font-size:1.35rem;
  color:#f4d200;
}

.merch-scenes-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;

  width:100%;
  margin:0;
}

.merch-scenes-grid figure{
  width:100%;
  margin:0;

  overflow:hidden;

  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;

  background:rgba(255,255,255,.025);
}

.merch-scenes-grid img{
  display:block;

  width:100%;
  height:auto;

  aspect-ratio:16 / 9;
  object-fit:cover;
}

.merch-scenes-grid figcaption{
  padding:16px 16px 18px;

  font-size:.9rem;
  line-height:1.55;
  text-align:left;
}

.merch-scenes-grid figcaption strong{
  display:inline-block;
  margin-bottom:6px;

  color:#f4d200;
  font-size:1rem;
}


}


/* Menší mobil */
@media (max-width: 560px) {
  .main-nav {
    gap: 10px;
    
  }

    .page-section {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 10px 14px;
  }

  .main-nav a {
    font-size: .68rem;
  }

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

  .page-section {
    padding: 10px 22px;
  }

  .chapter-section {
    padding: 54px 22px;
  }

  .story-frame {
    margin: 48px auto;
  }

  .chapter-image {
    min-height: 240px;
  }
}

/* Malé telefony */
@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
