:root{
  --bg:#070707;
  --card:#0b0b0c;
  --text:#fff7ea;
  --muted:#d8c7a4;

  --gold:#d4af37;
  --gold2:#ffcc66;
  --line:rgba(212,175,55,.35);

  --red:#d10b1f;
  --blue:#1e78ff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{color:inherit}

/* ===== Topbar ===== */
.topbar{
  position:sticky;top:0;z-index:10;
  background:linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.60));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  max-width:1000px;margin:0 auto;
  padding:10px 12px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.brand-logo{height:34px;object-fit:contain}
.topbar-actions{display:flex;gap:10px;align-items:center}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 18px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;letter-spacing:.4px;
  color:#fff;text-decoration:none;
}
.btn-blue{background:rgba(30,120,255,.95)}
.btn-red{background:rgba(209,11,31,.95)}
.btn-gold{
  background:linear-gradient(180deg, rgba(255,204,102,.98), rgba(212,175,55,.92));
  color:#241a00;
  border-color:rgba(255,204,102,.70);
}

.muted{color:var(--muted);font-size:13px}

.alert{
  padding:10px 12px;
  border-radius:14px;
  margin:10px 0 12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(209,11,31,.18);
}

/* ===== Wrap (lebar utama: sama untuk banner & cards) ===== */
.wrap{
  max-width:1000px;
  margin:0 auto;
  padding:14px 12px 26px;
}

/* ===== Banner (utuh, tidak crop) ===== */
.banner-inwrap{
  margin:0 0 12px;
  border-radius:18px;
  overflow:hidden;
  border:2px solid rgba(212,175,55,.25);
  box-shadow:0 14px 35px rgba(0,0,0,.55);
  background:#000;
}
.banner-link{display:block;text-decoration:none}
.banner-img{
  width:100%;
  height:auto;              /* PENTING: jangan dipaksa */
  display:block;
  object-fit:contain;       /* PENTING: tidak crop */
  object-position:center;
  background:#000;          /* kalau ada space tetap rapi */
}

/* ===== Cards ===== */
.cards{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.card{
  border:2px solid var(--line);
  border-radius:18px;
  background:radial-gradient(900px 300px at 50% 0%, rgba(212,175,55,.12), transparent 58%), var(--card);
  box-shadow:0 14px 35px rgba(0,0,0,.55);
  padding:18px 14px;
}
.card-inner{
  border:2px solid rgba(212,175,55,.28);
  border-radius:16px;
  padding:16px 14px;
}

/* ===== LOGO PASARAN: BOX DIHILANGKAN + GAMBAR DIBESARKAN ===== */
.logo-box{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 auto 12px !important;
  display:flex;
  justify-content:center;
  align-items:center;
}
.logo-box img{
  width:min(440px, 92%) !important;  /* BESAR */
  max-width:440px !important;
  height:auto !important;            /* jangan pakai height 48px */
  display:block !important;
  object-fit:contain !important;
}

.card-title{
  margin:14px 0 4px;
  text-align:center;
  font-size:30px;
  font-weight:1000;
  letter-spacing:.6px;
}

.card .card-sub.card-date{
  font-size:20px;
  font-weight:900;
  color:#ffcc66;
  letter-spacing:1px;
  margin:6px 0 12px;
  text-align:center;
}

.card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:10px auto 0;
  max-width:420px;
}

.action{
  text-align:center;
  padding:14px 14px;
  border-radius:16px;
  font-weight:1000;
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.action-red{background:rgba(209,11,31,.95);color:#fff}
.action-gold{
  background:linear-gradient(180deg, rgba(255,204,102,.98), rgba(212,175,55,.92));
  color:#241a00;
}

.footer{margin:0 0 18px;text-align:center}

/* ===== Desktop 2 kolom + lebar konsisten ===== */
@media (min-width: 1000px){
  .wrap{max-width:900px;}
  .topbar-inner{max-width:900px;}
  .cards{
    grid-template-columns: repeat(2, 420px);
    justify-content:center;
    gap:16px;
  }
}

/* ===== Header logo lebih besar di desktop ===== */
@media (min-width: 900px){
  .brand-logo{height:48px;max-height:48px}
  .topbar-inner{padding-top:14px;padding-bottom:14px}
}

/* ===== Drawer (Side/BottomSheet) ===== */
.no-scroll { overflow:hidden; }
.drawer{ position:fixed; inset:0; z-index:99999; display:none; }
.drawer.is-open{ display:block; }
.drawer__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.65); }
.drawer__panel{
  position:absolute; top:0; right:0;
  width:min(520px, 92vw);
  height:100%;
  background:#0b0b0c;
  border-left:2px solid rgba(212,175,55,.35);
  box-shadow:-20px 0 50px rgba(0,0,0,.6);
  display:flex; flex-direction:column;
}
.drawer__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.drawer__title{ font-weight:900; letter-spacing:.5px; }
.drawer__close{
  background:transparent;
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.drawer__content{ padding:14px; overflow:auto; }

/* Mobile => jadi bottom sheet */
@media (max-width: 700px){
  .drawer__panel{
    top:auto; right:0; left:0; bottom:0;
    width:100%;
    height:85vh;
    border-left:0;
    border-top:2px solid rgba(212,175,55,.35);
    border-radius:18px 18px 0 0;
  }
}

/* Sheet */
.sheet{
  border:2px solid rgba(212,175,55,.35);
  border-radius:16px;
  background:radial-gradient(900px 300px at 50% 0%, rgba(212,175,55,.10), transparent 58%), #0b0b0c;
  padding:12px;
}
.sheet__row{
  border:1px solid rgba(212,175,55,.25);
  border-radius:12px;
  padding:10px;
  margin-bottom:10px;
}
.sheet__center{text-align:center}
.sheet__big{font-weight:900}
.sheet__grid{ display:grid; grid-template-columns:120px 1fr; gap:10px; }
.sheet__label,.sheet__val{ border:1px solid rgba(212,175,55,.20); border-radius:10px; padding:10px; }
.sheet__label{color:rgba(255,255,255,.80)}
.sheet__rowflex{ display:flex; flex-wrap:wrap; gap:8px; }
.sheet__mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.chip{
  border:1px solid rgba(212,175,55,.30);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(212,175,55,.08);
  font-weight:900;
}
.card-inner{
  display:flex !important;
  flex-direction:column !important;
  min-height: 100% !important;
}

/* HILANGKAN BOX / AREA KOTAK GAMBAR */
.logo-box{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 auto 12px !important;

  display:block !important;
  width:100% !important;

  /* penting: jangan ada “kotak” */
  aspect-ratio: auto !important;
  height: auto !important;
  max-width: none !important;
}

/* BESARKAN LOGO PASARAN */
.logo-box img{
  display:block !important;
  margin:0 auto !important;

  width:100% !important;
  height:auto !important;

  /* desktop */
  max-width: 520px !important;
  object-fit: contain !important;
}

/* MOBILE: logo lebih gede */
@media (max-width: 700px){
  .logo-box img{
    max-width: 92vw !important; /* gedein sampai hampir selebar card */
  }
}

/* TOMBOL SELALU SEJAJAR */
.card-actions{
  margin-top:auto !important;     /* kunci: dorong tombol ke bawah */
  width:100% !important;
  max-width:420px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}