/* === STYLE.CSS by nyettt (XI RPL) === */
/* Warna & tema */
:root{
  --bg: #0b1020;          /* dark */
  --surface: #12172b;
  --card: rgba(255,255,255,.06);
  --text: #e8ebff;
  --muted: #a7b0d8;
  --brand: #7c8cff;       /* indigo-ish */
  --brand-2: #9ef2ff;     /* aqua */
  --ok: #00d68f;
  --warn: #ffb020;
  --danger: #ff5c7a;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
}

[data-theme="light"]{
  --bg:#f6f7fb; --surface:#ffffff; --card:rgba(15,23,42,.06);
  --text:#0c1222; --muted:#5b6790; --brand:#4f46e5; --brand-2:#06b6d4;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(124,140,255,.25), transparent 60%),
    radial-gradient(1000px 600px at 90% 10%, rgba(158,242,255,.25), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg));
  color:var(--text);
}

/* Layout */
.wrap{max-width:1100px; margin:0 auto; padding:20px 18px 120px}
header{
  position:sticky; top:0; z-index:20; backdrop-filter:saturate(140%) blur(8px);
  background: linear-gradient( to bottom, rgba(0,0,0,.26), rgba(0,0,0,0));
  padding:12px 0 6px; border-bottom:1px solid rgba(255,255,255,.06);
}
.nav{display:flex; align-items:center; gap:10px; justify-content:space-between}
.brand{display:flex; align-items:center; gap:12px}
.logo{
  width:42px; height:42px; border-radius:14px; background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow: var(--shadow); position:relative; overflow:hidden
}
.logo::after{content:"XI"; position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-weight:800}
.title{font-weight:800; letter-spacing:.2px}
.sub{font-size:12px; color:var(--muted)}

.navlinks{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  border:1px solid rgba(255,255,255,.12); color:var(--text); background:var(--card);
  padding:8px 12px; border-radius:999px; font-size:13px; cursor:pointer; user-select:none;
  transition:.2s transform ease, .2s background ease, .2s border-color ease;
}
.chip:hover{transform:translateY(-2px)}
.chip.active{background:linear-gradient(135deg,var(--brand),var(--brand-2)); border-color:transparent}

.actions{display:flex; gap:8px}
.btn{border:0; padding:10px 12px; border-radius:12px; font-weight:600; font-size:14px; cursor:pointer}
.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:white; box-shadow:var(--shadow)}
.btn.ghost{background:var(--card); color:var(--text); border:1px solid rgba(255,255,255,.12)}

.hero{display:grid; grid-template-columns: 220px 1fr; gap:18px; margin-top:16px; align-items:center}
@media (max-width:780px){.hero{grid-template-columns:1fr}}

.photo{
  background:var(--surface); border:1px solid rgba(255,255,255,.12); border-radius:24px; overflow:hidden;
  box-shadow:var(--shadow); position:relative; aspect-ratio:3/4; display:grid; place-items:center
}
.photo img{width:100%; height:100%; object-fit:cover; display:block}
.photo input{position:absolute; inset:auto 10px 10px 10px; width:calc(100% - 20px)}

.heroCard{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12); border-radius:24px; padding:20px; box-shadow:var(--shadow)
}
.hero h1{margin:0 0 6px; font-size:28px}
.hero .tag{display:inline-flex; gap:6px; align-items:center; font-size:12px; color:var(--muted)}

.grid{display:grid; gap:16px; grid-template-columns:repeat(12,1fr)}
.col-4{grid-column: span 4}
.col-8{grid-column: span 8}
.col-6{grid-column: span 6}
.col-12{grid-column: span 12}
@media (max-width:980px){.col-4,.col-8,.col-6{grid-column: span 12}}

.card{background:var(--card); border:1px solid rgba(255,255,255,.12); border-radius:20px; padding:18px; box-shadow:var(--shadow)}
.card h3{margin:0 0 10px; font-size:16px}
.card p{margin:6px 0; color:var(--muted)}

.list{display:grid; gap:12px}
.item{display:flex; gap:12px; align-items:flex-start}
.dot{width:10px; height:10px; border-radius:50%; background:linear-gradient(135deg,var(--brand),var(--brand-2)); margin-top:8px}
.item .meta{font-size:12px; color:var(--muted)}

.skills{display:flex; flex-wrap:wrap; gap:10px}
.skill{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); padding:10px 12px; border-radius:14px; font-size:13px}
.bar{height:10px; background:rgba(255,255,255,.12); border-radius:999px; overflow:hidden}
.bar > span{display:block; height:100%; width:0; background:linear-gradient(90deg,var(--brand),var(--brand-2)); border-radius:inherit; transition:width .9s cubic-bezier(.22,1,.36,1)}

section{display:none; animation:fade .3s ease}
section.active{display:block}
@keyframes fade{from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none}}

footer{position:fixed; inset:auto 0 12px; display:flex; justify-content:center; pointer-events:none}
.footerCard{pointer-events:auto; background:var(--surface); border:1px solid rgba(255,255,255,.12); border-radius:18px; padding:10px 12px; box-shadow:var(--shadow); display:flex; gap:8px; align-items:center}
.mini{font-size:12px; color:var(--muted)}

@media print{
  header, .actions, .footerCard{display:none !important}
  body{background:#fff}
  .card, .heroCard, .photo{box-shadow:none; border-color:#ddd}
  section{display:block}
}

.spark{position:absolute; inset:0; background:
  radial-gradient(6px 6px at 20% 30%, rgba(255,255,255,.16), transparent 60%),
  radial-gradient(6px 6px at 80% 20%, rgba(255,255,255,.14), transparent 60%),
  radial-gradient(6px 6px at 60% 70%, rgba(255,255,255,.18), transparent 60%);
  pointer-events:none
}

.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

#kontak .skills a {
    text-decoration: none;
    color: var(--text);
    transition: .2s transform ease, .2s background ease, .2s border-color ease;
}
#kontak .skills a:hover {
    transform: translateY(-2px);
    background: var(--brand);
    border-color: transparent;
}
