/* =========================================
   CSS KHUSUS ADE RADIA (MINIMALIST REPO)
   ========================================= */

/* 1. VARIABEL WARNA DARK MODE (Ala GitHub) */
:root {
    --t-bg: #0d1117;
    /* Background utama gelap */
    --t-surface: #161b22;
    /* Background card/navbar */
    --t-border: #30363d;
    /* Garis border tipis */
    --t-text: #c9d1d9;
    /* Teks utama */
    --t-text-muted: #8b949e;
    /* Teks redup */
    --t-accent: #58a6ff;
    /* Biru aksen (link/badge) */
}

body {
    background-color: var(--t-bg);
    color: var(--t-text);
    margin: 0;
}

.t2-container {
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.t2-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--t-surface);
    border-bottom: 1px solid var(--t-border);
}

.t2-nav-logo {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--t-text);
}

.t2-nav-logo i {
    font-size: 20px;
    color: var(--t-accent);
}

.t2-nav-menu {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--t-text-muted);
}

.t2-nav-menu span {
    cursor: pointer;
    transition: 0.2s;
}

.t2-nav-menu span:hover {
    color: var(--t-text);
}

.t2-nav-menu span.active {
    border-bottom: 2px solid var(--t-accent);
    padding-bottom: 13px;
    color: var(--t-accent);
}

.t2-layout {
    display: flex;
    gap: 30px;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.t2-sidebar {
    width: 25%;
    flex-shrink: 0;
}

.t2-avatar {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 2px solid var(--t-border);
    margin-bottom: 15px;
    background: url('https://i.pravatar.cc/300?img=11') center/cover;
}

.t2-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 5px 0;
    color: var(--t-text);
}

.t2-username {
    font-size: 20px;
    font-weight: 300;
    color: var(--t-text-muted);
    margin-bottom: 15px;
    margin-top: 0;
}

.t2-bio {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--t-text);
}

.t2-btn-follow {
    width: 100%;
    padding: 8px;
    background: var(--t-border);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--t-text);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.2s;
}

.t2-btn-follow:hover {
    background: #3b434b;
}

.t2-details div {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--t-text-muted);
}

.t2-main {
    flex: 1;
    min-width: 0;
}

.t2-readme {
    border: 1px solid var(--t-border);
    border-radius: 8px;
    margin-bottom: 30px;
    background: var(--t-bg);
}

.t2-readme-header {
    padding: 12px 20px;
    background: var(--t-surface);
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--t-border);
    border-radius: 8px 8px 0 0;
    color: var(--t-text-muted);
}

.t2-readme-body {
    padding: 30px;
}

.t2-readme-body h3 {
    font-size: 24px;
    border-bottom: 1px solid var(--t-border);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

.t2-readme-body p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--t-text);
}

.t2-readme-body h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--t-text);
}

.t2-readme-body ul {
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--t-text);
}

.t2-readme-body a {
    color: var(--t-accent);
    text-decoration: none;
}

.t2-readme-body a:hover {
    text-decoration: underline;
}

.t2-section-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--t-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.t2-repo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.t2-repo-card {
    border: 1px solid var(--t-border);
    padding: 16px;
    border-radius: 6px;
    background: var(--t-bg);
    display: flex;
    flex-direction: column;
}

.t2-r-title {
    color: var(--t-accent);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.t2-r-title:hover {
    text-decoration: underline;
}

.t2-badge {
    font-size: 11px;
    padding: 2px 8px;
    border: 1px solid var(--t-border);
    border-radius: 20px;
    color: var(--t-text-muted);
    font-weight: 500;
    margin-left: auto;
    text-decoration: none !important;
}

.t2-r-desc {
    font-size: 12px;
    color: var(--t-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.t2-r-meta {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--t-text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lang-dot.go {
    background: #00ADD8;
}

.lang-dot.py {
    background: #3572A5;
}

.lang-dot.ts {
    background: #3178c6;
}

@media (max-width: 768px) {
    .t2-layout {
        flex-direction: column;
    }

    .t2-sidebar {
        width: 100%;
    }

    .t2-avatar {
        width: 150px;
        height: 150px;
    }

    .t2-repo-grid {
        grid-template-columns: 1fr;
    }
}