.showcase {
  width: 67%;
  margin: 0 auto;
  position: relative;
  top: 8.5vw;
  aspect-ratio: 16/6;
  border-radius: 2.5vw;
  overflow: hidden;
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
}

.showcase-video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: blur(0.5vw) brightness(0.1);
  transition: filter 0.5s ease;
  border-radius: 2.5vw;
  pointer-events: none;
}

.showcase-video.active {
  filter: blur(0) brightness(1);
  pointer-events: auto;
}

.showcase-button {
  position: absolute;
  left: 42.1%;
  top: 42.1%;
  transform: translate(-50%, -50%);
  color: #e8e8e8d9;
  font-weight: 600;
  background-color: #6161618a;
  padding: 1vw 2vw;
  font-size: 1vw;
  border-radius: 1vw;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  opacity: 1;
  scale: 1;
  box-shadow: 0.25vw 0.25vw 0.5vw 1vw rgba(0, 0, 0, 0.25);
}


.showcase-button.hidden {
  opacity: 0;
  scale: 0;
  pointer-events: none;
}

.close-button {
  position: absolute;
  top: 1vw;
  right: 1vw;
  font-size: 2vw;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  border: none;
  border-radius: 1vw;
  padding: 0.5vw 1vw;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(1);
  opacity: 1;
}

.close-button.hidden {
  transform: scale(0.5);
  opacity: 0;
  pointer-events: none;
}


.showcase-button.active {
  top: 1vw;
  right: 1vw;
  left: auto;
  transform: none;
  font-size: 2vw;
  padding: 0.5vw 1vw;
  border-radius: 1vw;
  background-color: rgba(0, 0, 0, 0.75);
  scale: 1;
  opacity: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.showcase-button.active:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff96;
}


.video-controls {
  position: absolute;
  bottom: 0;
  left: 0vw;
  right: 0vw;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  background-image: linear-gradient(to top, black, #00000000);
}

.video-controls.show {
  display: flex;
}

.control-button {
  background-color: rgba(0, 0, 0, 0.65);
  border: none;
  width: 3.5vw;
  height: 3.5vw;
  margin: 1.5vw;
  font-size: 1.5vw;
  border-radius: 1vw;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #ffffff;
}

.seek-bar {
  flex-grow: 1;
  height: 0.5vw;
  appearance: none;
  background: #88888845;
  border-radius: 0.25vw;
  outline: none;
}

.seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 1vw;
  height: 1vw;
  background: #ffffff96;
  border-radius: 50%;
  transition: 0.35s ease;
}

#fullscreen-container {
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  /* udržanie pomeru 16:6 pre video v fullscreen */
  overflow: hidden;
}

#fullscreen-container video {
  aspect-ratio: 16 / 6; /* alebo môžeš dať výšku a automaticky nech sa prispôsobí */
  object-fit: contain; /* dôležité pre blackbary */
}

/* Už máš vlastné animácie pre ovládacie prvky */
/* Pre fullscreenContainer cursor:none je už nastavený inline cez JS */








.filters {
  width: 65%;
  height: 3vw;
  margin: 0 auto;
  justify-content: center;
  align-content: center;
  margin-bottom: -10vw;
  margin-top: 10vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  padding: 1vw;
  border-radius: 1.5vw 1.5vw 0vw 0vw;
  color: white;
}


.cards {
  position: relative;
  width: 63%;
  margin: 0 auto;
  margin-top: 10vw;
  margin-bottom: 10vw;
  border-radius: 2.5vw;
  display: flex;
  gap: 1vw;
  padding: 2vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 1.5vw;
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  flex-wrap: wrap; /* pridané, aby karty zalamovalo */
  justify-content: flex-start; /* zarovnanie kariet na stred */
}

.card {
  width: calc((100% / 4) - 0.75vw); /* 4 karty vedľa seba s medzerou */
  height: 21.5vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 1vw;
  overflow: hidden;
  transition: 0.35s cubic-bezier(0.65, 0.67, 0.04, 0.5);
  transform: scale(1);
  display: flex;
  flex-direction: column;
  padding: 0;
}


.card:hover {
  transform: scale(1.025);
}

