@import url('https://fonts.googleapis.com/css2?family=gg+sans:wght@400;600;700&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --bg-body: #2f3136;
    --bg-card: #18191c;
    /* Warna gelap Discord */
    --bg-tertiary: #2f3136;
    --text-normal: #dcddde;
    --text-muted: #b9bbbe;
    --header-primary: #ffffff;
    --link-color: #00b0f4;
    --accent-color: #5865F2;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #202225;
    font-family: 'gg sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-normal);
}

/* Container Utama (Profile Card) */
.profile-card {
    width: 100%;
    max-width: 600px;
    /* Lebih lebar dikit dari discord asli biar muat info */
    background-color: #111214;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    position: relative;
    margin: 20px;
}

/* Banner Atas */
.banner {
    height: 210px;
    /* GANTI URL GAMBAR DI SINI UNTUK BANNER */
    background-image: url('./bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Bagian User Info */
.user-info {
    padding: 16px;
    padding-top: 0;
    position: relative;
}

/* Avatar Wrapper */
.avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #111214;
    padding: 6px;
    /* Border tebal kayak discord */
    margin-top: -70px;
    position: relative;
    display: inline-block;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* GANTI URL GAMBAR DI SINI UNTUK AVATAR */
    background-image: url('./profile.png');
    background-size: cover;
}

/* Status Indicator (Bulan Sabit / Online) */
.status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background-color: #00b400;
    /* Idle/Moon color */
    border: 5px solid #111214;
    border-radius: 50%;
}

/* Badges Row */
.badges {
    position: absolute;
    top: 10px;
    right: 16px;
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 4px;
}

.badge-icon {
    font-size: 18px;
    cursor: pointer;
}

/* Nama & Detail */
.name-section {
    margin-top: 8px;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: var(--header-primary);
    font-weight: 700;
}

.username {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.divider {
    height: 1px;
    background-color: #2f3136;
    margin: 10px 0;
    width: 100%;
}

/* Section Titles */
h2 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Bio Text */
.bio {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    background: #2f3136;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #00b0f4;
}

/* Project Grid (Connections Style) */
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.project-card {
    display: flex;
    align-items: center;
    background-color: #2f3136;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-normal);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.project-card:hover {
    background-color: #36393f;
    border-color: #00b0f4;
}

.project-icon {
    width: 32px;
    height: 32px;
    background-color: #202225;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

.project-details {
    display: flex;
    flex-direction: column;
}

.project-name {
    font-weight: 600;
    color: var(--header-primary);
    font-size: 14px;
}

.project-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.arrow {
    margin-left: auto;
    color: var(--text-muted);
}

/* Contact Note Style */
.note-section {
    margin-top: 20px;
}

.contact-box {
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
}

.contact-link {
    color: #00b0f4;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (min-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr 1fr;
    }
}