:root {
    --bg-body: #f4f7f6;
    --card-bg: #ffffff;
    --primary-green: #10b981;
    --dark-green: #065f46;
    --text-main: #1f2937;
    --text-muted: #6b7280;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin-bottom: 90px;
}

.main-content { padding: 15px; }

.header-dash {
    background: var(--card-bg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-bottom: 1px solid #eaeaea;
}
.header-dash .brand { display: flex; align-items: center; }
.header-dash img { height: 40px; border-radius: 8px; margin-right: 12px; }
.header-dash h1 { font-size: 1.1rem; font-weight: 800; margin: 0; color: var(--text-main); }
.header-dash p { font-size: 0.7rem; color: var(--primary-green); margin: 0; font-weight: 600; }

.profile-icon {
    width: 35px; height: 35px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-green);
}

.dash-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.welcome-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../../image/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    padding: 35px 25px;
    color: white;
    margin-bottom: 20px;
}
.welcome-banner h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-box {
    background: var(--card-bg); border-radius: 18px; padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); border: 1px solid #f0f0f0;
    text-align: center;
}
.stat-box h4 { font-size: 1.3rem; font-weight: 800; margin: 0; color: var(--dark-green); }
.stat-box p { font-size: 0.7rem; color: var(--text-muted); margin: 0; font-weight: 600; text-transform: uppercase; }

.section-title { font-size: 0.95rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.section-title a { font-size: 0.75rem; color: var(--primary-green); text-decoration: none; font-weight: 600; }

.gallery-container { overflow: hidden; width: 100%; padding: 10px 0 20px 0; }
.gallery-track { display: flex; width: max-content; animation: scrollLeft 25s linear infinite; }
.gallery-track:hover { animation-play-state: paused; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.gallery-item-card {
    position: relative;
    width: 240px;
    flex-shrink: 0;
    margin: 10px;
    background: #ffffff;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}
.gallery-frame { width: 100%; height: 280px; overflow: hidden; border-radius: 15px; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; }

.btn-green {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 15px;
    font-weight: 700;
    width: 100%;
}

.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--card-bg); height: 75px;
    display: flex; justify-content: space-around; align-items: center;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.05); z-index: 2000;
    padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
    text-align: center; text-decoration: none; color: #a1a1aa;
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.65rem; font-weight: 600; transition: 0.3s;
    width: 60px;
}
.nav-item i { font-size: 1.4rem; margin-bottom: 4px; }
.nav-item.active { color: var(--primary-green); }
.nav-item.active i { text-shadow: 0 0 15px rgba(16, 185, 129, 0.6); transform: translateY(-3px) scale(1.1); }

.sosmed-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
}
.bg-tiktok { background-color: #000; }
.bg-instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.bg-facebook { background-color: #1877F2; }
.bg-threads { background-color: #000; border: 1px solid #444; }
