/* AGB99 NEXUS — MOBILE / RESPONSIVE STYLES MOVED FROM style.css */
/* Existing responsive rules only; no new selectors introduced. */

@media(max-width:900px){.headin{grid-template-columns:160px 1fr}.actions{grid-column:2}.grid5{grid-template-columns:repeat(4,1fr)}.providergrid{grid-template-columns:repeat(4,1fr)}.cols{grid-template-columns:1fr}.footgrid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:600px){.wrap{width:calc(100% - 16px)}.headin{grid-template-columns:1fr auto;min-height:70px}.logo{width:155px}.actions{grid-column:auto}.actions .btn{padding:7px 8px;font-size:9px}.grid5{grid-template-columns:repeat(2,1fr);gap:7px}.providergrid{grid-template-columns:repeat(3,1fr)}.download{grid-template-columns:1fr}.download img{max-height:160px}.footgrid{grid-template-columns:1fr}.section{padding:15px 0}.jackval{font-size:24px}.searchbox{display:grid}}

@media(max-width:600px){.float{left:12px;bottom:18px}}

@media(max-width:700px){.rtpgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:700px){.footer-featured-product-section{grid-template-columns:repeat(2,1fr);gap:18px}.provider-footer-grid{grid-template-columns:repeat(2,1fr)}.banking-stats{flex-direction:row;flex-wrap:nowrap;gap:clamp(2px,1.2vw,4px);align-items:center;width:100%;justify-content:center;font-size:clamp(6px,2.4vw,14px)!important}.banking-stats span{padding:clamp(3px,1.2vw,6px) clamp(4px,2vw,12px)!important;white-space:nowrap}.footer-inner{padding-left:12px;padding-right:12px}}

@media(max-width:900px){.source-top-menu>li{flex-basis:110px}.source-top-menu>li>a{font-size:9px}}

@media(max-width:600px){.source-floating{left:12px;bottom:18px}.source-top-menu>li{min-width:82px}.menu-scroll{flex-basis:24px}}

@media(max-width:900px){.source-menu-item{flex-basis:110px}.source-game-list{grid-template-columns:repeat(3,minmax(0,1fr));left:8px;right:8px}.source-game-list>li{height:90px}}

