body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Neulis-neue";
    background-color: #1a1a1a;
}

#container {
    position: relative;
}

#bg-layer {
    position: fixed;
    width: 150vh;
    height: 100vh;
    background-size: cover;
    transform-origin: top right;
    will-change: transform;
}

#main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    padding-bottom: 0;
}

h1 {
    color: #f1f1f1;
    font-size: 2.5rem;
    text-shadow: rgb(14, 14, 14) 0 0 120px;
    margin-top: 45vh;
    margin-bottom: 44vh;
    letter-spacing: .3em;
}

.concert-texts {
    width: 9rem;
}

h2 {
    letter-spacing: 0.1em;
    font-weight: 500;
}

.concert > * {
    display: inline-block;
    font-size: 1rem;
}

.concert {
    margin-bottom: -2rem;
}

.misto {
    font-size: 2rem;
    letter-spacing: 0.025em;
    vertical-align: middle;
}

.cas, .mesto {
    display: inline-block;
    vertical-align: middle;
    margin: 0.5rem auto;
}

.concert-texts {
    margin-bottom: 1rem;
}

.concert-texts h4 {
    margin-bottom: 0.5rem;
}

.vstupenka-button {
    position: relative;
    border: 2px #e8662a solid;
    border-radius: 9999px;
    background: #e8662a;
    color: #fff;
    text-shadow: none;
    font-weight: 500;
    transition: filter .2s ease;
    height: auto;
    bottom: 1rem;
    margin-left: 1.5rem;
}

.vstupenka-button p {
    margin: 0.5rem 1.25rem;
    line-height: 1.2;
}

a:hover .vstupenka-button {
    filter: brightness(1.1);
}

#merch-text {
    width: 100vw;
    height: 40.35rem;
    overflow: hidden;
}

#merch-text h2 {
    margin-top: -0.3rem;
    margin-left: -1.25rem;
    margin-right: -10rem;
    text-overflow: clip;
    pointer-events: none;
    user-select: none;
    color: #f1f1f1dd;
}
#merch-block {
    position: relative;
    margin-top: 5rem;
}


#overlay {
    display: none;
}

#play-button {
    width: 60px;
    height: 50px;
    position: absolute;
    top: 124px;
    left: 120px;
    border-radius: 15px;
}


#merch-block img {
    margin-top: -3rem;
    max-width: 350px;
    min-width: 5rem;
    width: 60%;
    height: auto;
}

#merch-img {
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
}

#footer {
    padding-top: 2.5rem;
    background-color: unset;
    width: 100vw;
    height: auto;
    text-align: center;
    color: #f1f1f1;
    font-weight: 100;
    letter-spacing: 0.075rem;
    position: relative;
    z-index: 0;
}

/* frosted glass behind the footer, feathered in over the top 4rem */
#footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4rem);
    mask-image: linear-gradient(to bottom, transparent 0, #000 4rem);
}

#footer a {
    color: #f1f1f1;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}
#footer p {
    margin-top: 3rem;
}

/* RIDER / with DRUMS / PRESS links */
#footer p:first-child {
    line-height: 2.2;
}

#events {
    min-height: calc((101vw / 3) - 1rem);
    margin-top: -1.27rem;
    color: #f1f1f1;
    text-shadow: rgb(14, 14, 14) 0 0 70px;
}
.copy {
    font-size: 0.75rem;
}
.copy a {
    opacity: 0.65;
}
#vid-container {
    height: 16vw;
}

#bgvid {
    margin-top: -2.75vw;
    scale: 1.22;
    display: none;
}

#videos {
    position: relative;
    /* margin-top: 8rem; */
    color: #f1f1f1;
}

#clips video {
    background-color: #1a1a1a;
    width: 100vw;
    position: relative;
    margin-bottom: 5rem;
}

#clips p {
    font-weight: 400;
    letter-spacing: 0.05em;
    font-size: 1.25rem;
    margin-top: -4rem;
    margin-bottom: 3rem;
    margin-left: 2rem;
    text-shadow: rgb(14, 14, 14) 0 0 40px;
}

#deskografie {

    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    align-content: normal;
}

#desky-title{
    margin: 8rem auto 2rem auto;
    color: #f1f1f1;
}

.deska p {
    font-size: 0.85rem;
}

.deska-container img {
    height: 20vw;
    min-height: 200px;
    max-height: 350px;
    width: auto;
}

.deska-container {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    min-height: 200px;
    max-height: 350px;
    width: auto;
    margin: 1rem;
    margin-bottom: 4rem;
    color: #f1f1f1;
    text-decoration: none;
}

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

.not {
}

.not2 {
}

.not3 {
}

#second-vids * {
    display: none;
}


