/* =========================================================
   Aurora Noir v4 — GambarBacok (bersih, elegan, non-norak)
   ========================================================= */

:root{
  --bg: #0c0f17;              /* canvas */
  --bg-soft: #111523;         /* card */
  --border: #1b2135;
  --ring: #3b82f6;            /* ring biru lembut */
  --text: #e6eaf1;
  --muted: #9aa3b2;

  --brand: #7c6df6;           /* indigo halus */
  --brand-2: #22d3a3;         /* teal lembut */
  --good: #22d3a3;
  --warn: #f59e0b;
  --bad:  #ef476f;

  --radius: 14px;
  --radius-sm: 10px;

  --shadow-lg: 0 14px 40px rgba(0,0,0,.45);
  --shadow-md: 0 10px 28px rgba(0,0,0,.35);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.28);
}

/* ====== CANVAS ====== */
body{ background: var(--bg); color: var(--text); font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.55; }
.gb-noise { position: relative; }
.gb-noise::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(124,109,246,.08), transparent 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(34,211,163,.06), transparent 60%);
  pointer-events:none;
  z-index:-1;
}

/* ====== CONTAINER WIDTH (kembalikan ke tengah & proporsional) ====== */
.container, .gb-container{
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ====== NAVBAR ====== */
.gb-navbar{
  position: sticky; top:0; z-index: 50;
  background: rgba(17,21,35,.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.gb-navbar .brand{
  display:flex; align-items:center; gap:.65rem; font-weight:700;
}
.gb-navbar .brand-icon{
  width:28px; height:28px; border-radius:8px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, #2a2f45, #1a1f33);
  border:1px solid var(--border);
  color:#9aa3b2;
}

/* ====== CARD ====== */
.gb-card{
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.gb-card.header{
  padding: 18px 20px; border-radius: var(--radius) var(--radius) 0 0;
  border-bottom:1px solid var(--border);
}
.gb-card.body{ padding: 20px; }
.gb-title{
  font-size: 1.1rem; font-weight: 700; color: var(--text);
}

/* ====== TYPO ====== */
h1.gb-hero{
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #9fb4ff 0%, #84e0ca 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 10px 0 14px;
}
p.lead{ color: var(--muted); font-size: 1.05rem; max-width: 760px; }

/* ====== INPUTS ====== */
.gb-input, select.gb-input{
  width: 100%;
  background:#0f1426;
  color: var(--text);
  border: 1px solid #162039;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.gb-input::placeholder{ color:#6b768a; }
.gb-input:focus{
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(59,130,246,.18);
}

/* ====== BUTTONS ====== */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  height: 38px; padding: 0 14px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; letter-spacing:.2px;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select:none; -webkit-tap-highlight-color:transparent;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(180deg, #7c6df6, #6a59f1);
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ box-shadow: var(--shadow-md); }

.btn-quiet{
  background: #13182a; color: #dbe2ee; border-color:#1b2441;
}
.btn-quiet:hover{ border-color:#2b3a6b; }

.btn-good{
  background: linear-gradient(180deg, #29c7a7, #22b394);
  color:#07221d;
}
.btn-bad{
  background: linear-gradient(180deg, #f06b87, #ef476f);
  color:#18070b;
}

.badge{
  display:inline-flex; height:24px; align-items:center; gap:.35rem;
  padding:0 8px; border-radius: 999px; font-size:.78rem; font-weight:600;
  background:#111826; color:#b7c3d9; border:1px solid #1c2743;
}

/* ====== LIST ITEM (daftar gambar) ====== */
.gb-list{ display: grid; gap: 14px; }
.gb-item{
  display:grid; grid-template-columns: 60px 1fr auto;
  align-items:center; gap:14px;
  background:#0f1426; border:1px solid #162039; border-radius: 12px; padding: 12px;
}
.gb-thumb{
  width:60px; height:60px; border-radius:10px; overflow:hidden;
  background:#0c0f17; border:1px solid #1a2440;
  display:grid; place-items:center;
}
.gb-thumb img{ width:100%; height:100%; object-fit:cover; }

.gb-item .meta{ color:#aeb9cc; font-size:.86rem; }
.gb-item .title{ color:#e8edf7; font-weight:600; }
.gb-item .actions{ display:flex; gap:10px; align-items:center; }

/* kecilkan ukuran tombol aksi supaya rapih */
.gb-item .actions .btn{ height:34px; padding:0 12px; border-radius: 9px; }

/* ====== UTIL ====== */
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; font-size:.86rem; }
.muted{ color: var(--muted); }
.center{ text-align:center; }
.stack{ display:grid; gap: 16px; }
.row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }

/* ====== FOOTER ====== */
.gb-footer{ border-top:1px solid var(--border); color:#94a0b6; }

/* ====== Hardening: jangan pernah blok klik dengan pseudo ====== */
.gb-card::before, .gb-card::after,
.gb-navbar::before, .gb-navbar::after{ pointer-events:none !important; }
