@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap');

/* ── GRID ── */
.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 1295px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

/* ── CARD ── */
.swiss-card {
  width: 100%;
  background: #fff;
  border-top: 3px solid #000;
  border-left: 0.5px solid #000;
  border-right: 0.5px solid #000;
  border-bottom: 0.5px solid #000;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.3s ease;
}

.swiss-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.swiss-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Label */
.swiss-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  border-bottom: 1px solid #000;
}

.dot {
  color: #e00;
  font-size: 8px;
  transition: transform 0.3s ease;
}

.swiss-card:hover .dot {
  transform: scale(1.5);
}

/* Gambar */
.swiss-img {
  overflow: hidden;
}

.swiss-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: grayscale(40%) contrast(1.1);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.swiss-card:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

/* Body */
.swiss-body {
  padding: 16px 14px 22px;
  border-top: 1px solid #ddd;
}

.swiss-date {
  font-size: 10px;
  color: #999;
  letter-spacing: 2px;
  margin-bottom: 6px;
  height: auto;
}

.swiss-body h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #000;
  margin: 0 0 4px;
  line-height: 1.1;
}

.swiss-body h3 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 18px;
}

/* Tombol */
.swiss-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.swiss-btn:hover {
  color: #e00;
  border-color: #e00;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile S (< 480px)
   1 kolom
═══════════════════════════════════════════ */
@media screen and (max-width: 479.98px) {
  .release-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 1.5rem;
    padding-left: 16px;
    padding-right: 16px;
  }
  .swiss-img img    { height: 200px; }
  .swiss-body h2    { font-size: 22px; letter-spacing: 2px; }
  .swiss-body h3    { font-size: 10px; }
  .swiss-body       { padding: 12px 12px 18px; }
  .swiss-label      { font-size: 9px; padding: 6px 10px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile L / Tablet kecil (≥ 480px, < 768px)
   2 kolom
═══════════════════════════════════════════ */
@media screen and (min-width: 480px) and (max-width: 767.98px) {
  .release-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 2rem;
  }
  .swiss-img img  { height: 220px; }
  .swiss-body h2  { font-size: 24px; letter-spacing: 3px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≥ 768px, < 1024px)
   2 kolom lebih lebar
═══════════════════════════════════════════ */
@media screen and (min-width: 768px) and (max-width: 1023.98px) {
  .release-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .swiss-img img { height: 240px; }
  .swiss-body h2 { font-size: 26px; letter-spacing: 3px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Desktop (≥ 1024px)
   3 kolom — default
═══════════════════════════════════════════ */
@media screen and (min-width: 1024px) {
  .release-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Desktop L (≥ 1300px)
   Fixed width lama dipertahankan
═══════════════════════════════════════════ */
@media screen and (min-width: 1300px) {
  .release-grid { padding-left: 0; padding-right: 0; }
}
