@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#f6f6f6;
  --surface:#ffffff;
  --ink:#1f2024;
  --muted:#7b7d86;
  --line:#e8e8e8;
  --purple:#5c3c91;
  --purple-2:#8f6ac5;
  --purple-soft:#efe7f5;
  --pink:#de2e72;
  --pink-soft:#ffe7ef;
  --orange:#ff8b7c;
  --blue:#32b6ea;
  --blue-soft:#ecf7fc;
  --shadow:0 8px 24px rgba(35,31,61,.06);
  --radius:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
img{max-width:100%;display:block}

.site-shell{width:100%;max-width:402px;margin:0 auto;background:var(--surface);min-height:100dvh;position:relative;box-shadow:0 0 0 1px rgba(0,0,0,.02),0 12px 28px rgba(0,0,0,.04)}
.main-content{padding:0 14px 88px}

.aw-header{height:72px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f1f1;background:#fff;position:sticky;top:0;z-index:20}
.aw-brand{display:flex;align-items:center;gap:10px;min-width:0}
.aw-brand img{width:28px;height:28px;object-fit:contain}
.aw-brand-text{display:flex;flex-direction:column;line-height:1.08}
.aw-brand-text small{font-size:10px;color:#5b5b5b;font-style:italic}
.aw-brand-text strong{font-size:15px;font-weight:700;color:#141414}
.menu-btn{width:34px;height:34px;border:0;background:transparent;display:grid;place-items:center;padding:0}
.menu-btn span{display:block;width:18px;height:1.8px;border-radius:99px;background:#1f1f1f;margin:2px 0}
.mobile-drawer[hidden]{display:none}
.mobile-drawer{position:fixed;inset:0;background:rgba(18,18,21,.28);z-index:50;padding-left:74px}
.mobile-drawer__panel{margin-left:auto;background:#fff;height:100%;padding:18px 18px 30px;display:flex;flex-direction:column;gap:14px}
.drawer-top{display:flex;justify-content:space-between;align-items:center}
.drawer-top strong{font-size:18px}
.drawer-close{border:0;background:#f5f5f6;width:34px;height:34px;border-radius:50%;font-size:24px;line-height:1}
.drawer-nav{display:grid;gap:8px}
.drawer-nav a{padding:12px 14px;border-radius:14px;background:#fafafa;font-weight:600}
.drawer-nav a.active{background:#efe7f5;color:var(--purple)}

.search-wrap{display:none}
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:402px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 8px max(10px, env(safe-area-inset-bottom));z-index:15}
.bottom-nav a{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:12px;padding:0 10px;font-size:12px;color:#7a7d87;font-weight:700;text-align:center}
.bottom-nav a.active{color:var(--purple)}

.home-main{padding-top:14px}
.home-banner{position:relative;margin-bottom:26px}
.home-banner__slide{display:none;position:relative;min-height:178px;border-radius:18px;background:#f3e8fa;overflow:hidden;padding:18px;color:#5d3a89;box-shadow:var(--shadow)}
.home-banner__slide.is-active{display:block;animation:fade .3s ease}
@keyframes fade{from{opacity:.4}to{opacity:1}}
.home-banner__art{position:absolute;inset:0;background:radial-gradient(circle at 80% 20%, rgba(171,129,213,.24) 0 36%, transparent 37%),radial-gradient(circle at 70% 100%, rgba(255,173,139,.22) 0 22%, transparent 23%),linear-gradient(135deg,#f3e8fa,#f6edf5)}
.home-banner__art--two{background:radial-gradient(circle at 80% 18%, rgba(91,167,219,.22) 0 32%, transparent 33%),radial-gradient(circle at 30% 90%, rgba(214,172,242,.24) 0 20%, transparent 21%),linear-gradient(135deg,#ecf8fe,#f0eafd)}
.home-banner__art--three{background:radial-gradient(circle at 80% 20%, rgba(255,151,123,.2) 0 30%, transparent 31%),radial-gradient(circle at 20% 100%, rgba(223,173,231,.22) 0 18%, transparent 19%),linear-gradient(135deg,#fff4ec,#f6eaf4)}
.home-banner__copy{position:relative;z-index:2;max-width:208px}
.home-banner__copy small{display:block;font-size:10px;letter-spacing:.18em;font-weight:800;color:#7b4ba9;margin-bottom:10px}
.home-banner__copy h1{font-size:18px;line-height:1.08;letter-spacing:-.04em;margin:0 0 10px;color:#6d2e90}
.home-banner__copy p{font-size:10px;line-height:1.6;color:#6d5c82;margin:0 0 14px}
.cta-chip{display:inline-flex;align-items:center;padding:12px 18px;border-radius:16px;background:#833ca0;color:#fff;font-size:11px;font-weight:700;box-shadow:0 10px 16px rgba(131,60,160,.18)}
.banner-dots{display:flex;justify-content:center;gap:7px;padding-top:10px}
.banner-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#ddd2e7;padding:0}
.banner-dots button.active{width:28px;border-radius:999px;background:#7d49a8}

.home-section{margin-bottom:26px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-head h2{margin:0;font-size:14px;font-weight:800;color:#1d1d1f}
.section-head a{font-size:12px;color:#28a8e0;font-weight:600}
.compact-head .status-badge{margin-left:auto}
.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:79px;height:28px;padding:0 12px;border-radius:8px;background:#ff8b7c;color:#fff;font-size:12px;font-weight:700}

.fundraise-list{display:grid;gap:14px}
.fundraise-item{display:grid;grid-template-columns:143px 1fr;gap:10px;padding-bottom:12px;border-bottom:1px solid #e6e6e6}
.fundraise-item:last-child{border-bottom:0;padding-bottom:0}
.fundraise-thumb{height:82px;border-radius:4px;background:#d9d9d9;overflow:hidden}
.fundraise-thumb img{width:100%;height:100%;object-fit:cover}
.fundraise-body{display:grid;gap:4px;align-content:start}
.fundraise-title{font-size:13px;font-weight:700;line-height:1.25;color:#121212}
.fundraise-sub{font-size:10px;color:#8d8f97;display:flex;align-items:center;gap:6px}
.fundraise-sub .verified{width:10px;height:10px;border-radius:50%;background:#2d87ff;display:inline-block;position:relative}
.fundraise-sub .verified:after{content:'';position:absolute;inset:3px;background:#fff;border-radius:50%}
.fundraise-label{font-size:10px;color:#8d8f97;margin-top:2px}
.fundraise-amount{font-size:10px;font-weight:800;color:#111}
.fundraise-progress{height:5px;border-radius:999px;background:#e7e7e7;overflow:hidden}
.fundraise-progress span{display:block;height:100%;background:#dcdcdc;border-radius:999px}

.prayer-box{background:#eaf6ff;border-radius:18px;padding:14px;display:grid;grid-template-columns:78px 1fr;gap:10px;position:relative;overflow:hidden}
.prayer-box:before{content:'';position:absolute;left:-16px;bottom:-22px;width:132px;height:132px;background:rgba(117,198,238,.16);border-radius:50%}
.prayer-illustration{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:214px}
.prayer-pill{position:absolute;top:0;left:0;display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 12px;border-radius:999px;background:#e63672;color:#fff;font-size:11px;font-weight:700}
.prayer-avatar{width:74px;height:118px;border-radius:38px 38px 24px 24px;background:linear-gradient(180deg,#a83f9b 0 22%,#ffead2 22% 46%,#17b4e5 46%);box-shadow:inset 0 -16px 0 #8be0ee;position:relative;margin-top:48px}
.prayer-avatar:before{content:'';position:absolute;top:18px;left:19px;width:36px;height:36px;border-radius:50%;background:#ffd9c6}
.prayer-avatar:after{content:'';position:absolute;top:10px;left:12px;width:50px;height:52px;border-radius:44px 44px 20px 20px;background:#86408f}
.prayer-plus{color:#6bc1f2;font-size:28px;line-height:1;margin-top:2px}
.prayer-cards{display:grid;gap:10px;position:relative;z-index:1}
.prayer-card{background:#fff;border-radius:16px;padding:12px 14px;box-shadow:0 8px 20px rgba(29,78,114,.08)}
.prayer-card b{display:block;font-size:12px;margin-bottom:2px}
.prayer-card small{display:block;font-size:10px;color:#9a9ca4;margin-bottom:7px}
.prayer-card span{display:block;font-size:11px;color:#1d8ee2;margin-bottom:10px}
.prayer-card p{font-size:11px;line-height:1.5;color:#4f525a;margin:0 0 10px}
.prayer-card .pray-amen{display:flex;justify-content:center;align-items:center;gap:6px;padding-top:10px;border-top:1px solid #f0f0f0;font-size:12px;color:#8b8d96}

.disbursement-scroll{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}
.disbursement-scroll::-webkit-scrollbar,.filters::-webkit-scrollbar{display:none}
.disbursement-card{min-width:298px;border:1px solid #ececec;border-radius:20px;background:#fff;padding:14px;box-shadow:var(--shadow);scroll-snap-align:start}
.disbursement-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
.disbursement-icon{width:44px;height:44px;border-radius:50%;background:#d5f0e6;color:#2c8e74;display:grid;place-items:center;font-size:28px;line-height:1;font-weight:700;flex-shrink:0}
.disbursement-title{font-size:12px;font-weight:800;line-height:1.35;margin-bottom:4px}
.disbursement-name{font-size:10px;color:#b02f93;font-weight:600}
.disbursement-body{font-size:11px;line-height:1.55;color:#676b73;min-height:74px}
.disbursement-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:10px}
.disbursement-meta small{display:block;color:#9ba0aa;font-size:10px;margin-bottom:4px}
.disbursement-meta b{font-size:12px;line-height:1.35}

.page-intro{padding:16px 0 10px}
.page-intro.simplified h1,.page-intro h1{font-size:22px;line-height:1.12;margin:0 0 8px;color:#222}
.page-intro p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.filters{display:flex;gap:8px;overflow-x:auto;padding:0 0 14px}
.filters button{height:36px;padding:0 14px;border-radius:999px;border:1px solid #e0d6ef;background:#fff;color:#6a587b;font-weight:600;white-space:nowrap}
.filters button.active{background:#8340a0;color:#fff;border-color:#8340a0}
.kebutuhan-list{display:grid;gap:14px}
.kebutuhan-card{background:#fff;border:1px solid #ececec;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.kebutuhan-card img{width:100%;height:160px;object-fit:cover;background:#f0f0f0}
.kebutuhan-card__body{padding:14px}
.kebutuhan-card__body h3{font-size:16px;line-height:1.3;margin:0 0 6px}
.kebutuhan-card__body p{font-size:12px;line-height:1.5;color:#70737c;margin:0 0 10px}
.kebutuhan-meta{display:flex;justify-content:space-between;align-items:center;color:#888b95;font-size:11px;margin-top:8px}
.kebutuhan-progress{height:7px;background:#f2e5f5;border-radius:999px;overflow:hidden}
.kebutuhan-progress span{display:block;height:100%;background:#d89be7;border-radius:999px}
.kebutuhan-amount{font-size:20px;font-weight:800;color:#101114;margin-top:6px}

.gallery-main{padding-top:18px}
.gallery-hero h1{margin:26px 0 40px;text-align:center;color:#4f3b8b;font-size:28px;font-weight:500}
.gallery-stage{position:relative;height:248px;margin-bottom:26px}
.gallery-stage__card{position:absolute;overflow:hidden;border-radius:16px;box-shadow:0 10px 24px rgba(51,37,101,.14);background:#fff}
.gallery-stage__card img{width:100%;height:100%;object-fit:cover;padding:8px;background:#fff}
.gallery-stage__card--left{left:-6px;top:42px;width:140px;height:144px;z-index:1}
.gallery-stage__card--right{left:92px;top:24px;width:148px;height:180px;z-index:2}
.gallery-arrows{display:flex;justify-content:center;gap:16px;margin-bottom:12px}
.gallery-arrows button{width:38px;height:38px;border-radius:50%;border:1.5px solid #5d4ba0;background:#fff;color:#5d4ba0;font-size:19px;line-height:1}
.gallery-caption{text-align:center;color:#7f7f86;font-size:12px;min-height:18px}
.gallery-strip{display:grid;gap:14px;padding-bottom:20px}
.gallery-strip__item{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #ececec;border-radius:16px;padding:10px;box-shadow:var(--shadow)}
.gallery-strip__item img{width:82px;height:68px;border-radius:12px;object-fit:cover;background:#f2f2f2}
.gallery-strip__item b{display:block;font-size:13px;margin-bottom:5px}
.gallery-strip__item p{margin:0;font-size:11px;line-height:1.5;color:#70747c}

.demo-footnote{text-align:center;font-size:11px;line-height:1.5;color:#888;margin:18px 0 0}
.loading,.empty{padding:26px 12px;text-align:center;color:#8a8c94;font-size:13px}

/* Legacy donation flow pages so existing routes stay usable */
.flow-top{height:58px;padding:0 14px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-weight:700;background:#fff;position:sticky;top:0;z-index:20}
.flow-content{padding:20px 0 120px}
.flow-content h1,.subtle-heading{text-align:center;font-size:22px;margin:0 0 18px}
.amount-grid{display:grid;gap:12px}.amount{display:flex;align-items:center;justify-content:space-between;padding:18px;border:1px solid #ececec;border-radius:16px;background:#fff;font-size:20px;font-weight:800;box-shadow:var(--shadow)}
.amount.selected{border:2px solid var(--pink)}
.field-card{display:block;padding:14px;border:1px solid #ececec;border-radius:16px;background:#fff;margin-top:16px}
.field-card b{display:block;margin-bottom:8px}.field-card small{display:block;color:var(--muted);margin-top:8px}
.money-input{display:flex;align-items:center;gap:12px;padding:16px;border-radius:12px;background:#f5f5f7;font-size:22px;font-weight:800}.money-input input{flex:1;border:0;background:transparent;outline:0;text-align:right;font-size:inherit;font-weight:inherit}
.flow-bottom{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:402px;padding:14px;background:#fff;border-top:1px solid var(--line);z-index:25}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:14px 16px;font-weight:700}.btn-pink{background:var(--pink);color:#fff}.btn-blue{background:var(--blue);color:#fff}.btn-wide{width:100%}.btn-mini{padding:10px 14px}.selected-money{display:flex;justify-content:space-between;background:#f5f5f7;padding:16px;border-radius:14px;font-size:26px;font-weight:800;margin:18px 0}.method-choice{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #ececec;border-radius:14px;background:#fff;margin-bottom:14px}.method-choice small,.muted,.small{color:var(--muted)}.toggle-row{display:flex;align-items:center;gap:10px;margin:18px 0}.toggle-row input{position:absolute;opacity:0}.switch{margin-left:auto;width:44px;height:24px;background:#cfd2d8;border-radius:999px;position:relative}.switch:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}.toggle-row input:checked+.switch{background:var(--pink)}.toggle-row input:checked+.switch:after{transform:translateX(20px)}
.form-field{display:block;margin:16px 0}.form-field b{display:block;margin-bottom:8px;font-size:14px}.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid #e6e6e9;border-radius:12px;padding:12px 14px;outline:0;background:#fff}.form-field textarea{min-height:110px;resize:vertical}.count{float:right;color:var(--muted)}.split-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.split-bottom small{display:block;color:var(--muted)}.split-bottom strong{font-size:24px;color:var(--pink)}
.payment-list{margin:0 -14px}.payment-list h3{padding:15px 14px;margin:0;background:#f7f7f8;font-size:15px}.payment-option,.disabled-pay{display:flex;gap:12px;align-items:center;min-height:64px;padding:12px 18px;border:0;border-bottom:1px solid #ececec;background:#fff;text-align:left;width:100%}.available{margin-left:auto;font-size:11px;color:#1e8f62}.pay-brand{width:52px;font-weight:800;color:var(--blue)}
.payment-instructions{margin:0 -14px;background:#f7f8fa}.timer-bar{padding:18px 16px;background:linear-gradient(90deg,#16afe0,#49c7ee);color:#fff}.timer-bar strong{display:block;font-size:22px;margin-top:8px}.pay-panel{background:#fff;border-radius:16px 16px 0 0;padding:18px 16px}.bank-data{border:1px solid #ececec;border-radius:14px;padding:14px;margin:14px 0;background:#fff;display:grid;gap:4px}.pay-total{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #ececec}.pay-guide{background:#fff;padding:18px 16px;line-height:1.75}.error{color:#cf2355;font-size:12px}
.detail-cover{width:100%;height:220px;object-fit:cover;background:#efefef}.detail-content{margin-top:-20px;position:relative;border-radius:22px 22px 0 0;background:#fff;padding:22px 14px 90px}.detail-content h1{font-size:22px;line-height:1.25;margin:10px 0}.detail-money{font-size:30px;font-weight:800;color:#ee6e80}.info-box{background:#ebf8fd;border-radius:12px;padding:14px;font-size:13px;line-height:1.6;color:#4f6f7b}.detail-story{margin-top:24px;padding-top:20px;border-top:10px solid #f5f5f7}.sticky-action{position:fixed;left:50%;transform:translateX(-50%);bottom:60px;width:100%;max-width:402px;background:#fff;padding:12px 14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;z-index:20}
.sticky-action small{display:block;color:var(--muted)}.sticky-action strong{color:var(--pink)}

body[data-page="nominal.html"] .aw-header,
body[data-page="konfirmasi.html"] .aw-header,
body[data-page="metode.html"] .aw-header,
body[data-page="pembayaran.html"] .aw-header,
body[data-page="nominal.html"] .bottom-nav,
body[data-page="konfirmasi.html"] .bottom-nav,
body[data-page="metode.html"] .bottom-nav,
body[data-page="pembayaran.html"] .bottom-nav{display:none}

@media (min-width:700px){
  .site-shell{max-width:1100px}
  .bottom-nav{max-width:1100px}
  .flow-bottom,.sticky-action{max-width:1100px}
}

/* Prevent previously unstyled legacy headers from rendering the original full-size image. */
.site-header{height:72px;display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #f1f1f1}
.site-header .brand{display:flex;align-items:center;flex:0 0 auto;width:30px;height:30px}
.site-header .brand img{display:block;width:30px;height:30px;max-width:30px;max-height:30px;object-fit:contain;background:transparent}
.site-header .header-title{font-size:14px;font-weight:700}
body[data-page="nominal.html"] .site-header,
body[data-page="konfirmasi.html"] .site-header,
body[data-page="metode.html"] .site-header,
body[data-page="pembayaran.html"] .site-header{display:none!important}
body[data-page="detail.html"] .aw-brand img{width:30px;height:30px;max-width:30px;max-height:30px;object-fit:contain}
body[data-page="detail.html"] .detail-container{margin:0 -14px}
body[data-page="detail.html"] .detail-cover{width:100%;height:240px;object-fit:cover}
body[data-page="detail.html"] .sticky-action{bottom:0}
body[data-page="detail.html"] .detail-content{padding-bottom:100px}
