
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: white;
}
a{
  text-decoration: none;
}
/* Header */
.header {
  padding: 15px 100px;
  background: #202020;
  border-bottom: 1px solid #333;
}
.header h1{
  margin: 0;
}
/* Grid Layout */
#videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 30px 100px;
}

/* Card */
.card {
  cursor: pointer;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

/* Thumbnail */
.card img {
  width: 100%;
  border-radius: 10px;
}

/* Title */
.card h3 {
  font-size: 14px;
  margin: 8px 0 4px;
  color: #fff;
}

/* Channel + views */
.card p {
  font-size: 12px;
  color: #aaa;
  margin: 2px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  #videos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #videos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  #videos {
    grid-template-columns: 1fr;
  }
}
/* Link remove */
.video-link {
  text-decoration: none;
  color: inherit;
}

/* Card */
.card {
  cursor: pointer;
}

/* Thumbnail */
.thumb {
  position: relative;
}

.thumb img {
  width: 100%;
  border-radius: 12px;
}

/* Duration badge */
.duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  padding: 3px 6px;
  font-size: 11px;
  border-radius: 4px;
}

/* Info section */
.info {
  display: flex;
  margin-top: 10px;
}

/* Avatar (fake circle) */
.avatar {
  width: 36px;
  height: 36px;
  background: #333;
  border-radius: 50%;
  margin-right: 10px;
}
.avatar img{
  width: 100%;
  height: 100%;
}

/* Text */
.text h3 {
  font-size: 14px;
  margin: 0;
  color: #fff;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Channel name */
.channel {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

/* Meta info */
.meta {
  font-size: 12px;
  color: #aaa;
}