/* ValSpike — Profil & Profile Settings (hitam polos)
   Berdasarkan E:\download d\ssss\profile.css
   Pakai bersama ikon SVG & variabel warna */

:root {
    --bg: #000000;
    --card: #0c1015;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: #262626;
    --line-strong: #2e2e2e;
    --accent: #ffffff;
    --text: #ffffff;
    --muted: #a3a3a3;
    --faint: #666666;
    --mono: 'Geist Mono', monospace;
    --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Ikon SVG Utility ---------- */
.i {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
}
.i--sm { width: 14px; height: 14px; }
.i--lg { width: 20px; height: 20px; }
.i--xl { width: 26px; height: 26px; }
.i--verified { width: 22px; height: 22px; color: #3ddc84; }

/* ---------- tombol & umum ---------- */
.btn-fill, .btn-line, .btn-danger, .pf__back, .pf__edit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .04em;
    transition: background .15s, border-color .15s, color .15s;
    text-decoration: none;
    cursor: pointer;
}
.btn-fill { background: var(--accent); color: #000; border: 0; font-weight: 600; min-height: 48px; padding: 0 24px; }
.btn-fill:hover { background: #d9d9d9; }
.btn-fill--sm { min-height: 44px; padding: 0 22px; }
.btn-line { background: none; color: var(--text); border: 1px solid #3a3a3a; font-weight: 500; min-height: 48px; }
.btn-line:hover { border-color: #fff; }
.btn-line--sm { min-height: 44px; padding: 0 20px; color: #c8c8c8; font-weight: 400; }
.btn-line--file { position: relative; min-height: 44px; cursor: pointer; }
.btn-line--file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.btn-danger { background: none; color: #ff9a9a; border: 1px solid #7a3a3a; }
.btn-danger:hover { border-color: #ff9a9a; }

.pf__back { border: 1px solid var(--line-2); color: #c8c8c8; font-size: 13px; padding: 0 18px; }
.pf__back:hover { border-color: #5a5a5a; color: #fff; }
.pf__edit { background: var(--accent); color: #000; font-size: 13px; font-weight: 600; padding: 0 20px; }
.pf__edit:hover { background: #d9d9d9; }

.tag { display: inline-flex; align-items: center; min-height: 22px; margin-left: 10px; padding: 0 8px; border: 1px solid #3a3a3a; border-radius: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #c8c8c8; vertical-align: middle; }
.tag--xs { min-height: 20px; font-size: 9px; }

/* ====================== PROFIL ====================== */
.pf { width: 100%; max-width: 1120px; margin: 0 auto; padding: 32px 24px 96px; position: relative; z-index: 10; font-family: var(--font); }
.pf__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.pf__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }

.idcard { flex: 1 1 340px; max-width: 380px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.idcard__cover { height: 112px; background-color: #111; background-image: radial-gradient(#2a2a2a 1px, transparent 1px); background-size: 14px 14px; }
.idcard__body { padding: 0 28px 28px; }
.idcard__avatar { position: relative; width: 128px; height: 128px; margin-top: -64px; }
.idcard__avatar img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: #1b1b1b; border: 3px solid #fff; outline: 6px solid var(--card); }
.idcard__online { position: absolute; right: 8px; bottom: 8px; width: 16px; height: 16px; border-radius: 50%; background: #3ddc84; border: 3px solid var(--card); }
.idcard__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.idcard__name h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.idcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: #c8c8c8; }
.role { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 999px; letter-spacing: .06em; color: var(--text); }
.role .i { width: 13px; height: 13px; }
.idcard__bio { margin: 20px 0 0; padding: 14px 16px; background: #000; border: 1px solid #262626; border-radius: 14px; font-size: 15px; color: #e6e6e6; }
.idcard__stats { margin: 24px 0 0; border-top: 1px solid var(--line); }
.idcard__stats div, .idcard__stats button { display: flex; align-items: baseline; justify-content: space-between; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; color: inherit; }
.idcard__stats div:last-child, .idcard__stats button:last-child { border-bottom: 0; padding-bottom: 0; }
.idcard__stats dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--faint); }
.idcard__stats dd { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--text); }

.pf__posts { flex: 2 1 460px; min-width: 0; }
.pf__posts-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pf__posts-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.pf__posts-head span { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.pf__post { margin-top: 20px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s; }
.pf__post:hover { border-color: #3a3a3a; }
.pf__post p { margin: 0; font-size: 17px; color: #e6e6e6; }

/* ====================== SETTINGS ====================== */
.st { width: 100%; max-width: 1200px; margin: 0 auto; padding: 32px 24px 0; position: relative; z-index: 10; font-family: var(--font); }
.st__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.st__title { margin: 28px 0 0; font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1; color: var(--text); }
.st__sub { margin: 12px 0 0; max-width: 560px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.st__head-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.staff { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; padding: 20px 24px; background: var(--card); border: 1px solid #3a3a3a; border-radius: 20px; }
.staff__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #3a3a3a; border-radius: 14px; color: var(--text); }
.staff__text { flex: 1 1 360px; min-width: 0; }
.staff__text strong { font-size: 16px; font-weight: 600; color: var(--text); }
.staff__text .tag { margin-left: 10px; }
.staff__text p { margin: 6px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.st__layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 56px; margin-top: 48px; }
.snav { flex: 0 0 240px; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.snav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; transition: background .15s, color .15s; text-decoration: none; color: var(--muted); }
.snav a:hover, .snav a.active { background: #111; color: #fff; }
html { scroll-behavior: smooth; }

.st__main { flex: 1 1 560px; min-width: 0; }
.sec { padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.sec:first-child { padding-top: 0; }
.sec h2 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.03em; color: var(--text); }
.sec__sub { margin: 8px 0 28px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.sec__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.unlock { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--text); }
.unlock .i { width: 13px; height: 13px; }

.sec--inline, .danger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.sec--inline { padding: 40px 0; }
.sec--inline .sec__sub, .danger .sec__sub { margin: 2px 0 0; }
.sec--inline h2 { font-size: 20px; }
#bookmarks h2 { font-size: 28px; }
#bookmarks .sec__sub { margin-top: 8px; }
.inline { display: flex; align-items: center; gap: 16px; }
.inline--top { align-items: flex-start; }
.inline--top .i { margin-top: 4px; }

/* preview identitas */
.preview { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 28px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.preview__avatar { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #1b1b1b; border: 3px solid #fff; }
.preview__info { flex: 1 1 200px; min-width: 0; }
.preview__info strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.preview__user { margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.preview__stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--faint); }
.preview__stats b { font-size: 16px; font-weight: 500; color: var(--text); letter-spacing: 0; }

/* form */
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 220px; margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.row .field { margin-bottom: 0; }
.row + .field { margin-top: 20px; }
.field label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.fld { width: 100%; min-height: 48px; padding: 0 16px; background: #000; color: var(--text); border: 1px solid #262626; border-radius: 12px; font-family: var(--mono); font-size: 14px; box-sizing: border-box; }
.fld::placeholder { color: #6d6d6d; }
.fld:focus { outline: 2px solid #fff; outline-offset: 1px; border-color: #fff; }
.fld--area { padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field__hint { margin-top: 8px; text-align: right; font-family: var(--mono); font-size: 11px; color: #6d6d6d; }
.field__hint--left { text-align: left; margin: 0 0 10px; color: var(--faint); }
.pw { position: relative; }
.pw .fld { padding-right: 48px; }
.pw__eye { position: absolute; top: 2px; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--muted); cursor: pointer; }
.pw__eye:hover { color: #fff; }
.captcha { margin-top: 24px; }

/* pilihan frame & glow */
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.opt {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 116px;
    padding: 18px 10px 14px;
    background: #090d12;
    color: #c8c8c8;
    border: 1px solid #1f2530;
    border-radius: 18px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .02em;
    text-align: center;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.opt:hover {
    border-color: #4b5563;
    background: #0f141c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt:has(input:checked) {
    background: #141923;
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 0 1px #ffffff, 0 10px 30px rgba(255, 255, 255, 0.08);
}
.opt:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }

/* Custom Frame Preview Box inside Option Card */
.opt__frame-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    position: relative;
    margin-bottom: 2px;
    overflow: visible !important;
}
.opt__avatar-core, .opt__avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #11141a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 2;
    object-fit: cover;
}
.opt__avatar-icon {
    width: 20px;
    height: 20px;
}

/* Custom AA Glow Text inside Option Card */
.opt__aa {
    font-family: var(--font);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    display: inline-block;
    margin-bottom: 4px;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible !important;
}
.opt:hover .opt__aa {
    transform: scale(1.15);
}
.opt__name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: #a3a3a3;
    transition: color .15s;
}
.opt:has(input:checked) .opt__name {
    color: #ffffff;
    font-weight: 600;
}

/* toggle */
.sw { appearance: none; -webkit-appearance: none; position: relative; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: #1b1b1b; border: 1px solid #3a3a3a; cursor: pointer; transition: background .15s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #f2f2f2; transition: transform .15s; }
.sw:checked { background: #fff; }
.sw:checked::after { transform: translateX(20px); background: #000; }
.sw:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* akun terhubung */
.acct { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 12px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.acct.is-on { border-color: #3a3a3a; }
.acct__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 18px; font-weight: 600; color: var(--text); }
.acct__text { flex: 1 1 200px; min-width: 0; }
.acct__text strong { font-size: 15px; font-weight: 600; color: var(--text); }
.acct__text .tag { margin-left: 10px; }
.acct__sub { margin-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* delete */
.danger { margin-top: 48px; padding: 24px; background: var(--card); border: 1px solid #5a2a2a; border-radius: 20px; }
.danger h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.03em; color: #ff9a9a; }
.danger .i { color: #ff8a8a; }

/* bar simpan */
.savebar { margin-top: 56px; border-top: 1px solid var(--line); background: #050505; position: sticky; bottom: 0; z-index: 30; }
.savebar__in { width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.savebar__in a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--mono); font-size: 12px; color: var(--muted); transition: color .15s; text-decoration: none; }
.savebar__in a:hover { color: #fff; }

/* ---------- HEADER (HBAR) ---------- */
.hbar {
    position: relative;
    z-index: 40;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    font-family: var(--font);
}
.hbar__in {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 64px;
}
.hbar__brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-right: 16px;
    text-decoration: none;
    color: var(--text);
}
.hbar__name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
}
.hbar__name span {
    color: var(--muted);
}
.hbar__tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .14em;
    color: var(--faint);
    line-height: 1;
}
.hbar__nav {
    display: flex;
    align-items: stretch;
    margin-left: auto;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--muted);
}
.hbar__nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 64px;
    padding: 0 18px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    transition: color .15s, background .15s;
    text-decoration: none;
}
.hbar__nav a:hover {
    color: #fff;
}
.hbar__avatar {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-left: 1px solid var(--line);
}
.hbar__avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1b1b1b;
    border: 1px solid #3a3a3a;
    object-fit: cover;
}
.hbar__form {
    display: inline-flex;
    margin: 0;
}
.hbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-height: 64px;
    padding: 0;
    background: none;
    border: 0;
    border-left: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    transition: color .15s;
}
.hbar__icon:hover {
    color: #fff;
}
@media (max-width: 899px) {
    .hbar__tag { display: none; }
    .hbar__nav a:not(.btn-fill):not(.hbar__avatar) { display: none; }
}

/* ---------- FOOTER (FOOT) ---------- */
.foot {
    border-top: 1px solid var(--line);
    background: #000;
    color: var(--text);
    margin-top: 64px;
    font-family: var(--font);
    position: relative;
    z-index: 10;
}
.foot__in {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 40px;
}
.foot__top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 64px;
    justify-content: space-between;
}
.foot__about {
    flex: 1 1 320px;
    max-width: 420px;
}
.foot__name {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
}
.foot__name span {
    color: var(--muted);
}
.foot__tag {
    margin-top: 6px;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--faint);
}
.foot__about p {
    margin: 0;
    color: var(--faint);
    font-size: 14px;
    line-height: 1.6;
}
.foot__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 72px;
}
.foot__h {
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--faint);
}
.foot ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #c8c8c8;
}
.foot li a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #a8a8a8;
    transition: color .15s;
    text-decoration: none;
}
.foot li a:hover {
    color: #fff;
}
.foot__legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--faint);
    line-height: 1.6;
}
.chip-vn {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 10px;
    font-family: var(--mono);
    margin-left: 6px;
}

/* responsif */
@media (max-width: 860px) {
    .idcard { max-width: none; flex-basis: 100%; }
    .snav { position: static; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; }
    .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
