  :root {
    --primary: #4ab0e2;
    --primary-dark: #2a90c2;
    --primary-light: #7fcbee;
    --primary-ultra: #e8f6fd;
    --gold: #f0a500;
    --gold-light: #ffd166;
    --dark: #0f2744;
    --dark-mid: #1a3a5c;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --bg: #f0f8fd;
    --card-bg: #ffffff;
    --border: #d4eaf7;
    --shadow: 0 8px 32px rgba(74,176,226,0.15);
    --shadow-lg: 0 20px 60px rgba(74,176,226,0.25);
    --radius: 16px;
    --radius-lg: 24px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Poppins', sans-serif;
    background: #d0e8f5;
    color: var(--text);
    overflow-x: hidden;
  }

  /* ====== DESKTOP WRAPPER ====== */
  .page-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 60px rgba(0,0,0,0.15);
  }

  /* ====== NAVBAR ====== */
  .navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 20px rgba(74,176,226,0.1);
  }
  .navbar-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .navbar-logo {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
    box-shadow: 0 4px 12px rgba(74,176,226,0.4);
  }
  .navbar-title {
    font-size: 13px; font-weight: 700; color: var(--dark);
    line-height: 1.3;
  }
  .navbar-title span { color: var(--primary); display: block; font-weight: 500; font-size: 11px; }
  .navbar-donate {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border: none; padding: 9px 18px;
    border-radius: 50px; font-size: 12px; font-weight: 600;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(74,176,226,0.4);
    transition: all 0.3s;
  }
  .navbar-donate:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(74,176,226,0.5); }

  /* ====== MAIN PAGE ====== */
  #main-page { min-height: 100vh; }
  #donate-page {
    display: none;
    min-height: 100vh;
    background: var(--bg);
    padding-top: 60px;
  }

  /* ====== SECTION 1: HERO SLIDER ====== */
  .hero {
    margin-top: 65px;
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--dark);
  }
  .hero-slider { position: relative; width: 100%; height: 100%; }
  .slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1.2s ease;
    background-size: cover; background-position: center;
  }
  .slide.active { opacity: 1; }
  .slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,39,68,0.3) 0%, rgba(15,39,68,0.7) 100%);
  }

  .slide-1 { background: linear-gradient(135deg, #0f2744 0%, #1a4a7a 50%, #4ab0e2 100%); }
  .slide-2 { background: linear-gradient(135deg, #1a3a5c 0%, #2a6090 50%, #7fcbee 100%); }
  .slide-3 { background: linear-gradient(135deg, #0d2235 0%, #4ab0e2 50%, #f0a500 100%); }

  /* Masjid SVG illustrations on slides */
  .slide-illustration {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 500px;
    opacity: 0.3;
  }

  .hero-logo-section {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    text-align: center; color: white; z-index: 10; width: 90%;
  }
  .hero-mosque-icon {
    font-size: 52px; margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(240,165,0,0.5));
    animation: float 3s ease-in-out infinite;
  }
  @keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .hero-title {
    font-size: 26px; font-weight: 800; line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 4px;
  }
  .hero-subtitle {
    font-size: 14px; font-weight: 400; opacity: 0.9;
    margin-bottom: 16px; letter-spacing: 0.5px;
  }
  .hero-tagline {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px; border-radius: 50px;
    font-size: 12px; font-weight: 500;
    letter-spacing: 1px;
  }

  .slider-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
  }
  .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: all 0.3s;
  }
  .dot.active { background: white; width: 24px; border-radius: 4px; }

  .slider-arrows {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 100%; display: flex; justify-content: space-between;
    padding: 0 16px; z-index: 10; pointer-events: none;
  }
  .arrow-btn {
    pointer-events: all;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%; color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; transition: all 0.3s;
  }
  .arrow-btn:hover { background: rgba(255,255,255,0.35); }

  /* ====== SECTION 2: WAKAF CONTENT ====== */
  .section { padding: 40px 20px; }
  .section-header { text-align: center; margin-bottom: 28px; }
  .section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-ultra); color: var(--primary-dark);
    padding: 6px 16px; border-radius: 50px;
    font-size: 11px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 10px;
    border: 1px solid rgba(74,176,226,0.2);
  }
  .section-title {
    font-size: 22px; font-weight: 800; color: var(--dark);
    line-height: 1.3; margin-bottom: 8px;
  }
  .section-desc {
    font-size: 13px; color: var(--text-light); line-height: 1.7;
  }

  .wakaf-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .wakaf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

  .wakaf-image {
    width: 100%; height: 220px; object-fit: cover;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex; align-items: center; justify-content: center;
    font-size: 80px; color: rgba(255,255,255,0.3);
    position: relative; overflow: hidden;
  }
  .wakaf-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,39,68,0.8) 0%, transparent 60%);
  }
  .wakaf-image-tag {
    position: absolute; top: 14px; left: 14px;
    background: var(--gold); color: white;
    padding: 4px 12px; border-radius: 50px;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; gap: 5px;
  }
  .wakaf-image-title {
    position: absolute; bottom: 14px; left: 14px; right: 14px;
    color: white; font-size: 15px; font-weight: 700;
  }

  .wakaf-body { padding: 20px; }
  .wakaf-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 18px;
  }
  .stat-item {
    background: var(--primary-ultra);
    border-radius: var(--radius);
    padding: 14px;
    border: 1px solid rgba(74,176,226,0.2);
  }
  .stat-label {
    font-size: 11px; color: var(--text-light); font-weight: 500; margin-bottom: 4px;
    display: flex; align-items: center; gap: 5px;
  }
  .stat-label i { color: var(--primary); }
  .stat-value { font-size: 16px; font-weight: 800; color: var(--dark); }
  .stat-value.highlight { color: var(--primary-dark); }

  .progress-section { margin-bottom: 18px; }
  .progress-header {
    display: flex; justify-content: space-between;
    font-size: 12px; margin-bottom: 8px;
  }
  .progress-label { font-weight: 600; color: var(--dark); }
  .progress-pct { font-weight: 700; color: var(--primary-dark); }
  .progress-bar {
    height: 10px; background: var(--border);
    border-radius: 50px; overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 50px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
    position: relative;
  }
  .progress-fill::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.4) 60%, transparent 80%);
    animation: shimmer 2s infinite;
  }
  @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

  .progress-meta {
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--text-light); margin-top: 6px;
  }

  .donate-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border: none; padding: 16px;
    border-radius: var(--radius); font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 25px rgba(74,176,226,0.4);
    transition: all 0.3s; letter-spacing: 0.3px;
  }
  .donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74,176,226,0.5);
  }
  .donate-btn:active { transform: translateY(0); }

  /* ====== SECTION 3: GALLERY ====== */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
 .gallery-item {
    border-radius: 12px; 
    overflow: hidden;
    position: relative; /* WAJIB: Biar gambar absolute nempel di sini */
    aspect-ratio: 1 / 1; /* MEMAKSA kotak jadi persegi */
    cursor: pointer;
    transition: transform 0.3s;
    background: var(--primary-dark);
  }
  .gallery-img-db {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* MEMAKSA gambar setinggi kotak */
    object-fit: cover; /* MEMOTONG bagian sisa biar tetep proporsional (1:1) */
    z-index: 1;
  }
  .gallery-item:first-child {
    grid-column: span 2; 
    grid-row: span 2;
    /* JANGAN pakai aspect-ratio: auto; */
    aspect-ratio: 1 / 1; /* Tetap 1:1 tapi skalanya lebih gede (2x2) */
  }
  .gallery-item:hover { transform: scale(0.97); }
  .gallery-item .gallery-icon {
    font-size: 32px; color: rgba(255,255,255,0.4);
  }
  .gallery-item:first-child .gallery-icon { font-size: 50px; }
  .gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(15,39,68,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
    color: white; font-size: 22px;
  }
  .gallery-item:hover .gallery-overlay { opacity: 1; }

  /* Gallery colors */
  .gi-1 { background: linear-gradient(135deg, #0f2744, #4ab0e2); }
  .gi-2 { background: linear-gradient(135deg, #1a4a7a, #7fcbee); }
  .gi-3 { background: linear-gradient(135deg, #2a6090, #4ab0e2); }
  .gi-4 { background: linear-gradient(135deg, #0d2235, #3a9fd4); }
  .gi-5 { background: linear-gradient(135deg, #1a3a5c, #5bbde8); }
  .gi-6 { background: linear-gradient(135deg, #0f2744, #2a90c2); }

  .gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,39,68,0.8), transparent);
    color: white; padding: 14px 10px 8px;
    font-size: 11px; font-weight: 500;
  }

  /* ====== SECTION 4: VIDEO ====== */
  .video-section { background: var(--dark); padding: 40px 20px; }
  .video-section .section-title { color: white; }
  .video-section .section-desc { color: rgba(255,255,255,0.6); }
  .video-section .section-badge { background: rgba(74,176,226,0.2); color: var(--primary-light); }
  .video-wrapper {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    background: #000;
    border: 2px solid rgba(74,176,226,0.3);
  }
  .video-wrapper iframe {
    width: 100%; height: 100%; border: none;
  }

  /* ====== SECTION 5: TABS ====== */
  .tabs-nav {
    display: flex; gap: 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn {
    flex: 1; min-width: 90px;
    padding: 10px 8px;
    border: none; background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 11px; font-weight: 600; color: var(--text-light);
    cursor: pointer; border-radius: 10px;
    transition: all 0.3s; white-space: nowrap;
    display: flex; align-items: center; justify-content: center; gap: 5px;
  }
  .tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(74,176,226,0.35);
  }

  .tab-panel { display: none; }
  .tab-panel.active { display: block; animation: fadeIn 0.4s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

  .desc-content {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    font-size: 13px; line-height: 1.8; color: var(--text);
  }
  .desc-content h4 { color: var(--dark); font-size: 15px; margin-bottom: 10px; margin-top: 16px; }
  .desc-content h4:first-child { margin-top: 0; }
  .desc-content ul { padding-left: 20px; }
  .desc-content li { margin-bottom: 6px; }

  .progress-timeline { display: flex; flex-direction: column; gap: 0; }
  .timeline-item {
    display: flex; gap: 16px; padding-bottom: 24px;
    position: relative;
  }
  .timeline-item:not(:last-child)::after {
    content: ''; position: absolute;
    left: 19px; top: 40px; bottom: 0;
    width: 2px; background: var(--border);
  }
  .timeline-dot {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: white;
    position: relative; z-index: 1;
  }
  .td-done { background: linear-gradient(135deg, #27ae60, #2ecc71); }
  .td-progress { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
  .td-plan { background: linear-gradient(135deg, #95a5a6, #bdc3c7); }
  .timeline-content {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 14px 16px; flex: 1;
    box-shadow: var(--shadow); border: 1px solid var(--border);
  }
  .timeline-title { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
  .timeline-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }
  .timeline-badge {
    display: inline-block; padding: 2px 10px;
    border-radius: 50px; font-size: 10px; font-weight: 600;
    margin-top: 6px;
  }
  .badge-done { background: #e8f8f0; color: #27ae60; }
  .badge-progress { background: var(--primary-ultra); color: var(--primary-dark); }
  .badge-plan { background: #f4f5f7; color: #636e72; }

  .testimonials { display: flex; flex-direction: column; gap: 14px; }
  .testimonial-card {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    animation: fadeIn 0.5s ease;
  }
  .testi-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
  .testi-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 15px;
    flex-shrink: 0;
  }
  .testi-name { font-size: 13px; font-weight: 700; color: var(--dark); }
  .testi-nominal { font-size: 11px; color: var(--primary-dark); font-weight: 600; }
  .testi-date { font-size: 10px; color: var(--text-light); }
  .testi-msg { font-size: 13px; color: var(--text); line-height: 1.7; font-style: italic; }
  .testi-stars { color: var(--gold); font-size: 12px; margin-top: 8px; }

  /* ====== SECTION 6: CTA ====== */
  .cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #1a4a7a 100%);
    padding: 50px 20px;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(74,176,226,0.2) 0%, transparent 70%);
  }
.cta-section::after {
    content: '\f678';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: -20px; bottom: -30px;
    font-size: 180px; color: rgba(74,176,226,0.05);
    line-height: 1;
    pointer-events: none; 
    z-index: 0;
}
  .cta-title {
    font-size: 24px; font-weight: 800; color: white;
    line-height: 1.3; margin-bottom: 10px;
    position: relative;
  }
  .cta-title span { color: var(--gold); }
  .cta-desc {
    font-size: 13px; color: rgba(255,255,255,0.7);
    line-height: 1.7; margin-bottom: 28px; position: relative;
  }
  .cta-ayat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 16px; margin-bottom: 28px;
    position: relative;
  }
  .cta-ayat p { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.8; font-style: italic; }
  .cta-ayat span { font-size: 11px; color: var(--primary-light); font-weight: 600; }
  .cta-buttons {
      position: relative; /* Penting Boss! */
      display: flex;
      gap: 10px;
      width: 100%;
      margin-top: 20px;
  }
  .btn-donate-cta {
    background: linear-gradient(135deg, var(--gold), #e09000);
    color: white; border: none; padding: 18px;
    border-radius: var(--radius); font-size: 16px; font-weight: 700;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 30px rgba(240,165,0,0.4);
    transition: all 0.3s;
  }
  .btn-donate-cta:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(240,165,0,0.5); }
  .btn-share {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white; border: 1px solid rgba(255,255,255,0.2);
    padding: 16px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s;
  }
  .btn-share:hover { background: rgba(255,255,255,0.2); }

  /* Share options */
/* Container Share Options - Sekarang diletakkan di bawah */
.share-options {
    display: none; /* Sembunyi dulu */
    
    /* Ubah ke relative supaya dia makan tempat di bawah tombol, bukan numpuk */
    position: relative; 
    margin-top: 15px; /* Kasih jarak dari tombol atasnya */
    
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 15px;
    width: 100%;
    
    /* Layout tombol share di dalamnya */
    flex-wrap: wrap; 
    gap: 10px;
    justify-content: center;
    z-index: 5;
}

/* Munculkan dengan Flex saat diklik */
.share-options.show {
    display: flex !important;
}

/* Perbaikan area klik tombol share di dalamnya */
.share-opt {
    flex: 1 1 calc(50% - 10px); /* Bagi dua kolom */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.share-opt:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Bersihin child elements biar gak nyolong klik */
.share-opt * {
    pointer-events: none;
}

  /* ====== DONATE PAGE ====== */
  .dp-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 4px 20px rgba(74,176,226,0.3);
  }
  .dp-back {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 50%;
    color: white; font-size: 16px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
  }
  .dp-back:hover { background: rgba(255,255,255,0.3); }
  .dp-header-title { color: white; font-size: 15px; font-weight: 700; }
  .dp-header-sub { color: rgba(255,255,255,0.75); font-size: 11px; }

  .dp-content { padding: 20px; max-width: 600px; margin: 0 auto; }

  .dp-masjid-img {
    width: 100%; height: 180px;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 70px; color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow);
  }
  .dp-masjid-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(15,39,68,0.6), rgba(74,176,226,0.3));
  }
  .dp-masjid-text {
    position: absolute; bottom: 14px; left: 14px;
    color: white;
  }
  .dp-masjid-text h3 { font-size: 14px; font-weight: 700; }
  .dp-masjid-text p { font-size: 11px; opacity: 0.8; }

  .form-group { margin-bottom: 18px; }
  .form-label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--dark); margin-bottom: 8px;
  }
  .form-label i { color: var(--primary); margin-right: 5px; }
  .form-input {
    width: 100%; padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius); font-size: 14px;
    font-family: 'Poppins', sans-serif; color: var(--text);
    background: white; outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(74,176,226,0.1);
  }
  textarea.form-input { resize: vertical; min-height: 90px; }

  .nominal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; margin-bottom: 12px;
  }
  .nominal-chip {
    padding: 10px 6px; border-radius: 10px;
    border: 2px solid var(--border);
    background: white; cursor: pointer;
    text-align: center; font-family: 'Poppins', sans-serif;
    font-size: 11px; font-weight: 600; color: var(--text-light);
    transition: all 0.3s;
  }
  .nominal-chip:hover, .nominal-chip.selected {
    border-color: var(--primary);
    background: var(--primary-ultra);
    color: var(--primary-dark);
  }

  .payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .payment-option {
    border: 2px solid var(--border); border-radius: var(--radius);
    padding: 14px 12px; cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    background: white; transition: all 0.3s;
  }
  .payment-option:hover, .payment-option.selected {
    border-color: var(--primary); background: var(--primary-ultra);
  }
  .payment-option.selected .pay-check { display: flex; }
  .pay-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
  }
  .pay-name { font-size: 12px; font-weight: 700; color: var(--dark); }
  .pay-sub { font-size: 10px; color: var(--text-light); }
  .pay-check {
    margin-left: auto; width: 20px; height: 20px;
    background: var(--primary); border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    color: white; font-size: 10px;
  }

  .pi-transfer { background: #fff3e0; color: #f57c00; }
  .pi-gopay { background: #e8f5e9; color: #2e7d32; }
  .pi-ovo { background: #f3e5f5; color: #7b1fa2; }
  .pi-dana { background: #e3f2fd; color: #1565c0; }
  .pi-bri { background: #fff8e1; color: #f9a825; }
  .pi-bni { background: #e8eaf6; color: #3949ab; }

  .hide-name-toggle {
    display: flex; align-items: center; gap: 12px;
    background: var(--primary-ultra); border-radius: var(--radius);
    padding: 12px 16px; margin-bottom: 8px;
    border: 1px solid rgba(74,176,226,0.2);
  }
  .toggle-switch {
    position: relative; width: 44px; height: 24px; flex-shrink: 0;
  }
  .toggle-switch input { opacity: 0; width: 0; height: 0; }
  .toggle-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: #ccc; border-radius: 50px; transition: 0.3s;
  }
  .toggle-slider::before {
    content: ''; position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: white; border-radius: 50%; transition: 0.3s;
  }
  input:checked + .toggle-slider { background: var(--primary); }
  input:checked + .toggle-slider::before { transform: translateX(20px); }
  .toggle-label { font-size: 12px; font-weight: 600; color: var(--dark); }
  .toggle-sub { font-size: 11px; color: var(--text-light); }

  .btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), #e09000);
    color: white; border: none; padding: 18px;
    border-radius: var(--radius); font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 30px rgba(240,165,0,0.4);
    transition: all 0.3s; margin-top: 24px;
  }
  .btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(240,165,0,0.5); }
  .btn-submit-nominal { font-size: 12px; opacity: 0.85; margin-left: 8px; }

  /* ====== SUCCESS MODAL ====== */
  .modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(15,39,68,0.8); z-index: 9999;
    align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
    padding: 20px;
  }
  .modal-overlay.show { display: flex; animation: fadeIn 0.3s ease; }
  .modal-box {
    background: white; border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center;
    max-width: 340px; width: 100%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
  }
  @keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  .modal-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 32px; color: white;
    box-shadow: 0 8px 25px rgba(39,174,96,0.4);
  }
  .modal-title { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
  .modal-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
  .modal-close {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border: none; padding: 14px 32px;
    border-radius: 50px; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(74,176,226,0.4);
    transition: all 0.3s;
  }
  .modal-close:hover { transform: translateY(-2px); }

  /* ====== TOAST ====== */
  .toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--dark); color: white;
    padding: 12px 24px; border-radius: 50px;
    font-size: 13px; font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9998; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; gap: 8px;
  }
  .toast.show { transform: translateX(-50%) translateY(0); }

  /* ====== FOOTER ====== */
  .footer {
    background: var(--dark);
    padding: 30px 20px;
    text-align: center;
  }
  .footer-logo { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
  .footer-name { font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
  .footer-loc { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
  .footer-socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
  .footer-social {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(74,176,226,0.15); border: 1px solid rgba(74,176,226,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 15px; cursor: pointer;
    transition: all 0.3s;
  }
  .footer-social:hover { background: var(--primary); color: white; }
  .footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }

  /* ====== FLOATING DONATE BTN ====== */
  .floating-btn {
    position: fixed; bottom: 20px; right: calc(50% - 480px/2 + 20px);
    background: linear-gradient(135deg, var(--gold), #e09000);
    color: white; border: none;
    width: 58px; height: 58px; border-radius: 50%;
    font-size: 22px; cursor: pointer;
    box-shadow: 0 8px 30px rgba(240,165,0,0.5);
    z-index: 999; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    animation: pulse-gold 2s infinite;
  }
  
  @keyframes pulse-gold {
    0%,100% { box-shadow: 0 8px 30px rgba(240,165,0,0.5); }
    50% { box-shadow: 0 8px 40px rgba(240,165,0,0.8), 0 0 0 12px rgba(240,165,0,0.1); }
  }
  .floating-btn:hover { transform: scale(1.1); }

  /* Utils */
  .divider { height: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary)); opacity: 0.15; }

  @media (max-width: 480px) {
    .floating-btn { right: 20px; }
  }

  /* ====== RESPONSIVE ====== */
  @media (min-width: 480px) {
    .cta-buttons { flex-direction: row; }
    .btn-donate-cta, .btn-share { flex: 1; }
  }