.card img {
  width: 100%;
  background-position: center;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.card h1 {
  color: white;
  font-size: 0.85vw;
  height: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1vw;
  margin: 0;
}


.card-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9vw;
  gap: 0.5vw;
  margin-bottom: 0.7vw;
}

.card-channel i {
  font-size: 1vw;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(2, 6.5vw);
  gap: 0.5vw 0.75vw;
  padding: 0 1vw;
  margin-bottom: 1vw;
}

.stat {
  display: flex;
  align-items: center;
  color: white;
  font-size: 0.75vw;
  gap: 0.35vw;
}

.stat i {
  font-size: 1.1vw;
  width: 1.5vw;
  text-align: center;
}

.card-button {
  margin: 0 auto;
  width: 100%;
  background-color: #ffffff0b;
  color: white;
  font-weight: 600;
  font-size: 0.9vw;
  text-align: center;
  padding: 0.8vw 0;
  border-radius: 0.5vw;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card-button:hover {
  color: #a531df;
  background-color: #40105685;
}



.filters {
  display: flex;
  gap: 2vw;
  justify-content: center;
  margin-top: 10vw;
  margin-bottom: -10vw;
  color: white;
  user-select: none;
}

.custom-select {
  position: relative;
  background: rgba(255,255,255,0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 1.5vw;
  padding: 0.5vw 1vw;
  min-width: 12vw;
}

.custom-select-trigger {
  font-size: 0.9vw;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 0 0 1.5vw 1.5vw;
  box-shadow: 0 0.25vw 0.5vw rgba(0,0,0,0.25);
  display: none;
  z-index: 1000;
  max-height: 15vw;
  overflow-y: auto;
}

.custom-option {
  padding: 0.8vw 1vw;
  font-size: 0.85vw;
  color: white;
  transition: background-color 0.25s;
}

.custom-option:hover {
  background-color: #40105685;
}

.custom-option.selected {
  background-color: #a531df;
  font-weight: 600;
}










@media (max-width: 768px) {
  .showcase {
  width: 96%;
  margin: 0 auto;
  position: relative;
  top: 22.5vw;
  aspect-ratio: 16/6;
  border-radius: 5vw;
  overflow: hidden;
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
}

.showcase-video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: blur(0.5vw) brightness(0.1);
  transition: filter 0.5s ease;
  border-radius: 2.5vw;
  pointer-events: none;
}

.showcase-video.active {
  filter: blur(0) brightness(1);
  pointer-events: auto;
}

.showcase-button {
  position: absolute;
  left: 27.1%;
  top: 35.1%;
  transform: translate(-50%, -50%);
  color: #e8e8e8d9;
  font-weight: 600;
  background-color: #6161618a;
  padding: 3vw 5vw;
  font-size: 5vw;
  border-radius: 3vw;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  opacity: 1;
  scale: 1;
  box-shadow: 0.25vw 0.25vw 0.5vw 1vw rgba(0, 0, 0, 0.25);
}


.showcase-button.hidden {
  opacity: 0;
  scale: 0;
  pointer-events: none;
}

.close-button {
  position: absolute;
  top: 1vw;
  right: 1vw;
  font-size: 2vw;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  border: none;
  border-radius: 1vw;
  padding: 0.5vw 1vw;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(1);
  opacity: 1;
}

.close-button.hidden {
  transform: scale(0.5);
  opacity: 0;
  pointer-events: none;
}


.showcase-button.active {
  top: 1vw;
  right: 1vw;
  left: auto;
  transform: none;
  font-size: 2vw;
  padding: 0.5vw 1vw;
  border-radius: 1vw;
  background-color: rgba(0, 0, 0, 0.75);
  scale: 1;
  opacity: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.showcase-button.active:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff96;
}


.video-controls {
  position: absolute;
  bottom: 0;
  left: 0vw;
  right: 0vw;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  background-image: linear-gradient(to top, black, #00000000);
}

.video-controls.show {
  display: flex;
}

.control-button {
  background-color: rgba(0, 0, 0, 0.65);
  border: none;
  width: 3.5vw;
  height: 3.5vw;
  margin: 1.5vw;
  font-size: 1.5vw;
  border-radius: 1vw;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #ffffff;
}

.seek-bar {
  flex-grow: 1;
  height: 0.5vw;
  appearance: none;
  background: #88888845;
  border-radius: 0.25vw;
  outline: none;
}

.seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 1vw;
  height: 1vw;
  background: #ffffff96;
  border-radius: 50%;
  transition: 0.35s ease;
}

#fullscreen-container {
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  /* udržanie pomeru 16:6 pre video v fullscreen */
  overflow: hidden;
}

#fullscreen-container video {
  aspect-ratio: 16 / 6; /* alebo môžeš dať výšku a automaticky nech sa prispôsobí */
  object-fit: contain; /* dôležité pre blackbary */
}

