:root {
    --bg-body: #050505;
    --bg-card: #0f0f0f;
    --border-color: #262626;
    --accent-glow: rgba(255, 255, 255, 0.1);
}

.no-underline {
    text-decoration: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: #ffffff;
    line-height: 1.7; /* Line height longgar untuk keterbacaan */
}

/* Navbar Customization */
.navbar {
    background-color: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #a3a3a3 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px 0;
}

.hero-title {
    font-weight: 800;
    letter-spacing: -1px;
    background: -webkit-linear-gradient(#fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Input & Button */
.form-control-custom {
    background-color: #1a1a1a;
    border: 1px solid var(--border-color);
    color: white;
    padding: 12px 20px;
}

.form-control-custom:focus {
    background-color: #1a1a1a;
    color: white;
    border-color: #555;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-subscribe {
    background-color: white;
    color: black;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
}

.btn-subscribe:hover {
    background-color: #e0e0e0;
    color: black;
}

/* Card Customization */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.badge-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border: 1px solid #444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Utility */
.text-gray { color: #888; }
.divider { border-top: 1px solid var(--border-color); }

/* Article Typography */
.article-content {
    font-size: 1.1rem;
}

.article-content h2 {
    color: white;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Code Block Styling (Untuk konten teknis) */
pre {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

pre::before {
    content: "PYTHON"; /* Label bahasa */
    position: absolute;
    top: 0;
    right: 0;
    background: #333;
    color: #aaa;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-bottom-left-radius: 8px;
    font-weight: bold;
}

code {
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
}

/* Elements */
.badge-category {
    background-color: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Newsletter Box in Article */
.cta-box {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Breadcrumb */
.breadcrumb-item a {
    color: #888;
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #fff;
}