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

body {
    margin: 0; padding: 0; 
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background: #f1f5f9; min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; 
    padding-bottom: 100px; -webkit-font-smoothing: antialiased; color: #0f172a;
    transition: background 0.4s ease, color 0.4s ease;
}

.container { width: 100%; max-width: 500px; padding: 20px 15px; box-sizing: border-box; overflow-x: hidden;}

@media (min-width: 768px) {
    .container { max-width: 800px; padding: 40px 30px; }
    .info-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .galeri-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; } 
    .emergency-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .quick-menu-grid { grid-template-columns: repeat(5, 1fr) !important; }
}

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #f8fafc; z-index: 99999;
    display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-logo { width: 80px; height: auto; animation: pulseLoader 1.2s infinite alternate; filter: drop-shadow(0 10px 25px rgba(59, 130, 246, 0.2)); }
@keyframes pulseLoader { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.1); opacity: 1; } }

/* ========================================================= */
/* PERBAIKAN Z-INDEX AGAR TOMBOL TIDAK TERTUTUP ELEMEN LAIN  */
/* ========================================================= */
.birthday-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; opacity: 0; transition: opacity 0.4s ease;
    z-index: 999999 !important; /* Dipaksa ke depan */
}
.birthday-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    width: 100%; max-width: 420px; border-radius: 32px; text-align: center;
    padding: 45px 30px 40px 30px; box-shadow: 0 30px 60px rgba(245, 158, 11, 0.25); border: 2px solid rgba(253, 230, 138, 0.8);
    transform: scale(0.8); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative !important;
    z-index: 9999999 !important;
    pointer-events: auto !important;
    max-height: 85vh; /* Jika layar kecil, bisa di scroll */
    overflow-y: auto;
}
.birthday-modal-overlay.show { opacity: 1; }
.birthday-modal-overlay.show .birthday-modal-content { transform: scale(1); }
.birthday-modal-content .btn-baca {
    position: relative !important;
    z-index: 99999999 !important;
    cursor: pointer !important;
}

