/* ==========================================================
   qqqph.click - Core Stylesheet
   Prefix: vd89-
   Palette: #1B263B (deep navy) | #F5DEB3 (warm wheat) | #A9A9A9 (silver)
   Canvas: 320-430px mobile-first
   ========================================================== */

/* ---------- Variables ---------- */
:root{
  --vd89-bg:#0F1A2E;
  --vd89-bg-2:#1B263B;
  --vd89-bg-3:#243352;
  --vd89-card:#1B263B;
  --vd89-card-2:#22324F;
  --vd89-wheat:#F5DEB3;
  --vd89-wheat-soft:#EAD0A0;
  --vd89-silver:#A9A9A9;
  --vd89-gold:#E8B964;
  --vd89-amber:#F6C66A;
  --vd89-text:#F2E7CF;
  --vd89-muted:#9AA3B4;
  --vd89-border:rgba(245,222,179,.18);
  --vd89-border-2:rgba(245,222,179,.10);
  --vd89-shadow:0 8px 22px rgba(0,0,0,.35);
  --vd89-radius:14px;
  --vd89-radius-sm:10px;
  --vd89-header-h:60px;
  --vd89-bnav-h:64px;
  --vd89-max:460px;
}

/* ---------- Reset ---------- */
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html,body{overflow-x:hidden;}
html{scroll-behavior:smooth;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:var(--vd89-bg);
  color:var(--vd89-text);
  font-size:15px;
  line-height:1.55;
  min-height:100vh;
  position:relative;
}
img{display:block;max-width:100%;height:auto;}
a{color:var(--vd89-wheat);text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
ul,ol{list-style:none;}

/* ---------- Mobile canvas frame ---------- */
.vd89-shell{
  max-width:var(--vd89-max);
  margin:0 auto;
  background:
    radial-gradient(120% 50% at 50% 0%, #243352 0%, var(--vd89-bg) 60%),
    var(--vd89-bg);
  min-height:100vh;
  position:relative;
  box-shadow:0 0 40px rgba(0,0,0,.45);
}
@media(min-width:480px){
  .vd89-shell{border-left:1px solid var(--vd89-border-2);border-right:1px solid var(--vd89-border-2);}
}

/* ---------- Header ---------- */
.vd89-header{
  position:sticky;top:0;z-index:60;
  height:var(--vd89-header-h);
  background:linear-gradient(180deg,#16223A 0%,#101A30 100%);
  border-bottom:1px solid var(--vd89-border);
  display:flex;align-items:center;
  padding:0 12px;
  gap:8px;
}
.vd89-brand{
  display:flex;align-items:center;gap:8px;flex:1;min-width:0;
}
.vd89-brand img{
  width:38px;height:38px;border-radius:9px;object-fit:cover;
  border:1px solid var(--vd89-border);
  box-shadow:0 0 0 2px rgba(245,222,179,.08);
  background:#0F1A2E;
}
.vd89-brand-name{display:flex;flex-direction:column;line-height:1.1;min-width:0;}
.vd89-brand-name strong{
  font-size:17px;font-weight:800;letter-spacing:.4px;color:var(--vd89-wheat);
  white-space:nowrap;
}
.vd89-brand-name span{
  font-size:10px;color:var(--vd89-silver);letter-spacing:1.5px;text-transform:uppercase;
}
.vd89-header-actions{display:flex;align-items:center;gap:6px;}
.vd89-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;height:44px;padding:0 14px;border-radius:9px;
  font-size:13px;font-weight:700;letter-spacing:.3px;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.vd89-btn:active{transform:scale(.96);}
.vd89-btn-login{
  background:transparent;color:var(--vd89-wheat);
  border:1px solid var(--vd89-border);
}
.vd89-btn-register{
  background:linear-gradient(135deg,#F6C66A 0%,#E8B964 50%,#D09E48 100%);
  color:#1B263B;font-weight:800;
  box-shadow:0 4px 14px rgba(232,185,100,.35);
}
.vd89-menu-btn{
  width:36px;height:36px;border-radius:9px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;
  background:rgba(245,222,179,.06);
  border:1px solid var(--vd89-border-2);
}
.vd89-menu-btn span{
  display:block;width:16px;height:2px;background:var(--vd89-wheat);border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

/* ---------- Layered dropdown menu ---------- */
.vd89-menu-backdrop{
  position:fixed;inset:0;background:rgba(0,0,0,.55);
  z-index:70;opacity:0;visibility:hidden;
  transition:opacity .22s ease, visibility .22s ease;
}
.vd89-menu-backdrop.vd89-open{opacity:1;visibility:visible;}
.vd89-drawer{
  position:fixed;top:0;right:0;z-index:71;
  width:min(86%,360px);height:100vh;
  background:linear-gradient(180deg,#16223A,#0F1A2E);
  border-left:1px solid var(--vd89-border);
  transform:translateX(105%);
  transition:transform .26s cubic-bezier(.4,.0,.2,1);
  display:flex;flex-direction:column;
  overflow-y:auto;
}
.vd89-drawer.vd89-open{transform:translateX(0);}
.vd89-drawer-head{
  padding:18px 16px;display:flex;align-items:center;gap:10px;
  border-bottom:1px solid var(--vd89-border-2);
}
.vd89-drawer-head img{width:34px;height:34px;border-radius:8px;}
.vd89-drawer-head strong{color:var(--vd89-wheat);font-size:16px;font-weight:800;}
.vd89-drawer-close{
  margin-left:auto;width:34px;height:34px;border-radius:8px;
  background:rgba(245,222,179,.06);border:1px solid var(--vd89-border-2);
  color:var(--vd89-wheat);font-size:18px;line-height:1;
}
.vd89-drawer-body{padding:10px 12px 24px;}
.vd89-nav-group{margin-bottom:14px;}
.vd89-nav-title{
  font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--vd89-silver);
  padding:10px 10px 6px;
}
.vd89-nav-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 12px;border-radius:10px;
  color:var(--vd89-text);font-size:14px;font-weight:600;
  border:1px solid transparent;
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
.vd89-nav-link:active{transform:translateX(2px);}
.vd89-nav-link:hover,
.vd89-nav-link.vd89-active{
  background:rgba(245,222,179,.07);
  border-color:var(--vd89-border);
}
.vd89-nav-link::after{
  content:"›";color:var(--vd89-silver);font-size:18px;line-height:1;
}
.vd89-nav-divider{height:1px;background:var(--vd89-border-2);margin:8px 6px;}

/* ---------- Page wrap ---------- */
.vd89-main{
  padding:14px 12px calc(var(--vd89-bnav-h) + 28px);
}

/* ---------- Hero / Carousel ---------- */
.vd89-hero{margin-bottom:16px;}
.vd89-carousel{
  position:relative;border-radius:var(--vd89-radius);overflow:hidden;
  box-shadow:var(--vd89-shadow);border:1px solid var(--vd89-border-2);
}
.vd89-slides{display:flex;scroll-snap-type:x mandatory;overflow-x:auto;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;}
.vd89-slides::-webkit-scrollbar{display:none;}
.vd89-slide{
  flex:0 0 100%;scroll-snap-align:center;position:relative;cursor:pointer;
}
.vd89-slide img{width:100%;height:190px;object-fit:cover;}
.vd89-slide-overlay{
  position:absolute;left:0;right:0;bottom:0;
  padding:14px 14px 16px;
  background:linear-gradient(0deg, rgba(15,26,46,.95) 0%, rgba(15,26,46,.55) 60%, rgba(15,26,46,0) 100%);
}
.vd89-slide-tag{
  display:inline-block;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--vd89-bg-2);background:var(--vd89-wheat);
  padding:3px 8px;border-radius:6px;font-weight:800;margin-bottom:6px;
}
.vd89-slide-title{font-size:17px;font-weight:800;color:var(--vd89-wheat);line-height:1.25;}
.vd89-slide-sub{font-size:12px;color:var(--vd89-silver);margin-top:3px;}
.vd89-carousel-dots{
  position:absolute;bottom:8px;left:50%;transform:translateX(-50%);
  display:flex;gap:6px;z-index:5;
}
.vd89-dot{
  width:7px;height:7px;border-radius:50%;background:rgba(245,222,179,.35);
  transition:background .2s, width .2s, border-radius .2s;
}
.vd89-dot.vd89-active{background:var(--vd89-wheat);width:18px;border-radius:5px;}

/* ---------- Quick promo strip ---------- */
.vd89-quick{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px;
}
.vd89-quick-item{
  background:linear-gradient(180deg,#22324F,#1B263B);
  border:1px solid var(--vd89-border-2);
  border-radius:12px;padding:10px 6px;text-align:center;
  transition:transform .15s, border-color .15s;
}
.vd89-quick-item:active{transform:scale(.96);}
.vd89-quick-num{font-size:18px;font-weight:800;color:var(--vd89-wheat);}
.vd89-quick-label{font-size:10px;color:var(--vd89-silver);margin-top:2px;letter-spacing:.5px;}

/* ---------- Section heading ---------- */
.vd89-section{margin-bottom:22px;}
.vd89-section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:10px;padding:0 2px;
}
.vd89-section-title{
  font-size:16px;font-weight:800;color:var(--vd89-wheat);
  display:flex;align-items:center;gap:8px;
}
.vd89-section-title::before{
  content:"";display:block;width:4px;height:16px;border-radius:2px;
  background:linear-gradient(180deg,var(--vd89-gold),var(--vd89-wheat));
}
.vd89-section-more{
  font-size:11px;color:var(--vd89-silver);letter-spacing:.5px;
}

/* ---------- Game grid ---------- */
.vd89-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
}
@media(min-width:380px){.vd89-grid{grid-template-columns:repeat(5,1fr);gap:9px;}}
.vd89-game{
  display:block;cursor:pointer;text-align:center;
  background:linear-gradient(180deg,#22324F,#19233C);
  border:1px solid var(--vd89-border-2);
  border-radius:12px;padding:6px;overflow:hidden;
  transition:transform .15s, border-color .15s, box-shadow .15s;
}
.vd89-game:active{transform:scale(.95);}
.vd89-game:hover{border-color:var(--vd89-border);box-shadow:0 6px 16px rgba(0,0,0,.3);}
.vd89-game-img{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;
  background:#0F1A2E;
}
.vd89-game-name{
  font-size:10.5px;color:var(--vd89-text);font-weight:600;
  margin-top:5px;line-height:1.25;height:26px;
  overflow:hidden;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.vd89-game-badges{display:flex;gap:4px;margin-top:4px;justify-content:center;flex-wrap:wrap;}
.vd89-badge{
  font-size:8.5px;padding:1px 5px;border-radius:4px;font-weight:700;letter-spacing:.5px;
  background:rgba(232,185,100,.18);color:var(--vd89-amber);
}
.vd89-badge.vd89-hot{background:rgba(230,90,80,.2);color:#FF8A78;}

/* ---------- Category color accents ---------- */
.vd89-cat-live .vd89-section-title::before{background:linear-gradient(180deg,#FF6B5A,#F5DEB3);}
.vd89-cat-fish .vd89-section-title::before{background:linear-gradient(180deg,#4FB3D9,#F5DEB3);}
.vd89-cat-cards .vd89-section-title::before{background:linear-gradient(180deg,#9D7BEA,#F5DEB3);}
.vd89-cat-slot .vd89-section-title::before{background:linear-gradient(180deg,#F6C66A,#F5DEB3);}
.vd89-cat-hot .vd89-section-title::before{background:linear-gradient(180deg,#FF4D4D,#F6C66A);}

/* ---------- Editorial / SEO content ---------- */
.vd89-article{
  background:linear-gradient(180deg,#1B263B,#16223B);
  border:1px solid var(--vd89-border-2);
  border-radius:var(--vd89-radius);
  padding:18px 16px;margin-bottom:14px;
}
.vd89-article h2{
  font-size:18px;font-weight:800;color:var(--vd89-wheat);
  line-height:1.3;margin-bottom:10px;
}
.vd89-article h3{
  font-size:15px;font-weight:700;color:var(--vd89-amber);
  margin-top:14px;margin-bottom:6px;
}
.vd89-article p{
  color:var(--vd89-text);font-size:14px;line-height:1.65;margin-bottom:10px;
}
.vd89-article p a{color:var(--vd89-amber);text-decoration:underline;text-underline-offset:2px;}
.vd89-article ul,.vd89-article ol{
  margin:6px 0 12px 4px;
}
.vd89-article li{
  position:relative;padding-left:18px;margin-bottom:6px;font-size:13.5px;color:var(--vd89-text);line-height:1.6;
}
.vd89-article li::before{
  content:"▸";position:absolute;left:2px;top:0;color:var(--vd89-wheat);font-size:11px;
}
.vd89-article ol{counter-reset:li;}
.vd89-article ol li{counter-increment:li;padding-left:24px;}
.vd89-article ol li::before{content:counter(li);color:var(--vd89-bg-2);background:var(--vd89-wheat);
  width:16px;height:16px;border-radius:50%;font-size:10px;font-weight:800;
  display:flex;align-items:center;justify-content:center;top:1px;}

/* ---------- Steps grid ---------- */
.vd89-steps{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:10px 0;
}
.vd89-step{
  background:#16223A;border:1px solid var(--vd89-border-2);border-radius:12px;padding:12px;
}
.vd89-step-n{font-size:11px;color:var(--vd89-amber);font-weight:800;letter-spacing:1px;}
.vd89-step-t{font-size:14px;font-weight:700;color:var(--vd89-wheat);margin:4px 0 4px;}
.vd89-step-d{font-size:12px;color:var(--vd89-muted);line-height:1.5;}

/* ---------- Trick cards ---------- */
.vd89-tricks{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px;
}
.vd89-trick{
  background:#16223A;border:1px solid var(--vd89-border-2);border-radius:12px;padding:12px;
  position:relative;overflow:hidden;
}
.vd89-trick::before{
  content:"";position:absolute;top:0;left:0;width:3px;height:100%;
  background:linear-gradient(180deg,var(--vd89-gold),var(--vd89-wheat));
}
.vd89-trick-t{font-size:13px;font-weight:700;color:var(--vd89-wheat);margin-bottom:4px;}
.vd89-trick-d{font-size:11.5px;color:var(--vd89-muted);line-height:1.5;}

/* ---------- Comparison table ---------- */
.vd89-compare{
  border:1px solid var(--vd89-border-2);border-radius:12px;overflow:hidden;margin:10px 0;
}
.vd89-compare-row{
  display:grid;grid-template-columns:1fr 1.4fr;gap:1px;background:var(--vd89-border-2);
}
.vd89-compare-row > div{
  background:#16223A;padding:10px 12px;font-size:12.5px;
}
.vd89-compare-row > div:first-child{color:var(--vd89-wheat);font-weight:700;background:#1B263B;}

/* ---------- Extended footer ---------- */
.vd89-ext-footer{
  margin-top:24px;
  background:linear-gradient(180deg,#16223A,#0F1A2E);
  border:1px solid var(--vd89-border-2);
  border-radius:var(--vd89-radius);
  padding:18px 14px;
}
.vd89-ext-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0;
}
.vd89-ext-link{
  display:flex;align-items:center;gap:8px;
  background:#1B263B;border:1px solid var(--vd89-border-2);
  border-radius:10px;padding:10px 11px;font-size:12px;color:var(--vd89-text);font-weight:600;
}
.vd89-ext-link::before{
  content:"";display:block;width:6px;height:6px;border-radius:50%;
  background:var(--vd89-wheat);flex:none;
}
.vd89-ext-promo{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0;
}
.vd89-ext-promo button{
  background:linear-gradient(135deg,#F6C66A,#D09E48);
  color:#1B263B;font-weight:800;font-size:11px;
  border-radius:10px;padding:10px 4px;line-height:1.2;
  box-shadow:0 3px 10px rgba(232,185,100,.25);
}
.vd89-ext-promo button:active{transform:scale(.95);}
.vd89-ext-brand{
  font-size:12.5px;color:var(--vd89-muted);line-height:1.65;
  border-top:1px dashed var(--vd89-border-2);padding-top:12px;margin-top:8px;
}
.vd89-disclaimer{
  margin-top:12px;padding:10px 12px;
  background:rgba(169,169,169,.08);border-left:3px solid var(--vd89-silver);
  border-radius:6px;font-size:11px;color:var(--vd89-silver);line-height:1.55;
}

/* ---------- Copyright footer ---------- */
.vd89-footer-copy{
  text-align:center;padding:14px 12px 6px;
  font-size:11px;color:var(--vd89-muted);letter-spacing:.5px;
}

/* ---------- Bottom navigation ---------- */
.vd89-bnav{
  position:fixed;left:50%;transform:translateX(-50%);
  bottom:0;width:100%;max-width:var(--vd89-max);
  height:var(--vd89-bnav-h);
  background:linear-gradient(180deg,#1B263B 0%,#101A30 100%);
  border-top:1px solid var(--vd89-border);
  display:grid;grid-template-columns:repeat(5,1fr);
  z-index:55;
  box-shadow:0 -4px 18px rgba(0,0,0,.4);
}
.vd89-bnav-item{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;color:var(--vd89-silver);font-size:10px;font-weight:600;
  transition:color .18s ease;
  padding-top:6px;
}
.vd89-bnav-item.vd89-active{color:var(--vd89-wheat);}
.vd89-bnav-item.vd89-promo{color:var(--vd89-amber);}
.vd89-bnav-icon{
  width:24px;height:24px;display:flex;align-items:center;justify-content:center;
}
.vd89-bnav-icon svg{width:22px;height:22px;}
.vd89-bnav-indicator{
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:24px;height:3px;border-radius:0 0 3px 3px;
  background:transparent;transition:background .2s ease;
}
.vd89-bnav-item.vd89-active .vd89-bnav-indicator,
.vd89-bnav-item.vd89-promo .vd89-bnav-indicator{
  background:linear-gradient(90deg,var(--vd89-gold),var(--vd89-wheat));
}
.vd89-bnav-center{
  position:relative;
}
.vd89-bnav-center .vd89-bnav-icon{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,#F6C66A,#D09E48);
  color:#1B263B;margin-top:-14px;
  box-shadow:0 4px 12px rgba(232,185,100,.4);
  border:2px solid #0F1A2E;
}

/* ---------- Utility ---------- */
.vd89-hide{display:none !important;}
.vd89-pull-right{margin-left:auto;}

/* ---------- Small screen tuning ---------- */
@media(max-width:359px){
  .vd89-grid{grid-template-columns:repeat(4,1fr);gap:6px;}
  .vd89-game-name{font-size:10px;height:24px;}
  .vd89-ext-promo{grid-template-columns:repeat(3,1fr);}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important;animation:none !important;}
}