/* Už máš vlastné animácie pre ovládacie prvky */
/* Pre fullscreenContainer cursor:none je už nastavený inline cez JS */








.filters {
  width: 65%;
  height: 3vw;
  margin: 0 auto;
  justify-content: center;
  align-content: center;
  margin-bottom: -10vw;
  margin-top: 10vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  padding: 1vw;
  border-radius: 1.5vw 1.5vw 0vw 0vw;
  color: white;
}


.cards {
  position: relative;
  width: 99%;
  margin: 0 auto;
  margin-top: 25vw;
  margin-bottom: 10vw;
  border-radius: 2.5vw;
  display: flex;
  gap: 3vw;
  padding: 2vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 1.5vw;
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  flex-wrap: wrap; /* pridané, aby karty zalamovalo */
  justify-content: flex-start; /* zarovnanie kariet na stred */
}

.card {
  width: calc((100% / 2) - 3vw); /* 4 karty vedľa seba s medzerou */
  height: 62vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 3vw;
  overflow: hidden;
  transition: 0.35s cubic-bezier(0.65, 0.67, 0.04, 0.5);
  transform: scale(1);
  display: flex;
  flex-direction: column;
  padding: 0;
}


.card:hover {
  transform: scale(1.025);
}

.card img {
  width: 100%;
  background-position: center;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.card h1 {
  color: white;
  font-size: 2.8vw;
  height: 14vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1vw;
  margin: 0;
}


.card-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9vw;
  gap: 0.5vw;
  margin-bottom: 0.7vw;
}

.card-channel i {
  font-size: 1vw;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(2, 25vw);
  gap: 0.5vw 0.75vw;
  padding: 0 1vw;
  margin-bottom: 1vw;
}

.stat {
  display: flex;
  align-items: center;
  color: white;
  font-size: 3vw;
  font-weight: 500;
  gap: 0.5vw;
}

.stat i {
  font-size: 3vw;
  width: 7vw;
  text-align: center;
}

.card-button {
  margin: 0 auto;
  width: 100%;
  background-color: #ffffff0b;
  color: white;
  font-weight: 600;
  font-size: 4vw;
  text-align: center;
  padding: 2vw 0;
  border-radius: 0.5vw;
  user-select: none;
  margin-top: 2vw;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card-button:hover {
  color: #a531df;
  background-color: #40105685;
}



.filters {
  display: flex;
  gap: 2vw;
  justify-content: center;
  margin-top: 10vw;
  margin-bottom: -10vw;
  color: white;
  user-select: none;
}

.custom-select {
  position: relative;
  background: rgba(255,255,255,0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 1.5vw;
  padding: 0.5vw 1vw;
  min-width: 12vw;
}

.custom-select-trigger {
  font-size: 0.9vw;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.0075);
  backdrop-filter: blur(0.15vw);
  border-radius: 0 0 1.5vw 1.5vw;
  box-shadow: 0 0.25vw 0.5vw rgba(0,0,0,0.25);
  display: none;
  z-index: 1000;
  max-height: 15vw;
  overflow-y: auto;
}

.custom-option {
  padding: 0.8vw 1vw;
  font-size: 0.85vw;
  color: white;
  transition: background-color 0.25s;
}

.custom-option:hover {
  background-color: #40105685;
}

.custom-option.selected {
  background-color: #a531df;
  font-weight: 600;
}
}