:root{
  --bg1:#05061a;
  --bg2:#071a50;
  --panel:#071245;
  --panel2:#061033;
  --text:#eaf0ff;
  --shadow:0 14px 34px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 50% -20%, #1231b7 0%, rgba(18,49,183,0) 55%),
    radial-gradient(900px 600px at 50% 10%, rgba(34,105,255,.35) 0%, rgba(34,105,255,0) 55%),
    linear-gradient(180deg,var(--bg2) 0%, var(--bg1) 60%, #040413 100%);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* Background blur sides */
.bg-blur{
  position:fixed; inset:0;
  background:
    radial-gradient(260px 520px at 0% 40%, rgba(255,255,255,.16), rgba(255,255,255,0) 65%),
    radial-gradient(260px 520px at 100% 40%, rgba(255,255,255,.16), rgba(255,255,255,0) 65%);
  filter:blur(12px);
  opacity:.55;
  pointer-events:none;
}

/* wrapper */
.app{
  max-width:1080px;
  margin:0 auto;
  padding:10px 10px 20px;
  position:relative;
}

/* Top header */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(180deg,#081f6f 0%, #06164c 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:10px 12px;
  box-shadow:var(--shadow);
}

.brand{display:flex;align-items:center}
.brand img{height:34px;width:auto;object-fit:contain}

.btn-live{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  background:linear-gradient(180deg,#e51616 0%, #b10808 100%);
  border:1px solid rgba(255,255,255,.18);
  font-weight:900;
  letter-spacing:.3px;
  box-shadow:0 10px 20px rgba(229,22,22,.25);
  user-select:none;
}
.btn-live .ico{display:grid;place-items:center}

/* Sub strip + marquee */
.substrip{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(180deg,#0b2c88 0%, #071e5e 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  padding:8px 10px;
  box-shadow:var(--shadow);
}

.backbtn{
  width:36px;height:36px;
  display:grid;place-items:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  color:#fff;
  cursor:pointer;
}

.marquee{
  position:relative;
  flex:1;
  overflow:hidden;
  border-radius:10px;
}

.marquee::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(7,30,94,1) 0%, rgba(7,30,94,0) 12%, rgba(7,30,94,0) 88%, rgba(7,30,94,1) 100%);
  pointer-events:none;
}

.marquee-track{
  display:flex;
  gap:40px;
  width:max-content;
  animation:marqueeMove 14s linear infinite;
  padding:2px 0;
}

.marquee-item{
  white-space:nowrap;
  font-weight:800;
  font-size:13px;
  color:rgba(255,255,255,.92);
}

/* pause on hover (desktop) */
@media (hover:hover){
  .marquee:hover .marquee-track{animation-play-state:paused}
}

@keyframes marqueeMove{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* content */
.content{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.card{
  background:linear-gradient(180deg,var(--panel) 0%, var(--panel2) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* banner */
.banner{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);

  /* bikin lebih pendek & balance */
  aspect-ratio: 16 / 7;   /* makin besar angka belakang, makin pendek */
}

.banner img{
  width:100%;
  height:100%;
  object-fit:cover;  /* biar tetap penuh & gak kosong */
  display:block;
}


/* buttons */
.action-row{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.btn{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:10px;
  font-weight:900;
  letter-spacing:.4px;
  border:1px solid rgba(255,255,255,.18);
  user-select:none;
}

.btn-ghost{
  background:linear-gradient(180deg,#f1f1f1 0%, #cfcfcf 100%);
  color:#141414;
  border-color:rgba(0,0,0,.18);
}

.btn-red{
  background:linear-gradient(180deg,#e51616 0%, #b10808 100%);
  color:#fff;
}

.btn .ico{display:grid;place-items:center}

/* help bar */
.helpbar{
  margin-top:10px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:8px;
  background:linear-gradient(180deg,#e51616 0%, #b30808 100%);
  border:1px solid rgba(255,255,255,.18);
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
}

/* jackpot */
.jackpot-card{padding:12px 12px 14px}
.jackpot-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
}

.led{
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(1200px 90px at 50% 0%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%),
    linear-gradient(180deg,#071a5a 0%, #050d2a 100%);
}
.led-inner{
  border-radius:10px;
  padding:14px 10px;
  background:linear-gradient(180deg,#0a0a0a 0%, #0c0c0c 100%);
  border:1px solid rgba(255,255,255,.20);
  position:relative;
  overflow:hidden;
}
.led-inner::before{
  content:"";
  position:absolute; inset:6px;
  border-radius:8px;
  border:2px dotted rgba(255,255,255,.25);
  pointer-events:none;
}
.led-text{
  display:block;
  text-align:center;
  font-weight:900;
  letter-spacing:2px;
  font-size:26px;
  color:#d9ffb8;
  text-shadow:0 0 12px rgba(150,255,110,.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}

/* article */
.article-card{padding:14px 14px 12px}
.article-card h1{
  margin:0;
  font-size:20px;
  line-height:1.2;
  font-weight:900;
  text-align:center;
}
.article-card h1 .dot{
  display:inline-block;
  width:18px;height:18px;
  margin-right:8px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%, #7fd3ff, #1f69ff);
  vertical-align:-3px;
  box-shadow:0 10px 22px rgba(31,105,255,.35);
}

.article{
  margin-top:10px;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.8;
  text-align:center;
}

.article b{color:#7aa9ff}

.copyright{
  margin-top:12px;
  padding:12px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,#061a5a 0%, #05103a 100%);
  text-align:center;
  font-size:13px;
  color:rgba(255,255,255,.9);
}

/* ========= Bottom nav (floating, rapih) ========= */
.bottom-nav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:10px;

  width:min(1080px, calc(100% - 20px));
  display:grid;
  grid-template-columns:repeat(5,1fr);

  background:linear-gradient(180deg,#1d52e9 0%, #153bb9 100%);
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;

  padding:10px 8px 12px;
  z-index:50;

  box-shadow:0 18px 45px rgba(0,0,0,.55);
}

.nav-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;

  padding:8px 6px;
  border-radius:12px;

  color:rgba(255,255,255,.92);
  font-weight:900;
  font-size:10px;
  text-transform:uppercase;

  transition:transform .12s ease, background .12s ease, color .12s ease;
}

.nav-item .nav-ico{
  display:grid;
  place-items:center;
  width:36px;
  height:30px;
}

.nav-item svg{opacity:.95}

.nav-item.active{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.nav-item:active{transform:scale(.98)}

.safe-space{height:110px}

/* responsive tweaks */
@media (min-width: 900px){
  .app{padding:14px 14px 26px}
  .banner{min-height:420px}
  .article-card h1{font-size:24px}
  .article{font-size:14px}
  .bottom-nav{bottom:14px;padding:12px 10px 14px}
  .safe-space{height:130px}
}