@media(max-width:600px){.source-game-list{top:var(--menu-dropdown-top,112px);max-height:65vh;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.source-game-list>li{height:82px}.source-game-label{opacity:1}}

@media(max-width:1180px){.nav.source-menu .agb99-menu-brand{flex-basis:225px;width:225px}.nav.source-menu .agb99-menu-brand img{width:205px}.nav.source-menu .source-menu-item{flex-basis:78px;min-width:78px}}

@media(max-width:900px){.nav.source-menu,.nav.source-menu .source-navin{height:80px}.nav.source-menu .agb99-menu-brand{flex-basis:190px;width:190px;height:80px}.nav.source-menu .agb99-menu-brand img{width:180px;height:70px}.nav.source-menu .menu-scroll{height:80px}.nav.source-menu .source-top-menu{height:80px}.nav.source-menu .source-menu-item{height:80px;flex-basis:76px;min-width:76px}.nav.source-menu .source-menu-item>a{height:80px;font-size:9px}.nav.source-menu .source-menu-item>a img{width:32px;height:32px;max-width:32px;flex-basis:32px}.nav.source-menu .source-game-list{top:200px}}

@media(max-width:600px){.nav.source-menu,.nav.source-menu .source-navin{height:70px}.nav.source-menu .agb99-menu-brand{flex-basis:150px;width:150px;height:70px;padding:3px 5px}.nav.source-menu .agb99-menu-brand img{width:140px;height:60px}.nav.source-menu .menu-scroll{height:70px;flex-basis:25px;width:25px}.nav.source-menu .source-top-menu{height:70px;overflow-x:auto}.nav.source-menu .source-menu-item{height:70px;flex:0 0 74px;min-width:74px}.nav.source-menu .source-menu-item>a{height:70px;font-size:8px;padding:5px 2px 4px;gap:3px}.nav.source-menu .source-menu-item>a img{width:27px;height:27px;max-width:27px;flex-basis:27px}.nav.source-menu .source-game-list{top:200px}}

@media(max-width:760px){
 .top.agb99-topbar{height:54px;min-height:54px}
 .top .topin.agb99-topbar{height:54px;min-height:54px;width:100%;padding:0 8px;gap:6px}
 .top .agb99-top-actions{height:54px;gap:4px}
 .top .agb99-top-icon{width:24px;height:28px}
 .top .agb99-top-icon img{width:16px;height:16px}
 .top .agb99-telegram-pill{height:28px;min-height:28px;padding:0 8px;border-radius:14px;font-size:13px;line-height:28px}
 .top .agb99-telegram-pill img{width:14px;height:14px;flex-basis:14px}
 .top .agb99-telegram-pill span{font-size:13px;line-height:28px}
 .top .agb99-menu-actions{height:54px;gap:4px}
 .top .agb99-menu-actions .btn{height:30px;padding:0 8px;font-size:13px;line-height:30px}
}

@media (min-width:701px) and (max-width:900px){
  #bbo303_popup.mb88-premium-popup .bbo303-popup-dialog{width:calc(100vw - 24px)!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-wrap{grid-template-columns:42% minmax(0,58%)!important;height:min(520px,calc(100vh - 28px))!important;min-height:360px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body p{font-size:14px!important}
  #bbo303_popup.mb88-premium-popup .mb88-btn-neon{font-size:13px!important}
}

@media (max-width:700px){
  #bbo303_popup.mb88-premium-popup{
    padding:8px!important;
    align-items:center!important;
  }
  #bbo303_popup.mb88-premium-popup .bbo303-popup-dialog{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
  }
  #bbo303_popup.mb88-premium-popup .bbo303-popup-content{
    width:100%!important;
    max-height:calc(100vh - 16px)!important;
    border-radius:12px!important;
  }
  #bbo303_popup.mb88-premium-popup .mb88-popup-wrap{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:min(720px,calc(100dvh - 20px))!important;
    min-height:0!important;
    max-height:calc(100dvh - 20px)!important;
    overflow:hidden!important;
  }
  #bbo303_popup.mb88-premium-popup .mb88-popup-close{top:7px!important;right:7px!important;width:31px!important;height:31px!important;font-size:21px!important;line-height:27px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;flex:none!important;border:0!important;z-index:0!important;overflow:hidden!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero-frame{width:100%!important;height:100%!important;aspect-ratio:auto!important;flex:none!important;min-height:0!important;max-height:none!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero-caption{padding:9px 12px 10px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero-title{font-size:14px!important;line-height:1.3!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero-sub{font-size:10px!important;margin-top:4px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-stats{position:relative!important;z-index:4!important;order:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:8px 9px 6px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-stat{padding:7px 2px!important;border-radius:6px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-stat-num{font-size:15px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-stat-label{font-size:7.5px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-tabs{position:relative!important;z-index:4!important;order:3!important;padding:0 7px!important;flex:0 0 auto!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-tab{padding:10px 3px 9px!important;font-size:10px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body{order:4!important;flex:1 1 auto!important;min-height:110px!important;max-height:none!important;overflow-y:auto!important;padding:11px 11px 9px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body p{font-size:14px!important;line-height:1.55!important;margin-bottom:11px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body p:not(:first-of-type){display:none!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body .mb88-tab-panel[data-popup-panel="tentang"]{margin-top:auto!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body .brand-text{font-size:14px!important}
  #bbo303_popup.mb88-premium-popup .mb88-rtp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  #bbo303_popup.mb88-premium-popup .mb88-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:8px 0 2px!important}
  #bbo303_popup.mb88-premium-popup .mb88-game-icon{height:38px!important}
  #bbo303_popup.mb88-premium-popup .mb88-game-icon img{width:38px!important;height:38px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-footer{position:relative!important;z-index:6!important;order:5!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important;gap:5px!important;padding:7px 9px 9px!important}
  #bbo303_popup.mb88-premium-popup .mb88-btn-neon{min-height:42px!important;padding:8px 3px!important;font-size:11px!important;letter-spacing:.2px!important}
}

