/*
Theme Name: FUNGAME777
Theme URI: https://seo-jbgroup.com/
Author: JBGROUP21
Author URI: https://seo-jbgroup.com/
Version: 1.9.9
Description: JBGROUP21 bukan cuma soal SEO. Ini tempat kumpulnya orang-orang yang suka ngulik, eksperimen, dan berkembang bareng di dunia digital. Dari yang baru belajar sampai yang udah lama main SEO, semuanya punya ruang buat berbagi insight, cari ide baru, dan tumbuh bersama 🔥 "Belajar Bareng, Naik Bareng".
Text Domain: JBGROUP21
*/

:root{
      --primary:#e40000;
      --primary-2:#e20000;
      --dark:#fff;
      --text:#4b5563;
      --muted:#e0e0e0;
      --bg:#101013;
      --soft:#350000;
      --soft-2:#160002;
      --border:#e20000;
      --card:#f8fbfd;
      --white:#fff;
      --radius:14px;
      --shadow:0 8px 24px rgba(0,0,0,.08);
      --container:1200px;
      --header-h:126px;
      --header-mobile:66px;
    }

    *{box-sizing:border-box}
    html,body{margin:0;padding:0}
    body{
      font-family:Arial,Helvetica,sans-serif;
      color:var(--text);
      background:var(--bg);
      line-height:1.6;
      overflow-x:hidden;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }

    a{
      color:var(--primary);
      text-decoration:none;
    }

    a:hover,
    a:focus{
      color:var(--dark);
    }

    amp-img,
    amp-anim{
      max-width:100%;
      height:auto;
      vertical-align:middle;
    }

	.banner-main-img,
	.jackpot-img,
	.site-logo-img {
		max-width: 100%;
		height: auto;
		display: block;
	}

	.jackpot-img {
		width: 100%;
		margin: 0 auto;
	}

    h1,h2,h3{
      margin:0 0 12px;
      line-height:1.25;
      color:var(--dark);
    }

    h1{
      font-size:25px;
      font-weight:800;
      text-align:center;
      color: #ff0000;
    }

    h2{
      font-size:22px;
      font-weight:800;
    }

    p{margin:0 0 16px}
    ul{margin:0;padding:0;list-style:none}

    .container{
      width:100%;
      max-width:var(--container);
      margin:0 auto;
      padding:0 16px;
    }

    .header{
      position:fixed;
      top:0;
      left:0;
      right:0;
      z-index:999;
      background:#101013;
      box-shadow:0 2px 12px rgba(0,0,0,.05);
    }

    .top-header{
      background:#160002;
      border-bottom:1px solid var(--primary-2);
    }

    .top-header-inner,
    .nav-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
    }

    .top-header-inner{
      min-height:52px;
    }

    .contact-us,
    .main-menu,
    .menu,
    .login-mobile,
    .main-homepage,
    .contact-floating{
      display:flex;
      align-items:center;
      gap:10px;
    }

    .contact-us li a{
      display:flex;
      align-items:center;
      gap:6px;
      font-size:12px;
      color:var(--white);
      font-weight:700;
    }

    .contact-us li a:hover{
      color:var(--primary);
    }

    .menu{
      gap:8px;
    }

    .menu li a,
    .login-mobile li a{
      display: block;
      padding: 5px 20px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      text-align: center;
      color: #101013;
    }

    .daftar a{
      background: linear-gradient(180deg, #1e0604 0%, #db0000 100%);
      border-top: 1px solid #db0000;
    }

    .login a{
      background: linear-gradient(180deg, #5d5d5d 0%, #ececec 100%);
      border-top: 1px solid #ececec;
    }

    .nav-bar{
      background:linear-gradient(90deg,#1e0604 0%,#b40015 40%,#1e0604 100%);
      border-top:1px solid var(--primary-2);
    }

    .nav-inner{
      min-height:74px;
    }

    .site-logo{
      width:220px;
      flex:0 0 auto;
    }

    .main-menu{
      flex-wrap:wrap;
      justify-content:flex-end;
      gap:2px;
      text-transform: uppercase;
    }

    .main-menu li a{
      display:flex;
      align-items:center;
      gap:8px;
      color:#fff;
      font-weight:700;
      font-size:14px;
      padding:18px 14px;
    }

    .main-menu li a:hover,
    .main-menu li a[aria-current="page"]{
      color:#fff;
    }

    .bg-line{
      height:3px;
      background:linear-gradient(90deg,#690712 0%,#e20000 50%,#690712 100%);
    }

    .sticky{
      height:var(--header-h);
    }

    .mobile{display:none}
    .desktop{display:block}

    .svg-menu,
    .svg-content{
      display:inline-block;
      width:20px;
      height:20px;
      background-repeat:no-repeat;
      background-position:center;
      background-size:contain;
      flex:0 0 20px;
    }

    .svg-content{
      width:24px;
      height:24px;
    }

    .svg-beranda{background-image:url("images/icon/icon-beranda.svg")}
    .svg-sport{background-image:url("images/icon/icon-sports.svg")}
    .svg-casino{background-image:url("images/icon/icon-casino.svg")}
    .svg-slots{background-image:url("images/icon/icon-slots.svg")}
    .svg-togel{background-image:url("images/icon/icon-togel.svg")}
    .svg-fishing{background-image:url("images/icon/icon-fishing.svg")}
    .svg-poker{background-image:url("images/icon/poker.svg")}
    .svg-gacor{background-image:url("images/icon/icon-gacor.svg")}
    .svg-new{background-image:url("images/icon/icon-new.svg")}
    .svg-populer{background-image:url("images/icon/icon-populer.svg")}
    .svg-whatsapp{background-image:url("images/icon/icon-whatsapp.svg")}
    .svg-telegram{background-image:url("images/icon/icon-telegram.svg")}
    .svg-livechat{background-image:url("images/icon/icon-livechat.svg")}
    .svg-livechat-3d{background-image:url("images/icon/icon-livechat.png")}
    .svg-beranda-3d{background-image:url("images/icon/beranda.png")}
    .svg-promosi-3d{background-image:url("images/icon/promosi.png")}
    .svg-hot-mobile{background-image:url("images/icon/mobile/hot-games.svg")}
    .svg-slots-mobile{background-image:url("images/icon/mobile/slots.svg")}
    .svg-casino-mobile{background-image:url("images/icon/mobile/casino.svg")}
    .svg-sport-mobile{background-image:url("images/icon/mobile/sports.svg")}
    .svg-arcade-mobile{background-image:url("images/icon/mobile/arcade.svg")}
    .svg-poker-mobile{background-image:url("images/icon/mobile/poker.svg")}
    .svg-togel-mobile{background-image:url("images/icon/mobile/others.svg")}
    .svg-beranda-mobile{background-image:url("images/icon/mobile/home-active.svg")}

    .slide{
      background:#101013;
    }

    .main-slide{
      width:100%;
    }

    .btm-cta{
      background:#0c0c0c;
      border-top:1px solid var(--border);
      border-bottom:1px solid var(--border);
      padding:10px 0;
    }

    .announcement-container{
      display:flex;
      align-items:center;
      gap:12px;
      font-weight:700;
    }

    .announcement-icon{
      flex:0 0 25px;
    }

    .marquee-text{
      flex:1;
      min-width:0;
      overflow:hidden;
      background:#171717;
      border-radius:999px;
      padding:8px 14px;
    }

    .marquee-track{
      display:flex;
      width:max-content;
      animation:marquee 35s linear infinite;
    }

    .marquee-track span{
      white-space:nowrap;
      padding-right:48px;
      font-size:12px;
      color:#e9e3e5;
      letter-spacing:.2px;
    }

    .marquee-text:hover .marquee-track{
      animation-play-state:paused;
    }

    @keyframes marquee{
      0%{transform:translateX(0)}
      100%{transform:translateX(-50%)}
    }

    .menu-mobile{
      padding:16px 0 10px;
    }

    .login-mobile{
      gap:8px;
      margin-bottom:12px;
    }

    .login-mobile li{
      flex:1;
    }

    .main-homepage{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:10px;
    }

    .main-homepage li a{
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:8px;
      min-height:88px;
      text-align:center;
      padding:12px 8px;
      background:var(--soft);
      border:1px solid var(--border);
      border-radius:12px;
      color:var(--dark);
      font-size:13px;
      font-weight:700;
    }

    .main-homepage .svg-menu{
      width:26px;
      height:26px;
    }

    .section-wrap{
      padding:24px 0 8px;
      background:#101013;
    }

    .panel{
      background:var(--soft-2);
      border-radius:18px;
      padding:18px 0;
      margin-bottom:24px;
      overflow:hidden;
    }

    .jackpot{
      margin:0 0 20px;
      padding:0;
      width:100%;
    }

    .jackpot img,
    .jackpot amp-anim,
    .jackpot-img{
      width:100% !important;
      max-width:none !important;
      height:auto !important;
      display:block;
      margin:0 !important;
    }

    .section-title{
      display:flex;
      align-items:center;
      gap:10px;
      font-size:20px;
      font-weight:800;
      color:var(--white);
      margin:0 18px 14px;
      padding-bottom:10px;
      border-bottom:3px solid var(--primary-2);
    }

    .games-grid,
    .provider-grid,
    .payment-grid{
      display:grid;
      gap:14px;
    }

    .games-grid{
      grid-template-columns:repeat(6,minmax(0,1fr));
      padding:0 18px;
    }

    .provider-grid{
      grid-template-columns:repeat(6,minmax(0,1fr));
    }

    .payment-grid{
      grid-template-columns:repeat(5,minmax(0,1fr));
    }

    .game-card{
      background:#310000;
      border:1px solid var(--border);
      border-radius:14px;
      overflow:hidden;
      box-shadow:0 2px 10px rgba(0,0,0,.04);
    }
    .logo-card{
      background:#101013;
      border:1px solid var(--border);
      border-radius:14px;
      overflow:hidden;
      box-shadow:0 2px 10px rgba(0,0,0,.04);
    }

    .game-thumb{
      background:linear-gradient(180deg,#730000,#310000);
      padding:8px;
    }

    .game-thumb amp-img{
      border-radius:10px;
    }

    .game-title{
      padding:10px 8px 12px;
      text-align:center;
      font-size:13px;
      font-weight:700;
      color:var(--white);
      min-height:56px;
    }

    .logo-card{
      display:flex;
      align-items:center;
      justify-content:center;
      /* min-height:82px; */
      padding:10px;
    }

    .footer{
      background:#101013;
      padding:20px 0 24px;
    }

    .footer-section{
      margin-bottom:28px;
    }

    .footer-title{
      font-size:18px;
      font-weight:800;
      color:var(--primary-2);
      margin:0 0 14px;
    }

    .group-box{
      position:relative;
      border:1px solid var(--border);
      border-radius:14px;
      padding:20px 16px 16px;
      margin-bottom:18px;
      background:#101013;
    }

    .col-title{
      position:absolute;
      top:-12px;
      left:14px;
      background:#101013;
      color:var(--muted);
      padding:0 8px;
      font-size:14px;
      font-weight:800;
    }

    .disclaimer{
      padding:28px 0 14px;
      border-top:1px solid var(--border);
      border-bottom:1px solid var(--border);
      background:#020206;
    }

    .article{
      margin:0 auto;
      text-align:center;
    }

    .article p{
      color:var(--muted);
      font-size:15px;
    }

    .footer-nav{
      padding:12px 0 22px;
    }

    .footer-nav ul{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:12px;
    }

    .footer-nav a{
      display:block;
      text-align:center;
      padding:14px 12px;
      border-radius:12px;
      background:var(--soft);
      border:1px solid var(--border);
      color:var(--dark);
      font-size:14px;
      font-weight:700;
    }

    .footer-nav a:hover{
      border-color:var(--primary);
      color:var(--primary);
    }

    .sponsored{
      text-align:center;
      padding:6px 0 16px;
      color:var(--muted);
      font-size:14px;
    }

    .sponsored span{
      display:block;
      margin-bottom:10px;
      font-weight:700;
    }

    .copyright{
      text-align:center;
      font-size:13px;
      color:var(--muted);
    }

    .copyright strong{
      color:var(--primary);
    }

    .quick-footer{
      position:fixed;
      right:12px;
      bottom:0;
      z-index:20;
      background:linear-gradient(180deg,#1e0604 0%,#b40015 100%);
      border-radius:12px 12px 0 0;
      box-shadow:0 8px 24px rgba(0,0,0,.18);
    }

    .quick-footer li a{
      display:flex;
      align-items:center;
      gap:8px;
      padding:10px 16px;
      color:#101013;
      font-weight:700;
    }

    .contact-floating{
      position:fixed;
      left:0;
      right:0;
      bottom:0;
      z-index:30;
      padding:6px 8px;
      background:#1e0604;
      border-top:2px solid var(--primary-2);
      justify-content:space-between;
    }

    .contact-floating li{
      flex:1;
    }

    .contact-floating li a{
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:4px;
      color:#fff;
      font-size:12px;
      font-weight:700;
      text-align:center;
    }

    .contact-floating .svg-menu{
      width:24px;
      height:24px;
    }

    .page-sidebar,
    .tg,
    .deploy-sidebar{
      display:none;
    }

    .sr-only{
      position:absolute;
      width:1px;
      height:1px;
      padding:0;
      margin:-1px;
      overflow:hidden;
      clip:rect(0,0,0,0);
      white-space:nowrap;
      border:0;
    }

    @media (max-width: 1024px){
      .games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
      .provider-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
      .payment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
      .footer-nav ul{grid-template-columns:repeat(3,minmax(0,1fr))}
    }

    @media (max-width: 768px){
    .desktop{display:none}
    .mobile{display:block}

    .top-header{display:none}

    .nav-bar{
      position:relative;
    }

    .nav-inner{
      min-height:62px;
      position:relative;
      display:flex;
      align-items:center;
      justify-content:flex-start;
    }

    .deploy-sidebar{
      display:block;
      width:36px;
      height:36px;
      background:url("images/deploy-nav.png") center/24px no-repeat;
      cursor:pointer;
      position:relative;
      z-index:3;
      flex:0 0 36px;
    }

    .site-logo{
      position:absolute;
      left:50%;
      top:50%;
      transform:translate(-50%,-50%);
      margin:0;
      width:190px;
      z-index:2;
    }

    .sticky{
      height:var(--header-mobile);
    }

    .page-sidebar{
      display:block;
      position:fixed;
      top:0;
      right:-280px;
      width:272px;
      height:100vh;
      background:#101013;
      border-left:1px solid var(--border);
      box-shadow:-10px 0 24px rgba(0,0,0,.08);
      z-index:1001;
      transition:right .25s ease;
      overflow-y:auto;
    }

    .tg{
      display:none;
    }

    .tg:checked ~ .page-content .page-sidebar{
      right:0;
    }

    .page-sidebar-scroll{
      padding:20px 0 90px;
    }

    .nav-item li a{
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 18px;
      border-bottom:1px solid #f1f5f9;
      color:var(--dark);
      font-weight:700;
    }

    .nav-item li a[aria-current="page"]{
      background:var(--soft);
      color:var(--primary);
    }

    .sidebar-shortcuts{
      height:10px;
      background:var(--soft);
      margin:8px 0;
    }

    .menu-mobile{
      padding-top:16px;
    }

    .section-wrap{
      padding-top:16px;
    }

    .panel{
      padding:12px 0;
      border-radius:14px;
    }

    .games-grid{
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
      padding:0 12px;
    }

    .provider-grid{
      grid-template-columns:repeat(4,minmax(0,1fr));
    }

    .payment-grid{
      grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .footer-nav ul{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }

    h1{
      font-size:26px;
    }

    .section-title{
      font-size:18px;
      margin-left:12px;
      margin-right:12px;
    }

    .announcement-container{
      align-items:flex-start;
    }

    .marquee-track span{
      font-size:11px;
    }

    .footer{
      padding-bottom:72px;
    }
  }

    @media (max-width: 480px){
      .container{
        padding:0 12px;
      }

      .main-homepage{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:8px;
      }

      .main-homepage li a{
        min-height:82px;
        font-size:12px;
        padding:10px 6px;
      }

      .games-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }

      .provider-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
      }

      .payment-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }

      .footer-nav ul{
        grid-template-columns:1fr;
      }

      .menu li a,
      .login-mobile li a{
        padding:11px 14px;
      }
    }
/* WordPress editor content inside landing layout */
.article .wp-editor-content{max-width:100%;}
.article .wp-editor-content p{margin:0 0 16px;}
.article .wp-editor-content h2,
.article .wp-editor-content h3,
.article .wp-editor-content h4{color:var(--primary-2);line-height:1.25;margin:22px 0 12px;}
.article .wp-editor-content ul,
.article .wp-editor-content ol{display:inline-block;text-align:left;margin:10px auto 18px;padding-left:24px;}
.article .wp-editor-content img{max-width:100%;height:auto;border-radius:10px;}
.article .wp-editor-content a{font-weight:700;}


/* === FINAL JACKPOT SPACING FIX: full width tapi tetap ada nafas kiri-kanan === */
.panel{
  padding-left:0 !important;
  padding-right:0 !important;
  overflow:hidden !important;
}

.jackpot{
  width:100% !important;
  max-width:100% !important;
  margin:0 0 20px 0 !important;
  padding:0 16px !important;
  display:block !important;
}

.jackpot img,
.jackpot amp-img,
.jackpot amp-anim,
.jackpot .jackpot-img,
.jackpot .i-amphtml-element{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  display:block !important;
  margin:0 auto !important;
}

.jackpot amp-img img,
.jackpot amp-anim img,
.jackpot .i-amphtml-fill-content,
.jackpot .i-amphtml-replaced-content{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:fill !important;
  object-position:center !important;
}

.section-title,
.games-grid{
  margin-left:18px !important;
  margin-right:18px !important;
}

@media(max-width:768px){
  .jackpot{
    padding-left:10px !important;
    padding-right:10px !important;
  }
  .section-title,
  .games-grid{
    margin-left:12px !important;
    margin-right:12px !important;
  }
}

/* === INNER PAGE / POST TEMPLATE === */
.inner-template .header{
  background:#fff;
}

.inner-main{
  background:#f4f8fb;
  min-height:520px;
}

.inner-hero{
  background:linear-gradient(90deg,#1e0604 0%,#690712 50%,#1e0604 100%);
  padding:34px 0;
  border-bottom:3px solid var(--border);
}

.inner-hero-box{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  padding:26px 28px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.inner-hero h1{
  color:#fff;
  text-align:left;
  font-size:34px;
  margin:0;
  text-shadow:0 2px 8px rgba(0,0,0,.25);
}

.breadcrumb{
  color:#dbeafe;
  font-size:13px;
  font-weight:700;
  margin-bottom:10px;
}

.breadcrumb a{
  color:#fff;
}

.breadcrumb span{
  margin:0 4px;
}

.inner-content-section{
  padding:32px 0 40px;
}

.inner-container{
  max-width:980px;
}

.content-card,
.post-list-card{
  background:#fff;
  border:1px solid #d7ecfb;
  border-radius:18px;
  padding:34px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.inner-editor-content{
  text-align:left;
  color:#4b5563;
  font-size:16px;
  line-height:1.85;
}

.inner-editor-content h2,
.inner-editor-content h3,
.inner-editor-content h4{
  color:var(--primary-2);
  margin:28px 0 12px;
  line-height:1.3;
}

.inner-editor-content h2{font-size:25px;}
.inner-editor-content h3{font-size:21px;}
.inner-editor-content h4{font-size:18px;}

.inner-editor-content p{
  margin:0 0 18px;
}

.inner-editor-content ul,
.inner-editor-content ol{
  margin:12px 0 20px;
  padding-left:24px;
  list-style-position:outside;
}

.inner-editor-content ul{list-style:disc;}
.inner-editor-content ol{list-style:decimal;}

.inner-editor-content li{
  margin-bottom:8px;
}

.inner-editor-content img{
  max-width:100%;
  height:auto;
  border-radius:14px;
  display:block;
  margin:18px auto;
}

.inner-editor-content blockquote{
  margin:22px 0;
  padding:18px 22px;
  border-left:5px solid var(--primary-2);
  background:#f2f7fb;
  border-radius:12px;
  color:#374151;
  font-weight:600;
}

.inner-editor-content table{
  width:100%;
  border-collapse:collapse;
  margin:20px 0;
  overflow:hidden;
  border-radius:12px;
}

.inner-editor-content table th,
.inner-editor-content table td{
  border:1px solid #d7ecfb;
  padding:12px;
  text-align:left;
}

.inner-editor-content table th{
  background:#160002;
  color:#fff;
}

.inner-footer{
  border-top:1px solid var(--border);
}

.post-list-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.post-list-item{
  border:1px solid #d7ecfb;
  border-radius:16px;
  padding:20px;
  background:#fafcff;
}

.post-list-item h2{
  font-size:21px;
  margin:0 0 8px;
}

.post-list-item h2 a{
  color:#690712;
}

.post-meta{
  font-size:12px;
  color:#6b7280;
  margin-bottom:10px;
  font-weight:700;
}

.post-list-item p{
  font-size:14px;
  color:#4b5563;
  margin-bottom:14px;
}

.read-more{
  display:inline-block;
  padding:9px 14px;
  border-radius:999px;
  background:linear-gradient(180deg,#1e0604 0%,#690712 100%);
  color:#fff !important;
  font-size:13px;
  font-weight:800;
}

.pagination-wrap{
  margin-top:24px;
  text-align:center;
}

.pagination-wrap .page-numbers{
  display:inline-block;
  padding:8px 12px;
  margin:3px;
  border-radius:8px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:700;
}

.pagination-wrap .current{
  background:#690712;
  color:#fff;
}

@media(max-width:768px){
  .inner-hero{
    padding:24px 0;
  }

  .inner-hero-box{
    padding:20px;
    border-radius:14px;
  }

  .inner-hero h1{
    font-size:26px;
  }

  .inner-content-section{
    padding:22px 0 30px;
  }

  .content-card,
  .post-list-card{
    padding:22px 18px;
    border-radius:14px;
  }

  .inner-editor-content{
    font-size:15px;
    line-height:1.8;
  }

  .post-list-grid{
    grid-template-columns:1fr;
  }
}
