/* ==========================================
   PETUNJUK PENGGUNAAN - FULL COLOR PREMIUM
   BATIK MODERN + ELEGANT UI
========================================== */

/* ================= ROOT ================= */
:root {
  --primary: #1f6f5b;
  --primary-dark: #155346;
  --blue: #3b82f6;
  --purple: #7c3aed;
  --gold: #c9a227;
  --brown: #8b5e34;

  --text: #1f2937;
  --muted: #6b7280;

  --glass: rgba(255,255,255,0.85);

  --shadow: 0 14px 35px rgba(0,0,0,0.12);
  --radius: 18px;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ================= BODY ================= */
body {
  color: var(--text);
  line-height: 1.6;

  /* 🌿 BATIK + FULL COLOR */
  background:
    url("https://www.transparenttextures.com/patterns/batik.png"),
    radial-gradient(circle at 20% 20%, rgba(31,111,91,0.25), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(59,130,246,0.2), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(124,58,237,0.18), transparent 50%),
    linear-gradient(135deg, #f6f4ee, #eefaf5);

  min-height: 100vh;
}

/* ==========================================
   HEADER (PREMIUM FULL COLOR)
========================================== */
.header {
  text-align: center;

  padding: 80px 20px 55px;
  min-height: 180px;

  background: linear-gradient(
    135deg,
    var(--primary),
    var(--blue),
    var(--purple)
  );

  color: white;

  position: relative;
  overflow: hidden;

  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  box-shadow: var(--shadow);
}

/* glow */
.header::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;

  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
}

/* garis emas */
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, var(--gold), #facc15, var(--gold));
}

/* TITLE */
.header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  z-index: 2;
}

/* SUBTITLE */
.header p {
  font-size: 1rem;
  opacity: 0.95;
  z-index: 2;
}

/* ==========================================
   CONTAINER
========================================== */
.materi-container {
  max-width: 900px;
  margin: 45px auto;
  padding: 0 20px 70px;
}

/* ==========================================
   BACK BUTTON (PREMIUM)
========================================== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 20px;
  margin-bottom: 25px;

  border-radius: 999px;

  background: var(--glass);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.6);

  color: var(--primary);
  text-decoration: none;
  font-weight: 600;

  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: white;
  transform: translateY(-3px) scale(1.03);
}

/* ==========================================
   CARD (GLASS FULL COLOR)
========================================== */
.materi-card {
  background: var(--glass);
  backdrop-filter: blur(12px);

  padding: 28px;
  margin-bottom: 22px;

  border-radius: var(--radius);
  box-shadow: var(--shadow);

  border-left: 6px solid var(--gold);

  position: relative;
  overflow: hidden;

  transition: all 0.3s ease;
}

.materi-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* glow */
.materi-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;

  width: 200px;
  height: 200px;

  background: radial-gradient(circle, rgba(31,111,91,0.15), transparent 70%);
}

/* TITLE */
.materi-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;

  background: linear-gradient(135deg, var(--primary-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TEXT */
.materi-card p {
  font-size: 1rem;
  line-height: 1.7;
}

/* LIST */
.materi-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.materi-card ul li {
  margin-bottom: 10px;
}

/* bullet */
.materi-card ul li::marker {
  color: var(--primary);
}

/* ==========================================
   CONTOH BOX (KERATON STYLE)
========================================== */
.contoh {
  margin-top: 15px;
  padding: 15px 18px;

  background: linear-gradient(
    135deg,
    #fffdf7,
    #fef3c7
  );

  border-left: 4px solid var(--gold);
  border-radius: 12px;

  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================
   FOOTER (FULL COLOR)
========================================== */
.footer {
  text-align: center;
  padding: 26px;

  background: linear-gradient(
    135deg,
    #0f172a,
    #1e293b,
    #334155
  );

  color: #e5e7eb;
  font-size: 0.9rem;

  margin-top: 40px;
  position: relative;
}

/* garis premium */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 4px;

  background: linear-gradient(
    90deg,
    var(--primary),
    var(--blue),
    var(--purple),
    var(--gold)
  );
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 600px) {

  .header {
    padding: 65px 15px 45px;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .materi-card {
    padding: 20px;
  }

  .back-btn {
    width: 100%;
    justify-content: center;
  }
}