    :root{--gold:#f6d170;--text:#f7f7f7;--overlay:rgba(0,0,0,.65)}
    *{box-sizing:border-box}
    body{margin:0;color:var(--text);font-family:Montserrat,Arial,Helvetica,sans-serif;display:grid;place-items:start center;min-height:100vh;padding:28px 16px;
      background:url('/assets/img/background-mj3.png') center/cover fixed no-repeat}
    .title{opacity:.95;text-shadow:0 2px 10px rgba(0,0,0,.6)}
    .jackpot{margin-top:10px;border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:12px 18px;display:inline-grid;gap:6px;background:rgba(0,0,0,.45);backdrop-filter:blur(2px)}
    .jackpot .label{font-weight:800}
    .jackpot .amount{color:var(--gold);font-weight:800}

    .machine{margin-top:24px;background:linear-gradient(180deg,rgba(15,19,26,.92),rgba(11,14,19,.92));border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(0,0,0,.6)}


    .reels{display:grid;grid-template-columns:repeat(3,110px);gap:16px;justify-content:center;position:relative}
    .reel{height:330px;width:110px;background:#121722;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.08);position:relative}
    .slot-col{display:block;will-change:transform}
    .cell{display:grid;place-items:center;height:110px}
    .cell img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.45))}

    .reels::after{content:"";position:absolute;left:6px;right:6px;top:110px;height:110px;border-top:2px dashed rgba(246,209,112,.35);border-bottom:2px dashed rgba(246,209,112,.35);pointer-events:none}

    .controls{display:grid;place-items:center;margin-top:18px}
    .btn{appearance:none;border:0;outline:0;padding:14px 130px;border-radius:999px;background:linear-gradient(180deg,#ffd870,#f4bf42);color:#3a2a00;font-weight:900;cursor:pointer;box-shadow:0 16px 36px rgba(244,191,66,.28)}
    .btn:disabled{opacity:.6;cursor:not-allowed}
    
.brand-PRAGMATIC{
  display: flex;                 /* dari inline-flex -> flex (block) */
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;            /* biar bisa center dengan margin:auto */
  margin: 16px auto 0;           /* center */
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.brand-PRAGMATIC img{
  height: 32px;                  /* sesuaikan ukuran logo */
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.25));
}
.brand-PRAGMATIC .brand-caption{
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 12px;
  opacity: .9;
  white-space: nowrap;
}

/* Responsif */
@media (max-width: 480px){
  .brand-PRAGMATIC{
    width: calc(100% - 32px);
    margin: 16px auto 0;
    justify-content: center;
  }
  .brand-PRAGMATIC img{ height: 26px; }
}  /* <-- TUTUP media query yang tadi hilang */

/* Modal (di luar media query supaya aktif di semua ukuran) */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:var(--overlay);padding:18px;z-index:50}
.modal.show{display:flex}
.modal-card{width:min(92vw,520px);background:#0b0d10;border:1px solid rgba(255,255,255,.12);border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.6);overflow:hidden}
.modal-head{background:#f4b000;color:#211700;font-weight:900;letter-spacing:.5px;padding:14px 18px;text-align:center}
.modal-body{padding:18px 18px 8px;text-align:center}
.modal-body p{margin:8px 0}
.modal-foot{padding:18px;display:grid;gap:8px;place-items:center}
.cta{padding:14px 24px;border-radius:12px;border:2px solid #c5961a;background:transparent;color:#f1d071;font-weight:800;cursor:pointer}
.timer{font-weight:900;font-size:22px;margin-top:6px}

/* Reel responsif */
@media (max-width:420px){
  .reels{grid-template-columns:repeat(3,92px)}
  .reel{height:276px;width:92px}
  .cell{height:92px}
  .cell img{width:74px;height:74px}
  .reels::after{top:92px;height:92px}
}