/*
Theme Name: DewaHoki88 Neon
Theme URI: https://88dewahoki.shop
Author: DewaHoki88 Dev Team
Description: Tema DewaHoki88 dengan vibe neon — dark navy + cyan glow + gold accent + red CTA. Mobile-first, full carousel, icon menu bar, floating side buttons.
Version: 2.0.0
License: GPL v2 or later
Text Domain: totovip-neon
*/

/* ============================================
   DEWAHOKI88 NEON THEME
   Palette: Dark Navy + Neon Cyan + Gold + Red
   ============================================ */
:root{
  --bg-deep:#04101F;
  --bg-dark:#0A1F3D;
  --bg-card:#0F2A4F;
  --bg-mid:#1E5A8E;
  --bg-light:#3498DB;
  --neon:#00E5FF;
  --neon-2:#06B6D4;
  --neon-glow:0 0 8px rgba(0,229,255,.65),0 0 18px rgba(0,229,255,.35);
  --gold:#FFD24A;
  --gold-2:#FFB300;
  --red:#DC2626;
  --red-2:#EF4444;
  --green:#25D366;
  --txt:#fff;
  --txt-mute:rgba(255,255,255,.72);
  --line:rgba(0,229,255,.25);
  --radius:10px;
  --shadow-card:0 6px 18px rgba(0,0,0,.45);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{
  background:var(--bg-deep);color:var(--txt);
  font-family:'Poppins',sans-serif;font-size:14px;line-height:1.55;
  -webkit-font-smoothing:antialiased
}
body{
  background:radial-gradient(ellipse at top,#0e2a55 0%,#04101F 55%) no-repeat,var(--bg-deep);
  min-height:100vh;overflow-x:hidden
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;height:auto}
.container{max-width:1280px;margin:0 auto;padding:0 16px}

/* ============= HEADER ============= */
.site-header{
  background:linear-gradient(180deg,#061b36 0%,#0A1F3D 100%);
  border-bottom:1px solid rgba(0,229,255,.15);
  position:relative;z-index:50
}
.header-top{
  padding:14px 0;display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap
}
.site-branding{display:flex;align-items:center}
.custom-logo{max-height:50px;width:auto;height:auto;display:block}
/* Image logo (DEWAHOKI88) — bundled fallback */
.logo-img-wrap{display:inline-flex;align-items:center;line-height:0;text-decoration:none}
.logo-img{
  display:block;height:42px;width:auto;max-width:200px;
  object-fit:contain;object-position:left center;
  filter:drop-shadow(0 0 6px rgba(255,179,0,.25))
}
/* Legacy text logo (kept for fallback if image fails to load) */
.logo-text{
  font-family:'Russo One','Poppins',sans-serif;font-size:34px;letter-spacing:.5px;
  background:linear-gradient(180deg,#FFE57F 0%,#FFB300 60%,#A8742A 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:0 2px 0 rgba(0,0,0,.4);
  display:inline-flex;align-items:center;gap:6px
}
.logo-text .vip{
  font-size:22px;background:linear-gradient(180deg,#fff,#ccc);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  border:2px solid #FFB300;padding:2px 10px;border-radius:6px;
  background-color:#0A1F3D;text-shadow:none
}
.header-meta{display:flex;align-items:center;gap:10px;color:var(--txt-mute);font-size:13px;flex-wrap:wrap}
.header-meta .pill{
  display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;
  background:rgba(0,229,255,.08);border:1px solid var(--line)
}
.flag{width:20px;height:14px;background:linear-gradient(180deg,#E60026 50%,#fff 50%);border-radius:2px;display:inline-block}
.icon-btn{
  width:34px;height:34px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(0,229,255,.08);border:1px solid var(--line);cursor:pointer;
  color:var(--neon);transition:.2s;text-decoration:none
}
.icon-btn:hover{background:rgba(0,229,255,.18);box-shadow:var(--neon-glow)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:9px 22px;border-radius:8px;
  font-family:'Russo One','Poppins',sans-serif;font-size:13px;letter-spacing:.5px;
  border:none;cursor:pointer;transition:.2s;text-transform:uppercase;
  position:relative;overflow:hidden;text-decoration:none
}
.btn-login{background:linear-gradient(180deg,#3a4a5e,#1f2a3a);color:#fff;border:1px solid #4a5a70}
.btn-login:hover{box-shadow:0 0 14px rgba(255,255,255,.2)}
.btn-daftar{
  background:linear-gradient(180deg,#FF4D4D 0%,#C81E1E 100%);
  color:#fff;
  box-shadow:0 4px 0 #7e0d0d, 0 0 14px rgba(220,38,38,.55)
}
.btn-daftar:hover{transform:translateY(1px);box-shadow:0 3px 0 #7e0d0d,0 0 22px rgba(255,77,77,.7)}

/* Mobile menu toggle */
.mobile-menu-toggle{
  display:none;background:transparent;border:1px solid var(--neon);color:var(--neon);
  font-size:22px;width:42px;height:38px;border-radius:6px;cursor:pointer
}

/* ============= MARQUEE BAR ============= */
.marquee-bar{
  margin:14px 0 8px;padding:14px 22px;border-radius:14px;
  background:linear-gradient(180deg,#082345 0%,#04101F 100%);
  border:2px solid var(--neon);
  box-shadow:var(--neon-glow), inset 0 0 18px rgba(0,229,255,.15);
  overflow:hidden;position:relative
}
.marquee-track{
  display:flex;gap:60px;white-space:nowrap;
  animation:marquee 22s linear infinite;
  font-family:'Russo One','Poppins',sans-serif;font-size:15px;letter-spacing:1px;color:#fff
}
.marquee-track strong{color:var(--neon);text-shadow:0 0 10px rgba(0,229,255,.6)}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============= ICON MENU BAR ============= */
.iconmenu-wrap{
  background:linear-gradient(180deg,#1E5A8E 0%,#3498DB 100%);
  border-top:1px solid rgba(0,229,255,.4);
  border-bottom:2px solid #0d2c4d;position:relative
}
.iconmenu-wrap::before,.iconmenu-wrap::after{
  content:"";position:absolute;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent)
}
.iconmenu-wrap::before{top:0}
.iconmenu-wrap::after{bottom:2px}
.iconmenu{
  display:flex;align-items:stretch;justify-content:center;gap:0;
  flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;list-style:none;padding:0;margin:0
}
.iconmenu::-webkit-scrollbar{display:none}
.iconmenu li{flex:0 0 auto;list-style:none}
.iconmenu a{
  min-width:88px;padding:10px 14px;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;
  position:relative;transition:.2s;text-align:center;text-decoration:none
}
.iconmenu a:hover{background:rgba(255,255,255,.12);color:#FFE57F}
.iconmenu a .ico{
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
  font-size:22px;color:#fff;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))
}
.iconmenu a .hot{
  position:absolute;top:4px;right:8px;background:#DC2626;color:#fff;
  font-size:9px;padding:1px 5px;border-radius:3px;font-weight:700;letter-spacing:.5px
}

/* ============= CAROUSEL ============= */
.hero{position:relative;background:#000}
.hero-track{position:relative;width:100%;aspect-ratio:1376/520;overflow:hidden}
.hero-slide{
  position:absolute;inset:0;opacity:0;transition:opacity .6s ease;
  background-size:cover;background-position:center
}
.hero-slide.active{opacity:1}
.hero-slide img{width:100%;height:100%;object-fit:cover;display:block}
.hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:46px;height:46px;border-radius:50%;
  background:rgba(0,229,255,.15);border:2px solid var(--neon);color:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  font-size:24px;line-height:1;z-index:5;backdrop-filter:blur(4px);
  box-shadow:var(--neon-glow);transition:.2s
}
.hero-arrow:hover{background:var(--neon);color:#04101F}
.hero-arrow.prev{left:14px}
.hero-arrow.next{right:14px}
.hero-dots{
  position:absolute;bottom:14px;left:50%;transform:translateX(-50%);
  display:flex;gap:8px;z-index:5
}
.hero-dots button{
  width:10px;height:10px;border-radius:50%;border:1px solid var(--neon);
  background:transparent;cursor:pointer;padding:0;transition:.2s
}
.hero-dots button.active{background:var(--neon);box-shadow:0 0 10px var(--neon)}

/* ============= INFO MARQUEE ============= */
.info-marquee{
  background:#082345;border-top:1px solid rgba(0,229,255,.2);
  padding:12px 0;display:flex;align-items:center;gap:14px;
  font-size:13px;color:var(--txt-mute)
}
.info-marquee .speaker{
  width:34px;height:34px;flex:0 0 auto;border-radius:50%;
  background:var(--neon);color:#04101F;display:flex;align-items:center;justify-content:center;
  font-size:18px;margin-left:16px;box-shadow:var(--neon-glow)
}
.info-marquee-text{
  flex:1;overflow:hidden;white-space:nowrap;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)
}
.info-marquee-text span{display:inline-block;padding-left:100%;animation:scroll-left 28s linear infinite}
@keyframes scroll-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}

/* ============= SIDE FLOATING ============= */
.side-float{position:fixed;top:50%;transform:translateY(-50%);z-index:60;display:flex;flex-direction:column;gap:8px}
.side-float.left{left:0;align-items:flex-start}
.side-float.right{right:0;align-items:flex-end}
.float-btn{
  background:linear-gradient(180deg,#0A1F3D,#04101F);
  border:1px solid var(--neon);border-left:none;
  padding:14px 8px;min-height:90px;width:46px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  color:#fff;font-size:10px;font-weight:700;letter-spacing:1px;
  writing-mode:vertical-rl;text-orientation:mixed;
  border-radius:0 8px 8px 0;
  box-shadow:var(--neon-glow);transition:.2s;text-decoration:none
}
.side-float.right .float-btn{
  border-left:1px solid var(--neon);border-right:none;
  border-radius:8px 0 0 8px;writing-mode:vertical-lr
}
.float-btn:hover{background:var(--neon);color:#04101F}
.float-btn .ico{writing-mode:horizontal-tb;font-size:20px;margin-bottom:4px;color:var(--neon)}
.float-btn:hover .ico{color:#04101F}
.float-btn-rtp{
  background:radial-gradient(circle,#FF4D4D,#C81E1E);
  border:2px solid var(--gold);
  width:62px;height:62px;border-radius:50%;
  font-family:'Russo One','Poppins',sans-serif;font-size:11px;line-height:1;
  writing-mode:horizontal-tb;padding:6px;text-align:center;
  box-shadow:0 0 14px rgba(255,210,74,.6),inset 0 0 10px rgba(255,255,255,.2);
  margin-left:8px
}
.float-btn-link{
  background:linear-gradient(180deg,#FFD24A,#FFB300);color:#04101F;
  border:1px solid #FFB300;font-weight:800
}
.float-btn-link .ico{color:#04101F}
.float-btn-wa{
  width:54px;height:54px;border-radius:50%;
  background:var(--green);writing-mode:horizontal-tb;
  font-size:28px;padding:0;border:none;margin-left:6px;
  box-shadow:0 0 14px rgba(37,211,102,.6);
  display:flex;align-items:center;justify-content:center
}

/* ============= JACKPOT + GAMES ============= */
.section{padding:30px 0}
.jackpot-row{display:grid;grid-template-columns:1fr 1.4fr;gap:20px;align-items:center}
.jackpot-box{
  background:radial-gradient(ellipse at center,#7a0a0a 0%,#3a0505 100%);
  border:3px solid var(--gold);
  border-radius:14px;padding:18px 22px;text-align:center;
  position:relative;
  box-shadow:0 0 24px rgba(220,38,38,.4),inset 0 0 20px rgba(0,0,0,.5)
}
.jackpot-box::before{
  content:"";position:absolute;inset:6px;border:1px dashed rgba(255,210,74,.4);
  border-radius:8px;pointer-events:none
}
.jackpot-label{
  display:inline-block;background:linear-gradient(180deg,#FFE57F,#FFB300);
  color:#3a0505;padding:4px 16px;border-radius:20px;
  font-family:'Russo One','Poppins',sans-serif;font-size:13px;letter-spacing:1px;
  margin-bottom:10px;box-shadow:0 2px 6px rgba(0,0,0,.4)
}
.jackpot-amount{
  font-family:'Orbitron','Russo One',sans-serif;font-weight:900;font-size:34px;
  color:#FFE57F;letter-spacing:1px;
  text-shadow:0 0 14px rgba(255,210,74,.7),0 2px 4px rgba(0,0,0,.6)
}

.section-title{
  font-family:'Russo One','Poppins',sans-serif;font-size:18px;
  color:var(--neon);text-shadow:0 0 8px rgba(0,229,255,.5);
  letter-spacing:1px;margin-bottom:14px;display:flex;align-items:center;gap:8px
}
.section-title .fire{color:#FF6B00;font-size:20px}
.game-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.game-card{
  position:relative;border-radius:10px;overflow:hidden;
  background:linear-gradient(180deg,#0F2A4F,#04101F);
  border:1px solid var(--line);transition:.25s;cursor:pointer
}
.game-card:hover{transform:translateY(-4px);border-color:var(--neon);box-shadow:var(--neon-glow)}
.game-card .thumb{
  aspect-ratio:1/1;
  background:linear-gradient(135deg,#FFB300,#DC2626);
  display:flex;align-items:center;justify-content:center;
  font-family:'Russo One','Poppins',sans-serif;font-size:14px;color:#fff;
  text-align:center;padding:10px;position:relative
}
.game-card .thumb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.game-card .hot-badge{
  position:absolute;top:6px;left:6px;z-index:2;
  background:#DC2626;color:#fff;font-size:9px;font-weight:700;
  padding:2px 6px;border-radius:3px;letter-spacing:.5px
}
.game-card .ribbon{
  position:absolute;top:0;right:0;width:0;height:0;z-index:2;
  border-style:solid;border-width:0 28px 28px 0;
  border-color:transparent var(--gold) transparent transparent
}
.game-card .meta{padding:8px 10px;font-size:11px;color:var(--txt-mute);text-align:center}
.game-card .meta .name{color:#fff;font-weight:700;font-size:12px}

/* ============= ACTION CARDS (Menu Utama: DAFTAR / LOGIN / DEPO / WD) ============= */
.action-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;margin-top:0
}
.action-card{
  position:relative;border-radius:14px;padding:24px 14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  min-height:130px;text-align:center;text-decoration:none;color:#fff;
  border:1px solid rgba(255,255,255,.08);
  font-family:'Russo One','Poppins',sans-serif;letter-spacing:1px;
  transition:.25s;overflow:hidden;cursor:pointer
}
.action-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(0,0,0,.25));
  pointer-events:none
}
.action-card:hover{transform:translateY(-4px);box-shadow:0 0 22px rgba(0,229,255,.45);border-color:var(--neon)}
.action-card .ico{
  font-size:42px;line-height:1;position:relative;z-index:1;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))
}
.action-card .lbl{
  font-size:14px;font-weight:700;text-transform:uppercase;position:relative;z-index:1;
  text-shadow:0 1px 3px rgba(0,0,0,.5)
}
/* Color variants — set via menu item CSS class */
.action-card.c-red    {background:linear-gradient(135deg,#EF4444 0%,#7a0a0a 100%)}
.action-card.c-blue   {background:linear-gradient(135deg,#3498DB 0%,#0a3a5c 100%)}
.action-card.c-green  {background:linear-gradient(135deg,#10B981 0%,#065F46 100%)}
.action-card.c-gold   {background:linear-gradient(135deg,#FFB300 0%,#9a4a00 100%)}
.action-card.c-purple {background:linear-gradient(135deg,#A855F7 0%,#3a0a4f 100%)}
.action-card.c-teal   {background:linear-gradient(135deg,#06B6D4 0%,#0a3a5c 100%)}
/* Default cycling colors when no class is set */
.action-card.cdef-1   {background:linear-gradient(135deg,#EF4444 0%,#7a0a0a 100%)}
.action-card.cdef-2   {background:linear-gradient(135deg,#3498DB 0%,#0a3a5c 100%)}
.action-card.cdef-3   {background:linear-gradient(135deg,#10B981 0%,#065F46 100%)}
.action-card.cdef-4   {background:linear-gradient(135deg,#FFB300 0%,#9a4a00 100%)}

/* ============= BONUS CARDS ============= */
.bonus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.bonus-card{
  background:linear-gradient(180deg,#0F2A4F,#04101F);
  border:1px solid var(--line);border-radius:12px;padding:16px;
  display:flex;gap:14px;align-items:center;transition:.2s
}
.bonus-card:hover{border-color:var(--neon);box-shadow:var(--neon-glow)}
.bonus-icon{
  width:60px;height:60px;flex:0 0 auto;border-radius:10px;
  background:linear-gradient(135deg,var(--gold),#DC2626);
  display:flex;align-items:center;justify-content:center;font-size:30px
}
.bonus-card .title{
  font-family:'Russo One','Poppins',sans-serif;font-size:13px;color:var(--neon);
  text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px
}
.bonus-card .desc{font-size:12px;color:var(--txt-mute)}

/* ============= INFO TABLE ============= */
.info-table-wrap{
  margin-top:24px;background:linear-gradient(180deg,#0F2A4F,#04101F);
  border:1px solid var(--line);border-radius:12px;padding:18px;overflow:hidden
}
.info-table-wrap h2{
  font-family:'Russo One','Poppins',sans-serif;color:var(--gold);font-size:16px;
  text-align:center;margin-bottom:14px;letter-spacing:1px
}
table.info{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
table.info th,table.info td{
  padding:10px 14px;border-bottom:1px solid rgba(0,229,255,.1);text-align:left
}
table.info th{
  background:linear-gradient(180deg,#FFE57F,#FFB300);color:#04101F;
  font-family:'Russo One','Poppins',sans-serif;font-size:12px;letter-spacing:.5px;border:none
}
table.info tbody tr:hover td{background:rgba(0,229,255,.05)}

/* ============= MAIN CONTENT TYPOGRAPHY ============= */
.main-content{padding:30px 0}
.entry-title{
  font-family:'Russo One','Poppins',sans-serif;
  font-size:clamp(20px,3vw,30px);color:var(--gold);
  text-align:center;margin-bottom:20px;letter-spacing:1px;
  text-shadow:0 0 14px rgba(255,210,74,.4)
}
.content-wrapper h2{
  font-family:'Russo One','Poppins',sans-serif;
  font-size:clamp(17px,2.4vw,22px);color:var(--neon);
  margin:24px 0 12px;letter-spacing:.5px;
  text-shadow:0 0 10px rgba(0,229,255,.4)
}
.content-wrapper h3{
  font-family:'Poppins',sans-serif;font-weight:700;
  font-size:16px;color:var(--gold);margin:18px 0 8px
}
.content-wrapper p{margin-bottom:12px;color:var(--txt-mute)}
.content-wrapper ul{margin:10px 0 14px 22px}
.content-wrapper ul li{margin-bottom:6px;color:var(--txt-mute)}
.content-wrapper a{color:var(--neon);transition:.2s}
.content-wrapper a:hover{color:var(--gold);text-shadow:0 0 6px rgba(255,210,74,.5)}
.content-wrapper strong{color:#fff}

/* ============= FOOTER ============= */
.site-footer{
  margin-top:40px;background:linear-gradient(180deg,#04101F,#000);
  border-top:2px solid var(--neon);padding:36px 0 20px;
  box-shadow:0 -2px 18px rgba(0,229,255,.2)
}
.footer-grid,.footer-widgets{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px}
.footer-col,.footer-column{}
.footer-col h3,.footer-widget h3{
  font-family:'Russo One','Poppins',sans-serif;font-size:14px;color:var(--neon);
  text-transform:uppercase;letter-spacing:1px;margin-bottom:14px;
  padding-bottom:8px;border-bottom:1px solid var(--line)
}
.footer-col p,.footer-col li,.footer-widget p,.footer-widget li{
  color:var(--txt-mute);font-size:13px;line-height:1.7
}
.footer-col ul,.footer-widget ul{list-style:none;padding:0}
.footer-col a,.footer-widget a{transition:.2s}
.footer-col a:hover,.footer-widget a:hover{color:var(--neon);text-shadow:0 0 6px rgba(0,229,255,.5)}
.payment-section{margin-top:10px}
.payment-label{font-size:11px;letter-spacing:.5px;color:var(--neon);margin-bottom:6px}
.payment-row,.payment-methods{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.payment-pill{
  background:linear-gradient(180deg,#fff,#e8e8e8);color:#04101F;
  font-size:10px;font-weight:700;padding:5px 9px;border-radius:4px;letter-spacing:.3px
}
.payment-methods img{height:28px;width:auto;border-radius:4px;background:#fff;padding:2px}
.contact-info .contact-item{margin-bottom:6px}
.footer-bottom{
  margin-top:30px;padding-top:18px;border-top:1px solid rgba(0,229,255,.15);
  text-align:center;color:var(--txt-mute);font-size:12px
}
.footer-bottom p{margin-bottom:4px}
.footer-bottom strong{color:var(--gold)}

/* Floating Live Chat */
.floating-chat{position:fixed;bottom:18px;right:18px;z-index:65}
.floating-chat img{width:120px;height:auto}

/* ============= SERVICE & MOBILE INFO ============= */
.service-section{padding:18px 0}
.service-image-wrapper{text-align:center}
.service-gif{max-width:100%;height:auto;border-radius:8px}
.mobile-cta-buttons{display:none;padding:14px 0}
.cta-buttons-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn-cta{
  display:flex;align-items:center;justify-content:center;
  padding:14px;border-radius:8px;font-family:'Russo One','Poppins',sans-serif;
  font-size:14px;letter-spacing:.5px;text-decoration:none
}
.btn-cta-daftar{background:linear-gradient(180deg,#FF4D4D,#C81E1E);color:#fff;box-shadow:0 4px 0 #7e0d0d}
.btn-cta-login{background:linear-gradient(180deg,#3a4a5e,#1f2a3a);color:#fff;border:1px solid var(--neon)}
.mobile-info-table{display:none;padding:14px 0}
.info-table-mobile table{
  width:100%;border-collapse:separate;border-spacing:0;
  background:linear-gradient(180deg,#0F2A4F,#04101F);
  border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:13px
}
.info-table-mobile td{padding:10px 12px;color:var(--txt-mute);border-bottom:1px solid rgba(0,229,255,.08)}
.info-table-mobile td:first-child{font-weight:600;color:var(--neon);width:42%}

/* ============= MOBILE RESPONSIVE ============= */
@media (max-width:900px){
  .header-top{padding:10px 0;gap:8px}
  .logo-text{font-size:24px}
  .logo-img{height:34px;max-width:150px}
  .header-meta{font-size:11px;gap:6px}
  .header-meta .pill{padding:4px 8px;font-size:11px}
  .header-meta .pill.hide-mobile{display:none}
  .icon-btn{width:30px;height:30px;font-size:14px}
  .btn{padding:7px 14px;font-size:11px}
  .marquee-bar{padding:10px 14px;border-width:1px}
  .marquee-track{font-size:12px;gap:40px}
  .iconmenu a{min-width:72px;padding:8px 8px;font-size:9px}
  .iconmenu a .ico{font-size:18px;width:26px;height:26px}
  .jackpot-row{grid-template-columns:1fr;gap:14px}
  .jackpot-amount{font-size:24px}
  .game-grid{grid-template-columns:repeat(3,1fr)}
  .bonus-grid{grid-template-columns:1fr}
  .footer-grid,.footer-widgets{grid-template-columns:1fr 1fr;gap:20px}
  .side-float .float-btn{padding:10px 6px;min-height:70px;width:38px;font-size:9px}
  .side-float .float-btn-rtp{width:48px;height:48px;font-size:9px}
  .side-float .float-btn-wa{width:42px;height:42px;font-size:22px}
  table.info th,table.info td{padding:8px 10px;font-size:12px}
  .mobile-cta-buttons,.mobile-info-table{display:block}
  .floating-chat img{width:90px}
}
@media (max-width:560px){
  .footer-grid,.footer-widgets{grid-template-columns:1fr}
  .game-grid{grid-template-columns:repeat(2,1fr)}
  .header-meta .pill{display:none}
  .header-meta .pill.show-always{display:inline-flex}
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .logo-img{height:28px;max-width:120px}
}

/* ============================================================
   Floating Live Chat Button (extracted from footer inline)
   ============================================================ */
.floating-chat-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #04101F;
    box-shadow: var(--neon-glow);
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}

/* ============================================================
   POLISH PATCH — Visual Refinement Pass
   ============================================================ */

/* ============================================================
   1. FLOATING BUTTONS REDESIGN (LEFT/RIGHT SIDE)
   - Replace vertical writing-mode (jelek) dengan horizontal
   - Compact pill design with icon stack
   - Hide on mobile (preserve real estate)
   ============================================================ */
.side-float {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.side-float.left  { left: 0; }
.side-float.right { right: 0; }

.side-float .float-btn {
    /* Reset vertical writing-mode dari original CSS */
    writing-mode: horizontal-tb !important;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    
    width: 62px;
    min-height: 62px;
    padding: 8px 4px;
    
    background: linear-gradient(135deg, rgba(4, 16, 31, 0.85), rgba(10, 58, 92, 0.85));
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-left: none;
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
    
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
    transition: all 0.25s ease;
}

.side-float.right .float-btn {
    border-left: 1px solid rgba(0, 229, 255, 0.4);
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.side-float .float-btn:hover {
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(122, 58, 158, 0.25));
    border-color: var(--neon);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}
.side-float.right .float-btn:hover {
    transform: translateX(-4px);
}

.side-float .float-btn .ico {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 2px;
    /* Reset any inherited writing-mode from original CSS */
    writing-mode: horizontal-tb !important;
    display: inline-block;
}

.side-float .float-btn-wa  { background: linear-gradient(135deg, #25D366, #128C7E); border-color: #25D366; }
.side-float .float-btn-wa:hover { background: linear-gradient(135deg, #128C7E, #25D366); }

.side-float .float-btn-rtp { background: linear-gradient(135deg, #FFD24A, #FFB300); border-color: #FFD24A; color: #04101F; }
.side-float .float-btn-rtp:hover { background: linear-gradient(135deg, #FFB300, #FFD24A); color: #04101F; }

.side-float .float-btn-link { background: linear-gradient(135deg, #00E5FF, #06b6d4); border-color: #00E5FF; color: #04101F; }
.side-float .float-btn-link:hover { background: linear-gradient(135deg, #06b6d4, #00E5FF); color: #04101F; }

/* Override any inline styles inside .float-btn-rtp/.float-btn-link from footer.php */
.side-float .float-btn span[style] {
    writing-mode: horizontal-tb !important;
}

/* Hide on mobile — preserve content space */
@media (max-width: 768px) {
    .side-float { display: none; }
}


/* ============================================================
   2. HERO BANNER MOBILE FIX
   - Fixed aspect ratio + min-height for mobile
   - Better text proportion
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-track {
    position: relative;
    width: 100%;
    max-width: 1672px;
    aspect-ratio: 1672 / 941;   /* match banner native ratio (16:9) */
    margin: 0 auto;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-track {
        /* tetap 16:9 di mobile — banner lo didesain native 16:9 */
        margin: 0;
    }
}


/* ============================================================
   3. INFO TABLE — PREMIUM REDESIGN
   - Glass-morphism with subtle gold accents
   - Generous spacing
   - Removed AI-generated "flat neon" look
   ============================================================ */
.info-table-wrap {
    margin-top: 40px;
    padding: 40px 36px;
    background: linear-gradient(135deg, rgba(4, 16, 31, 0.92), rgba(10, 58, 92, 0.55));
    border: 1px solid rgba(255, 210, 74, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.info-table-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 210, 74, 0.6), transparent);
}

.info-table-wrap h2 {
    font-family: 'Russo One', 'Poppins', sans-serif;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    color: #FFD24A;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 210, 74, 0.15);
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 210, 74, 0.25);
}

.info-table-wrap table.info {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.info-table-wrap table.info tr {
    transition: background-color 0.2s ease;
}
.info-table-wrap table.info tr:hover {
    background: rgba(255, 210, 74, 0.04);
}

.info-table-wrap table.info th,
.info-table-wrap table.info td {
    padding: 16px 18px;
    text-align: left;
    border: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
    font-size: 15px;
    line-height: 1.6;
}

.info-table-wrap table.info tr:last-child th,
.info-table-wrap table.info tr:last-child td {
    border-bottom: none;
}

.info-table-wrap table.info th {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    width: 40%;
    background: transparent;
}

.info-table-wrap table.info td {
    color: #fff;
    font-weight: 600;
}

.info-table-wrap table.info td strong {
    color: #FFD24A;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .info-table-wrap {
        padding: 28px 20px;
    }
    .info-table-wrap table.info th,
    .info-table-wrap table.info td {
        padding: 12px 8px;
        font-size: 14px;
    }
    .info-table-wrap table.info th { width: 45%; }
}


/* ============================================================
   4. JACKPOT BOX REFINEMENT (matching premium look)
   ============================================================ */
.jackpot-box {
    background: linear-gradient(135deg, rgba(4, 16, 31, 0.92), rgba(10, 58, 92, 0.6));
    border: 1px solid rgba(255, 210, 74, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(255, 210, 74, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* ============================================================
   SIDE FLOAT TOGGLE — Cleaner Implementation
   Architecture:
     .side-float (flex container, fixed at edge)
       ├── .side-toggle (always visible pill, flex item)
       └── .side-float-inner (slides in/out, flex item)
   
   Default: collapsed (only toggle visible)
   Expanded: buttons slide in next to toggle
   ============================================================ */

/* Override earlier .side-float rules — restructure as horizontal flex */
.side-float {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex !important;
    align-items: center;
    flex-direction: row;
    pointer-events: none; /* let children handle pointer */
}

.side-float.left  { left: 0; }
.side-float.right { right: 0; }
.side-float.right { flex-direction: row-reverse; }

.side-float .side-toggle,
.side-float .side-float-inner {
    pointer-events: auto;
}

/* Inner — wraps buttons, can collapse */
.side-float-inner {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    max-width: 80px;
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                padding 0.35s ease;
    opacity: 1;
    padding: 0 4px;
}

/* COLLAPSED — default state: hide inner */
.side-float:not(.expanded) .side-float-inner {
    max-width: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
}

/* TOGGLE BUTTON — always visible at edge */
.side-toggle {
    flex-shrink: 0;
    width: 26px;
    height: 56px;
    
    background: linear-gradient(135deg, rgba(4, 16, 31, 0.95), rgba(10, 58, 92, 0.95));
    border: 1px solid rgba(0, 229, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    color: var(--neon);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    box-shadow: 0 4px 14px rgba(0, 229, 255, 0.25);
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.side-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(122, 58, 158, 0.25));
    color: #fff;
}

.side-float.left .side-toggle {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.side-float.right .side-toggle {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

/* Arrow rotation when expanded */
.side-toggle-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.side-float.left.expanded  .side-toggle-arrow { transform: rotate(180deg); }
.side-float.right.expanded .side-toggle-arrow { transform: rotate(180deg); }

/* Subtle pulse hint when collapsed (biar user notice ada toggle) */
.side-float:not(.expanded) .side-toggle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 2px solid var(--neon);
    opacity: 0;
    animation: toggle-pulse 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes toggle-pulse {
    0%   { transform: scale(0.85); opacity: 0; }
    25%  { opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Mobile: hide entirely (preserve real estate) */
@media (max-width: 768px) {
    .side-float { display: none !important; }
}


/* ============================================================
   PAGE HERO BANNER — Tier 0/1 page top section
   Native image: 1672x941 (16:9 ratio)
   ============================================================ */
.page-hero {
    position: relative;
    width: 100%;
    max-width: 1672px;          /* match native image width — no upscaling */
    aspect-ratio: 1672 / 941;   /* exact native ratio = no crop */
    overflow: hidden;
    margin: 0 auto 30px;        /* center on wider viewports */
    background: linear-gradient(135deg, #04101F 0%, #0a3a5c 100%);
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: auto;       /* sharp di native resolution */
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 16, 31, 0) 60%,
        rgba(4, 16, 31, 0.7) 100%
    );
    pointer-events: none;
}

/* Mobile: tetap 16:9 ratio (jangan diubah jadi 4:3 — banner lo
   memang didesain 16:9, ubah ratio = crop content penting) */
@media (max-width: 768px) {
    .page-hero {
        margin: 0 0 20px;        /* edge-to-edge mobile, no center spacing */
    }
}

/* Skeleton loading (saat image masih download) */
.page-hero:not(:has(img.loaded)) {
    background: linear-gradient(
        135deg,
        #04101F 0%,
        #0a3a5c 50%,
        #04101F 100%
    );
    background-size: 200% 100%;
    animation: hero-skeleton 1.5s ease-in-out infinite;
}

@keyframes hero-skeleton {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}


/* ============================================================
   MOBILE POLISH PATCH — Menu Utama, Info Cards, Article Justify
   ============================================================ */

/* ============================================================
   1. MENU UTAMA (Action Grid) — Mobile compact
   - Desktop: 4 columns
   - Mobile: 2 columns (4 buttons jadi 2x2 grid)
   - Reduce icon size + padding di mobile
   ============================================================ */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.action-card {
    aspect-ratio: 1 / 1;
    max-height: 140px;
}

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
        gap: 10px;
    }
    .action-card {
        aspect-ratio: 16 / 10; /* lebih landscape, gak kepanjangan */
        max-height: 90px;
        padding: 12px 8px !important;
    }
    .action-card .ico {
        font-size: 28px !important;
        margin-bottom: 4px !important;
    }
    .action-card .lbl {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .action-grid {
        gap: 8px;
    }
    .action-card {
        max-height: 80px;
    }
    .action-card .ico {
        font-size: 24px !important;
    }
    .action-card .lbl {
        font-size: 13px !important;
    }
}


/* ============================================================
   2. INFO LEBIH LANJUT (Bonus Cards) — Mobile responsive
   - Desktop: 3 cards horizontal
   - Mobile: stack vertical (1 column)
   - Tablet: 2 columns
   ============================================================ */
.bonus-grid {
    display: grid;
    gap: 14px;
}

/* Override inline grid-template-columns dari index.php */
@media (max-width: 1024px) {
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* tablet 2-col */
    }
}

@media (max-width: 640px) {
    .bonus-grid {
        grid-template-columns: 1fr !important; /* mobile 1-col stack */
    }
    .bonus-card {
        flex-direction: row !important;
        align-items: center;
        text-align: left;
    }
    .bonus-card .bonus-icon {
        flex-shrink: 0;
        margin-right: 12px;
    }
    .bonus-card .title {
        font-size: 15px !important;
        margin-bottom: 4px;
    }
    .bonus-card .desc {
        font-size: 13px !important;
    }
}


/* ============================================================
   3. CONTENT WRAPPER — Justify text + better readability
   - Justify body paragraphs (NOT headings)
   - Better line-height
   - Internal link styling subtle but visible
   ============================================================ */
.content-wrapper {
    line-height: 1.75;
}

.content-wrapper p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    margin-bottom: 18px;
    color: #cbd5e1;
}

.content-wrapper p:last-child {
    text-align: left; /* paragraf terakhir biar gak weird spacing */
}

/* Internal links di body content — subtle but discoverable */
.content-wrapper p a {
    color: var(--neon);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.4);
    transition: all 0.2s ease;
    padding-bottom: 1px;
}

.content-wrapper p a:hover {
    color: #fff;
    border-bottom-color: var(--neon);
    border-bottom-style: solid;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* H1, H2, H3 tetap left-aligned (jangan di-justify) */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
    text-align: left;
}

/* Mobile: justify kadang bikin spasi terlalu lebar di kalimat pendek
   → fallback ke left-align di very small screens */
@media (max-width: 480px) {
    .content-wrapper p {
        text-align: left;
        hyphens: none;
    }
}


/* ============================================================
   MOBILE FIX — Menu Utama & Info Lebih Lanjut
   Override aggressive responsive untuk mobile UX yang proper
   ============================================================ */

/* Menu Utama (action cards) — Compact mobile */
@media (max-width: 768px) {
    .action-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;  /* 4-col seperti desktop */
        gap: 8px !important;
    }
    
    .action-card {
        padding: 12px 6px !important;
        min-height: 80px !important;
        border-radius: 10px !important;
    }
    
    .action-card .ico {
        font-size: 28px !important;       /* downsize dari ~40px */
        margin-bottom: 4px !important;
    }
    
    .action-card .lbl {
        font-size: 11px !important;       /* downsize dari ~14px */
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
    }
}

@media (max-width: 380px) {
    .action-grid { gap: 6px !important; }
    .action-card { padding: 10px 4px !important; min-height: 72px !important; }
    .action-card .ico { font-size: 24px !important; }
    .action-card .lbl { font-size: 10px !important; }
}


/* Info Lebih Lanjut (bonus-grid) — Horizontal scroll mobile */
@media (max-width: 768px) {
    .bonus-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: thin;
        gap: 12px !important;
        padding-bottom: 12px !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .bonus-grid::-webkit-scrollbar { height: 4px; }
    .bonus-grid::-webkit-scrollbar-track { background: rgba(0,229,255,0.1); border-radius: 2px; }
    .bonus-grid::-webkit-scrollbar-thumb { background: var(--neon); border-radius: 2px; }
    
    .bonus-card {
        flex: 0 0 75% !important;          /* 75% width per card, peek next card */
        min-width: 240px !important;
        max-width: 320px !important;
        scroll-snap-align: start;
    }
    
    .bonus-card .title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    .bonus-card .desc {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}


/* Article body — JUSTIFY alignment */
.content-wrapper p {
    text-align: justify;
    text-justify: inter-word;       /* better word spacing */
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Override justify untuk paragraf pendek (1 baris) */
.content-wrapper p:not([class]) {
    text-align: justify;
}

/* Mobile: justify masih on, tapi pastiin tidak terlalu lebar word-spacing */
@media (max-width: 480px) {
    .content-wrapper p {
        text-align: justify;
        word-spacing: -0.5px;
    }
}

