/* [GARUDA-RED v4] Port 1:1 nilai CSS garuda (PageLayout, HomePage, PromoComp, FooterComp, ActivityIconComp, app)
   Satuan px seperti aslinya (layout px tetap, kolom min(100vw,430px)); grid pakai fr sehingga menyesuaikan lebar HP.
   Semua gambar = aset slotmania136 / buatan sendiri (HD 3x). */
@font-face{font-family:'Roboto';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/roboto-latin.woff2') format('woff2');}

body.g4{--g4-gold:linear-gradient(90deg,rgb(222,158,3),rgb(255,222,0) 46.63%,rgb(255,234,0));--g4-box:rgb(67,0,14);--g4-bd:1px solid rgba(255,255,255,.2);
  --download-height:46px;--navbar-height:48px;--tabbar-height:55px;--tabbar-height-plus:68px;--mobile-max-width:min(100vw,var(--gr-colw,430px));
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;-webkit-font-smoothing:antialiased;
  background:rgb(69,8,22)!important;line-height:1.5;}
html:has(body.g4){background:rgb(69,8,22)!important;}
body.g4 *{box-sizing:border-box;}
.g4 button{font-family:inherit;background:none;border:0;padding:0;margin:0;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.g4 p{margin:0;}
.g4 ul{margin:0;padding:0;list-style:none;}
.g4 img{max-width:none;}

/* ---------- shell ---------- */
.g4 .app-wrapper{width:100%;background:rgb(69,8,22);min-height:100vh;}
.g4 .mobile-container.gr-col{width:var(--mobile-max-width);max-width:var(--mobile-max-width);margin:0 auto;padding:0;min-height:100vh;
  background:#280008;box-shadow:none;}
.g4 .app-layout{position:relative;width:100%;min-height:100vh;color:#fff;background-color:#280008;}
.g4 .main-content{width:100%;}
.g4 .main-content.gr-main{padding-left:0;padding-right:0;min-height:0;}
.g4 .main-content.has-navbar{padding-top:var(--navbar-height);}
.g4 .main-content.has-navbar-download{padding-top:calc(var(--download-height) + var(--navbar-height));}
.g4.g4-nodl .main-content.has-navbar-download{padding-top:var(--navbar-height);}
.g4 .main-content.has-tabbar{padding-bottom:var(--tabbar-height-plus);}
.g4.gr-is-inner .main-content.gr-main{padding:calc(var(--navbar-height) + 6px) 6px 10px;}
.g4.gr-is-inner .main-content.has-tabbar{padding-bottom:calc(var(--tabbar-height-plus) + 30px);}

/* ---------- navbar (PageLayout) ---------- */
.g4 .navbar{position:fixed;top:0;left:50%;transform:translateX(-50%);width:var(--mobile-max-width);z-index:10;padding:0;margin:0;display:block;
  min-height:0;border:0;border-radius:0;background:none;}
.g4 .header-download{position:relative;display:flex;align-items:center;padding:0 8px;height:var(--download-height);
  background:linear-gradient(0deg,rgb(99,0,21),red);box-sizing:border-box;}
.g4.g4-nodl .header-download{display:none;}
.g4 .header-download .close-btn{position:absolute;left:4px;top:4px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;}
.g4 .header-download .close-btn svg{height:18px;width:18px;}
.g4 .header-download .app-info{flex:1 1 0%;display:flex;align-items:center;gap:10px;min-width:0;padding-left:40px;}
.g4 .header-download .app-info .app-logo{width:32px;height:32px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.g4 .header-download .app-info .app-text{display:flex;flex-direction:column;min-width:0;}
.g4 .header-download .app-info .app-name{font-size:14px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:100%;}
.g4 .header-download .app-info .app-desc{font-size:12px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5;}
.g4 .header-download .download-btn{padding:4px 8px;border-radius:5px;font-size:12px;font-weight:500;line-height:1.5;background:#fff;color:red!important;flex-shrink:0;}

.g4 .navbar .header-nav{position:relative;height:var(--navbar-height);display:flex;align-items:center;justify-content:space-between;padding:0 12px;
  background:rgb(67,0,14) url('img4/header-bg.webp') center/cover no-repeat;}
.g4 .navbar .header-nav .menu-btn{height:34px;position:absolute;top:7px;left:12px;cursor:pointer;}
.g4 .navbar .header-nav .menu-btn .menu{height:100%;width:auto;}
.g4 .navbar .header-nav .icon-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:38px;width:auto;}
.g4 .navbar .header-nav .icon-logo.is-gold{height:34px;filter:drop-shadow(0 1px 0 rgba(54,0,11,.9)) drop-shadow(0 0 6px rgba(255,190,60,.35));}
.g4 .navbar .header-nav .gift-container{position:absolute;top:7px;right:56px;display:flex;flex-direction:column;align-items:center;}
.g4 .navbar .header-nav .gift-btn{height:34px;width:auto;animation:g4-float 2s ease-in-out infinite;}
.g4 .navbar .header-nav .contact-btn{height:34px;width:auto;position:absolute;top:7px;right:12px;}
@keyframes g4-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.g4 .navbar .header-nav .page-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:16px;font-weight:500;color:#fff;
  text-transform:capitalize;max-width:70%;width:max-content;text-align:center;line-height:1.1;}
.g4 .navbar .header-nav .back-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;}
.g4 .navbar .header-nav .check-order{height:32px;font-weight:500;font-size:12px;color:#000!important;padding:0 10px;min-width:108px;line-height:32px;text-align:center;
  background:url('img4/btn-gold.webp') center/100% 100% no-repeat;}

/* ---------- home ---------- */
.g4 .home-page .home-cnt{padding:5px 5px 33px;display:flex;flex-direction:column;gap:5px;}
.g4 .banner-carousel{position:relative;}
.g4 .banner-carousel .carousel-container{width:100%;overflow:hidden;touch-action:pan-y;}
.g4 .banner-carousel .carousel-track{display:flex;will-change:transform;transition:transform .4s cubic-bezier(.4,0,.2,1);}
.g4 .banner-carousel .carousel-slide{flex:0 0 auto;width:100%;}
.g4 .banner-carousel .carousel-slide a{display:block;}
.g4 .banner-carousel .carousel-slide img{width:100%;display:block;aspect-ratio:430/174;object-fit:cover;user-select:none;-webkit-user-drag:none;pointer-events:none;}
.g4 .banner-carousel .carousel-dots{left:50%;transform:translateX(-50%);bottom:5px;display:flex;justify-content:center;align-items:center;gap:3px;position:relative;z-index:2;height:5px;}
.g4 .banner-carousel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:linear-gradient(0deg,rgba(40,0,8,.85),rgba(40,0,8,0));pointer-events:none;z-index:1;}
.g4 .dot{border:0;padding:0;transition:.3s cubic-bezier(.4,0,.2,1);border-radius:5px;width:5px;height:5px;background:rgb(107,107,107);}
.g4 .dot.active{width:13px;border-radius:2.5px;background:var(--g4-gold);}

.g4 .seamless-announce-bar{background:var(--g4-box);border:var(--g4-bd);border-radius:16px;height:32px;width:100%;padding:4px;}
.g4 .seamless-announce-bar .inner-announce-bar{height:24px;box-shadow:rgba(0,0,0,.22) 2px 4px 4px inset;background:rgba(0,0,0,.4);border-radius:12px;display:flex;align-items:center;overflow:hidden;padding:0 10px;}
.g4 .seamless-announce-bar .icon-radio{height:100%;width:18px;flex-shrink:0;}
.g4 .seamless-announce-bar .seamless-layout{flex:1 1 0%;overflow:hidden;white-space:nowrap;position:relative;display:flex;align-items:center;}
.g4 .seamless-announce-bar .seamless-content{display:inline-flex;align-items:center;white-space:nowrap;}
.g4 .seamless-announce-bar .seamless-content--scrolling{padding-left:100%;animation:g4-notice 36s linear infinite;will-change:transform;}
.g4 .seamless-announce-bar .seamless-content li{display:inline-flex;align-items:center;margin-right:10px;font-weight:500;font-size:13px;color:#fff;white-space:nowrap;flex-shrink:0;}
@keyframes g4-notice{0%{transform:translateZ(0)}100%{transform:translate3d(-100%,0,0)}}

/* akun + quick links (HomePage .login-user-info) */
.g4 .login-user-info{background:var(--g4-box);border:var(--g4-bd);border-radius:8px;padding:10px;display:flex;align-items:center;gap:8px;}
.g4 .login-user-info .auth-buttons{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.g4 .login-user-info .auth-btn{position:relative;padding:0;display:flex;align-items:center;justify-content:center;height:32px;aspect-ratio:108/38;}
.g4 .login-user-info .auth-btn .btn-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;}
.g4 .login-user-info .auth-btn span{position:relative;z-index:1;font-size:14px;font-weight:500;color:#000;text-transform:capitalize;}
.g4 .login-user-info .auth-btn::after{content:"";position:absolute;inset:3px 6px;border-radius:20px;pointer-events:none;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.55) 45%,transparent 60%) -150% 0/250% 100% no-repeat;animation:g4-sweep 3.2s ease-in-out infinite;}
@keyframes g4-sweep{0%,55%{background-position:-150% 0}100%{background-position:150% 0}}
.g4 .login-user-info .logged-in-info{display:flex;gap:5px;flex-shrink:0;position:relative;min-width:182px;}
.g4 .login-user-info .logged-in-info .icon-account{height:28px;width:auto;}
.g4 .login-user-info .logged-in-info .account-right{display:flex;flex-direction:column;gap:3px;}
.g4 .login-user-info .logged-in-info .user-row{display:flex;align-items:center;gap:5px;padding:6px 10px;border-radius:16px;
  background:linear-gradient(180deg,#8c001e,#510011);box-shadow:inset 0 0 0 1px rgb(255,200,70),inset 0 1px 0 2px rgba(255,255,255,.12),0 1px 3px rgba(0,0,0,.5);}
.g4 .login-user-info .logged-in-info .vip-badge{display:flex;align-items:center;gap:2px;background:linear-gradient(360deg,rgb(99,0,21),red);border-radius:10px;padding:2px 6px;}
.g4 .login-user-info .logged-in-info .vip-badge .vip-icon{height:15px;width:15px;}
.g4 .login-user-info .logged-in-info .vip-badge .vip-level{font-size:12px;font-weight:400;color:#fff;line-height:100%;}
.g4 .login-user-info .logged-in-info .dropdown-icon{width:13px;height:13px;}
.g4 .login-user-info .logged-in-info .username{font-size:12px;font-weight:400;color:#fff;max-width:54px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3;}
.g4 .login-user-info .logged-in-info .copy-btn{height:16px;width:16px;cursor:copy;}
.g4 .login-user-info .logged-in-info .copy-btn svg{width:16px;height:16px;display:block;}
.g4 .login-user-info .logged-in-info .copy-btn.ok svg rect{stroke:#ffd400;}
.g4 .login-user-info .logged-in-info .balance-row{display:flex;align-items:center;gap:4px;padding:0 8px;height:28px;min-width:72px;width:fit-content;
  background:url('img4/btn-gold.webp') center/100% 100% no-repeat;}
.g4 .login-user-info .logged-in-info .balance-row .currency-badge{background:#fff;border-radius:20px;height:20px;width:20px;display:flex;align-items:center;justify-content:center;}
.g4 .login-user-info .logged-in-info .balance-row .currency-badge span{font-size:10px;font-weight:500;color:red;text-transform:uppercase;transform:scale(.8);}
.g4 .login-user-info .logged-in-info .balance-row .balance-amount{font-size:15px;font-weight:500;color:#000;}
.g4 .login-user-info .quick-links{flex:1 1 0%;display:flex;justify-content:space-between;margin-left:auto;}
.g4 .login-user-info .quick-links .divide-icon{width:1px;height:33px;flex-shrink:0;background:linear-gradient(180deg,rgba(255,200,80,0),rgba(255,200,80,.55),rgba(255,200,80,0));}
.g4 .login-user-info .quick-links .quick-link-item{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:2px;}
.g4 .login-user-info .quick-links .quick-item{display:flex;align-items:center;justify-content:center;}
.g4 .login-user-info .quick-links .quick-item .icon{height:34px;width:34px;display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45));}
.g4 .login-user-info .quick-links .name{font-size:11px;font-weight:400;line-height:100%;color:#fff;white-space:nowrap;text-transform:capitalize;}
.g4 .login-user-info .quick-links .unread-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(90deg,rgb(99,0,21),red);border-radius:50%;pointer-events:none;}
.g4 .login-user-info .quick-links .unread-badge .text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.8);font-size:12px;color:#fff;white-space:nowrap;}

/* jackpot */
.g4 .jackpot-info{position:relative;overflow:hidden;}
.g4 .jackpot-info .jackpot{width:100%;display:block;height:auto;}
.g4 .jackpot-info .value{position:absolute;left:50%;bottom:var(--g4-jp-bottom,34%);transform:translateX(-50%);font-weight:600;font-size:var(--g4-jp-fs,20px);line-height:100%;
  color:rgb(255,216,0);white-space:nowrap;text-shadow:0 1px 0 #5a0d17,0 0 6px rgba(255,170,0,.35);font-variant-numeric:tabular-nums;}
.g4 .jackpot-info .jackpot-shine{position:absolute;inset:0;pointer-events:none;
  -webkit-mask:url('img4/jackpot.webp') center/100% 100% no-repeat;mask:url('img4/jackpot.webp') center/100% 100% no-repeat;
  background:linear-gradient(105deg,transparent 40%,rgba(255,250,210,.55) 50%,transparent 60%) -120% 0/250% 100% no-repeat;animation:g4-sweep 4.5s ease-in-out infinite;mix-blend-mode:screen;}

/* populer */
.g4 .hot-games{background:var(--g4-box);border:var(--g4-bd);border-radius:8px;padding:5px 10px;}
.g4 .hot-games .section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.g4 .hot-games .title-wrapper{display:flex;align-items:center;gap:6px;}
.g4 .hot-games .title-bar{width:3px;height:20px;background:var(--g4-gold);}
.g4 .hot-games .section-title{font-size:20px;font-weight:600;color:#fff;line-height:100%;text-transform:capitalize;}
.g4 .hot-games .header-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 10px;min-width:120px;border-radius:9px;
  background:linear-gradient(180deg,#7c001b,#42000e);
  box-shadow:inset 0 0 0 2px rgb(255,200,60),inset 0 0 0 3px #7a4a00,inset 0 0 0 4px rgba(255,236,150,.8),0 0 6px rgba(255,170,0,.45);}
.g4 .hot-games .nav-btn{width:24px;height:24px;background:rgba(45,0,9,.61);border-radius:3px;}
.g4 .hot-games .nav-btn svg{width:100%;height:100%;display:block;color:#fff;}
.g4 .hot-games .more-btn{font-size:13px;font-weight:400;color:#fff!important;text-transform:capitalize;line-height:1.5;}
.g4 .hot-games .swiper-container{overflow:hidden;touch-action:pan-y;}
.g4 .hot-games .swiper-track{display:flex;transition:transform .4s;}
.g4 .hot-games .swiper-page{flex:0 0 100%;width:100%;}
.g4 .hot-games .games-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,auto);gap:6px;}
.g4 .hot-games .game-card{position:relative;overflow:hidden;display:flex;flex-direction:column;width:100%;}
.g4 .hot-games .game-image-wrapper{position:relative;width:100%;border-radius:8px;overflow:hidden;aspect-ratio:94/146;
  background:#80001b url('img4/card-bg.webp') center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,170,80,.35);}
.g4 .g4-card-art{position:absolute;left:0;right:0;top:13%;bottom:9%;}
.g4 .g4-card-art .game-image{width:100%;height:100%;object-fit:cover;display:block;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 84%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 84%,transparent 100%);}
.g4 .g4-card-prov{position:absolute;left:12%;right:12%;top:4%;height:10%;display:flex;align-items:center;justify-content:center;z-index:1;}
.g4 .g4-card-prov img{max-width:100%;max-height:100%;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0,0,0,.6));}
.g4 .g4-card-prov b{font-size:10px;font-weight:700;color:#fff;letter-spacing:.5px;text-shadow:0 1px 1px #000;}
.g4 .g4-card-orn{position:absolute;left:8%;right:8%;bottom:2.5%;height:7%;z-index:1;background:url('img/flourish.webp') center/contain no-repeat;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.6));}
.g4 .game-image-wrapper::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:8px;
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.28) 48%,transparent 60%) -160% 0/260% 100% no-repeat;animation:g4-sweep 5s ease-in-out infinite;}
.g4 .games-grid .game-card:nth-child(2n) .game-image-wrapper::after{animation-delay:1.2s;}
.g4 .games-grid .game-card:nth-child(3n) .game-image-wrapper::after{animation-delay:2.4s;}
.g4 .hot-games .badge-hot-new{position:absolute;top:0;left:0;z-index:3;}
.g4 .hot-games .badge-hot-new .hot{height:16px;width:auto;display:block;animation:g4-flick 1.2s ease-in-out infinite;transform-origin:50% 100%;}
@keyframes g4-flick{0%,100%{transform:scale(1)}50%{transform:scale(1.08,1.12)}}
.g4 .hot-games .badge-fav{position:absolute;top:0;right:0;height:25px;width:25px;z-index:3;display:flex;align-items:center;justify-content:center;}
.g4 .hot-games .badge-fav svg{width:20px;height:20px;fill:rgba(0,0,0,.35);stroke:#fff;stroke-width:1.8;}
.g4 .hot-games .badge-fav.on svg{fill:#cc1940;stroke:#ffd84a;}

/* kategori */
.g4 .game-categories{display:flex;flex-direction:column;gap:5px;}
.g4 .top-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.g4 .grid-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.g4 .top-card,.g4 .grid-card{position:relative;width:100%;display:block;}
.g4 .top-card-icon,.g4 .grid-card-icon{position:relative;display:block;width:100%;overflow:hidden;border-radius:8px;
  background:radial-gradient(120% 90% at 30% 60%,#b40229 0,#86001d 45%,#510011 100%);
  box-shadow:inset 0 0 0 1px rgb(255,196,70),inset 0 0 0 2px rgba(101,15,26,.8),inset 0 0 12px rgba(255,150,40,.35);}
.g4 .top-card-icon{aspect-ratio:198/72;}
.g4 .grid-card-icon{aspect-ratio:1/1;}
.g4 .g4-cat-img{width:100%;height:100%;object-fit:cover;display:block;}
.g4 .g4-cat-art{position:absolute;inset:0;}
.g4 .g4-cat-art img{position:absolute;object-fit:cover;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.5);}
.g4 .top-card .g4-cat-art img{height:82%;aspect-ratio:1/1;top:9%;}
.g4 .top-card .g4-cat-art img:nth-child(1){left:5%;z-index:2;}
.g4 .top-card .g4-cat-art img:nth-child(2){left:26%;transform:rotate(8deg) scale(.86);opacity:.85;}
.g4 .grid-card .g4-cat-art img{width:70%;height:70%;left:15%;bottom:6%;}
.g4 .g4-cat-ico{position:absolute;right:6px;bottom:6px;width:26px;height:26px;opacity:.9;color:#ffd84a;}
.g4 .grid-card .g4-cat-ico{display:none;}
.g4 .top-card .grid-card-header{position:absolute;left:102px;top:8px;display:flex;gap:5px;z-index:3;}
.g4 .top-card .top-card-name{position:relative;padding-left:7px;font-size:14px;font-weight:500;color:#fff;line-height:100%;word-break:break-word;max-width:64px;}
.g4 .grid-card .grid-card-header{position:absolute;left:10px;top:5px;display:flex;align-items:center;gap:5px;z-index:3;}
.g4 .grid-card .grid-card-name{position:relative;padding-left:7px;font-size:12px;font-weight:500;color:#fff;line-height:100%;word-break:break-word;max-width:72px;}
.g4 .top-card-name::before,.g4 .grid-card-name::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:2px;height:10px;background:var(--g4-gold);}

/* promo menarik (PromoComp) */
.g4 .promo-swiper{position:relative;margin-bottom:5px;background:var(--g4-box);border:var(--g4-bd);border-radius:8px;padding:5px 10px 8px;}
.g4 .promo-swiper .title{display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:10px;}
.g4 .promo-swiper .title .icon{height:14px;width:40px;}
.g4 .promo-swiper .title .text{font-weight:600;font-size:14px;color:#fff;text-transform:capitalize;line-height:100%;}
.g4 .promo-swiper .swiper-container{width:100%;overflow:hidden;touch-action:pan-y;}
.g4 .promo-swiper .swiper-track{display:flex;will-change:transform;transition:transform .4s cubic-bezier(.4,0,.2,1);}
.g4 .promo-swiper .swiper-slide{flex:0 0 auto;width:100%;display:flex;gap:6px;}
.g4 .promo-swiper .promo-item{flex:0 0 calc(50% - 3px);min-width:0;border-radius:6px;overflow:hidden;display:block;}
.g4 .promo-swiper .promo-img{width:100%;display:block;border-radius:6px;aspect-ratio:2/1;object-fit:cover;}
.g4 .promo-swiper .swiper-dots{display:flex;justify-content:center;align-items:center;gap:3px;margin-top:6px;}

/* unduh */
.g4 .download-comp{position:relative;width:100%;overflow:hidden;border-radius:8px;border:var(--g4-bd);
  background:radial-gradient(90% 120% at 25% 60%,#a00022 0,#6d0017 55%,#36000b 100%);}
.g4 .download-comp .bg-img{width:100%;aspect-ratio:726/422;display:flex;align-items:flex-end;justify-content:flex-start;}
.g4 .download-comp .bg-img img{width:50%;height:96%;object-fit:contain;object-position:center bottom;display:block;}
.g4 .download-comp .download-content{position:absolute;top:0;right:0;width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;}
.g4 .download-comp .logo-area{display:flex;align-items:center;justify-content:center;gap:5px;}
.g4 .download-comp .logo-area .app-logo{height:30px;width:30px;border-radius:7px;object-fit:contain;}
.g4 .download-comp .logo-area .main-logo{height:26px;width:auto;object-fit:contain;max-width:140px;}
.g4 .download-comp .download-btn{position:relative;display:flex;align-items:center;justify-content:center;height:34px;aspect-ratio:273/55;}
.g4 .download-comp .download-btn .btn-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;}
.g4 .download-comp .btn-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;}
.g4 .download-comp .platform-icon{height:15px;width:15px;}
.g4 .download-comp .btn-text{font-size:13px;font-weight:500;color:#000;white-space:nowrap;}
.g4 .download-comp .download-count{text-align:center;}
.g4 .download-comp .download-count-label{font-size:13px;font-weight:500;color:#fff;text-transform:uppercase;}
.g4 .download-comp .download-count-value{font-size:24px;font-weight:500;background:var(--g4-gold);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;}

/* footer (FooterComp) */
.g4 .footer-comp{display:flex;flex-direction:column;gap:5px;}
.g4 .footer-comp .choose{background:var(--g4-box);border:var(--g4-bd);border-radius:8px;padding:10px 5px;}
.g4 .footer-comp .choose-title{font-weight:600;font-size:14px;color:#fff;margin-bottom:5px;padding-left:10px;}
.g4 .footer-comp .choose-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.g4 .footer-comp .choose-item{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;}
.g4 .footer-comp .choose-item:not(:last-child)::after{content:"";position:absolute;top:0;bottom:16px;width:1px;right:-5px;background:var(--g4-gold);}
.g4 .footer-comp .choose-icon{width:36px;height:36px;color:#ffd84a;}
.g4 .footer-comp .choose-name{font-weight:700;font-size:10px;color:#fff;line-height:100%;margin-bottom:3px;}
.g4 .footer-comp .choose-desc{font-weight:400;font-size:10px;color:#fff;line-height:1.2;}
.g4 .footer-comp .statement{font-weight:400;font-size:12px;line-height:1.3;color:#fff;text-align:center;padding:10px 5px;background:var(--g4-box);border:var(--g4-bd);border-radius:8px;}
.g4 .footer-comp .icon-group{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;}
.g4 .footer-comp .icon-group img{height:22px;width:auto;}
.g4 .footer-comp .icon-group.g4-prov img{height:22px;filter:grayscale(.1);}
.g4 .footer-comp .copyright{font-weight:400;font-size:13px;color:#fff;text-align:center;}

/* tombol samping (ActivityIconComp) */
.g4 .activity-icon-comp{position:fixed;left:max(0px,calc((100vw - var(--mobile-max-width)) / 2));bottom:96px;z-index:10;}
.g4 .activity-icon-comp .toggle-btn{position:relative;cursor:pointer;width:60px;}
.g4 .activity-icon-comp .toggle-btn .btn-menu{width:100%;height:auto;display:block;}
.g4 .gr-float{display:none!important;}

/* ---------- tabbar (PageLayout) ---------- */
.g4 .tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:var(--mobile-max-width);z-index:9;height:92px;padding-bottom:env(safe-area-inset-bottom,0px);
  background:url('img4/tab-bg.webp') center bottom/100% 100% no-repeat;}
.g4 .tabbar .tabbar-arrow{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);height:64px;width:120px;border-radius:40px;display:flex;justify-content:center;padding-top:5px;}
.g4 .tabbar .tabbar-arrow .arrow-coins{height:8px;width:13px;}
.g4 .tabbar .tab-grid{position:absolute;bottom:0;left:0;right:0;height:64px;z-index:2;display:flex;}
.g4 .tabbar .tab-left-bg{flex:1 1 0%;display:flex;align-items:center;justify-content:space-evenly;height:100%;margin-right:64px;}
.g4 .tabbar .tab-right-bg{flex:1 1 0%;display:flex;align-items:center;justify-content:space-evenly;height:100%;}
.g4 .tabbar .tab-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transition:color .2s;color:#fff;}
.g4 .tabbar .tab-item .tab-icon{height:32px;width:auto;object-fit:contain;}
.g4 .tabbar .tab-item .tab-label{font-weight:400;font-size:13px;text-transform:capitalize;line-height:100%;color:#fff;margin-top:1px;}
.g4 .tabbar .tab-item.active .tab-label{color:rgb(255,234,0);}
.g4 .tabbar .tab-item.circle{position:absolute;z-index:2;bottom:10px;left:50%;transform:translateX(-50%);height:72px;width:72px;justify-content:center;border-radius:50%;
  background:radial-gradient(circle at 50% 35%,#cc0c36 0,#a60024 45%,#6d0017 100%);
  box-shadow:0 0 0 3px rgb(255,205,70),0 0 0 4px #8a5200,0 0 0 5px rgba(255,240,170,.9),0 0 14px 4px rgba(255,160,0,.55);
  animation:g4-glow 2.4s ease-in-out infinite;}
.g4 .tabbar .tab-item.circle .tab-icon{height:30px;}
.g4 .tabbar .tab-item.circle .tab-label{font-size:13px;margin-top:2px;}
@keyframes g4-glow{0%,100%{box-shadow:0 0 0 3px rgb(255,205,70),0 0 0 4px #8a5200,0 0 0 5px rgba(255,240,170,.9),0 0 10px 2px rgba(255,160,0,.45)}
  50%{box-shadow:0 0 0 3px rgb(255,215,90),0 0 0 4px #8a5200,0 0 0 5px rgba(255,245,190,1),0 0 18px 6px rgba(255,170,0,.7)}}
/* sembunyikan sisa v3 bila masih ada */
.g4 .gr-bnav,.g4 .gr-appbar,.g4 .gr-header{display:none!important;}
@media (prefers-reduced-motion:reduce){.g4 *{animation:none!important;}}

/* ===== ronde 2: koreksi dari side-by-side 412px ===== */
.g4 .navbar .header-nav .menu-btn{height:22px;top:13px;left:16px;}
.g4 .navbar .header-nav .icon-logo.is-gold{height:40px;}
.g4 .navbar .header-nav .contact-btn{height:30px;top:9px;}
.g4 .login-user-info .auth-btn .btn-bg{top:13%;height:74%;bottom:auto;}
.g4 .login-user-info .auth-btn span{font-weight:400;}
.g4 .login-user-info .quick-links .quick-item .icon{height:32px;width:32px;}
.g4 .hot-games .header-actions{position:relative;flex:0 0 auto;}
.g4 .hot-games .nav-btn{position:relative;display:block;flex:0 0 24px;top:auto;left:auto;right:auto;opacity:1;}
.g4 .hot-games .nav-btn svg{position:static;}
.g4 .hot-games .more-btn{display:inline-block;position:static;flex:0 0 auto;}
.g4 .hot-games .game-image-wrapper{aspect-ratio:148/215;}
.g4 .g4-card-art{left:3%;right:3%;top:14%;bottom:auto;aspect-ratio:1/1;}
.g4 .g4-card-art .game-image{border-radius:6px;
  -webkit-mask-image:radial-gradient(ellipse 62% 62% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 62% 62% at 50% 50%,#000 62%,transparent 100%);}
.g4 .g4-card-prov{top:3.5%;height:9%;left:18%;right:18%;}
.g4 .g4-card-orn{bottom:4%;height:8%;}
.g4 .tabbar .tab-item.circle{bottom:2px;}
/* ===== ronde 3 ===== */
.g4 .grid-row,.g4 .top-row{margin:0;width:100%;padding:0;}
.g4 .grid-row > a,.g4 .top-row > a{min-width:0;margin:0;}
.g4 .tabbar{background-size:100% 84px;background-position:center bottom;}
.g4 .tabbar .tab-item.circle{height:66px;width:66px;bottom:-1px;}
.g4 .tabbar .tab-item.circle .tab-icon{height:26px;}
.g4 .tabbar .tab-item.circle .tab-label{font-size:12px;}
/* ===== ronde 4: halaman dalam ===== */
.g4 .navbar .header-nav .page-title::before,.g4 .navbar .header-nav .page-title::after{display:none!important;content:none!important;}
.g4 .navbar .header-nav.is-sub{background:rgb(67,0,14) url('img4/header-bg.webp') center/cover no-repeat;}
.g4 .navbar .header-nav .check-order{position:absolute;right:12px;top:8px;}