@media (max-width:380px){
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero-frame{width:100%!important;height:100%!important;aspect-ratio:auto!important;max-height:none!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-hero-title{font-size:13px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body{min-height:100px!important;padding-left:9px!important;padding-right:9px!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body p{font-size:13px!important;line-height:1.5!important}
  #bbo303_popup.mb88-premium-popup .mb88-popup-body p:not(:first-of-type){display:none!important}
  #bbo303_popup.mb88-premium-popup .mb88-btn-neon{font-size:10px!important;min-height:40px!important}
}


@media (max-width:600px){
  /* TOP BAR */
  .top{height:44px!important;min-height:44px!important}
  .topin{height:44px!important;min-height:44px!important;width:calc(100% - 12px)!important;gap:5px!important}
  .toplinks.agb99-top-actions{gap:5px!important;height:44px!important;align-items:center!important}
  .top .agb99-top-icon{
    width:34px!important;height:28px!important;min-width:34px!important;min-height:28px!important;
    padding:0 7px!important;margin:0!important;display:inline-flex!important;
    align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
    border:0!important;border-radius:999px!important;
    background:#111!important;color:#fff!important;
    box-shadow:none!important;line-height:1!important;--btn-hover-bg:#242424;--btn-hover-shadow:0 5px 14px rgba(0,0,0,.24);transition:background .22s ease,transform .22s ease,box-shadow .22s ease,filter .22s ease;
  }
  .top .agb99-telegram-pill span{display:none!important}
  .top .agb99-top-icon img,.top .agb99-telegram-pill img{
    width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important;
    flex:0 0 15px!important;object-fit:contain!important;
  }
  .top .agb99-chat-icon span{display:flex!important;position:static!important;width:20px!important;height:20px!important;color:#fff!important;font-size:0!important;line-height:1!important}
  .top .agb99-top-icon:hover,.top .agb99-telegram-pill:hover,.top .agb99-menu-actions .btn:hover{background:var(--btn-hover-bg,rgba(255,255,255,.30))!important;filter:brightness(.82)!important;transform:translateY(-2px) scale(1.04)!important;box-shadow:var(--btn-hover-shadow,0 6px 16px rgba(0,0,0,.24))!important;font-weight:800!important;z-index:5!important}

  /* LOGIN / DAFTAR: keep pill dimensions, change text only */
  .top .agb99-menu-actions{display:flex!important;align-items:center!important;gap:4px!important;margin-left:auto!important}
  .top .agb99-menu-actions .btn:nth-child(1),.top .agb99-menu-actions .btn:nth-child(2){display:none!important}
  .top .agb99-menu-actions .btn:nth-child(3),.top .agb99-menu-actions .btn:nth-child(4){display:inline-flex!important}
  .top .agb99-menu-actions .btn{font-size:11px!important;font-weight:500!important}

  /* HEADER: logo row, menu row below */
  .nav.source-menu,.nav.source-menu .source-navin{height:auto!important}
  .nav.source-menu .source-navin{
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
  }
  .nav.source-menu .agb99-menu-brand{
    order:1!important;flex:0 0 82px!important;width:100%!important;height:82px!important;min-height:82px!important;
    padding:4px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;
    background:#111!important;border:0!important;
  }
  .nav.source-menu .agb99-menu-brand img{
    width:220px!important;height:76px!important;max-width:82vw!important;max-height:76px!important;
    object-fit:contain!important;object-position:center!important;margin:0!important;transform:none!important;
  }
  .nav.source-menu .source-top-menu,.nav.source-menu .menu-scroll{order:2!important}
  .nav.source-menu .source-top-menu{
    width:100%!important;height:64px!important;min-height:64px!important;flex:1 1 auto!important;
    overflow-x:auto!important;overflow-y:hidden!important;align-items:stretch!important;
    scrollbar-width:none!important;-ms-overflow-style:none!important;
    background:#0d0d0d!important;border-top:1px solid #252525!important;border-bottom:1px solid #252525!important;
  }
  .nav.source-menu .source-top-menu::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .nav.source-menu .source-menu-item{height:64px!important;flex:0 0 72px!important;min-width:72px!important}
  .nav.source-menu .source-menu-item>a{height:64px!important;padding:5px 2px 4px!important;gap:3px!important;font-size:8px!important}
  .nav.source-menu .source-menu-item>a img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;flex-basis:26px!important}
  .nav.source-menu .menu-scroll{
    position:absolute!important;top:82px!important;height:64px!important;width:24px!important;flex:0 0 24px!important;
    background:rgba(17,17,17,.92)!important;z-index:5!important;
  }
  .nav.source-menu .menu-left{left:0!important}.nav.source-menu .menu-right{right:0!important}
  .nav.source-menu .source-game-list{top:146px!important}

  /* NOTIFICATION: retain existing announcement icon; hide only its text */
  #notification-section .announcement-container{
    display:grid!important;
    background:#a80000!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:30px 11px!important;
    grid-template-areas:'icon info' 'blank date'!important;align-items:center!important;column-gap:5px!important;row-gap:0!important;
    padding:5px 10px!important;margin:0!important;min-height:38px!important;height:auto!important;
  }
  #notification-section .announcement-container>[data-section="title"]{
    grid-area:icon!important;width:30px!important;min-width:30px!important;height:30px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    font-size:0!important;margin:0!important;padding:0!important;
  }
  #notification-section .announcement-container>[data-section="title"] i[data-icon="announcement"]{
    display:block!important;width:24px!important;height:24px!important;margin:0!important;padding:0!important;
    background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
  }
  #notification-section .announcement-container>[data-section="announcements"]{
    grid-area:info!important;width:auto!important;min-width:0!important;max-width:none!important;height:22px!important;background:#a80000!important;
    display:block!important;margin:0!important;overflow:hidden!important;
  }
  #notification-section .announcement-container>[data-section="announcements"] .announcement-list li,
  #notification-section .announcement-container>[data-section="announcements"] .announcement-list.newsticker li{
    font-size:13px!important;line-height:22px!important;height:22px!important;padding:0 4px!important;
  }
  #notification-section .announcement-container>[data-section="date"]{
    grid-area:date!important;width:auto!important;height:11px!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;text-align:right!important;
    margin:0!important;padding:0 4px!important;font-size:7px!important;line-height:11px!important;color:#fff!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }

  /* SLIDER DOTS */
  #slides .dots .dot,#slides .dot{width:8px!important;height:8px!important;min-width:8px!important;min-height:8px!important}
  #slides .dots{gap:4px!important;bottom:7px!important}

  /* JACKPOT: one simple border only, no layered/pseudo decorative lines */
  #jackpot-lottery-section{background:transparent!important;margin-bottom:20px!important;padding-bottom:0!important}
  #jackpot-lottery-section .home-progressive-jackpot{padding:5px!important;background:linear-gradient(180deg,#b30000 0%,#8f0000 52%,#700000 100%)!important;border:1px solid #d4af37!important;border-radius:14px!important;box-sizing:border-box!important;box-shadow:0 5px 14px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,216,77,.5)!important}
  #jackpot-lottery-section .home-progressive-jackpot:before,#jackpot-lottery-section .home-progressive-jackpot:after,
  #jackpot-lottery-section .outer-container:before,#jackpot-lottery-section .outer-container:after,
  #jackpot-lottery-section .inner-container:before,#jackpot-lottery-section .inner-container:after,
  #jackpot-lottery-section .border-container:before,#jackpot-lottery-section .border-container:after,
  #jackpot-lottery-section .jackpot-container:before,#jackpot-lottery-section .jackpot-container:after,
  #jackpot-lottery-section .jackpot-inner-container:before,#jackpot-lottery-section .jackpot-inner-container:after,
  #jackpot-lottery-section .jackpot-border-container:before,#jackpot-lottery-section .jackpot-border-container:after{display:none!important;content:none!important}
  #jackpot-lottery-section .outer-container{padding:3px!important;background:#d4af37!important;border:0!important;box-shadow:none!important;outline:0!important;border-radius:11px!important}
  #jackpot-lottery-section .inner-container{padding:3px!important;background:#8f0000!important;border:0!important;box-shadow:none!important;outline:0!important;border-radius:9px!important;
  }
  #jackpot-lottery-section .border-container{
    min-height:62px!important;height:auto!important;padding:8px 10px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    background:linear-gradient(180deg,#a80000 0%,#720000 100%)!important;
    border:1px solid rgba(214,169,47,.82)!important;border-radius:7px!important;
    box-shadow:inset 0 1px 0 rgba(255,216,77,.16)!important;outline:0!important;
  }
  #jackpot-lottery-section .jackpot-play-section{display:flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important}
  #jackpot-lottery-section .jackpot-play{width:38px!important;height:auto!important}
  #jackpot-lottery-section .jackpot-play-text{font-size:8px!important;line-height:1!important}
  #jackpot-lottery-section .jackpot-container{min-width:0!important;flex:1 1 auto!important;padding:2px!important;border:0!important;box-shadow:none!important;background:#d4af37!important;border-radius:8px!important}
  #jackpot-lottery-section .jackpot-inner-container,#jackpot-lottery-section .jackpot-border-container{
    padding:0!important;border:0!important;box-shadow:none!important;background:#090909!important;
  }
  #jackpot-lottery-section .jackpot-border-container{display:flex!important;align-items:baseline!important;gap:5px!important;white-space:nowrap!important;padding:5px 7px 6px!important;border-radius:5px!important;border:1px solid rgba(212,175,55,.55)!important;background:#050505!important}
  #jackpot-lottery-section .jackpot-currency{font-size:7px!important;color:#ffd84d!important;margin-right:0!important}
  #jackpot-lottery-section #progressive_jackpot{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(17px,5.7vw,25px)!important;font-weight:600!important;letter-spacing:1px!important;line-height:1!important;color:#ffd84d!important;text-shadow:0 1px 0 #fff4bf,0 2px 5px rgba(0,0,0,.9),0 0 12px rgba(255,205,80,.28)!important}
  #jackpot-lottery-wrap{padding-top:8px!important;padding-bottom:2px!important;margin-bottom:0!important}
  #jackpot-lottery-wrap .container,#jackpot-lottery-wrap .row{margin-bottom:0!important}
  #hot-games{padding-top:4px!important;margin-top:0!important}
  #hot-games .popular-game-title-container{margin-top:0!important}
}
