@font-face {
  font-family: 'Flama-Basic';
  src: url('../fonts/Flama-Basic.otf');
}

@font-face {
  font-family: 'Flama-Black';
  src: url('../fonts/Flama-Black.otf');
}

@font-face {
  font-family: 'Flama-Light';
  src: url('../fonts/Flama-Light.otf');
}

@font-face {
  font-family: 'Flama-Bold';
  src: url('../fonts/Flama-Bold.otf');
}

@font-face {
  font-family: 'Menda-Black';
  src: url('../fonts/Menda-Black.ttf');
}

@font-face {
  font-family: 'Menda-Medium';
  src: url('../fonts/Menda-Medium.ttf');
}

.font-flama-basic {
  font-family: 'Flama-Basic';
}

.font-flama-black {
  font-family: 'Flama-Black';
}

.font-flama-light {
  font-family: 'Flama-Light';
}

.font-flama-bold {
  font-family: 'Flama-Bold';
}

.font-menda-black {
  font-family: 'Menda-Black';
}

.font-menda-medium {
  font-family: 'Menda-Medium';
}

.link-hover-danger:hover {
  color: var(--bs-danger) !important;
}

.link-hover-warning:hover {
  color: var(--bs-warning) !important;
}

.vh-46 {
  height: 46px;
  overflow: hidden;
}

.bg-fiesta-header {
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rounded-pill-10 {
  border-radius: 1rem !important;
}


/* --------------------------------------
=========================================
PROGRAMACIÓN
=========================================
-----------------------------------------*/

.nav-pills .nav-item .active {
  background-color: var(--bs-primary) !important;
  color: white !important;
}

.nav-pills .nav-item .btn:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.programs-container {
  position: relative;
}

.programs-scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.programs-scroll-container::-webkit-scrollbar {
  display: none;
}

.programs-row {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.program-card {
  flex: 0 0 245px;
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.nav-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev-button {
  left: 0;
}

.next-button {
  right: 0;
}

@media (max-width: 768px) {
  .program-card {
    flex: 0 0 250px;
  }
}

.card-content {
  background-color: #000000;
  color: #ffffff;
  padding: 40px 30px;
  width: 320px;
  min-height: 150px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  border-radius: 14px;
}

.card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffdd00;
}

.card-content p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
}

@keyframes cityGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 600px) {
  .card-content {
    width: 85vw;
    padding: 25px 20px;
  }
}

.card-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 6px;
  background: inherit;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
}

.text-quienes-somos {
  font-size: 16px;
}

@media (max-width: 767.98px) {
  .btn-dia-custom {
    padding-left: 8px !important;
    padding-right: 8px !important;
    min-width: 35px !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    font-size: 0.75rem !important;
  }
}

.btn-dia-custom.active {
  background-color: white !important;
  color: black !important;
  font-weight: bold;
}

/* --------------------------------------
=========================================
RANKING
=========================================
-----------------------------------------*/

/* YouTube Facade */

.yt-facade {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #000;
}

.yt-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.yt-facade:hover .yt-facade-thumb {
  opacity: 0.75;
}

.yt-facade-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s;
}

.yt-facade:hover .yt-facade-btn {
  transform: translate(-50%, -50%) scale(1.1);
}