/* ===== BASE ===== */
body{
    margin:0;
    font-family:system-ui, -apple-system, Arial, sans-serif;
    background: white;
    color:black;
    line-height:1.6;
}

/* ===== HEADER TITLE ===== */
h1{
    margin:0;
    padding:16px;
    background:#111827;
    color:#38bdf8;
    text-align:center;
    font-size:20px;
    font-weight:700;
}

/* ===== CONTENT WRAPPER ===== */
#content{
    max-width:900px;
    margin:0 auto;
    padding:16px;
}

/* ===== CARD ===== */
.card{
    background:#1f2937;
    padding:14px;
    border-radius:10px;
    margin-bottom:12px;
}

/* ===== LOADING ===== */
.loading{
    opacity:0.7;
}

/* ===== NAVIGATION ===== */
.top-menu{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    padding:10px;
    margin:10px auto;
    max-width:900px;
    background:#111827;
    border:1px solid #1f2937;
    border-radius:10px;
}

.top-menu a{
    color:#e5e7eb;
    text-decoration:none;
    padding:8px 14px;
    font-size:14px;
    font-weight:600;
    border-radius:6px;
}

/* hover ringan (tanpa shadow / animasi berat) */
.top-menu a:hover{
    background:#1f2937;
}

/* active state */
.top-menu a.active{
    background:#38bdf8;
    color:#0b1220;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width:600px){
    h1{
        font-size:18px;
        padding:14px;
    }

    .top-menu{
        gap:6px;
        padding:8px;
    }

    .top-menu a{
        font-size:13px;
        padding:7px 10px;
    }
}

/* ===== FOOTER ===== */
.site-footer{
    background:#0f172a;
    margin-top:30px;
    padding:30px 15px;
    border-top:1px solid #1f2937;
}

.footer-container{
    max-width:900px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:25px;
}

/* title */
.site-footer h2,
.site-footer h3{
    color:#38bdf8;
    margin-bottom:10px;
    font-size:16px;
}

/* text */
.site-footer p{
    font-size:14px;
    color:#cbd5e1;
    line-height:1.6;
}

/* ===== LINK FIX (INI YANG PENTING) ===== */
.site-footer a{
    display:block;
    color:#f1f5f9;
    text-decoration:none;
    margin:6px 0;
    font-size:14px;
    padding:6px 8px;
    border-radius:6px;
    transition:0.2s;
    background:transparent;
    border:1px solid transparent;
}

/* hover lebih jelas (tidak bentrok background) */
.site-footer a:hover{
    background:#1e293b;
    color:#38bdf8;
    border:1px solid #38bdf8;
    transform:translateX(3px);
}

/* active state optional */
.site-footer a:active{
    transform:scale(0.98);
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .site-footer a{
        display:inline-block;
        width:100%;
    }
}