#second-vids p {
}
/* Promo dot → expands to pill on hover/focus */
.promo-cta {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: #e8662a;
  border-radius: 9999px;
  display: block;
  overflow: hidden;
  z-index: 9999;

  /* smooth expand */
  transition:
    width 0.3s ease-in-out,
    border-radius 0.3s ease-in-out;
}

/* make the contents align nicely when expanded */
.promo-cta .promo-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;   /* center when collapsed */
  gap: 0.5rem;
  padding: 0 0.75rem;        /* reveals on expand */
  box-sizing: border-box;
}

.promo-cta p {
    margin: 0 0 0 0.45rem;
  color: rgb(14, 14, 14);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s ease-in-out;
  font-family: "Neulis-neue", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.promo-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgb(14, 14, 14);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* expand + reveal on hover/focus */
.promo-cta:hover,
.promo-cta:focus-visible {
  width: 110px;            /* adjust if you want it longer/shorter */
  border-radius: 9999px;
}

.promo-cta:hover .promo-inner,
.promo-cta:focus-visible .promo-inner {
  justify-content: flex-start;   /* align content left when expanded */
}

.promo-cta:hover p,
.promo-cta:hover svg,
.promo-cta:focus-visible p,
.promo-cta:focus-visible svg {
  opacity: 1;
}

/* expand + reveal also when JS adds .is-open */
.promo-cta.is-open {
  width: 110px;
  border-radius: 9999px;
}
.promo-cta.is-open .promo-inner {
  justify-content: flex-start;
}
.promo-cta.is-open p,
.promo-cta.is-open svg {
  opacity: 1;
}

/* optional: nicer keyboard outline */
.promo-cta:focus-visible {
  outline: 2px solid #ffffffcc;
  outline-offset: 2px;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .promo-cta,
  .promo-cta p,
  .promo-cta svg {
    transition: none;
  }
}
@media (min-aspect-ratio: 3/2) {

    .concert-texts h4 {
        margin: 1.33em;
    }

    #vid-container {
        position: relative;
        overflow: hidden;
        width: 100vw;
        height: 46vw;
    }

    #overlay {
        display: initial;
        width: 300px;
        height: 300px;
        background-color: rgba(0,0,0,0.5);
        position: absolute;
        top: 47.5%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 100%;
    }

    body {
        background-color: #1a1a1a;
    }

    #bg-layer {
        width: 101vw;
        height: 100%;
        background-size: 100% auto;
    }


    .concert-texts {
        width: unset;
    }

    h1 {
        font-size: 3rem;
    }

    .concert {
        margin-bottom: -2rem;
    }

    .misto {
        margin-right: 1rem;
        width: 12rem;
        font-size: 1.5rem;
    }

    .cas {
        margin-right: 1rem;
        width: 9.5rem;
    }

    .cas, .mesto {
        display: block;
    }

    .mesto {
        width: 7rem;
    }

    .concert * {
        display: inline-block;
    }

    .vstupenka-button {
        bottom: 0rem;
    }

    .vstupenka-button p {
        margin: 0.5rem 1.5rem;
    }


    #bgvid {
        width: 100vw;
        height: auto;
        display: initial;
    }

    #second-vids * {
        display: initial;
    }

    #videos {
        position: relative;
        margin-top: 4rem;
    }

    #clips p {
        font-weight: 400;
        letter-spacing: 0.05em;
        font-size: 1.1rem;
        position: absolute;
        margin-top: calc((100vw - 7rem) / 3 * 0.5625 + 0.5rem);
    }

    #clips video {
        width: calc((100vw - 7rem ) / 3) ;
        margin-right: 1.5rem;
        position: absolute;
    }

    .not {
        top: 2rem;
        left: 2rem;
    }
    .not2 {
        top: 2rem;
        left: calc((100vw - 7rem) / 3 + 3.5rem);
    }

    .not3 {
        top: 2rem;
        left: calc((100vw - 7rem) / 3 * 2 + 5rem);
    }

    #second-vids video, #second-vids p {
        top: calc(((100vw - 7rem) / 3) * 0.66 + 3.1rem ) !important;
    }

}
/* When concerts are rendered (index.php): show them on load, and start the videos
   just below the fold. Nothing here applies when there are no upcoming concerts. */
#main:has(#events) h1 {
    margin-top: 40vh;
    margin-bottom: 3rem;
}
#main:has(#events) #events {
    margin-top: 0;
    min-height: calc(60vh - 115px + 1rem);
    min-height: calc(100svh - 40vh - 115px + 1rem);
}
@media (min-aspect-ratio: 3/2) {
    #main:has(#events) #events {
        min-height: calc(60vh - 187px + 1rem);
        min-height: calc(100svh - 40vh - 187px + 1rem);
    }
}
