:root {
  --bg: #0a0a0a;
  --header: #4a0a0a;
  --line: #ce1702;
  --topbar: #0f0f0f;
  --red: #9a0e04;
  --hot: #fe1f03;
  --gold: #fda601;
  --join: https://blog.energypowerbatteries.com/;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: #bbb; font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.wrap { width: min(1200px, calc(100% - 20px)); margin: 0 auto; }

.topbar { background: var(--topbar); }
.topbar-inner, .top-left, .top-right { display: flex; align-items: center; gap: 10px; }
.topbar-inner { justify-content: space-between; min-height: 40px; }
.topbar a { color: #848484; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.topbar a:hover { color: #fff; }
.lang { color: #848484; font-size: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; min-width: 88px; height: 30px; padding: 0 14px;
  color: #fff; font-weight: 700; font-size: 13px; border-radius: 3px;
}
.btn-login { background: linear-gradient(#6a6a6a, #464646); }
.btn-daftar { background: linear-gradient(#fda601, #cc7100); color: #111; }

.site-header { background: var(--header); border-bottom: 4px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 210px 1fr; align-items: center; min-height: 84px; gap: 8px; }
.logo { display: flex; justify-content: center; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-item > a {
  color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap;
  padding: 8px 7px; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 68px;
}
.nav-item > a img { width: 26px; height: 26px; }
.nav-item:hover > a, .nav-item.active > a { color: var(--hot); }
.drop {
  display: none; position: absolute; left: 0; top: 100%; z-index: 20;
  background: rgba(0,0,0,.92); border-top: 4px solid #9a0e04; border-bottom: 8px solid #ce1702;
  min-width: 280px; padding: 10px; grid-template-columns: repeat(3, 80px); gap: 8px;
}
.nav-item:hover .drop { display: grid; }
.drop a {
  height: 52px; background: #111 center/contain no-repeat; border: 1px solid #c90101;
}

.hero { background: #070707; padding: 12px 0 6px; }
.banner-board {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 8px;
  min-height: 280px;
}
.hero-banner, .vslide {
  position: relative; overflow: hidden; border-radius: 4px; background: #111; min-height: 280px;
}
.hero-banner img, .vslide img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.vslide { height: 280px; }
.vtrack { display: flex; flex-direction: column; animation: vmove 14s linear infinite; }
.vtrack img { min-height: 280px; height: 280px; object-fit: cover; }
@keyframes vmove {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-280px); }
  66%, 94% { transform: translateY(-560px); }
  100% { transform: translateY(0); }
}

.notice {
  display: flex; align-items: center; gap: 10px;
  background: #202020; color: #fff; margin: 10px 0; padding: 7px 10px; border-radius: 4px; overflow: hidden;
}
.notice b, .notice strong { background: #9a0f06; padding: 4px 8px; border-radius: 3px; font-size: 12px; white-space: nowrap; }
.marquee { overflow: hidden; flex: 1; white-space: nowrap; }
.marquee span { display: inline-block; padding-left: 100%; animation: slide 28s linear infinite; font-size: 13px; }
@keyframes slide { to { transform: translateX(-100%); } }

.jackpot {
  margin: 10px 0 16px; padding: 10px 14px; color: #fff;
  background: linear-gradient(#1c0205, #690712, #1c0205);
  border: 3px solid #e71400; border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.jackpot-label { color: #fd6f16; font-weight: 800; }
.jackpot-value { font-size: clamp(22px, 4vw, 34px); font-weight: 800; color: #ffd36a; text-shadow: 0 0 12px #e71400; }

.section-head { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 8px; }
.section-head h2 { margin: 0; background: #4a0a0a; color: #fff; font-size: 15px; padding: 7px 14px; }
.section-head a { color: var(--hot); font-size: 12px; font-weight: 700; }

.game-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.game-card { background: #050505; border: 1px solid #1a1a1a; border-radius: 5px; overflow: hidden; position: relative; }
.game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-card .name {
  background: #9a0e04; color: #fff; font-size: 10px; text-align: center;
  min-height: 32px; padding: 4px 3px; display: flex; align-items: center; justify-content: center;
}
.game-card .play {
  position: absolute; inset: 0 0 32px 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); opacity: 0; transition: .2s;
}
.game-card:hover .play { opacity: 1; }
.play span { background: #9a0e04; color: #fff; font-weight: 800; font-size: 11px; padding: 5px 12px; }

.winners { margin: 14px 0; background: linear-gradient(#0f0f0f, #3a3a3a, #0f0f0f); border-radius: 6px; padding: 10px; color: #fff; }
.winners h3 { margin: 0 0 6px; font-size: 13px; }
.winner-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; border-bottom: 1px dashed #444; }
.winner-row b { color: #f8a201; }

.providers { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 14px; }
.providers img { height: 42px; width: auto; background: #1a1a1a; border-radius: 4px; padding: 4px; }

.apk {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: center;
  background: #151515; border-radius: 8px; padding: 18px; margin: 16px 0;
}
.apk h3 { color: #fff; margin: 0 0 6px; }
.apk .btn-daftar { height: 38px; min-width: 160px; }

.info-box, .seo { background: #101010; border: 2px solid #c11501; border-radius: 8px; padding: 16px; margin: 16px 0; }
.info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #2a1010; }
.info-row:last-child { border-bottom: 0; }
.info-row span:last-child { color: #fff; font-weight: 700; }
.seo h1 { color: #fff; text-align: center; margin-top: 0; }
.seo p { line-height: 1.75; text-align: justify; }
.seo a { color: var(--hot); font-weight: 700; }

.site-footer {
  background-color: #0a0a0a;
  background-image: var(--image-src);
  background-size: cover;
  background-position: center top;
  padding: 36px 0 96px;
  color: #737373;
  font-size: 13px;
}
.footer-inner { width: min(1280px, calc(100% - 28px)); }
.footer-description-section h4,
.site-footer h4 {
  color: #afafaf;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}
.site-description { margin: 0; line-height: 1.7; color: #737373; }
.site-description a { color: #cfcfcf; }
.site-description a:hover { color: #fbeb8f; }
.footer-separator {
  border: 0;
  border-top: 1px dotted #3a3a3a;
  margin: 22px 0;
}
.footer-sitemap-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr 1.1fr 1fr;
  gap: 18px;
}
.footer-links, .contact-list, .social-media-list, .hover-list, .bank-list {
  list-style: none; margin: 0; padding: 0;
}
.footer-links a, .contact-list a, .social-media-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 3px 0; color: #8a8a8a;
}
.footer-links a:hover, .contact-list a:hover, .social-media-list a:hover { color: #fbeb8f; }
.contact-list img, .social-media-list img { width: 20px; height: 20px; }
.footer-featured-product-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.site-info-img-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.site-info-img-header img { width: 18px; height: 18px; }
.site-info-description p { margin: 0; line-height: 1.55; color: #6e6e6e; }
.footer-banking-section {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.bank-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bank-logo { height: 36px; width: auto; background: #161616; border-radius: 4px; padding: 4px 6px; }
.bank-service-container { display: flex; gap: 28px; }
.time-box { display: flex; align-items: center; gap: 10px; }
.time-box h4 { margin: 0; color: #cfcfcf; font-size: 14px; }
.time-box p { margin: 2px 0 0; color: #8a8a8a; }
.footer-copyright-section {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-section-title {
  margin: 0 0 10px;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 400;
}
.hover-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hover-ico { position: relative; display: block; }
.hover-ico img { display: block; height: auto; max-width: 130px; object-fit: contain; }
.hover-ico .lite { position: absolute; inset: 0; opacity: 1; }
.hover-ico .dim { opacity: 0; }
.cert-col .hover-ico img { height: 40px; width: auto; max-width: none; }
.powered-by-logo { height: 40px; width: auto; }
.copy { margin: 0 0 6px auto; color: #737373; font-size: 12px; white-space: nowrap; }
.footer-provider-section .footer-section-title { margin-bottom: 16px; }
.provider-container {
  background: #111;
  border-radius: 10px;
  padding: 16px 18px 10px;
  margin-bottom: 16px;
}
.provider-container h5 {
  margin: 0 0 12px;
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 500;
}
.provider-container .hover-list { gap: 6px 4px; }
.provider-container .hover-ico img { width: 130px; height: 50px; }
.provider-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.provider-row-2 .provider-container { margin-bottom: 0; }

.float-spin, .float-rtp { position: fixed; left: 12px; z-index: 40; width: 54px; }
.float-spin { bottom: 108px; }
.float-rtp { bottom: 16px; }
.float-spin img, .float-rtp img { width: 54px; height: 54px; }
.mobile-cta { display: none; position: fixed; inset: auto 0 0 0; z-index: 50; background: #0f0f0f; border-top: 1px solid #ce1702; padding: 8px; gap: 8px; }
.mobile-cta a { flex: 1; height: 40px; }

.popup { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: none; }
.popup-box { width: min(420px, 100%); background: #0c0c0c; border: 3px solid #b90d00; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 0 28px #ee000080; pointer-events: auto; }
.popup-box img { width: 100%; }
.popup-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.popup-actions .btn { height: 40px; width: 100%; }

@media (max-width: 1100px) {
  .banner-board { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr; padding: 8px 0; }
  .logo img { height: 46px; }
  .banner-board { grid-template-columns: 1fr; }
  .hero-banner, .vslide, .vtrack img { min-height: 180px; height: 180px; }
  @keyframes vmove {
    0%, 28% { transform: translateY(0); }
    33%, 61% { transform: translateY(-180px); }
    66%, 94% { transform: translateY(-360px); }
    100% { transform: translateY(0); }
  }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .apk, .footer-sitemap-section, .footer-featured-product-section, .footer-banking-section, .footer-copyright-section { grid-template-columns: 1fr; display: grid; }
  .copy { margin: 10px 0 0; white-space: normal; }
  .provider-container .hover-ico img { width: 92px; height: 36px; }
  .provider-row-2 { grid-template-columns: 1fr; }
  .jackpot { flex-direction: column; text-align: center; }
  .mobile-cta { display: flex; }
  .hide-sm { display: none; }
  .drop { display: none !important; }
}
