.row {
  align-items: stretch;
}

.card-custom {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.card-custom-video {
  background: #fff;
  border: none;
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bingo-cards-wrapper {
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding-right: 0.25rem;
}

.bingo-card {
  background: #1c2d3f;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.bingo-card:hover {
  background: #ff8100;
}

.bingo-card.active {
  background: #ff8100;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.bingo-card:hover img {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  pointer-events: none;
}
.live-info {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    z-index: 9;
}
.live-label {
    background-color: red;
    color: #fff;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 16px;
}
.ad-info {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 9;
    right: 16px;
    bottom: 16px;
    
}
@keyframes shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2px, 0); }
  50% { transform: translate(-2px, 0); }
  75% { transform: translate(2px, 0); }
  100% { transform: translate(0, 0); }
}

.ad-info img {
  animation: shake 0.8s infinite;
  width: 120px;
    height: auto;
}
.bingo-cards-wrapper::-webkit-scrollbar {
  width: 8px;
}

.bingo-cards-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
.bingo-cards-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
@media (max-width: 991.98px) {
  .row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .video-wrapper {
    aspect-ratio: 16/9;
  }

  #rightColumnWrapper {
    height: auto !important;
    
  }

  .bingo-cards-wrapper {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
  }

  .bingo-card {
    max-width: 100px;
    flex: 0 0 auto;
  }
}