/* ============================================================
   vk333.click — Core stylesheet (mobile-first, 320-430px canvas)
   Prefix : pg64-
   Palette: #3A3A3A (dark base) | #C9C9FF (periwinkle text) | #FF4500 (accent)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root{
  --pg64-bg:        #3A3A3A;
  --pg64-bg-2:      #2B2B2B;
  --pg64-bg-3:      #1E1E1E;
  --pg64-surface:   #4A4A4A;
  --pg64-surface-2: #535353;
  --pg64-line:      rgba(201,201,255,0.14);
  --pg64-text:      #C9C9FF;
  --pg64-text-dim:  #9E9EC9;
  --pg64-text-soft: #B9B9E2;
  --pg64-accent:    #FF4500;
  --pg64-accent-2:  #FF6A33;
  --pg64-accent-3:  #FFD2B8;
  --pg64-gold:      #FFC857;
  --pg64-radius:    14px;
  --pg64-radius-sm: 10px;
  --pg64-shadow:    0 8px 22px rgba(0,0,0,0.45);
  --pg64-header-h:  58px;
  --pg64-nav-h:     62px;
  --pg64-max:       430px;
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }
html,body{
  background:var(--pg64-bg);
  color:var(--pg64-text);
  font-family:"Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,-apple-system,sans-serif;
  font-size:15px;
  line-height:1.55;
  word-break:break-word;
}
img{ display:block; max-width:100%; }
a{ color:var(--pg64-accent-2); text-decoration:none; }
a:focus-visible{ outline:2px solid var(--pg64-accent); outline-offset:2px; }
ul,ol{ list-style:none; }
h1,h2,h3,h4{ font-weight:700; line-height:1.3; color:#fff; }
h1{ font-size:1.5rem; }
h2{ font-size:1.18rem; }
h3{ font-size:1.02rem; color:var(--pg64-text); }
p{ color:var(--pg64-text-soft); }

/* ---------- Phone canvas frame ---------- */
.pg64-stage{
  max-width:var(--pg64-max);
  margin:0 auto;
  background:linear-gradient(180deg,#3F3F3F 0%,#333 28%,#2C2C2C 100%);
  min-height:100vh;
  position:relative;
  box-shadow:0 0 40px rgba(0,0,0,0.5);
}

/* ---------- Skip link ---------- */
.pg64-skip{
  position:absolute; left:-999px; top:0;
  background:var(--pg64-accent); color:#fff; padding:8px 12px; z-index:200;
}
.pg64-skip:focus{ left:8px; top:8px; }

/* ---------- Top header ---------- */
.pg64-header{
  position:sticky; top:0; z-index:90;
  height:var(--pg64-header-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 12px;
  background:linear-gradient(180deg,rgba(20,20,20,0.98),rgba(40,40,40,0.92));
  border-bottom:1px solid var(--pg64-line);
  backdrop-filter:blur(6px);
}
.pg64-brand{ display:flex; align-items:center; gap:9px; min-width:0; }
.pg64-brand-logo{
  width:38px; height:38px; border-radius:10px; object-fit:cover;
  border:1.5px solid var(--pg64-accent);
  background:radial-gradient(circle at 30% 30%,#FF6A33,#A83300);
  box-shadow:0 2px 6px rgba(255,69,0,0.35);
  flex-shrink:0;
}
.pg64-brand-text{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.pg64-brand-name{
  font-size:1.06rem; font-weight:800; letter-spacing:0.5px; color:#fff;
  white-space:nowrap;
}
.pg64-brand-tag{
  font-size:0.62rem; color:var(--pg64-text-dim); letter-spacing:1.5px;
  text-transform:uppercase;
}

.pg64-actions{ display:flex; align-items:center; gap:6px; }
.pg64-btn{
  font-family:inherit; cursor:pointer; border:none; border-radius:10px;
  padding:9px 14px; font-size:0.82rem; font-weight:700;
  min-height:38px; min-width:44px;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.pg64-btn:active{ transform:scale(0.95); }
.pg64-btn-primary{
  background:linear-gradient(180deg,#FF6A33,#FF4500);
  color:#fff;
  box-shadow:0 4px 12px rgba(255,69,0,0.45);
}
.pg64-btn-ghost{
  background:transparent; color:var(--pg64-text);
  border:1px solid var(--pg64-line);
}
.pg64-btn-ghost:active{ background:rgba(201,201,255,0.08); }

.pg64-menu-btn{
  width:38px; height:38px; border-radius:10px;
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px;
  cursor:pointer; flex-shrink:0;
}
.pg64-menu-btn span{
  display:block; width:18px; height:2px; background:var(--pg64-text); border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

/* ---------- Slide-up route panel ---------- */
.pg64-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,0.55);
  opacity:0; visibility:hidden; transition:opacity .25s ease; z-index:95;
}
.pg64-overlay.pg64-open{ opacity:1; visibility:visible; }
.pg64-panel{
  position:fixed; left:0; right:0; bottom:0;
  max-width:var(--pg64-max); margin:0 auto;
  background:linear-gradient(180deg,#3D3D3D,#262626);
  border-top:2px solid var(--pg64-accent);
  border-radius:22px 22px 0 0;
  transform:translateY(110%);
  transition:transform .32s cubic-bezier(.22,.7,.3,1);
  z-index:96;
  padding:16px 16px calc(16px + env(safe-area-inset-bottom));
  max-height:78vh; overflow-y:auto;
  box-shadow:0 -10px 30px rgba(0,0,0,0.55);
}
.pg64-panel.pg64-open{ transform:translateY(0); }
.pg64-panel-grip{
  width:44px; height:5px; border-radius:3px; background:rgba(201,201,255,0.35);
  margin:0 auto 14px;
}
.pg64-panel-title{
  font-size:0.78rem; color:var(--pg64-text-dim); letter-spacing:2px;
  text-transform:uppercase; margin-bottom:12px; padding:0 4px;
}
.pg64-panel-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
}
.pg64-panel-item{
  display:flex; flex-direction:column; align-items:center; gap:7px;
  padding:14px 6px; border-radius:14px;
  background:var(--pg64-surface);
  border:1px solid var(--pg64-line);
  color:var(--pg64-text); text-align:center;
  transition:transform .14s ease, background .14s ease;
  font-size:0.78rem; font-weight:600;
  min-height:60px;
}
.pg64-panel-item:active{ transform:scale(0.96); background:var(--pg64-surface-2); }
.pg64-panel-item.is-current{
  background:linear-gradient(180deg,rgba(255,69,0,0.18),rgba(255,69,0,0.06));
  border-color:var(--pg64-accent);
  color:#fff;
}
.pg64-panel-icon{
  width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  border-radius:9px; background:rgba(255,69,0,0.18);
  color:var(--pg64-accent-2); font-size:1.05rem;
}
.pg64-panel-cta{
  margin-top:14px; width:100%;
  display:flex; gap:8px;
}
.pg64-panel-cta .pg64-btn{ flex:1; }

/* ---------- Page main ---------- */
.pg64-main{ padding:14px 12px calc(var(--pg64-nav-h) + 24px); }

/* ---------- Hero carousel ---------- */
.pg64-hero{
  position:relative; border-radius:var(--pg64-radius); overflow:hidden;
  box-shadow:var(--pg64-shadow); margin-bottom:18px;
  border:1px solid var(--pg64-line);
}
.pg64-hero-track{
  display:flex; transition:transform .42s cubic-bezier(.22,.7,.3,1);
  will-change:transform;
}
.pg64-hero-slide{
  flex:0 0 100%; position:relative; aspect-ratio:16/9;
}
.pg64-hero-slide img{ width:100%; height:100%; object-fit:cover; }
.pg64-hero-cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:14px 14px 12px;
  background:linear-gradient(0deg,rgba(0,0,0,0.82) 10%,rgba(0,0,0,0) 100%);
  display:flex; flex-direction:column; gap:6px;
}
.pg64-hero-cap-eyebrow{
  font-size:0.65rem; letter-spacing:2px; text-transform:uppercase;
  color:var(--pg64-accent-3); font-weight:700;
}
.pg64-hero-cap-title{
  font-size:1.08rem; color:#fff; font-weight:800; line-height:1.25;
}
.pg64-hero-cap-cta{
  align-self:flex-start; margin-top:4px;
  background:var(--pg64-accent); color:#fff;
  font-size:0.76rem; font-weight:700;
  padding:7px 14px; border-radius:999px;
  cursor:pointer; border:none; font-family:inherit;
}
.pg64-hero-cap-cta:active{ transform:scale(0.96); }
.pg64-hero-dots{
  position:absolute; bottom:8px; right:12px; display:flex; gap:5px; z-index:3;
}
.pg64-hero-dot{
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,0.45); transition:all .2s ease;
}
.pg64-hero-dot.pg64-active{
  background:var(--pg64-accent); width:18px; border-radius:4px;
}

/* ---------- Trust strip ---------- */
.pg64-trust{
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
  margin-bottom:18px;
}
.pg64-trust-cell{
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  border-radius:12px; padding:10px 4px; text-align:center;
}
.pg64-trust-num{ font-size:1rem; font-weight:800; color:var(--pg64-accent-2); line-height:1.1; }
.pg64-trust-lbl{ font-size:0.64rem; color:var(--pg64-text-dim); margin-top:2px; }

/* ---------- Section head ---------- */
.pg64-sec{ margin-bottom:22px; }
.pg64-sec-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px; padding:0 2px;
}
.pg64-sec-title{
  display:flex; align-items:center; gap:8px; color:#fff;
  font-size:1.05rem; font-weight:800;
}
.pg64-sec-bar{
  width:4px; height:18px; border-radius:3px;
  background:linear-gradient(180deg,var(--pg64-accent-2),var(--pg64-accent));
}
.pg64-sec-more{ font-size:0.74rem; color:var(--pg64-text-dim); }

/* ---------- Category strip (anchor jump) ---------- */
.pg64-catstrip{
  display:flex; gap:8px; overflow-x:auto; padding-bottom:8px;
  margin-bottom:6px; scrollbar-width:none;
}
.pg64-catstrip::-webkit-scrollbar{ display:none; }
.pg64-catlink{
  flex-shrink:0; padding:7px 14px; border-radius:999px;
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  color:var(--pg64-text); font-size:0.78rem; font-weight:600;
  white-space:nowrap;
}
.pg64-catlink:active{ background:var(--pg64-surface-2); }

/* ---------- Game grid ---------- */
.pg64-cat-block{ margin-bottom:24px; scroll-margin-top:calc(var(--pg64-header-h) + 8px); }
.pg64-cat-label{
  display:flex; align-items:center; gap:8px; margin-bottom:10px;
  color:#fff; font-size:1rem; font-weight:800;
}
.pg64-cat-label .pg64-cat-ico{
  width:26px; height:26px; border-radius:8px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,69,0,0.18); color:var(--pg64-accent-2); font-size:0.95rem;
}
.pg64-cat-count{
  margin-left:auto; font-size:0.7rem; color:var(--pg64-text-dim); font-weight:500;
}

.pg64-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
}
@media (min-width:360px){ .pg64-grid{ gap:9px; } }
@media (min-width:400px){ .pg64-grid{ grid-template-columns:repeat(5,1fr); } }