.birthday-icon-large { 
    background: #fef3c7; width: 80px; height: 80px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto;
    font-size: 40px; color: #d97706; animation: float 3s ease-in-out infinite; box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.ripple-target { position: relative; overflow: hidden; cursor: pointer; }
.ripple-effect {
    position: absolute; border-radius: 50%; transform: scale(0);
    animation: ripple-anim 0.6s linear; background-color: rgba(0, 0, 0, 0.08); pointer-events: none; z-index: 10;
}
.ripple-light .ripple-effect { background-color: rgba(255, 255, 255, 0.4); }
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; margin-top: 10px; gap: 10px; transition: 0.4s ease;}
.header-text { display: flex; flex-direction: column; gap: 4px; }
.greeting { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 12px; font-weight: 600; transition: 0.4s ease;}
.greeting i { font-size: 16px; color: #f59e0b; }
.title-rt { font-size: 22px; font-weight: 900; margin: 0; line-height: 1.2; background: linear-gradient(135deg, #0f172a 0%, #334155 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.5px; transition: 0.4s ease;}
.header-right { display: flex; align-items: center; gap: 8px; justify-content: flex-end;}

.btn-dark-mode {
    background: white; color: #0f172a; padding: 0; border-radius: 50px; 
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; cursor: pointer; transition: 0.3s; flex-shrink: 0;
}
.btn-dark-mode i { font-size: 16px; color: #64748b; }
.btn-visitor {
    background: white; color: #0f172a; padding: 6px 12px; border-radius: 50px; 
    font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 5px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; cursor: default; transition: 0.4s ease;
}
.btn-visitor i { color: #3b82f6; font-size: 14px; }
.btn-login-header {
    background: #eff6ff; color: #3b82f6; padding: 6px 12px; border-radius: 50px; 
    text-decoration: none; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 5px; 
    border: 1px solid #bfdbfe; transition: 0.3s;
}
.btn-login-header:hover { background: #3b82f6; color: white; }
.header-icon { width: 45px; height: 45px; border-radius: 12px; background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; padding: 6px; flex-shrink: 0; box-sizing: border-box; border: 1px solid #f1f5f9; transition: 0.4s ease;}
.header-icon img { width: 100%; height: 100%; object-fit: contain; }

.ticker-darurat {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; width: 100%;
    display: flex; align-items: center; overflow: hidden; box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3); border: 2px solid #fca5a5; box-sizing: border-box;
}
.ticker-darurat-title {
    font-weight: 900; font-size: 10px; text-transform: uppercase; background: #fff; color: #dc2626; 
    padding: 4px 10px; border-radius: 50px; margin-right: 12px; white-space: nowrap; z-index: 2; 
    display: flex; align-items: center; gap: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); animation: blinkWarning 1.5s infinite alternate;
}
@keyframes blinkWarning { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0.9; transform: scale(0.95); background: #fee2e2; } }
.ticker-darurat-move { 
    display: inline-block; white-space: nowrap; padding-left: 100%; 
    animation-name: tickerFast; animation-timing-function: linear; animation-iteration-count: infinite;
    font-size: 13px; font-weight: 700; color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); 
}
.ticker-darurat-move:hover { animation-play-state: paused; }
@keyframes tickerFast { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

.ticker-wrap {
    background: white; border-radius: 12px; padding: 6px; margin-bottom: 25px; width: 100%;
    display: flex; align-items: center; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); border: 1px solid #e2e8f0; box-sizing: border-box; transition: 0.4s ease;
}
.ticker-title {
    font-weight: 800; font-size: 10px; text-transform: uppercase; background: #1e293b; color: #fff; 
    padding: 4px 12px; border-radius: 50px; margin-right: 12px; white-space: nowrap; z-index: 2; display: flex; align-items: center; gap: 6px;
}
.pulse-dot { width: 6px; height: 6px; background: #3b82f6; border-radius: 50%; animation: pulse 1.5s infinite; }
.ticker-viewport { flex: 1; overflow: hidden; }
.ticker-move { display: inline-block; white-space: nowrap; padding-left: 100%; animation: ticker 35s linear infinite; font-size: 12.5px; font-weight: 600; color: #475569; transition: 0.4s ease;}
.ticker-move:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

.widget-cuaca {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px; padding: 20px; margin-bottom: 25px; width: 100%;
    display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid rgba(226, 232, 240, 0.8); position: relative; overflow: hidden; box-sizing: border-box; transition: 0.4s ease;
}
.widget-cuaca::before { content: ''; position: absolute; right: -20px; top: -30px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.cuaca-kiri { display: flex; align-items: center; gap: 15px; position: relative; z-index: 2;}
.ikon-cuaca { font-size: 42px; color: #f59e0b; filter: drop-shadow(0 4px 6px rgba(245, 158, 11, 0.3)); transition: 0.5s; }
.suhu-angka { font-size: 28px; font-weight: 900; color: #0f172a; line-height: 1; margin: 0; letter-spacing: -1px; transition: 0.4s ease;}
.suhu-desc { font-size: 11px; color: #64748b; font-weight: 700; text-transform: uppercase; margin: 4px 0 0 0; transition: 0.4s ease;}

.aqi-box { text-align: right; position: relative; z-index: 2;}
.aqi-label { font-size: 9.5px; color: #64748b; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.5px; transition: 0.4s ease;}
.aqi-badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; }
.aqi-baik { background: #dcfce7; color: #059669; border: 1px solid #a7f3d0; }
.aqi-sedang { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.aqi-buruk { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }

/* ========================================================= */
/* PERBAIKAN Z-INDEX MENU LAYANAN  */
/* ========================================================= */
.quick-menu-container { 
    margin-bottom: 25px; 
    position: relative !important; 
    z-index: 50 !important; 
    padding-bottom: 15px !important; 
}
.quick-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
.quick-menu-item { 
    display: flex; flex-direction: column; align-items: center; 
    text-decoration: none; color: #334155; font-size: 10.5px; 
    font-weight: 700; text-align: center; gap: 8px; transition: 0.4s ease;
    position: relative !important;
    z-index: 51 !important;
}
.quick-menu-icon { width: 55px; height: 55px; border-radius: 18px; display: flex; justify-content: center; align-items: center; font-size: 26px; box-shadow: 0 8px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.quick-menu-item:hover .quick-menu-icon { transform: translateY(-3px) scale(1.05); }

.icon-surat { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); color: #4f46e5; }
.icon-tamu { background: linear-gradient(135deg, #dcfce7 0%, #a7f3d0 100%); color: #059669; }
.icon-iuran { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; }
.icon-lomba { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); color: #dc2626; position: relative;}
.icon-ronda { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: #fbbf24; position: relative; box-shadow: 0 8px 15px rgba(15,23,42,0.2) !important;}
.icon-umkm { background: linear-gradient(135deg, #f472b6 0%, #db2777 100%); color: white; position: relative; box-shadow: 0 8px 15px rgba(219, 39, 119, 0.25) !important;}
.badge-new { position: absolute; top: -5px; right: -5px; background: #dc2626; color: white; font-size: 8px; padding: 2px 6px; border-radius: 50px; border: 2px solid white; animation: pulseNew 2s infinite; }
@keyframes pulseNew { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ========================================================= */
/* PERBAIKAN Z-INDEX WIDGET KAS  */
/* ========================================================= */
.widget-kas {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-radius: 20px;
    padding: 20px; color: white; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2); overflow: hidden;
    position: relative !important; 
    z-index: 45 !important;
}
.widget-kas::before { content: ''; position: absolute; right: -20px; top: -30px; width: 120px; height: 120px; background: rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none; }
.kas-info h4 { margin: 0 0 4px 0; font-size: 12px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}
.live-indicator { display: flex; align-items: flex-end; gap: 3px; font-size: 10px; color: #10b981; font-weight: 800; margin-bottom: 6px; }
.live-indicator .bar { width: 4px; background: #10b981; border-radius: 2px; animation: bounceBar 1s infinite alternate ease-in-out; }
.live-indicator .bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.live-indicator .bar:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.live-indicator .bar:nth-child(3) { height: 10px; animation-delay: 0.4s; }
.live-indicator .bar:nth-child(4) { height: 12px; animation-delay: 0.6s; }
@keyframes bounceBar { from { height: 4px; } to { height: 16px; } }
.saldo-animasi { font-size: 16px; font-weight: 800; margin: 0; background: linear-gradient(270deg, #38bdf8, #818cf8, #34d399, #38bdf8); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientAnim 4s ease infinite; }
@keyframes gradientAnim { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.kas-btn { 
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 8px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 4px; backdrop-filter: blur(5px); transition: 0.3s; 
    position: relative !important; 
    z-index: 46 !important; 
    cursor: pointer !important;
}
.kas-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.birthday-card-inline { background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%); border-radius: 20px; padding: 15px 20px; margin-bottom: 30px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1); border: 1px solid rgba(253, 230, 138, 0.8); transition: 0.4s ease; }
.bday-icon-wrapper { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); width: 45px; height: 45px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; flex-shrink: 0; animation: bounceGift 2s infinite; }
.bday-text-content h3 { margin: 0 0 2px 0; color: #b45309; font-size: 14px; font-weight: 800; transition: 0.4s ease;}
.bday-text-content p { margin: 0; color: #78350f; font-size: 11.5px; line-height: 1.4; font-weight: 500; transition: 0.4s ease;}
.bday-text-content span { font-weight: 800; color: #92400e; background: #fef3c7; padding: 0 4px; border-radius: 4px; transition: 0.4s ease;}

.section-title { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 12px 0; display: flex; align-items: center; gap: 6px; width: 100%; transition: 0.4s ease;}
.swiper { width: 100%; height: 260px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); background: #1e293b; margin-bottom: 30px; overflow: hidden; position: relative;}
@media (min-width: 768px) { .swiper { height: 400px; } }
.swiper-slide { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; transition: transform 6s ease; z-index: 0; object-fit: cover;}
video.slide-bg { object-fit: cover; width: 100%; height: 100%; pointer-events: none;}
.swiper-slide-active .slide-bg { transform: scale(1.05); }
.slide-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%); z-index: 1; }
.slide-content { position: relative; z-index: 2; padding: 20px; color: white; }
.slide-title { margin: 0 0 4px 0; font-size: 15px; font-weight: 800; line-height: 1.3; text-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.slide-desc { margin: 0 0 12px 0; font-size: 11px; color: #cbd5e1; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-baca { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: white; border: 1px solid rgba(255, 255, 255, 0.5); padding: 8px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;}

.empty-state { background: white; border: 2px dashed #cbd5e1; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px; text-align: center; width: 100%; box-sizing: border-box; transition: 0.4s ease;}
.empty-state i { font-size: 40px; color: #cbd5e1; margin-bottom: 8px;}
.empty-state h4 { margin: 0 0 4px 0; color: #64748b; font-size: 14px; font-weight: 800; }
.empty-state p { margin: 0; color: #94a3b8; font-size: 12px; font-weight: 500; }

.info-section { margin-bottom: 35px; width: 100%; }
.info-list { display: flex; flex-direction: column; gap: 12px; width: 100%;}
.info-card { background: white; border-radius: 16px; padding: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); display: flex; gap: 12px; border: 1px solid #f8fafc; box-sizing: border-box; transition: 0.4s ease;}
.info-card-icon { width: 40px; height: 40px; border-radius: 12px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #3b82f6; flex-shrink: 0; transition: 0.4s ease;}
.info-card-text { flex: 1; }
.info-card-title { margin: 0 0 6px 0; font-size: 13.5px; color: #0f172a; font-weight: 800; line-height: 1.4; transition: 0.4s ease;}
.info-card-desc { margin: 0 0 10px 0; font-size: 11.5px; color: #64748b; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; transition: 0.4s ease;}

.countdown-container { display: flex; gap: 4px; margin-top: 8px; margin-bottom: 8px; }
.cd-box { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); color: white; padding: 5px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; min-width: 32px; box-shadow: 0 2px 6px rgba(239,68,68,0.2); transition: 0.4s ease;}
.cd-number { font-size: 13px; font-weight: 800; line-height: 1.2;}
.cd-label { font-size: 7.5px; font-weight: 700; text-transform: uppercase; opacity: 0.9;}
.cd-done { display: inline-flex; align-items: center; gap: 4px; background: #f8fafc; color: #94a3b8; padding: 4px 10px; border-radius: 50px; font-size: 10px; font-weight: 700; margin-top: 6px; margin-bottom: 8px; border: 1px dashed #cbd5e1; transition: 0.4s ease;}
.view-counter { font-size: 10px; color: #94a3b8; font-weight: 700; display: flex; align-items: center; gap: 4px;}

.galeri-section { margin-bottom: 35px; width: 100%; }
.galeri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.galeri-item { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); aspect-ratio: 1/1; background: #e2e8f0;}
.galeri-item img, .galeri-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

.aspirasi-section { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-radius: 24px; padding: 25px; margin-bottom: 30px; width: 100%; box-shadow: 0 15px 35px rgba(0,0,0,0.04); border: 1px solid rgba(226, 232, 240, 0.8); box-sizing: border-box; transition: 0.4s ease; }
.aspirasi-header { text-align: center; margin-bottom: 20px; }
.aspirasi-header .icon-wrap { width: 60px; height: 60px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #3b82f6; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 12px auto; box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15); }
.aspirasi-header h3 { margin: 0 0 6px 0; font-size: 18px; font-weight: 800; color: #1e293b; transition: 0.4s ease;}
.aspirasi-header p { margin: 0; font-size: 12px; color: #64748b; font-weight: 500; line-height: 1.5; transition: 0.4s ease;}
.form-group { margin-bottom: 15px; }
.form-label { display: block; font-size: 11.5px; font-weight: 800; color: #334155; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.4s ease;}
.form-control { width: 100%; padding: 14px 15px; border-radius: 14px; border: 1px solid #cbd5e1; background: #f8fafc; font-family: inherit; font-size: 13px; color: #0f172a; font-weight: 600; box-sizing: border-box; transition: 0.4s ease; }
.form-control:focus { background: white; border-color: #3b82f6; outline: none; box-shadow: 0 0 0 4px rgba(59,130,246,0.15); }
.form-control::placeholder { color: #94a3b8; font-weight: 500; }
textarea.form-control { resize: vertical; min-height: 90px; line-height: 1.5;}
.btn-kirim-wa { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; border: none; width: 100%; padding: 15px; border-radius: 14px; font-weight: 800; font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25); transition: 0.3s; margin-top: 5px; }
.btn-kirim-wa:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(37, 211, 102, 0.35); }

.emergency-section { background: white; border-radius: 20px; padding: 20px; margin-bottom: 30px; box-shadow: 0 10px 25px rgba(239, 68, 68, 0.05); border: 1px solid #fee2e2; width: 100%; box-sizing: border-box; transition: 0.4s ease;}
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-darurat { display: flex; align-items: center; justify-content: center; padding: 12px 10px; background: #fef2f2; border-radius: 12px; text-decoration: none; color: #991b1b; font-size: 12px; font-weight: 800; border: 1px solid #fecaca; gap: 8px; transition: 0.4s ease;}
.btn-darurat i { font-size: 20px; color: #ef4444; }

.footer-copyright { text-align: center; color: #94a3b8; font-size: 11px; font-weight: 600; line-height: 1.6; margin-bottom: 15px; width: 100%; transition: 0.4s ease;}

.bottom-nav-container { position: fixed; bottom: 15px; width: 100%; max-width: 500px; left: 50%; transform: translateX(-50%); z-index: 999; padding: 0 15px; box-sizing: border-box; }
.bottom-nav { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 24px; display: flex; justify-content: space-between; padding: 8px 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); transition: 0.4s ease;}
.nav-item { text-decoration: none; color: #64748b; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; font-size: 10px; font-weight: 700; transition: 0.3s; gap: 4px; position: relative;}
.nav-item i { font-size: 22px; transition: 0.3s;}
.nav-item.active { color: #3b82f6; }
.nav-item.active i { transform: translateY(-2px); color: #3b82f6;}
.nav-item.active::after { content: ''; position: absolute; bottom: -8px; width: 4px; height: 4px; background: #3b82f6; border-radius: 50%; }
.nav-fab { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; width: 48px; height: 48px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; transform: translateY(-20px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); border: 4px solid #f1f5f9; transition: 0.4s ease; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.85); z-index: 9999; backdrop-filter: blur(10px); justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; }
.modal-content { background: white; width: 100%; max-width: 500px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.3); animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1); max-height: 90vh; display: flex; flex-direction: column; position: relative; transition: 0.4s ease;}
@keyframes slideUp { from { transform: translateY(50px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-media-container { width: 100%; background: #000; position: relative; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.modal-img { width: 100%; max-height: 40vh; object-fit: contain; display: block; }
.modal-video { width: 100%; max-height: 40vh; object-fit: contain; display: none; }
.btn-close-float { position: absolute; top: 15px; right: 15px; background: rgba(0, 0, 0, 0.4); color: white; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(8px); z-index: 10; font-size: 16px; }
.modal-body { padding: 20px; overflow-y: auto; background: #fff; transition: 0.4s ease;}
.modal-body h2 { margin: 0 0 8px 0; color: #0f172a; font-size: 18px; font-weight: 800; transition: 0.4s ease;}
.modal-body p { color: #475569; line-height: 1.6; font-size: 13px; margin: 0 0 10px 0; white-space: pre-wrap; font-weight: 500; transition: 0.4s ease;}
.btn-share-wa { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; padding: 12px; border-radius: 12px; font-size: 13px; font-weight: 800; text-decoration: none; margin-top: 15px; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25); }

/* DARK MODE */
body.dark-mode { background: #0f172a; color: #f1f5f9; }
body.dark-mode #preloader { background: #0f172a; }
body.dark-mode .title-rt { background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.dark-mode .greeting { color: #94a3b8; }
body.dark-mode .btn-dark-mode, body.dark-mode .btn-visitor, body.dark-mode .header-icon { background: #1e293b; color: #f8fafc; border-color: #334155; }
body.dark-mode .btn-dark-mode i { color: #fcd34d; }
body.dark-mode .btn-visitor i { color: #38bdf8; }
body.dark-mode .ticker-wrap, body.dark-mode .widget-cuaca, body.dark-mode .info-card, body.dark-mode .empty-state, body.dark-mode .aspirasi-section, body.dark-mode .emergency-section { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
body.dark-mode .ticker-move, body.dark-mode .info-card-desc, body.dark-mode .aspirasi-header p, body.dark-mode .suhu-desc, body.dark-mode .aqi-label { color: #94a3b8; }
body.dark-mode .info-card-title, body.dark-mode .aspirasi-header h3, body.dark-mode .suhu-angka, body.dark-mode .section-title, body.dark-mode .empty-state h4 { color: #f8fafc; }
body.dark-mode .info-card-icon { background: #0f172a; }
body.dark-mode .quick-menu-item { color: #cbd5e1; }
body.dark-mode .quick-menu-icon { box-shadow: 0 8px 15px rgba(0,0,0,0.4); }
body.dark-mode .birthday-card-inline { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); border-color: #475569; }
body.dark-mode .birthday-card-inline h3 { color: #fcd34d; }
body.dark-mode .birthday-card-inline p { color: #cbd5e1; }
body.dark-mode .bday-text-content span { background: #475569; color: #fcd34d; }
body.dark-mode .cd-box { background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); }
body.dark-mode .cd-done { background: #0f172a; color: #94a3b8; border-color: #334155; }
body.dark-mode .form-label { color: #cbd5e1; }
body.dark-mode .form-control { background: #0f172a; border-color: #334155; color: #f8fafc; }
body.dark-mode .form-control:focus { border-color: #3b82f6; }
body.dark-mode .btn-darurat { background: #0f172a; border-color: #334155; color: #fca5a5; }
body.dark-mode .footer-copyright { color: #64748b; }
body.dark-mode .bottom-nav { background: rgba(30, 41, 59, 0.95); border-color: rgba(255, 255, 255, 0.1); }
body.dark-mode .nav-item { color: #94a3b8; }
body.dark-mode .nav-item.active { color: #38bdf8; }
body.dark-mode .nav-item.active i { color: #38bdf8; }
body.dark-mode .nav-item.active::after { background: #38bdf8; }
body.dark-mode .nav-fab { border-color: #0f172a; }
body.dark-mode .modal-content, body.dark-mode .modal-body { background: #1e293b; color: #f8fafc; }
body.dark-mode .modal-body h2 { color: #f8fafc; }
body.dark-mode .modal-body p { color: #cbd5e1; } ?> untuk file ini dan index sudah saya sispkan jika sudah oke saya update .... namun ada permsalahan lagi perhatikan
<?php 
// Panggil File Logika & Database
require_once 'logic_informasi.php'; 
?>
<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Portal Informasi RT 008</title>
    
    <!-- Pustaka Eksternal -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" />
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://code.jquery.com/jquery-3.7.0.min.js"></script>
    <script src="https://unpkg.com/@phosphor-icons/web"></script>
    <script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js"></script>

    <!-- Panggil File CSS Khusus -->
    <link rel="stylesheet" href="style_informasi.css"> di atas anda bilang ubah di bagian baris ke -16 menjadi <link rel="stylesheet" href="style_informasi.css?v=<?= time(); ?>"> file di atas ini adalah indek yang mana tidak saya lihat baris ke 16