/* ======== AJUSTES GERAIS ======== */
body {
  background: #111;
  color: #eee;
  font-family: Arial, sans-serif;
}

.btn {
  background: #ff6600;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}
.btn:hover {
  background: #ff3300;
}
.btn-ghost {
  background: transparent;
  border: 1px solid #ff6600;
  color: #ff6600;
}
.btn-ghost:hover {
  background: #ff6600;
  color: #000;
}

/* ======== BOTÕES DO INDEX ======== */
.video-info .btn,
.post-info .btn,
.quote-info .btn {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* no celular, garantir espaçamento e largura agradável */
@media (max-width: 600px) {
  .video-info .btn,
  .post-info .btn,
  .quote-info .btn {
    width: 48%;
    text-align: center;
    margin: 4px 1%;
    font-size: 0.9em;
    padding: 10px;
  }
}

/* ======== LAYOUT DO WATCH ======== */
.watch-layout {
  display: grid;
  grid-template-columns: 2fr 340px;
  gap: 16px;
}

@media (max-width: 768px) {
  .watch-layout {
    display: flex;
    flex-direction: column;
  }

  /* vídeo ocupa 100% da largura */
  .watch-layout video,
  .video-player {
    width: 100% !important;
    max-height: auto;
  }

  /* comentários abaixo */
  .comments-section {
    order: 2;
  }

  /* vídeos relacionados por último */
  .sidebar {
    order: 3;
    margin-top: 16px;
  }

  /* botões em linha ajustados */
  .btn {
    width: 48%;
    margin-bottom: 6px;
  }
}

/* ==== CLICK FIX ==== */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.carousel-item {
  cursor: pointer;
}

/* garante que conteúdo interno não bloqueie o link */
.carousel-item * {
  pointer-events: none;
}

/* mas o link em si pode receber clique */
.carousel-item > a {
  pointer-events: auto;
}

/* ads: overlay só captura clique, não bloqueia drag */
.ad-overlay {
  pointer-events: auto;
}