.pg64-card{
  display:flex; flex-direction:column; align-items:center;
  cursor:pointer;
  transition:transform .14s ease;
}
.pg64-card:active{ transform:scale(0.94); }
.pg64-card-img-wrap{
  position:relative; width:100%; aspect-ratio:1/1;
  border-radius:12px; overflow:hidden;
  border:1px solid var(--pg64-line);
  background:linear-gradient(180deg,#505050,#3A3A3A);
  box-shadow:0 3px 8px rgba(0,0,0,0.35);
}
.pg64-card-img-wrap img{ width:100%; height:100%; object-fit:cover; }
.pg64-card-badge{
  position:absolute; top:4px; left:4px;
  font-size:0.55rem; padding:2px 5px; border-radius:6px;
  background:var(--pg64-accent); color:#fff; font-weight:700;
}
.pg64-card-name{
  margin-top:5px; font-size:0.66rem; color:var(--pg64-text-soft);
  text-align:center; line-height:1.2;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ---------- Promo banner row ---------- */
.pg64-promo-row{
  display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:22px;
}
.pg64-promo-card{
  position:relative; border-radius:12px; overflow:hidden;
  border:1px solid var(--pg64-line); padding:12px;
  background:linear-gradient(135deg,#4A3030,#2A1A1A);
  cursor:pointer; min-height:88px;
  display:flex; flex-direction:column; justify-content:space-between;
  transition:transform .14s ease;
}
.pg64-promo-card:active{ transform:scale(0.97); }
.pg64-promo-card.alt{ background:linear-gradient(135deg,#2A3340,#1A2028); }
.pg64-promo-eyebrow{ font-size:0.62rem; color:var(--pg64-accent-3); letter-spacing:1.5px; text-transform:uppercase; }
.pg64-promo-title{ font-size:0.92rem; font-weight:800; color:#fff; margin-top:4px; line-height:1.25; }
.pg64-promo-link{ font-size:0.7rem; color:var(--pg64-accent-2); font-weight:700; margin-top:6px; }

/* ---------- Article / SEO sections ---------- */
.pg64-article{
  background:var(--pg64-bg-2); border:1px solid var(--pg64-line);
  border-radius:var(--pg64-radius); padding:16px 14px; margin-bottom:16px;
}
.pg64-article h2{ margin-bottom:10px; }
.pg64-article h2::before{
  content:""; display:inline-block; width:4px; height:14px;
  background:var(--pg64-accent); border-radius:2px; margin-right:8px;
  vertical-align:-2px;
}
.pg64-article p{ margin-bottom:10px; font-size:0.86rem; }
.pg64-article ul{ margin:8px 0 12px; padding-left:4px; }
.pg64-article ul li{
  position:relative; padding-left:18px; margin-bottom:6px;
  font-size:0.84rem; color:var(--pg64-text-soft);
}
.pg64-article ul li::before{
  content:""; position:absolute; left:4px; top:8px;
  width:6px; height:6px; border-radius:50%; background:var(--pg64-accent);
}

/* Compact info grid */
.pg64-info-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin:10px 0;
}
.pg64-info-cell{
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  border-radius:10px; padding:10px;
}
.pg64-info-cell-h{ font-size:0.78rem; font-weight:700; color:#fff; margin-bottom:4px; }
.pg64-info-cell-p{ font-size:0.74rem; color:var(--pg64-text-dim); line-height:1.35; }

/* Checklist */
.pg64-checklist{ display:flex; flex-direction:column; gap:7px; margin:8px 0; }
.pg64-check-item{
  display:flex; align-items:flex-start; gap:8px;
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  padding:9px 10px; border-radius:10px;
  font-size:0.82rem; color:var(--pg64-text-soft);
}
.pg64-check-mark{
  flex-shrink:0; width:18px; height:18px; border-radius:50%;
  background:var(--pg64-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:0.7rem; font-weight:800;
}

/* FAQ */
.pg64-faq{ display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.pg64-faq-item{
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  border-radius:10px; padding:11px 12px;
}
.pg64-faq-q{ font-size:0.86rem; font-weight:700; color:#fff; margin-bottom:5px; }
.pg64-faq-a{ font-size:0.8rem; color:var(--pg64-text-soft); }

/* ---------- Extended footer ---------- */
.pg64-ext-footer{
  background:linear-gradient(180deg,#2C2C2C,#1A1A1A);
  border-top:1px solid var(--pg64-line);
  border-radius:18px 18px 0 0;
  padding:18px 14px 8px; margin-top:8px;
}
.pg64-brand-block{ margin-bottom:14px; }
.pg64-brand-block p{ font-size:0.78rem; line-height:1.5; color:var(--pg64-text-dim); }

.pg64-foot-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;
}
.pg64-foot-col h4{
  font-size:0.74rem; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--pg64-accent-3); margin-bottom:8px;
}
.pg64-foot-col a{
  display:block; font-size:0.78rem; color:var(--pg64-text-soft);
  padding:4px 0;
}
.pg64-foot-col a:active{ color:#fff; }

.pg64-promo-block{
  display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:14px;
}
.pg64-promo-mini{
  display:flex; align-items:center; gap:8px;
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  border-radius:10px; padding:9px 10px;
  font-size:0.76rem; color:var(--pg64-text); font-weight:600;
  cursor:pointer;
}
.pg64-promo-mini:active{ background:var(--pg64-surface-2); transform:scale(0.98); }
.pg64-promo-mini-ico{
  width:24px; height:24px; border-radius:7px; flex-shrink:0;
  background:rgba(255,69,0,0.2); color:var(--pg64-accent-2);
  display:flex; align-items:center; justify-content:center; font-size:0.85rem;
}

.pg64-disclaimer{
  font-size:0.66rem; color:var(--pg64-text-dim);
  line-height:1.5; padding:10px; border-radius:8px;
  background:rgba(201,201,255,0.04); border:1px solid var(--pg64-line);
}

/* ---------- Universal footer copyright + bottom nav ---------- */
.pg64-foot{
  background:#161616; padding:10px 12px calc(var(--pg64-nav-h) + 6px);
  text-align:center;
}
.pg64-foot-copy{ font-size:0.66rem; color:var(--pg64-text-dim); }

/* ---------- Mobile bottom nav (5 roles) ---------- */
.pg64-nav{
  position:fixed; left:0; right:0; bottom:0; z-index:80;
  max-width:var(--pg64-max); margin:0 auto;
  height:var(--pg64-nav-h);
  display:flex; align-items:stretch; justify-content:space-between;
  background:linear-gradient(180deg,rgba(30,30,30,0.98),rgba(15,15,15,1));
  border-top:2px solid var(--pg64-accent);
  box-shadow:0 -6px 18px rgba(0,0,0,0.55);
  padding-bottom:env(safe-area-inset-bottom);
}
.pg64-nav-item{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:3px; color:var(--pg64-text-dim); cursor:pointer;
  font-size:0.6rem; font-weight:600; letter-spacing:0.3px;
  position:relative; transition:color .15s ease;
  text-decoration:none;
}
.pg64-nav-item:active{ color:var(--pg64-text); }
.pg64-nav-item.is-active{ color:#fff; }
.pg64-nav-item.is-active::before{
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:32px; height:3px; border-radius:0 0 4px 4px;
  background:var(--pg64-accent);
}
.pg64-nav-tile{
  width:34px; height:30px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:var(--pg64-surface); border:1px solid var(--pg64-line);
  transition:transform .16s ease, background .16s ease;
  margin-top:2px;
}
.pg64-nav-item.is-active .pg64-nav-tile{
  background:linear-gradient(180deg,rgba(255,69,0,0.32),rgba(255,69,0,0.12));
  border-color:var(--pg64-accent);
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 4px 10px rgba(255,69,0,0.35);
}
.pg64-nav-item:active .pg64-nav-tile{ transform:scale(0.92); }
.pg64-nav-ico{ width:18px; height:18px; display:block; }
.pg64-nav-ico svg{ width:18px; height:18px; display:block; }
.pg64-nav-label{ font-size:0.58rem; line-height:1; }

/* SVG icon color inheritance */
.pg64-nav-ico svg path,
.pg64-nav-ico svg circle,
.pg64-nav-ico svg rect,
.pg64-nav-ico svg polygon{ fill:currentColor; }

/* ---------- Utility ---------- */
.pg64-hide{ display:none !important; }
.pg64-clearfix::after{ content:""; display:table; clear:both; }

/* ---------- Responsive safeties ---------- */
@media (min-width:480px){
  .pg64-stage{ border-left:1px solid #000; border-right:1px solid #000; }
}

/* ---------- External icon font bridges ---------- */
.pg64-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:1.15rem}
.pg64-fa{font-family:"Font Awesome 6 Free";font-weight:900}
.pg64-mi{font-family:"Material Symbols Outlined";font-weight:400}
.pg64-io{font-family:"Ionicons";font-weight:400}
.pg64-icon-row{display:flex;gap:8px;align-items:center;color:var(--pg64-accent-2);margin-bottom:8px}
.pg64-icon-row .pg64-icon{background:rgba(255,69,0,.16);border:1px solid var(--pg64-line);border-radius:8px;padding:4px;width:30px;height:30px}
@media (min-width:769px){
  .pg64-nav{display:none}
  .pg64-main{padding-bottom:24px}
  .pg64-foot{padding-bottom:10px}
}
