.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.video {
  background: rgb(0, 0, 0);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 1px 8px #ff3366;
  text-align: center;
  transition: transform 0.2s ease;
}

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

.video img {
  width: 100%;
  border-radius: 6px;
}

.video-title {
  font-size: 14px;
  margin-top: 8px;
  color: #ffffff;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.pagination a.active {
  background-color: #333;
  color: white;
}

.pagination a:hover {
  background-color: #555;
  color: white;
}
.pagination a.disabled {
  background-color: #ddd;
  color: #aaa;
  pointer-events: none;  
  cursor: not-allowed;  
}

.pagination a:hover:not(.disabled) {
  background-color: #555;
  color: white;
}


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