:root{
  --bg1:#020f1f;
  --bg2:#052a4f;
  --panel:#0a2f57;
  --line:rgba(120,190,255,.18);

  --blue1:#0a6cff;
  --blue2:#003f8c;
  --blueGlow:#2aa8ff;

  --mint:#6fffd8;
  --text:#e9f2ff;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -20%, #0b4ea3 0%, transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg1));
  color:var(--text);
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
}

.hero{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,#082c55,#041b34);
  box-shadow:0 0 30px rgba(0,120,255,.15);
}

.heroTop{
  padding:14px 16px 16px;
  background:linear-gradient(90deg,#082b52,#031b36);
}

.topBanner{
  width:100%;
  display:block;
  border-radius:12px;
  border:1px solid rgba(120,200,255,.25);
  box-shadow:0 10px 30px rgba(0,120,255,.25);
}

.subBanners{
  margin-top:12px;
  display:flex;
  gap:12px;
  align-items:stretch;
}

.subBanners a{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(120,200,255,.2);
  background:linear-gradient(180deg,#031a33,#021221);
  box-shadow:0 0 15px rgba(0,140,255,.15);
}

.subBanners img{
  width:100%;
  height:120px;
  object-fit:contain;
  display:block;
}

.tableBox{
  padding:0;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}

table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:920px;
}

thead tr:first-child th{
  background:linear-gradient(180deg,#007bff,#003f8c);
  color:#fff;
  font-weight:900;
  letter-spacing:.6px;
  border-bottom:1px solid rgba(255,255,255,.2);
  padding:10px 12px;
}

thead tr:last-child th{
  background:linear-gradient(180deg,#005ec4,#002c66);
  color:#fff;
  font-weight:900;
  padding:10px 12px;
}

th, td{
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:10px 12px;
  text-align:center;
  white-space:nowrap;
}

tbody tr{
  background:linear-gradient(180deg,#062645,#031a30);
}

tbody tr:nth-child(even){
  background:linear-gradient(180deg,#05213c,#031525);
}

tbody td{
  color:var(--mint);
  font-weight:900;
  letter-spacing:1px;
  text-shadow:0 0 12px rgba(0,255,200,.25);
}

tbody td:first-child{
  color:#9feaff;
  font-weight:800;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:12px 16px;
  border-top:1px solid var(--line);
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(180deg,#041b34,#021221);
}

.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(120,200,255,.25);
  border-radius:999px;
  background:linear-gradient(180deg,#062c55,#031b34);
  font-size:13px;
}

.btn{
  cursor:pointer;
  border:1px solid rgba(120,200,255,.4);
  background:linear-gradient(180deg,#008cff,#004d9f);
  color:#fff;
  padding:9px 14px;
  border-radius:10px;
  font-weight:800;
  box-shadow:0 0 10px rgba(0,140,255,.4);
}

.btn:hover{
  background:linear-gradient(180deg,#009dff,#0059b8);
}

.btn:active{transform:scale(.98)}

.muted{opacity:.8}

/* ===== MOBILE = SAMA KAYAK DESKTOP ===== */
/* ===== MOBILE: TABLE FULL + NO "KEPOTONG" KELIHATAN ===== */
/* ===== MOBILE: TETAP MODE DESKTOP (NO CARD, NO SCROLL KANAN) ===== */
@media (max-width:640px){
  .wrap{ padding:10px; }
  .heroTop{ padding:12px; }

  .subBanners{
    flex-direction:column;
    gap:10px;
  }
  .subBanners img{ height:auto; }

  /* penting: jangan dipaksa min-width besar */
  .tableBox{
    overflow: hidden; /* no scroll kanan */
  }

  table{
    width:100%;
    min-width:0 !important;     /* ini kuncinya */
    table-layout:fixed;         /* biar kolom dipaksa muat */
  }

  /* kecilkan biar muat */
  th, td{
    padding:6px 4px;
    font-size:10px;
    letter-spacing:.2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* bagi lebar kolom */
  thead th:first-child,
  tbody td:first-child{
    width:28%;
    white-space:normal;         /* tanggal boleh wrap */
    line-height:1.1;
  }

  /* 6 kolom jam = 72% / 6 = 12% */
  thead th:not(:first-child),
  tbody td:not(:first-child){
    width:12%;
  }

  .meta{
    gap:8px;
    padding:10px 12px;
  }
  .pill{ font-size:12px; padding:7px 10px; }
  .btn{ width:auto; }
}
