/* --- 1. Root Variables & Reset --- */
:root { 
    --gold: #D4AF37; 
    --dark: #0a0a0a; 
    --card: #151515; 
    --white: #ffffff; 
    --soft-white: #f4e4bc;
}

/* Tambahan untuk Best Practices: Definisi font dasar */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--dark); 
    color: var(--white); 
    line-height: 1.6; 
    overflow-x: hidden;
    /* Memastikan teks terlihat jelas saat loading */
    text-rendering: optimizeLegibility;
}

/* --- 2. Navigation --- */
nav { 
    background: #000; border-bottom: 2px solid var(--gold); 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 10px 5%; position: sticky; top: 0; z-index: 1000; height: 70px; 
}
.logo img { height: 45px; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: var(--gold); text-decoration: none; font-weight: bold; font-size: 13px; transition: 0.3s; }
.nav-links a:hover { color: #fff; text-shadow: 0 0 5px var(--gold); }

@media screen and (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: #000; padding: 20px; border-bottom: 2px solid var(--gold); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .menu-toggle span { width: 25px; height: 3px; background: var(--gold); border-radius: 5px; }
}

/* --- 3. Layout & Banner --- */
.container { max-width: 1100px; margin: auto; padding: 20px; }

.hero-data-hk {
    width: 100%;
    margin: 20px 0;
    padding: 40px 20px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    background: linear-gradient(145deg, #000, #111);
    text-align: center;
}

/* Perbaikan Deprecated API: Definisi font-size H1 secara eksplisit */
.hero-data-hk h1 { 
    color: #fff; 
    display: block;
    font-size: 2.5rem; 
    font-size: clamp(1.8rem, 5vw, 2.5rem); 
    text-transform: uppercase; 
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(212, 175, 55, 0.3);
    line-height: 1.2;
}

.hero-data-hk p { color: var(--gold); font-size: 1rem; margin-bottom: 20px; }

/* --- 4. Table & Content --- */
.table-wrapper { overflow-x: auto; margin: 30px 0; border: 1px solid #333; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--card); text-align: center; }

/* Definisi eksplisit untuk Table Header */
table th { 
    background: #222; 
    color: var(--gold); 
    border: 1px solid #333; 
    padding: 15px; 
    text-transform: uppercase; 
    font-size: 14px; 
}

table td { 
    padding: 12px; 
    border: 1px solid #222; 
    font-family: 'Roboto Mono', monospace; 
    font-size: 15px; 
}

/* Styling artikel agar SEO Friendly & Readable */
.article-gendut { 
    background: var(--card); padding: 30px; border-radius: 10px; 
    margin-top: 30px; border-left: 5px solid var(--gold);
}
.article-gendut h2, .article-gendut h3 { color: var(--gold); margin: 25px 0 15px 0; font-size: 1.5rem; }
.article-gendut p { margin-bottom: 15px; color: #ccc; text-align: justify; font-size: 1rem; }

.anchor-box { background: #111; padding: 15px; border-radius: 8px; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.anchor-box a { color: var(--gold); text-decoration: none; font-size: 12px; border: 1px solid #444; padding: 8px 15px; border-radius: 5px; transition: 0.3s; }
.anchor-box a:hover { background: var(--gold); color: #000; }

@media screen and (max-width: 768px) {
    .hero-data-hk h1 { font-size: 1.8rem; }
    .hero-data-hk p { font-size: 0.9rem; }
    .article-gendut { padding: 20px; }
}