/* BMW777 Digital Technology - Core Layout Stylesheet */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070b14;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.row > [class*="col-"] { padding: 0 10px; width: 100%; }
@media (min-width: 768px) {
  .col-sm-3, .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-5 { width: 41.6667%; }
  .col-md-8 { width: 66.6667%; }
  .col-sm-9, .col-md-9 { width: 75%; }
  .col-md-12 { width: 100%; }
}

/* Topbar */
.topbar-container {
  background: #050811;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  font-size: 12px;
}
.topbar-container .row { align-items: center; justify-content: space-between; }
.topbar-left-container, .topbar-right-container { width: auto !important; padding: 0 10px; }
.topbar-left-section { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.login-panel { display: flex; align-items: center; gap: 8px; }
.register-button {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  background: #141e33;
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.14);
  transition: 0.2s;
}
.login-panel-item:last-child .register-button {
  background: linear-gradient(180deg, #ffd000 0%, #f5a600 100%);
  color: #070b14;
  border-color: #ffd000;
}
.register-button:hover { filter: brightness(1.1); }

/* Site Header & Menu Slide */
.site-header {
  background: #0a101d;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
}
.site-header .row { align-items: center; }
.logo img { height: 54px; width: auto; }
.menu-slide { position: relative; display: flex; align-items: center; gap: 6px; }
.left_trigger, .right_trigger {
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: #121b2e;
  color: #cbd5e1;
  font-style: normal;
  font-weight: 800;
  user-select: none;
  flex-shrink: 0;
}
.left_trigger:hover, .right_trigger:hover { color: #f5b800; }
.top-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.top-menu::-webkit-scrollbar { display: none; }
.top-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: #cbd5e1;
  background: #11192b;
  border: 1px solid rgba(255,255,255,0.07);
  transition: 0.2s;
}
.top-menu > li > a:hover, .top-menu > li[data-active="true"] > a {
  background: #f5b800;
  color: #070b14;
  border-color: #f5b800;
}

/* Banner */
.banner { background: #070b14; padding-top: 12px; }
.banner-carousel { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.banner-carousel img { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }

/* Announcement */
.home-info-container { padding: 16px 0 32px; }
.announcement-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d1526;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  margin-bottom: 16px;
}
.announcement-container [data-section="title"] {
  background: #f5b800;
  color: #070b14;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 11px;
  flex-shrink: 0;
}
.announcement-container [data-section="announcements"] { flex: 1; overflow: hidden; white-space: nowrap; }
.announcement-list { display: inline-block; animation: marquee 24s linear infinite; }
@keyframes marquee { 0% { transform: translateX(60%); } 100% { transform: translateX(-100%); } }
.announcement-container [data-section="date"] { color: #f5b800; font-weight: 700; flex-shrink: 0; font-size: 11px; }

/* Highlight Index + Sorotan */
.home-inner-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .home-inner-container { grid-template-columns: 2fr 1fr; } }
.home-progressive-jackpot .outer-container {
  background: linear-gradient(135deg, #0e172a, #162340);
  border: 1px solid rgba(245,184,0,0.35);
  border-radius: 12px;
  padding: 16px 20px;
}
.border-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jackpot-play-section { display: flex; align-items: center; gap: 12px; }
.jackpot-play-section img { width: 52px; height: 52px; }
.jackpot-play-text { font-size: 18px; font-weight: 900; color: #fff; }
.jackpot-play-text label { display: block; font-size: 11px; color: #f5b800; text-transform: uppercase; letter-spacing: 1px; }
.bmw-digital { font-size: 24px; font-weight: 900; color: #ffd000; letter-spacing: 1px; }

.lottery-result-container {
  background: #0d1526;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lottery-result-title { font-size: 11px; font-weight: 800; color: #f5b800; letter-spacing: 1px; margin-bottom: 6px; }
.lottery-result { display: flex; align-items: center; gap: 10px; font-size: 18px; color: #fff; }
.lottery-result img { width: 34px; height: 34px; }
.lottery-date { font-size: 11px; color: #94a3b8; margin-top: 6px; }

/* Game / Module Popular Grid */
.popular-game-title-container { margin-bottom: 28px; }
.container-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; text-transform: uppercase; color: #fff;
  margin-bottom: 14px; border-left: 4px solid #f5b800; padding-left: 10px;
}
.popular-game-title-container .game-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
}
.games-group { display: contents; }
.game-item {
  background: #11192b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px;
  transition: 0.2s;
}
.game-item:hover { border-color: #f5b800; transform: translateY(-2px); }
.wrapper-container { position: relative; border-radius: 8px; overflow: hidden; }
.wrapper-container img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.link-container { margin-top: 8px; display: flex; gap: 6px; }
.play-now, .free-play {
  flex: 1; text-align: center; padding: 6px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 800;
}
.play-now { background: #f5b800; color: #070b14; }
.free-play { background: #1e293b; color: #f8fafc; }
.game-name { margin-top: 8px; font-size: 12px; font-weight: 700; color: #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Popular Games 2-Column Section */
.popular-games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #0b1120;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
}
@media (min-width: 992px) { .popular-games { grid-template-columns: 300px 1fr; } }
.popular-games [data-section="left"] { display: flex; flex-direction: column; gap: 12px; }
.section-title { font-size: 15px; font-weight: 800; color: #fff; text-transform: uppercase; }
.jackpot-winners { background: #11192b; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 12px; }
.jackpot-winner-title { font-size: 11px; font-weight: 800; color: #f5b800; margin-bottom: 8px; }
.winners-ticker ul { display: flex; flex-direction: column; gap: 6px; }
.bmw-guide { background: #080d18; padding: 7px 10px; border-radius: 6px; font-size: 12px; color: #cbd5e1; border-left: 3px solid #f5b800; }

.target-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.target-tabs li a {
  display: inline-block; padding: 6px 12px; border-radius: 6px;
  background: #121b2e; color: #cbd5e1; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.target-tabs li.active a, .target-tabs li a:hover { background: #f5b800; color: #070b14; }
.tab-pane { display: none; padding-top: 14px; }
.tab-pane.active { display: block; }
.popular-game-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }

/* Download App Banner */
.download-apk-container {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #4c1d95 100%);
  padding: 28px 0;
  margin-top: 12px;
}
.download-apk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) { .download-apk { grid-template-columns: auto 1fr; } }
.bmw-phone-stage { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bmw-phone {
  width: 170px; background: #070b14; border: 4px solid #334155; border-radius: 20px; padding: 10px; text-align: center;
}
.bmw-phone-label { font-size: 11px; font-weight: 900; color: #f5b800; margin: 6px 0; }
.bmw-phone-topics { display: flex; justify-content: center; gap: 4px; font-size: 9px; font-weight: 700; color: #cbd5e1; margin-bottom: 8px; }
.bmw-phone-topics span { background: #1e293b; padding: 2px 5px; border-radius: 4px; }
.bmw-phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.bmw-phone-bottom { margin-top: 8px; font-size: 9px; font-weight: 800; color: #070b14; background: #f5b800; padding: 4px; border-radius: 4px; }
.download-apk .h2 { font-size: 22px; font-weight: 900; color: #fff; }
.download-apk .h2 strong { color: #ffd000; margin-left: 6px; }
.download-apk .h3 { font-size: 13px; color: #e2e8f0; margin: 6px 0 14px; }
.download-apk-section { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.download-apk-detail { display: flex; flex-direction: column; gap: 8px; }
.download-apk-detail .btn {
  display: inline-block; padding: 8px 14px; border-radius: 6px; font-size: 12px; font-weight: 800;
  background: #f5b800; color: #070b14; text-align: center;
}
.download-apk-detail .btn.bmw-qr-access { background: rgba(255,255,255,0.15); color: #fff; }

/* Channel Banner */
.telegram-banner-container { padding: 18px 0; background: #070b14; }
.bmw-channel-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #0d1526; border: 1px solid rgba(245,184,0,0.3); border-radius: 12px; padding: 14px 20px;
}
.bmw-channel-banner img { width: 52px; height: 52px; }
.bmw-channel-banner span { flex: 1; }
.bmw-channel-banner strong { display: block; color: #fff; font-size: 15px; }
.bmw-channel-banner small { color: #94a3b8; font-size: 12px; }
.bmw-channel-banner b { background: #f5b800; color: #070b14; padding: 8px 16px; border-radius: 8px; font-size: 12px; }

/* Footer */
.site-footer { background: #050811; border-top: 1px solid rgba(255,255,255,0.08); padding: 32px 0; font-size: 13px; color: #94a3b8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; color: #cbd5e1; }
.footer-links a:hover { color: #f5b800; }
.copyright { text-align: right; font-size: 12px; }
@media (max-width: 767px) { .copyright { text-align: left; margin-top: 10px; } }
.footer-separator { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 22px 0; }
.site-description h1 { font-size: 24px; color: #fff; margin: 10px 0; }
.site-description h2 { font-size: 18px; color: #f5b800; margin: 20px 0 8px; }
.site-description p { margin: 0 0 12px; color: #cbd5e1; }
.bmw-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.bmw-reviews > div { background: #0d1424; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px; }
.bmw-reviews h3 { margin: 0 0 6px; color: #fff; font-size: 14px; }
details { background: #0d1424; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 700; color: #f8fafc; }
.bmw-info-row { margin-top: 20px; }
.site-info { background: #0d1424; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px; height: 100%; }
.site-info-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.site-info-title h3 { margin: 0; color: #f5b800; font-size: 14px; }
.site-info-title p { margin: 0; font-size: 11px; }
.site-info-description h4 { margin: 8px 0 2px; color: #fff; font-size: 12px; }
.footer-section-title { font-size: 12px; font-weight: 800; color: #f5b800; text-transform: uppercase; margin-bottom: 10px; }
.hover-list { display: flex; flex-wrap: wrap; gap: 8px; }
.provider-container h5 { color: #fff; margin: 14px 0 8px; font-size: 13px; }
.provider-badge { padding: 6px 12px; border-radius: 6px; background: #0d1424; border: 1px solid rgba(255,255,255,0.08); font-size: 11px; font-weight: 700; color: #cbd5e1; }
