/* ========================
   LTE4D - CORE / GLOBAL
   ======================== */
:root {
  /* aksen */
  --gold: #ffc400;          /* tombol, chip aktif, ikon */
  --muted: #9aa4b2;         /* teks sekunder */

  /* border / elemen */
  --card-bd: rgba(255, 255, 255, .10);
  --chip-bd: rgba(255, 255, 255, .18);

  /* teks */
  --text-main: #f9fafb;
  --text-soft: #cfd6e3;
}

/* ==== MERAH PENUH  ==== */
html {
  min-height: 100%;
  background: #e00a18;
  background-repeat: no-repeat;
  /* 'fixed' lebih baik agar gradien tidak ikut scroll 
     dan mengisi penuh layar
  */
  background-attachment: fixed;
}

body {
  min-height: 100vh;
  margin: 0;
  background: transparent; /* biar pakai gradient dari html */
  color: var(--text-main);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial;
}

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 12px;
}

/* ===== Header / Brand bar ===== */
.brand-hero{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(0,0,0,.65);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--card-bd);
}
.brand-bar{
  display:flex;
  gap:.75rem;
  align-items:center;
  justify-content:space-between;
}
.brand-left{
  display:flex;
  gap:.75rem;
  align-items:center;
}
.brand-logo{
  width:150px;
  height:auto;
  border-radius:12px;
  object-fit:contain;
  background:#00000022;
}
@media (min-width:992px){
  .brand-logo{width:150px}
}

.dot-online{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
  margin-right:6px;
  background:radial-gradient(circle at 30% 30%,#78f5a3,#1bb56f);
  box-shadow:0 0 0 2px rgba(0,0,0,.25);
}
.tabular-nums{font-variant-numeric:tabular-nums}

/* mobile: waktu di bawah logo */
.brand-time-mobile{margin-top:.25rem}
@media (min-width:576px){
  .brand-time-mobile{display:none!important}
}
@media (max-width:575.98px){
  .brand-time-desktop{display:none!important}
}

/* =========================
   DESKTOP TOP MENU
   ========================= */
.brand-right{
  display:flex;
  align-items:center;
  gap:1.25rem;
}

/* default: sembunyikan menu atas dulu */
.brand-nav{
  display:none;
}

@media (min-width:992px){
  .brand-nav{
    display:flex;
    align-items:center;
    gap:.35rem;
    padding:.20rem;
    border-radius:999px;
    background:rgba(0,0,0,.35);
  }

  .brand-nav-link{
    position:relative;
    display:flex;
    align-items:center;
    gap:.35rem;
    padding:.42rem .95rem;
    border-radius:999px;
    font-size:.85rem;
    font-weight:600;
    color:var(--text-soft);
    text-decoration:none;
    transition:
      background-color .18s ease,
      color .18s ease,
      transform .12s ease;
  }

  .brand-nav-link .ico{
    line-height:0;
  }
  .brand-nav-link .ico i{
    font-size:15px;
    line-height:1;
  }

  .brand-nav-link:hover{
    color:#ffffff;
    background:rgba(255,255,255,.10);
  }

  .brand-nav-link.active{
    color:#121212;
    background:var(--gold);
  }

  .brand-nav-link.active .ico i{
    text-shadow:0 0 8px rgba(0,0,0,.55);
  }

  .brand-time-desktop{
    font-size:.82rem;
    color:var(--text-soft);
    white-space:nowrap;
  }
}

/* ===== Bottom mobile nav (dipakai semua halaman) ===== */

/* default: desktop hidden */
.lte-bottom-nav{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:1030;
  display:none;
}

@media (max-width:991.98px){
  body{
    padding-bottom:80px;
  }

  .lte-bottom-nav{
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:8px 14px calc(env(safe-area-inset-bottom,0) + 10px);
    background:radial-gradient(circle at top, rgba(255,255,255,.06), #050509);
    border-top:0; /* buang garis atas */
    box-shadow:0 -6px 20px rgba(0,0,0,.85);
    backdrop-filter:blur(14px);
  }

  .lte-bottom-nav .lte-tab{
    position:relative;
    flex:1 1 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    padding:6px 0;
    text-decoration:none;
    color:#cfd6e4;
    font-size:11px;
    font-weight:600;
    border-radius:999px;
    transition:
      color .18s ease,
      background-color .18s ease,
      transform .12s ease;
  }

  .lte-bottom-nav .lte-tab .ico{
    line-height:0;
    opacity:.95;
  }
  .lte-bottom-nav .lte-tab .ico i{
    font-size:21px;
    line-height:1;
    filter:drop-shadow(0 1px 0 rgba(0,0,0,.40));
  }

  .lte-bottom-nav .lte-tab:active{
    transform:translateY(1px) scale(.97);
  }

  .lte-bottom-nav .lte-tab.active{
    color:var(--gold);
    background:rgba(255,196,0,.10);
  }
  .lte-bottom-nav .lte-tab.active .ico i{
    text-shadow:0 0 8px rgba(255,196,0,.65);
  }
}

@media (min-width:992px){
  .lte-bottom-nav{display:none}
}

/* ===== MOBILE ONLY TWEAKS (global) ===== */
@media (max-width:575.98px){
  /* sembunyikan tombol Daftar di header mobile */
  .brand-time-mobile #btnDaftarTop-m{
    display:none!important;
  }
}