/* =========================================
   RESET SEDERHANA
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f9fafb;
  color: #111827;
}

/* Link default */
a {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   LAYOUT DASAR
   ========================================= */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Wrapper main */
.site-main,
.page-wrapper {
  min-height: calc(100vh - 120px);
  background: radial-gradient(
    circle at top left,
    #ffffff 0,
    #f9fafb 40%,
    #f3f4f6 100%
  );
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* BRANDING */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.45);
}

.brand-logo {
  max-width: 100%;
  max-height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #6b7280;
}

/* NAVIGASI DESKTOP */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  color: #374151;
  margin-left: 1.3rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a:hover {
  color: #eab308;
}

.main-nav a.is-active,
.main-nav a.active {
  color: #eab308;
}

.main-nav a.is-active::after,
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #eab308);
  border-radius: 999px;
}

/* TOMBOL MENU MOBILE (ikon tiga garis) */
.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #eab308;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.footer-inner {
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* =========================================
   HALAMAN BERANDA
   ========================================= */
.page-home .hero,
.home .hero {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Hero Section – full terang dan center */
.hero {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero h1,
.page-home h1,
.home h1 {
  font-size: 2.4rem;
  margin: 0 0 1rem 0;
  color: #111827;
}

.hero p,
.page-home p,
.home p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: 0.12s ease;
}

/* tombol utama: emas lembut */
.btn-primary {
  background: radial-gradient(
    circle at 30% 0,
    #fef9c3 0,
    #fde68a 35%,
    #fbbf24 70%,
    #f97316 100%
  );
  color: #111827;
  border-color: #fbbf24;
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(250, 204, 21, 0.7);
}

/* tombol garis tipis */
.btn-ghost {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.btn-ghost:hover {
  background: #f3f4f6;
}

/* =========================================
   HALAMAN TENTANG – PUTIH-EMAS + FOTO LINGKAR
   ========================================= */
.page-about {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.about-layout {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* FOTO PROFIL – LINGKAR & DIPERKECIL */
.about-photo {
  flex: 0 0 320px;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;

  background: radial-gradient(
    circle at 30% 0,
    #fef9c3 0%,
    #fde68a 45%,
    #ffffff 100%
  );

  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* jaga lingkar asli foto */
  transform: scale(1.0); /* kecilkan 20% */
  transform-origin: center;
}

/* TEKS BIO */
.about-copy {
  flex: 1;
  max-width: 560px;
}

.about-copy h1 {
  margin: 0 0 1.2rem 0;
  font-size: 1.9rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #0f172a;
}

.about-copy p {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
}

/* =========================================
   HALAMAN KARYA
   ========================================= */
.page-karya h1,
.karya h1 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.karya-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.karya-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.98rem;
  color: #374151;
}

/* =========================================
   HALAMAN RENUNG AKSARA (LIST)
   ========================================= */

/* Wrapper & heading */
.renung-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.renung-title {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.renung-sub {
  max-width: 640px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

/* List container */
.post-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Card – mobile: kolom (gambar atas, teks bawah) */
.post-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Gambar */
.post-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Body teks */
.post-body {
  padding: 1rem 1.2rem 1.4rem;
}

.post-title {
  margin: 0 0 0.3rem 0;
  font-size: 1.05rem;
}

.post-title a {
  color: #111827;
}

.post-title a:hover {
  color: #eab308;
}

.post-meta {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

/* Batasi panjang preview */
.post-excerpt {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-read {
  font-size: 0.85rem;
  color: #f97316;
}

/* Desktop: gambar kiri, teks kanan */
@media (min-width: 768px) {
  .post-card {
    flex-direction: row;
    align-items: stretch;
  }

  .post-cover {
    flex: 0 0 260px;
  }

  .post-body {
    flex: 1;
  }
}

/* =========================================
   DETAIL TULISAN RENUNG
   ========================================= */
.post-cover-large {
  margin: 1.5rem 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.post-cover-large img {
  width: 100%;
  height: auto;
}

.post-content {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #374151;
}

/* =========================================
   HALAMAN KONTAK
   ========================================= */
.page-kontak h1,
.kontak h1 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.contact-info {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
}

/* =========================================
   WIDGET WAKTU & SHALAT
   ========================================= */
.prayer-widget {
  margin-top: 2rem;
}

.pw-card {
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #020617 100%);
  color: #e5e7eb;
  border-radius: 24px;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.55);
}

.pw-left,
.pw-right {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pw-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pw-clock {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
}

.pw-location {
  font-size: 0.9rem;
  color: #9ca3af;
}

.pw-hijri {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.pw-next-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fde68a;
}

.pw-next-time {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.pw-countdown {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.pw-current {
  font-size: 0.9rem;
  color: #a5b4fc;
}

/* catatan & metode */
.pw-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.pw-method {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pw-method select {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
}

/* RESPONSIVE untuk widget */
@media (max-width: 768px) {
  .pw-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.4rem;
  }

  .pw-clock {
    font-size: 1.8rem;
  }

  .pw-next-time {
    font-size: 1.1rem;
  }
}

/* =========================================
   RESPONSIVE UMUM
   ========================================= */
@media (max-width: 900px) {
  .page-about {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .about-layout {
    flex-direction: column;
    text-align: center;
  }

  .about-photo {
    max-width: 240px;
  }

  .about-copy {
    max-width: 640px;
  }

  .about-copy h1 {
    font-size: 1.6rem;
  }

  .about-copy p {
    font-size: 1rem;
  }

  .pw-clock {
    font-size: 2.1rem;
  }

  .pw-next-time {
    font-size: 1.2rem;
  }
}

/* =========================================
   RESPONSIVE HEADER & MENU MOBILE
   ========================================= */
@media (max-width: 720px) {
  /* Tampilkan tombol ☰ */
  .mobile-menu-btn {
    display: block;
  }

  /* NAVIGASI MOBILE: awalnya sembunyi, muncul dorong konten ke bawah */
  .main-nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    padding: 0.6rem 0;
    margin: 0 1.2rem;
    font-size: 0.98rem;
    border-bottom: 1px solid #f3f4f6;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .page-home h1,
  .home h1 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .about-photo {
    max-width: 220px;
  }

  .about-copy h1 {
    font-size: 1.45rem;
  }

  .about-copy p {
    font-size: 0.97rem;
  }
}

/* Animasi dropdown menu mobile */
@keyframes dropdown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   UNIFIED MENU (HP + PC) — HARD FIX
   - tombol selalu bisa diklik (anti ketutup layer)
   - menu jadi panel dropdown
================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
}

.header-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* pastikan brand tidak “nabrak” tombol */
.brand{
  flex: 1;
  min-width: 0;
}

/* tombol selalu tampil & selalu di atas */
.site-header .mobile-menu-btn{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;

  background: transparent;
  border: 0;
  border-radius: 12px;

  color: #eab308;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;

  position: relative;
  z-index: 10001;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* panel dropdown */
.site-header .main-nav{
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;

  width: min(86vw, 340px);
  flex-direction: column;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(2,6,23,.14);
  padding: 0.35rem 0;
  overflow: hidden;

  z-index: 10000;
}

.site-header .main-nav.show{
  display: flex;
  animation: amkDrop .18s ease;
}

@keyframes amkDrop{
  from{ transform: translateY(-8px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

.site-header .main-nav a{
  margin: 0 !important;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.98rem;
}

.site-header .main-nav a:last-child{ border-bottom: none; }
.site-header .main-nav a:hover{ background: #fffbeb; }

/* underline active jangan bikin panel “loncat” */
.site-header .main-nav a.is-active::after,
.site-header .main-nav a.active::after{ display:none; }

/* layar kecil: panel jadi full-aman */
@media (max-width: 720px){
  .site-header .main-nav{
    left: 0;
    right: 0;
    width: auto;
    margin: 0 0.75rem;
  }
}

/* =========================================
   MENU TOTAL RESET (PURE CSS, HP + PC)
   - Tidak butuh JS
   - Anti konflik show/show
   - Anti "klik nggak nyangkut"
========================================= */

/* pastikan header selalu di paling atas */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

/* biar anak-anak header tidak bisa ketiban elemen lain */
.header-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0;
}

/* brand aman */
.brand{ flex: 1; min-width: 0; }

/* === NAVBOX pakai <details> === */
.navbox{
  position: relative;
  z-index: 999999;
}

/* tombol hamburger (summary) */
.navbox > summary{
  list-style: none;
  cursor: pointer;
  user-select: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 12px;
  background: transparent;

  color: #eab308;
  font-size: 1.75rem;
  line-height: 1;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;

  position: relative;
  z-index: 1000000;
}

/* hilangkan marker default summary */
.navbox > summary::-webkit-details-marker{ display:none; }

/* ikon berubah saat open */
.navbox > summary .icon-open{ display: inline; }
.navbox > summary .icon-close{ display: none; }
.navbox[open] > summary .icon-open{ display:none; }
.navbox[open] > summary .icon-close{ display:inline; }

/* PANEL MENU (dropdown) */
.navbox .main-nav{
  display: none; /* default */
  position: absolute;
  top: calc(100% + 10px);
  right: 0;

  width: min(86vw, 360px);
  background: #fff;

  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(2,6,23,.14);
  overflow: hidden;

  z-index: 1000000;
}

/* saat details open => tampil */
.navbox[open] .main-nav{
  display: flex;
  flex-direction: column;
  animation: amkDrop .18s ease;
}

@keyframes amkDrop{
  from{ transform: translateY(-8px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

/* link menu */
.navbox .main-nav a{
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.98rem;

  color: #374151;
}

.navbox .main-nav a:hover{
  background: #fffbeb;
  color: #eab308;
}

.navbox .main-nav a:last-child{ border-bottom: none; }

/* matikan underline active lama biar panel tidak aneh */
.navbox .main-nav a.is-active::after,
.navbox .main-nav a.active::after{ display:none !important; }

/* mobile: panel jadi lebih aman (melebar) */
@media (max-width: 720px){
  .navbox .main-nav{
    left: 0;
    right: 0;
    width: auto;
    margin: 0 0.75rem;
  }
}

/* === PENTING: matikan style menu lama yang bikin konflik === */
.main-nav.show{ display:none !important; }          /* kalau masih ada class show dari JS */
.mobile-menu-btn{ display:none !important; }       /* kalau tombol lama masih nongol */

/* ==== AMK MENU FORCE SHOW (PASTI MUNCUL) ==== */
.site-header{
  z-index: 999999 !important;
  overflow: visible !important;
}

.header-inner,
.container{
  overflow: visible !important;
}

#mainNav{
  /* paksa jadi dropdown panel */
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;

  width: min(86vw, 360px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(2,6,23,.14);
  padding: 0.35rem 0;

  z-index: 1000000 !important;
}

#mainNav a{
  display: block;
  padding: 0.8rem 1rem;
  margin: 0 !important;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

#mainNav a:last-child{ border-bottom: none; }
#mainNav a:hover{ background: #fffbeb; color: #eab308; }

/* INI KUNCI: kalau show, PASTI tampil */
#mainNav.show{
  display: flex !important;
  flex-direction: column;
}

/* ================================
   KARYA PAGE (cards + filter)
================================= */
.karya-wrap{max-width:1040px;margin:0 auto;}
.karya-title{font-size:1.9rem;margin:0 0 .4rem;}
.karya-sub{max-width:740px;line-height:1.8;color:#4b5563;margin:0 0 1.2rem;}
.karya-empty{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:1rem 1.1rem;box-shadow:0 10px 25px rgba(15,23,42,.06);}

.karya-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1rem 0 1.2rem;}
.karya-filters{display:flex;gap:.5rem;flex-wrap:wrap;}
.chip{
  display:inline-flex;align-items:center;gap:.5rem;
  border:1px solid #e5e7eb;background:#fff;border-radius:999px;
  padding:.45rem .8rem;font-size:.86rem;color:#374151;cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
}
.chip span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:28px;height:22px;border-radius:999px;
  background:#fffbeb;border:1px solid #fde68a;color:#92400e;
  font-size:.78rem;padding:0 .45rem;
}
.chip.is-active{border-color:#fbbf24;box-shadow:0 14px 30px rgba(250,204,21,.22);}
.karya-note{display:inline-flex;align-items:center;gap:.5rem;font-size:.82rem;color:#6b7280;}
.karya-note-dot{width:8px;height:8px;border-radius:999px;background:#fbbf24;box-shadow:0 0 0 6px rgba(251,191,36,.18);}

.karya-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:1rem;
}
.work-card{
  grid-column:span 6;
  background:#fff;border:1px solid #e5e7eb;border-radius:18px;
  overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.08);
  display:flex;flex-direction:column;
}
@media (max-width: 920px){ .work-card{grid-column:span 12;} }

.work-media{position:relative;display:block;background:#f3f4f6;}
.work-media img{width:100%;height:auto;display:block;}
.work-badge{
  position:absolute;left:12px;top:12px;
  background:rgba(2,6,23,.78);color:#fff;
  padding:.3rem .6rem;border-radius:999px;font-size:.78rem;
  backdrop-filter:blur(6px);
}
.work-placeholder{
  padding:2.2rem 1.3rem;
  background:radial-gradient(circle at 20% 0,#fef9c3 0,#fde68a 30%,#ffffff 100%);
}
.work-ph-inner{display:flex;flex-direction:column;gap:.6rem;}
.work-ph-badge{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:#92400e;}
.work-ph-title{font-size:1.05rem;font-weight:700;color:#0f172a;max-width:100%;}

.work-body{padding:1rem 1.1rem 1.2rem;}
.work-title{margin:0 0 .35rem;font-size:1.05rem;line-height:1.35;}
.work-title a{color:#111827;}
.work-title a:hover{color:#eab308;}
.work-desc{margin:0 0 .75rem;color:#4b5563;line-height:1.75;font-size:.92rem;}
.work-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:.1rem 0 .9rem;}
.work-tags .tag{
  border:1px solid #e5e7eb;background:#fff;border-radius:999px;
  padding:.22rem .55rem;font-size:.78rem;color:#374151;
}
.work-actions{display:flex;gap:.6rem;flex-wrap:wrap;}
.karya-foot{margin:1.2rem 0 0;color:#6b7280;font-size:.88rem;line-height:1.8;max-width:760px;}

/* toast kecil */
.amk-toast{
  position:fixed;left:50%;bottom:18px;transform:translateX(-50%);
  background:rgba(2,6,23,.88);color:#fff;
  padding:.55rem .9rem;border-radius:999px;font-size:.85rem;
  box-shadow:0 18px 60px rgba(2,6,23,.35);
  z-index:99999;
}

/* =========================================
   KARYA / WORKS — Sweet Cards (YouTube + Web + App)
   ========================================= */

.karya-wrap{
  max-width: 1040px;
}

.karya-title{
  font-size: 1.9rem;
  margin: 0 0 .35rem 0;
}

.karya-sub{
  max-width: 680px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0 0 1.4rem 0;
}

/* toolbar */
.karya-toolbar{
  display:flex;
  flex-direction:column;
  gap:.85rem;
  margin: 1.1rem 0 1.2rem;
}

.karya-filters{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:center;
}

.chip{
  appearance:none;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  border-radius:999px;
  padding:.5rem .85rem;
  font-size:.88rem;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  transition: .14s ease;
  -webkit-tap-highlight-color: transparent;
}

.chip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 28px;
  height: 22px;
  padding: 0 .5rem;
  border-radius:999px;
  background:#fffbeb;
  border:1px solid #fde68a;
  color:#92400e;
  font-size:.78rem;
}

.chip:hover{
  transform: translateY(-1px);
  border-color:#fde68a;
  box-shadow: 0 16px 36px rgba(15,23,42,.10);
}

.chip.is-active{
  background: radial-gradient(circle at 30% 0, #fef9c3 0, #fde68a 45%, #fbbf24 100%);
  border-color:#fbbf24;
}

.karya-note{
  display:flex;
  align-items:center;
  gap:.55rem;
  color:#6b7280;
  font-size:.86rem;
}

.karya-note-dot{
  width:10px;height:10px;border-radius:999px;
  background: radial-gradient(circle at 30% 0, #fef9c3 0, #fde68a 40%, #f97316 100%);
  box-shadow: 0 10px 22px rgba(251,191,36,.35);
}

/* grid */
.karya-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: .6rem;
}

.work-card{
  grid-column: span 12;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 18px 48px rgba(15,23,42,.08);
  transition: .16s ease;
  display:flex;
  flex-direction:column;
}

.work-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(15,23,42,.12);
  border-color:#fde68a;
}

@media (min-width: 640px){
  .work-card{ grid-column: span 6; }
}
@media (min-width: 980px){
  .work-card{ grid-column: span 4; }
}

/* media: 16:9 selalu manis */
.work-media{
  position:relative;
  display:block;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at top left, #ffffff 0, #f9fafb 50%, #f3f4f6 100%);
  overflow:hidden;
}

.work-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: .22s ease;
  filter: saturate(1.02);
}

.work-card:hover .work-media img{
  transform: scale(1.06);
}

/* badge kecil */
.work-badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:.35rem .6rem;
  border-radius:999px;
  font-size:.78rem;
  letter-spacing:.01em;
  background: rgba(17,24,39,.82);
  color:#fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

/* YouTube vibe: tombol play */
.work-play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.work-play::before{
  content:"";
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, rgba(255,255,255,.75) 0, rgba(250,204,21,.50) 55%, rgba(249,115,22,.55) 100%);
  box-shadow: 0 18px 50px rgba(249,115,22,.22);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  transform: scale(.96);
  transition: .18s ease;
}

.work-play::after{
  content:"▶";
  position:absolute;
  font-size: 1.55rem;
  color: #111827;
  transform: translateX(2px);
  text-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.work-card[data-type="youtube"] .work-play{
  opacity: 1;
}

.work-card:not([data-type="youtube"]) .work-play{
  opacity: 0;
}

.work-card:hover .work-play::before{
  transform: scale(1.03);
}

/* subtle shine */
.work-media::after{
  content:"";
  position:absolute;
  inset:-30% -40%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.25) 50%, rgba(255,255,255,0) 65%);
  transform: translateX(-40%) rotate(6deg);
  opacity: .0;
  transition: .35s ease;
}

.work-card:hover .work-media::after{
  opacity: .9;
  transform: translateX(40%) rotate(6deg);
}

/* placeholder */
.work-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 1rem;
}

.work-ph-inner{
  width:100%;
  border-radius:16px;
  border:1px dashed #d1d5db;
  background: #fff;
  padding: 1rem 1rem 1.1rem;
  text-align:center;
}

.work-ph-badge{
  display:inline-flex;
  padding:.35rem .7rem;
  border-radius:999px;
  background:#fffbeb;
  border:1px solid #fde68a;
  color:#92400e;
  font-size:.82rem;
}

.work-ph-title{
  margin-top:.7rem;
  font-weight:700;
  color:#111827;
}

/* body */
.work-body{
  padding: 1rem 1.1rem 1.15rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
}

.work-title{
  margin:0;
  font-size: 1.02rem;
  line-height:1.3;
}

.work-title a{
  color:#111827;
}

.work-title a:hover{
  color:#eab308;
}

.work-desc{
  margin:0;
  color:#4b5563;
  font-size:.92rem;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

.work-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:.15rem;
}

.tag{
  font-size:.78rem;
  padding:.22rem .55rem;
  border-radius:999px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  color:#374151;
}

/* actions */
.work-actions{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  margin-top:.35rem;
}

/* biar tombol di card halus */
.work-actions .btn{
  min-height: 40px;
}

/* footer */
.karya-foot{
  margin-top: 1.6rem;
  color:#6b7280;
  line-height:1.8;
  max-width: 680px;
}

