/* RESET */
* {
  box-sizing: border-box;
}

/* BODY */
body {
  margin: 0;
  background: radial-gradient(circle at top, #1c1c1c, #000);
  color: #fff;
  font-family: Arial, sans-serif;
}

/* TITRE */
.title {
  text-align: center;
  margin: 20px;
  font-size: clamp(20px, 4vw, 32px);
}

/* GRID VIDEOS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 16px;
}

/* CARD */
.card {
  background: #111;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  transition: transform .25s;
}

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

/* IMAGE */
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* INFOS */
.info {
  padding: 10px;
}

.info h3 {
  margin: 0;
  font-size: clamp(13px, 3vw, 16px);
}

/* STATS */
.stats {
  margin-top: 4px;
  font-size: 12px;
  color: #aaa;
}

/* WATCH PAGE */
.watch {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px;
}

video {
  width: 100%;
  border-radius: 12px;
}

/* ACTIONS */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

.actions span {
  font-size: 14px;
}

/* BUTTON LIKE */
button {
  background: linear-gradient(135deg, #ff9500, #ff5e00);
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    padding: 30px;
    gap: 25px;
  }

  .watch {
    padding: 30px;
  }

}
/* ... Tes styles existants ... */

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

/* La pub prend toute la largeur de la ligne sur mobile et desktop */
.ad-grid-row {
  grid-column: 1 / -1; 
  width: 100%;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #888;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}