:root{
  --bg:#070707;
  --panel:#0f0f0f;
  --card:#141414;
  --gold:#D4AF37;
  --gold-2:#FFD664;
  --muted:#AFAFAF;
  --white:#EFEFEF;
  --header-h:72px;
  --mobile-menu-w:320px;
}

/* =====================
   BASE
===================== */
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:linear-gradient(180deg,#050505,#0b0b0b);
  color:var(--white);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:var(--gold)}
a:hover{color:var(--gold-2);text-decoration:none}

/* =====================
   HEADER (FIX TOTAL)
===================== */
header{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--header-h);
  background:rgba(8,8,8,.96);
  border-bottom:1px solid rgba(212,175,55,.08);
  z-index:9999;
}

.header-inner{
  max-width:1100px;
  margin:0 auto;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 16px;
  flex-wrap:nowrap;
}

/* =====================
   BRAND (ANTI TURUN BARIS)
===================== */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  max-width:260px;
}

.brand img{
  width:40px;
  height:40px;
  object-fit:contain;
  border-radius:6px;
}

.brand .title{
  color:var(--gold);
  font-weight:800;
  font-size:17px;
  line-height:1.1;
  white-space:nowrap;
}

.brand .sub{
  font-size:12px;
  color:var(--muted);
  line-height:1.1;
  white-space:nowrap;
}

/* =====================
   DESKTOP NAV (ANTI PECAH)
===================== */
nav.desktop{
  display:flex;
  align-items:center;
  gap:14px;
  white-space:nowrap;
  flex-shrink:0;
}

nav.desktop a{
  color:var(--white);
  font-weight:600;
  padding:6px 8px;
  border-radius:6px;
  transition:.2s;
}

nav.desktop a:hover{
  background:rgba(212,175,55,.08);
  color:var(--gold);
}

nav.desktop a[aria-current="page"]{
  color:var(--gold);
}

.cta-desktop{
  background:linear-gradient(90deg,var(--gold),var(--gold-2));
  padding:9px 14px;
  border-radius:10px;
  color:#0b0b0b;
  font-weight:800;
}

/* =====================
   HAMBURGER
===================== */
.hamburger{
  width:44px;
  height:44px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  border:1px solid rgba(212,175,55,.18);
  background:rgba(212,175,55,.05);
  cursor:pointer;
}

.hamburger span{
  width:20px;
  height:2px;
  background:var(--gold);
  margin:3px 0;
  border-radius:2px;
  display:block;
}

/* =====================
   MOBILE MENU
===================== */
.mobile-popover{
  position:fixed;
  top:calc(var(--header-h) + 10px);
  right:12px;
  width:var(--mobile-menu-w);
  max-width:92%;
  background:#0e0e0e;
  border-radius:12px;
  border:1px solid rgba(212,175,55,.12);
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  padding:12px;
  z-index:10000;
  display:none;
}

.mobile-popover.open{display:block}

.mobile-popover a{
  display:block;
  padding:10px;
  border-radius:8px;
  color:var(--white);
  font-weight:600;
}

.mobile-popover a:hover{
  background:rgba(255,255,255,.04);
  color:var(--gold);
}

/* =====================
   PAGE WRAP
===================== */
.page-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:calc(var(--header-h) + 24px) 16px 40px;
}

/* =====================
   TYPOGRAPHY
===================== */
.kicker{
  color:var(--gold);
  font-weight:800;
  font-size:13px;
  letter-spacing:.5px;
}
.headline{
  color:var(--gold);
  font-weight:900;
  margin:6px 0;
  font-size:clamp(22px,5vw,40px);
}
.lead{color:var(--muted);max-width:720px}

/* =====================
   CARD
===================== */
.card-premium{
  background:var(--card);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  padding:22px;
  margin-bottom:20px;
}

/* =====================
   FOOTER
===================== */
footer{
  background:#070707;
  padding:28px 16px;
  border-top:1px solid rgba(255,255,255,.04);
  margin-top:40px;
}

.footer-grid{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:20px;
  justify-content:space-between;
}

/* =====================
   BREAKPOINT FINAL (PENTING)
===================== */

/* layar nanggung → langsung hamburger */
@media (max-width:1100px){
  nav.desktop{display:none}
  .hamburger{display:flex}
}

/* mobile */
@media (max-width:520px){
  .headline{font-size:24px}
  :root{--mobile-menu-w:86%}
}
