* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #121212; color: #e0e0e0; }
.container { max-width: 900px; margin: 40px auto; padding: 20px; }
h1, h2 { color: #ff6900; margin-bottom: 20px; }
p { line-height: 1.6; margin-bottom: 15px; color: #b3b3b3; }

/* Navbar Global */
.navbar { display: flex; justify-content: space-between; align-items: center; background-color: #1f1f1f; padding: 15px 50px; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.navbar .logo { font-size: 24px; font-weight: bold; color: #ff6900; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links li a { color: #fff; text-decoration: none; font-size: 16px; padding: 8px 12px; border-radius: 4px; transition: 0.3s; }
.nav-links li a:hover, .nav-links li a.active { background-color: #ff6900; color: #121212; }

/* Tombol Global */
button, .btn-primary { padding: 12px 20px; background-color: #ff6900; color: #121212; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.3s; text-decoration: none; display: inline-block; }
button:hover, .btn-primary:hover { background-color: #e65c00; }

/* =========================================
   PENGATUR BAHASA (Lang Switcher)
   ========================================= */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #2a2a2a;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #444;
}

.lang-switch a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.lang-switch a:hover {
    color: #fff;
}

.lang-active {
    color: #ff6900 !important;
}

.lang-divider {
    color: #555;
    font-size: 12px;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. Perbaikan Navbar untuk Layar Sempit */
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
        position: relative;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* Pindahkan tombol ganti bahasa ke pojok kanan atas */
    .lang-switch {
        position: absolute;
        top: 15px;
        right: 20px;
        padding: 4px 10px;
    }

    /* 2. Perbaikan Ukuran Teks (Hero Section) di Home */
    .hero-title {
        font-size: 30px !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 15px !important;
    }

    /* 3. Perbaikan Tombol agar lebih mudah di-tap di HP */
    .hero-action {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        width: 100%; /* Tombol memanjang penuh di layar HP */
        text-align: center;
    }

    /* 4. Perbaikan Layout About & Donasi */
    .about-wrapper {
        grid-template-columns: 1fr; /* Mengubah 2 kolom menjadi 1 kolom ke bawah */
        gap: 20px;
    }

    .about-card {
        padding: 25px;
    }

    /* 5. Perbaikan Iklan Bawah agar tidak meluber */
    .ad-slot {
        min-width: 100%;
        width: 100%;
    }
}

/* Khusus untuk layar HP yang sangat kecil (di bawah 480px) */
@media screen and (max-width: 480px) {
    .nav-links li a {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .navbar .logo {
        font-size: 20px;
        margin-right: auto; /* Mendorong logo ke kiri */
    }
}