:root{
  --bg:#b30000;
  --panel:#8f0000;
  --border:#ffd200;
  --text:#ffffff;
  --muted:rgba(255,255,255,.8);
  --shadow:0 18px 45px rgba(0,0,0,.45);
  --radius:16px;
}

*{
  box-sizing:border-box;
}

html,body{
  height:100%;
  margin:0;
  padding:0;
  overflow-x:hidden;
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(circle at 25% 10%, #ff4d4d 0%, #b30000 38%, #6a0000 100%);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

/* ================= TOPBAR ================= */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  width:100%;
  background:linear-gradient(180deg,#b30000 0%,#7a0000 100%);
  border-bottom:3px solid var(--border);
}

.topbar__inner{
  width:100%;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand img{
  height:44px;
  width:auto;
  display:block;
}

.burger{
  width:44px;
  height:44px;
  border:2px solid rgba(255,215,0,.4);
  background:rgba(0,0,0,.15);
  border-radius:12px;
  display:grid;
  place-content:center;
  gap:5px;
  cursor:pointer;
}

.burger span{
  width:20px;
  height:2px;
  background:#fff;
  border-radius:2px;
}

/* ================= DRAWER ================= */

.drawer{
  width:100%;
  padding:0 18px 12px;
  display:none;
  gap:8px;
}

.drawer a{
  display:block;
  padding:10px 12px;
  border:2px solid rgba(255,215,0,.6);
  background:rgba(0,0,0,.2);
  border-radius:12px;
  font-weight:700;
}

.drawer--open{
  display:grid;
}

/* ================= PAGE WRAPPER ================= */

.page{
  max-width:520px;
  margin:0 auto;
  padding:14px 14px 0;
}

/* ================= HERO ================= */

.card{
  border:2px solid var(--border);
  background:rgba(0,0,0,.15);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.hero{
  overflow:hidden;
}

.hero__img{
  width:100%;
  height:auto;
  display:block;
}

/* ================= CTA ================= */

.cta{
  margin-top:14px;
  display:grid;
  gap:12px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-weight:900;
  padding:14px;
  border-radius:14px;
  border:2px solid rgba(255,255,255,.15);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.btn--primary{
  width:100%;
  background:linear-gradient(180deg,#ff2c2c 0%,#b30000 100%);
  border:2px solid rgba(255,215,0,.6);
  font-size:18px;
}

.btn--secondary{
  background:linear-gradient(180deg,#ffd200 0%,#c9a400 100%);
  border:2px solid rgba(255,215,0,.9);
  color:#7a0000;
  font-size:16px;
}

.cta__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

/* ================= PROMO STRIP ================= */

.promo-strip{
  margin-top:14px;
}

.promo-strip a{
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:2px solid rgba(255,215,0,.4);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  background:#7a0000;
}

.promo-strip img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

/* ================= GRID ================= */

.grid{
  margin-top:14px;
  padding:14px;
  border-radius:22px;
  border:2px solid var(--border);
  background:rgba(0,0,0,.18);
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.tile{
  border-radius:16px;
  overflow:hidden;
  border:2px solid rgba(255,215,0,.75);
  background:rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
}

.tile__img{
  height:92px;
  background-size:cover;
  background-position:center;
}

/* ================= FOOTER ================= */

.footer{
  margin:14px 0 0;
  text-align:center;
  font-weight:700;
  color:rgba(255,255,255,.85);
}

/* ================= BOTTOM NAV ================= */

.bottomnav{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  height:64px;
  z-index:60;
  background:linear-gradient(180deg,#7a0000 0%,#4a0000 100%);
  border-top:3px solid var(--border);
  display:flex;
  justify-content:center;
}

.bottomnav__item{
  width:25%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  font-size:12px;
}

.bottomnav__item .ico{
  font-size:18px;
}

.bottomnav__item.is-active{
  color:#ffd200;
}

.bottomnav__item--daftar .pill{
  padding:8px 18px;
  border-radius:999px;
  font-weight:1000;
  background:linear-gradient(180deg,#ffd200 0%,#c9a400 100%);
  color:#7a0000;
  border:2px solid rgba(255,255,255,.3);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.spacer{
  height:84px;
}

/* ================= DESKTOP ================= */

@media (min-width:900px){

  .page{
    max-width:680px;
  }

  .grid{
    grid-template-columns:repeat(4,1fr);
  }

  .tile__img{
    height:110px;
  }

  .bottomnav{
    width:680px;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    border-left:3px solid var(--border);
    border-right:3px solid var(--border);
    border-top-left-radius:18px;
    border-top-right-radius:18px;
    overflow:hidden;
  }

}