/* =============================
   CONTAINER
============================= */
.container {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 24px;
}

/* =============================
   TITLE
============================= */
h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #00f5ff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============================
   GRID
============================= */
.materi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* =============================
   CARD (FUTURISTIC)
============================= */
.materi-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 26px 28px;
  transition: 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

/* glow hover */
.materi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 245, 255, 0.18),
    transparent
  );
  opacity: 0;
  transition: 0.35s;
}

.materi-card:hover::before {
  opacity: 1;
}

.materi-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 22px rgba(0, 245, 255, 0.25),
    inset 0 0 0 1px rgba(0, 245, 255, 0.3);
}

/* =============================
   CARD TITLE
============================= */
.materi-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #eaeaf0;
  max-height: calc(1.35em * 3);
  white-space: normal;
  word-break: break-word;
}


/* =============================
   LIST
============================= */
.materi-card ul {
  padding-left: 18px;
  margin-top: 14px;
}


.materi-card li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #d1d5db;
  line-height: 1.45;
}


/* custom bullet */
.materi-card li::marker {
  color: #00f5ff;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 640px) {
  h1 {
    font-size: 1.8rem;
  }

  .materi-card {
    padding: 22px;
  }
}

/* =============================
   PAGE HEADER
============================= */
.page-header {
  margin-bottom: 48px;
}

.page-subtitle {
  max-width: 520px;
  font-size: 0.95rem;
  color: #9aa4bf;
  margin-top: 8px;
}

/* =============================
   CARD HEADER
============================= */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

/* status dot */
.card-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-status.active {
  background: #00f5ff;
  box-shadow: 0 0 10px #00f5ff;
}

.card-status.standby {
  background: #8b5cf6;
  box-shadow: 0 0 10px #8b5cf6;
}

/* tag */
.card-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  color: #9aa4bf;
  border: 1px solid rgba(255,255,255,0.15);
}

/* =============================
   CARD ACTION
============================= */
.card-action {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.btn-card {
  padding: 8px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00f5ff, #8b5cf6);
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(0,245,255,0.55);
}
