/* ===============================
   AGE 18+ OVERLAY (FULL CSS)
   =============================== */

/* RESET AMAN */
* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* OVERLAY BACKGROUND */
#ageOverlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

/* BOX UTAMA */
.age-box {
  background: rgba(20,20,20,0.9);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: ageZoom 0.6s ease;
}

/* BADGE 18+ */
.age-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e50914, #ff3b3b);
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 16px;
}

/* TITLE */
.age-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* TEXT */
.age-box p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 26px;
}

/* BUTTON AREA */
.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTON YES */
.btn-enter {
  background: linear-gradient(135deg, #e50914, #ff1c27);
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-enter:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(229,9,20,0.6);
}

/* BUTTON EXIT */
.btn-exit {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 26px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-exit:hover {
  background: rgba(255,255,255,0.25);
}

/* ANIMATION */
@keyframes ageZoom {
  from {
    opacity: 1;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .age-box {
    padding: 26px 20px;
  }

  .age-box h2 {
    font-size: 20px;
  }

  .age-box p {
    font-size: 13px;
  }
}

/* =========================
   Grid
========================= */
.grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr); /* ⬅️ MAKS 5 VIDEO */
  gap:16px;
}
.card{
  background:#0f0f0f;
  border-radius:14px;
  overflow:hidden;
  transition:.25s;
}
.card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}
.card-info{
  padding:10px;
}

.card-info h3{
  font-size:10px;
  font-weight:600;
  line-height:1.4;
  text-align:left;
  

  /* potong 2 baris */
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

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



