/* Grid Layout */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Drama Card */
.drama-card {
  background-color: #141414;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.drama-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.drama-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.drama-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.drama-card:hover .drama-cover img {
  transform: scale(1.05);
}

.drama-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.badge-free {
  background-color: #e50914;
}

.badge-dub {
  background-color: #6c5ce7;
}

.drama-info {
  padding: 12px;
}

.drama-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 38px;
}

.drama-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #888;
}

.drama-stats i {
  margin-right: 4px;
}

.drama-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.drama-tag {
  font-size: 10px;
  padding: 2px 6px;
  background-color: #2a2a2a;
  border-radius: 4px;
  color: #ccc;
}

/* For You / Popular section style (column dengan header) */
.feed-section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
}

.section-more {
  font-size: 12px;
  color: #e50914;
  cursor: pointer;
}

/* Module card (untuk Popular yang punya module_card seperti daily/weekly) */
.module-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.module-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffd700;
}

.module-desc {
  font-size: 12px;
  color: #888;
}

/* Coming Soon Style */
.coming-soon-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.booking-count {
  color: #ffd700;
  font-size: 12px;
  margin-top: 6px;
}

.listing-time {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}