/* kredit-maliki: Template oleh Maliki Saputra (@malikisaputra) — https://malikisaputra.biz.id */
:root {
  --latar: #f4f3ef; --panel: #fff; --teks: #1c1b19; --redup: #6b6862; --garis: #e3e0d8;
  --utama: #1c1b19; --utama-teks: #fff; --aksen: #c2410c; --r: 12px;
  --font-ui: "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --latar: #141413; --panel: #1e1d1b; --teks: #f1efe9; --redup: #a19d95; --garis: #34322e; --utama: #f1efe9; --utama-teks: #141413; --aksen: #fb923c; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--latar); color: var(--teks); font: 14px/1.45 var(--font-ui); }
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--panel); border-bottom: 1px solid var(--garis); flex-wrap: wrap; }
.merek { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.titik { width: 10px; height: 10px; border-radius: 50%; background: var(--aksen); }
.aksi-atas { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { font: inherit; font-weight: 600; border-radius: 10px; padding: 9px 14px; min-height: 40px; border: 1px solid var(--garis); background: var(--panel); color: var(--teks); cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { border-color: var(--teks); }
.btn:active { transform: scale(.97); }
.btn.utama { background: var(--utama); color: var(--utama-teks); border-color: var(--utama); }
.btn.bahaya { color: #b91c1c; }
.btn:disabled { opacity: .5; cursor: progress; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, .gaya-opsi:focus-visible { outline: 2px solid var(--aksen); outline-offset: 2px; }
.tata { display: grid; grid-template-columns: 380px 1fr; min-height: calc(100vh - 65px); }
.panel { background: var(--panel); border-right: 1px solid var(--garis); padding: 18px 20px 30px; overflow-y: auto; max-height: calc(100vh - 65px); position: sticky; top: 65px; }
.grup { margin-bottom: 22px; }
.grup h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--redup); margin: 0 0 10px; }
.judul-grup { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.judul-grup h2 { margin: 0; }
label { display: block; font-weight: 500; font-size: 13px; margin-bottom: 10px; }
input:not([type=file]), textarea { display: block; width: 100%; margin-top: 4px; font: inherit; color: var(--teks); background: var(--latar); border: 1px solid var(--garis); border-radius: 8px; padding: 9px 10px; resize: vertical; }
.dua { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pilih-gaya { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gaya-opsi { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--teks); background: var(--latar); border: 2px solid transparent; border-radius: 10px; padding: 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .2s; }
.gaya-opsi[aria-checked=true] { border-color: var(--aksen); }
.cth { width: 100%; aspect-ratio: 4/5; border-radius: 6px; display: grid; place-items: center; font-size: 22px; }
.cth-editorial { background: #f3ece0; color: #2a2420; font-family: "Fraunces", serif; font-style: italic; }
.cth-neon { background: #0c0d10; color: #c6ff3d; font-family: "Archivo Black", sans-serif; }
.cth-teduh { background: #e9efe9; color: #2f5d50; }
.foto-baris { display: flex; align-items: center; gap: 8px; }
.foto-prev { width: 44px; height: 44px; border-radius: 50%; background: var(--latar) center/cover; border: 1px solid var(--garis); flex: none; }
.file-btn { margin: 0; }
.daftar { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.item { border: 1px solid var(--garis); border-radius: 10px; padding: 10px; background: var(--latar); animation: muncul .25s ease both; }
.item-atas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-weight: 700; font-size: 12.5px; }
.item-aksi { display: flex; gap: 4px; }
.ikon { width: 32px; height: 32px; min-height: 32px; padding: 0; justify-content: center; }
.item label { margin-bottom: 6px; }
.item input, .item textarea { background: var(--panel); }
.kredit-maliki { font-size: 12px; opacity: .7; text-align: center; margin-top: 18px; }
.kredit-maliki a { color: inherit; }
.pratinjau { padding: 20px; min-width: 0; }
.info-prev { color: var(--redup); font-size: 13px; margin-bottom: 14px; }
.deret { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--kartu-w, 300px), 1fr)); gap: 22px; }
.kartu { animation: muncul .3s ease both; }
.bingkai { width: 100%; aspect-ratio: 1080/1350; position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.08); }
.bingkai > .slide { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.kartu-bawah { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--redup); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--utama); color: var(--utama-teks); padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 9; }
.toast.tampil { opacity: 1; transform: translate(-50%, 0); }
@keyframes muncul { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .tata { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--garis); }
  .pratinjau { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ===== SLIDE 1080x1350 (unit px asli; safe zone 96px) ===== */
.slide { width: 1080px; height: 1350px; position: relative; overflow: hidden; }
.slide * { box-sizing: border-box; }
.isi { position: absolute; inset: 96px; display: flex; flex-direction: column; }
.foto { width: 84px; height: 84px; border-radius: 50%; background: center/cover no-repeat; flex: none; }
.pengenal { display: flex; align-items: center; gap: 20px; }
.pengenal b { display: block; }
.dorong { flex: 1; }

/* 1. Editorial serif krem */
.g-editorial { background: #f3ece0; color: #2a2420; font-family: "Inter", sans-serif; }
.g-editorial::after { content: ""; position: absolute; inset: 48px; border: 2px solid rgba(42,36,32,.18); pointer-events: none; }
.g-editorial .kepala { display: flex; justify-content: space-between; font-size: 24px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; border-bottom: 2px solid #2a2420; padding-bottom: 22px; }
.g-editorial .judul { font-family: "Fraunces", serif; font-weight: 400; font-size: 104px; line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.g-editorial .judul em { color: #a4471c; }
.g-editorial .sub { font-size: 34px; color: #6d6156; margin-top: 36px; line-height: 1.4; }
.g-editorial .kutip-tanda { font-family: "Fraunces", serif; font-size: 240px; line-height: .7; color: #a4471c; height: 120px; }
.g-editorial .kutip { font-family: "Fraunces", serif; font-size: 72px; line-height: 1.18; letter-spacing: -.01em; margin: 0; }
.g-editorial .kutip.panjang { font-size: 58px; }
.g-editorial .sumber { margin-top: 44px; font-size: 28px; letter-spacing: .14em; text-transform: uppercase; color: #6d6156; }
.g-editorial .sumber::before { content: "— "; }
.g-editorial .kaki { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; font-size: 26px; border-top: 2px solid #2a2420; padding-top: 22px; }
.g-editorial .pengenal b { font-size: 30px; }
.g-editorial .pengenal span { font-size: 24px; color: #6d6156; }
.g-editorial .cta-list { display: grid; gap: 22px; margin-top: 56px; }
.g-editorial .cta-list div { display: flex; gap: 28px; align-items: baseline; font-size: 40px; border-bottom: 1px solid rgba(42,36,32,.25); padding-bottom: 18px; }
.g-editorial .cta-list i { font-family: "Fraunces", serif; color: #a4471c; font-size: 34px; }

/* 2. Bold gelap neon */
.g-neon { background: #0c0d10; color: #f4f4f0; font-family: "Space Grotesk", sans-serif; }
.g-neon::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 60px 60px; }
.g-neon .angka { position: absolute; right: 60px; top: 30px; font-family: "Archivo Black", sans-serif; font-size: 420px; line-height: 1; color: transparent; -webkit-text-stroke: 3px rgba(198,255,61,.55); letter-spacing: -.04em; }
.g-neon .isi { z-index: 1; }
.g-neon .kepala { display: flex; align-items: center; gap: 16px; font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.g-neon .kepala .pil { white-space: nowrap; background: #c6ff3d; color: #0c0d10; padding: 8px 18px; border-radius: 99px; }
.g-neon .judul { font-family: "Archivo Black", sans-serif; font-size: 112px; line-height: .98; letter-spacing: -.03em; margin: 0; text-transform: uppercase; }
.g-neon .judul em { font-style: normal; color: #c6ff3d; }
.g-neon .sub { font-size: 36px; color: #a6a8ad; margin-top: 36px; }
.g-neon .garis { width: 140px; height: 14px; background: #c6ff3d; margin-bottom: 48px; box-shadow: 0 0 40px rgba(198,255,61,.6); }
.g-neon .kutip { font-size: 78px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.g-neon .kutip.panjang { font-size: 62px; }
.g-neon .sumber { margin-top: 44px; font-size: 30px; color: #c6ff3d; font-weight: 500; }
.g-neon .kaki { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; font-size: 26px; color: #a6a8ad; }
.g-neon .pengenal b { font-size: 30px; color: #f4f4f0; }
.g-neon .foto { box-shadow: 0 0 0 4px #c6ff3d; }
.g-neon .geser { font-weight: 700; color: #c6ff3d; }
.g-neon .cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.g-neon .cta-grid div { border: 3px solid #c6ff3d; border-radius: 22px; padding: 30px 20px; text-align: center; font-size: 34px; font-weight: 700; }
.g-neon .cta-grid div:last-child { background: #c6ff3d; color: #0c0d10; }
.g-neon .cta-grid svg { display: block; margin: 0 auto 14px; }

/* 3. Teduh islami geometris */
.g-teduh { background: #e9efe9; color: #1f3b33; font-family: "Nunito", sans-serif; }
.g-teduh .ornamen { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-teduh .isi { z-index: 1; align-items: center; text-align: center; }
.g-teduh .kepala { font-size: 26px; letter-spacing: .3em; text-transform: uppercase; color: #3d7a68; font-weight: 700; }
.g-teduh .bintang { margin: 0 auto 30px; display: block; }
.g-teduh .judul { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 104px; line-height: 1.05; margin: 0; }
.g-teduh .judul em { color: #b0823a; }
.g-teduh .sub { font-size: 34px; color: #4f6b62; margin-top: 34px; }
.g-teduh .kutip { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; font-size: 80px; line-height: 1.2; margin: 0; }
.g-teduh .kutip.panjang { font-size: 64px; }
.g-teduh .sumber { margin-top: 40px; font-size: 28px; letter-spacing: .12em; color: #b0823a; font-weight: 700; text-transform: uppercase; }
.g-teduh .kaki { white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 26px; color: #4f6b62; }
.g-teduh .pengenal { flex-direction: column; gap: 12px; }
.g-teduh .pengenal b { font-size: 30px; color: #1f3b33; }
.g-teduh .foto { box-shadow: 0 0 0 4px #e9efe9, 0 0 0 7px #b0823a; }
.g-teduh .cta-baris { display: flex; gap: 22px; margin-top: 56px; justify-content: center; }
.g-teduh .cta-baris div { background: #1f3b33; color: #f1f5ef; border-radius: 99px; padding: 22px 36px; font-size: 32px; font-weight: 700; }
.g-teduh .cta-baris div:nth-child(2) { background: #b0823a; }
