/* ============================================================
   rbajer.homes - basefiles stylesheet (mobile-first canvas)
   Palette : #EEEEEE (light text) | #FF7F50 (coral accent) | #212F3D (dark base)
   All class names use the view31393- prefix.
   ============================================================ */

:root{
  --view31393-bg:#212F3D;
  --view31393-bg-soft:#26344A;
  --view31393-bg-deep:#19232F;
  --view31393-surface:#2B3B50;
  --view31393-surface-2:#1E2C3C;
  --view31393-text:#EEEEEE;
  --view31393-muted:#AEB9C7;
  --view31393-faint:#7E8B9C;
  --view31393-accent:#FF7F50;
  --view31393-accent-soft:#FF9D78;
  --view31393-accent-deep:#E4623A;
  --view31393-gold:#F2C26B;
  --view31393-success:#52C7A8;
  --view31393-border:rgba(238,238,238,0.10);
  --view31393-border-strong:rgba(238,238,238,0.18);
  --view31393-shadow:0 10px 26px rgba(0,0,0,0.32);
  --view31393-radius-s:8px;
  --view31393-radius-m:14px;
  --view31393-radius-l:20px;
  --view31393-radius-pill:999px;
  --view31393-frame-max:480px;
  --view31393-header-h:108px;
  --view31393-bottomnav-h:62px;
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}

html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-behavior:smooth; }

body{
  font-family:"Hind Siliguri","Noto Sans Bengali","SolaimanLipi",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:#0F1822;
  color:var(--view31393-text);
  line-height:1.62;
  font-size:15px;
  min-height:100vh;
  display:flex;
  justify-content:center;
  overflow-x:hidden;
}

/* Centered mobile canvas that stays a phone sheet even on wide screens */
.view31393-canvas{
  position:relative;
  width:100%;
  max-width:var(--view31393-frame-max);
  min-height:100vh;
  background:
    radial-gradient(circle at 18% -8%, rgba(255,127,80,0.18), transparent 42%),
    radial-gradient(circle at 110% 6%, rgba(82,199,168,0.10), transparent 38%),
    linear-gradient(180deg,#1B2738 0%,#212F3D 32%,#22324A 100%);
  box-shadow:var(--view31393-shadow);
  overflow:hidden;
}

a{ color:var(--view31393-accent-soft); text-decoration:none; }
a:hover{ color:var(--view31393-accent); }
img{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; border:0; background:none; color:inherit; }

/* ---------- Skip link for accessibility ---------- */
.view31393-skip{
  position:absolute; left:-999px; top:8px;
  background:var(--view31393-accent); color:#1B1208;
  padding:8px 14px; border-radius:var(--view31393-radius-s); font-weight:700; z-index:200;
}
.view31393-skip:focus{ left:12px; }

/* ============================================================
   HEADER  (brand row + action row, then slide-down drawer)
   ============================================================ */
.view31393-header{
  position:sticky; top:0; z-index:90;
  background:linear-gradient(180deg,rgba(27,39,56,0.96),rgba(33,47,61,0.92));
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--view31393-border);
}

.view31393-brand-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px 6px;
}
.view31393-brand{
  display:flex; align-items:center; gap:10px;
  color:var(--view31393-text);
}
.view31393-logo{
  width:38px; height:38px; border-radius:10px;
  object-fit:cover;
  border:1px solid rgba(255,127,80,0.55);
  box-shadow:0 0 0 3px rgba(255,127,80,0.15);
}
.view31393-brand-name{
  font-size:20px; font-weight:800; letter-spacing:0.3px;
  color:var(--view31393-text);
}
.view31393-brand-name b{ color:var(--view31393-accent); font-weight:800; }

.view31393-menu-btn{
  width:42px; height:42px; border-radius:12px;
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px;
  background:var(--view31393-surface);
  border:1px solid var(--view31393-border);
}
.view31393-menu-btn span{
  display:block; width:18px; height:2px; border-radius:2px;
  background:var(--view31393-text); transition:transform .2s ease;
}
.view31393-menu-btn[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.view31393-menu-btn[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.view31393-menu-btn[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* Action row: stacked brand -> layered CTA */
.view31393-action-row{
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
  padding:6px 14px 12px;
}
.view31393-btn{
  height:42px; border-radius:var(--view31393-radius-pill);
  font-size:15px; font-weight:700; letter-spacing:0.2px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  transition:transform .12s ease, box-shadow .2s ease, background .2s ease;
  min-width:44px; min-height:44px;
}
.view31393-btn:active{ transform:translateY(1px) scale(0.99); }
.view31393-btn-solid{
  background:linear-gradient(135deg,var(--view31393-accent) 0%,var(--view31393-accent-deep) 100%);
  color:#1B1208;
  box-shadow:0 6px 14px rgba(255,127,80,0.32);
}
.view31393-btn-outline{
  background:transparent;
  color:var(--view31393-text);
  border:1.5px solid var(--view31393-accent);
}
.view31393-btn-outline:active{ background:rgba(255,127,80,0.12); }
.view31393-btn-ghost{
  background:rgba(238,238,238,0.06);
  color:var(--view31393-text);
  border:1px solid var(--view31393-border);
}

/* Drawer menu (slide-down overlay) */
.view31393-drawer{
  border-top:1px solid var(--view31393-border);
  background:var(--view31393-bg-deep);
  padding:8px 12px 14px;
  display:grid; grid-template-columns:1fr 1fr; gap:6px 8px;
  animation:view31393-drop .22s ease;
}
.view31393-drawer[hidden]{ display:none; }
@keyframes view31393-drop{ from{ opacity:0; transform:translateY(-8px);} to{ opacity:1; transform:translateY(0);} }
.view31393-drawer a{
  display:block; padding:10px 12px;
  border-radius:var(--view31393-radius-s);
  color:var(--view31393-text);
  font-size:14px; font-weight:600;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--view31393-border);
}
.view31393-drawer a:active{ background:rgba(255,127,80,0.16); }

/* ============================================================
   MAIN
   ============================================================ */
main{ padding-bottom:calc(var(--view31393-bottomnav-h) + 22px); }

/* ---------- Hero / carousel ---------- */
.view31393-hero{
  position:relative;
  margin:14px;
  border-radius:var(--view31393-radius-l);
  overflow:hidden;
  box-shadow:var(--view31393-shadow);
  border:1px solid var(--view31393-border);
}
.view31393-hero-track{
  display:flex; scroll-snap-type:x mandatory; overflow-x:auto; scrollbar-width:none;
}
.view31393-hero-track::-webkit-scrollbar{ display:none; }
.view31393-hero-slide{
  flex:0 0 100%; scroll-snap-align:start;
  position:relative;
  min-height:188px;
  display:flex; align-items:flex-end;
}
.view31393-hero-slide img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.view31393-hero-slide::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(15,24,34,0) 30%,rgba(15,24,34,0.86) 100%);
}
.view31393-hero-caption{
  position:relative; z-index:2;
  padding:14px 16px 16px;
  width:100%;
}
.view31393-hero-eyebrow{
  display:inline-block; font-size:11px; font-weight:700;
  padding:4px 10px; border-radius:var(--view31393-radius-pill);
  background:rgba(255,127,80,0.92); color:#1B1208;
  letter-spacing:0.4px; margin-bottom:8px;
}
.view31393-hero-title{
  font-size:20px; font-weight:800; line-height:1.32; color:#FFFFFF;
  margin-bottom:6px;
}
.view31393-hero-sub{ font-size:13px; color:var(--view31393-muted); margin-bottom:10px; }
.view31393-hero-cta{ display:flex; gap:8px; flex-wrap:wrap; }
.view31393-hero-cta .view31393-btn{ height:38px; padding:0 16px; font-size:14px; }

.view31393-hero-dots{
  position:absolute; bottom:8px; right:12px; z-index:3;
  display:flex; gap:5px;
}
.view31393-hero-dots i{
  width:7px; height:7px; border-radius:50%;
  background:rgba(238,238,238,0.45); transition:all .2s ease;
}
.view31393-hero-dots i.is-active{
  width:18px; border-radius:4px; background:var(--view31393-accent);
}

/* ---------- Quick trust strip ---------- */
.view31393-trust{
  display:flex; justify-content:space-between; gap:6px;
  margin:0 14px 4px;
  padding:10px 8px;
  background:var(--view31393-surface-2);
  border:1px solid var(--view31393-border);
  border-radius:var(--view31393-radius-m);
}
.view31393-trust-item{ flex:1; text-align:center; }
.view31393-trust-num{
  display:block; font-size:15px; font-weight:800; color:var(--view31393-accent-soft);
  line-height:1.1;
}
.view31393-trust-label{ font-size:10.5px; color:var(--view31393-muted); }

/* ---------- Category pills (filter) ---------- */
.view31393-pills{
  display:flex; gap:8px; overflow-x:auto; scrollbar-width:none;
  padding:14px 14px 6px;
}
.view31393-pills::-webkit-scrollbar{ display:none; }
.view31393-pill{
  flex:0 0 auto;
  padding:8px 14px; border-radius:var(--view31393-radius-pill);
  background:var(--view31393-surface);
  color:var(--view31393-muted);
  font-size:13px; font-weight:700;
  border:1px solid var(--view31393-border);
  white-space:nowrap;
  transition:all .18s ease;
}
.view31393-pill.is-active{
  background:linear-gradient(135deg,var(--view31393-accent),var(--view31393-accent-deep));
  color:#1B1208; border-color:transparent;
  box-shadow:0 4px 10px rgba(255,127,80,0.28);
}

/* ---------- Section ---------- */
.view31393-section{ padding:18px 14px 6px; }
.view31393-section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:12px; gap:10px;
}
.view31393-section-title{
  font-size:18px; font-weight:800; color:var(--view31393-text);
  line-height:1.28;
  display:flex; align-items:center; gap:8px;
}
.view31393-section-title::before{
  content:""; display:inline-block;
  width:4px; height:18px; border-radius:3px;
  background:linear-gradient(180deg,var(--view31393-accent),var(--view31393-accent-deep));
}
.view31393-section-more{
  font-size:12.5px; font-weight:700; color:var(--view31393-accent-soft);
  white-space:nowrap;
}

/* ---------- Game grid ---------- */
.view31393-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:8px 8px;
}
.view31393-card{
  position:relative;
  border-radius:var(--view31393-radius-m);
  overflow:hidden;
  background:var(--view31393-surface-2);
  border:1px solid var(--view31393-border);
  text-align:left;
  display:flex; flex-direction:column;
  transition:transform .14s ease, box-shadow .2s ease, border-color .2s ease;
}
.view31393-card:active{ transform:scale(0.97); border-color:var(--view31393-accent); }
.view31393-card-media{
  position:relative; width:100%; aspect-ratio:1/1; overflow:hidden;
  background:linear-gradient(135deg,#2A3B50,#1B2738);
}
.view31393-card-media img{ width:100%; height:100%; object-fit:cover; }
.view31393-card-tag{
  position:absolute; top:4px; left:4px; z-index:2;
  font-size:9px; font-weight:800; letter-spacing:0.3px;
  padding:2px 6px; border-radius:6px;
  background:rgba(255,127,80,0.92); color:#1B1208;
  text-transform:uppercase;
}
.view31393-card-tag.is-hot{ background:#E94560; color:#fff; }
.view31393-card-tag.is-new{ background:var(--view31393-success); color:#06241C; }
.view31393-card-name{
  display:block;
  font-size:11.5px; line-height:1.25; font-weight:600;
  color:var(--view31393-text);
  padding:6px 7px 7px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  border-top:1px solid var(--view31393-border);
  background:var(--view31393-surface);
}

/* ---------- Info modules ---------- */
.view31393-info{
  margin:18px 14px 6px;
  background:var(--view31393-surface-2);
  border:1px solid var(--view31393-border);
  border-radius:var(--view31393-radius-l);
  padding:16px 16px 18px;
}
.view31393-info h2{
  font-size:17px; font-weight:800; line-height:1.32;
  margin-bottom:10px; color:var(--view31393-text);
}
.view31393-info h3{
  font-size:14.5px; font-weight:700; color:var(--view31393-accent-soft);
  margin:14px 0 6px;
}
.view31393-info p{ font-size:13.5px; color:var(--view31393-muted); margin-bottom:10px; }
.view31393-info p strong, .view31393-info p b{ color:var(--view31393-text); font-weight:700; }
.view31393-info ul{ list-style:none; margin:6px 0 12px; }
.view31393-info li{
  position:relative; padding:5px 0 5px 20px;
  font-size:13.2px; color:var(--view31393-muted);
  border-bottom:1px dashed rgba(238,238,238,0.06);
}
.view31393-info li:last-child{ border-bottom:0; }
.view31393-info li::before{
  content:""; position:absolute; left:4px; top:13px;
  width:7px; height:7px; border-radius:50%;
  background:var(--view31393-accent);
}
.view31393-info a{ color:var(--view31393-accent-soft); font-weight:700; border-bottom:1px dotted rgba(255,159,122,0.5); }
.view31393-info a:active{ color:var(--view31393-accent); }

/* Inline link cluster (deep links to real sub pages) */
.view31393-linkcluster{
  display:grid; grid-template-columns:1fr 1fr; gap:8px;
  margin:10px 0 4px;
}
.view31393-linkcluster a{
  display:block; padding:10px 12px;
  font-size:13px; font-weight:700;
  border-radius:var(--view31393-radius-m);
  background:rgba(255,127,80,0.10);
  border:1px solid rgba(255,127,80,0.32);
  color:var(--view31393-text);
}
.view31393-linkcluster a:active{ background:rgba(255,127,80,0.22); }

/* Steps (numbered) */
.view31393-steps{ list-style:none; counter-reset:view31393-step; margin:6px 0 4px; }
.view31393-steps li{
  counter-increment:view31393-step;
  position:relative; padding:9px 10px 9px 40px;
  font-size:13.2px; color:var(--view31393-muted);
  border-bottom:1px solid var(--view31393-border);
}
.view31393-steps li:last-child{ border-bottom:0; }
.view31393-steps li::before{
  content:counter(view31393-step);
  position:absolute; left:6px; top:9px;
  width:24px; height:24px; border-radius:50%;
  background:linear-gradient(135deg,var(--view31393-accent),var(--view31393-accent-deep));
  color:#1B1208; font-size:12px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}

/* CTA block */
.view31393-ctablock{
  margin:18px 14px 6px;
  padding:18px 16px;
  border-radius:var(--view31393-radius-l);
  text-align:center;
  background:
    radial-gradient(circle at 80% -20%, rgba(255,127,80,0.35), transparent 60%),
    linear-gradient(135deg,#2C3E55,#1E2C3C);
  border:1px solid rgba(255,127,80,0.32);
}
.view31393-ctablock h2{
  font-size:18px; font-weight:800; color:#fff; margin-bottom:6px;
}
.view31393-ctablock p{ font-size:13px; color:var(--view31393-muted); margin-bottom:14px; }
.view31393-ctablock .view31393-btn{ width:100%; max-width:280px; }

/* Inline FAQ-style Q&A */
.view31393-qa{ margin-top:6px; }
.view31393-qa details{
  border:1px solid var(--view31393-border);
  border-radius:var(--view31393-radius-m);
  background:rgba(255,255,255,0.03);
  padding:0; margin-bottom:8px; overflow:hidden;
}
.view31393-qa summary{
  list-style:none; cursor:pointer;
  padding:12px 14px; padding-right:36px;
  font-size:13.5px; font-weight:700; color:var(--view31393-text);
  position:relative;
}
.view31393-qa summary::-webkit-details-marker{ display:none; }
.view31393-qa summary::after{
  content:"+"; position:absolute; right:14px; top:10px;
  color:var(--view31393-accent); font-size:20px; font-weight:800;
  transition:transform .2s ease;
}
.view31393-qa details[open] summary::after{ content:"\2212"; transform:rotate(180deg); }
.view31393-qa .view31393-qa-body{
  padding:0 14px 12px; font-size:13px; color:var(--view31393-muted);
}

/* ---------- Footer ---------- */
.view31393-footer{
  margin-top:18px;
  background:var(--view31393-bg-deep);
  border-top:1px solid var(--view31393-border);
  padding:18px 16px calc(var(--view31393-bottomnav-h) + 26px);
}
.view31393-footer-brand{
  display:flex; align-items:center; gap:10px; margin-bottom:12px;
}
.view31393-footer-brand img{ width:32px; height:32px; border-radius:8px; }
.view31393-footer-brand strong{ font-size:16px; color:var(--view31393-text); font-weight:800; }
.view31393-footer-cols{
  display:grid; grid-template-columns:1fr 1fr; gap:14px 10px;
  margin-bottom:14px;
}
.view31393-footer-col h4{
  font-size:12px; font-weight:800; color:var(--view31393-accent-soft);
  letter-spacing:0.5px; text-transform:uppercase; margin-bottom:8px;
}
.view31393-footer-col a{
  display:block; padding:4px 0;
  font-size:12.5px; color:var(--view31393-muted);
}
.view31393-footer-col a:active{ color:var(--view31393-text); }
.view31393-footer-note{
  font-size:11.5px; color:var(--view31393-faint);
  border-top:1px dashed var(--view31393-border);
  padding-top:10px; line-height:1.55;
}
.view31393-footer-copy{
  font-size:11.5px; color:var(--view31393-faint);
  margin-top:8px;
}

/* ============================================================
   MOBILE BOTTOM NAV (5 roles, fixed)
   ============================================================ */
.view31393-bottomnav{
  position:fixed; z-index:80;
  left:50%; transform:translateX(-50%);
  bottom:0;
  width:100%; max-width:var(--view31393-frame-max);
  height:var(--view31393-bottomnav-h);
  background:linear-gradient(180deg,rgba(27,39,56,0.96),rgba(15,22,30,0.99));
  backdrop-filter:blur(12px);
  border-top:1px solid var(--view31393-border-strong);
  display:grid; grid-template-columns:repeat(5,1fr);
  padding:6px 4px 8px;
}
.view31393-bottomnav a,
.view31393-bottomnav button{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:2px;
  font-size:10px; font-weight:700; color:var(--view31393-muted);
  border-radius:10px;
  min-height:44px;
  transition:color .15s ease;
}
.view31393-bottomnav a:active,
.view31393-bottomnav button:active{ color:var(--view31393-text); background:rgba(255,127,80,0.12); }
.view31393-bottomnav-icon{
  width:22px; height:22px; display:flex; align-items:center; justify-content:center;
}
.view31393-bottomnav-icon svg{ width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.view31393-bottomnav a.is-current{ color:var(--view31393-accent); }
.view31393-bottomnav a.is-current .view31393-bottomnav-icon svg{ stroke:var(--view31393-accent); }
.view31393-bottomnav .view31393-bn-promo{
  color:#1B1208;
}
.view31393-bottomnav .view31393-bn-promo .view31393-bottomnav-icon{
  background:none;
}
.view31393-bottomnav .view31393-bn-promo-1{
  background:linear-gradient(135deg,var(--view31393-accent),var(--view31393-accent-deep));
  color:#1B1208;
  border-radius:14px;
  margin:-6px 2px 0;
  padding-top:4px;
  box-shadow:0 4px 10px rgba(255,127,80,0.32);
}
.view31393-bottomnav .view31393-bn-promo-1 .view31393-bottomnav-icon svg{ stroke:#1B1208; }
.view31393-bottomnav .view31393-bn-promo-1:active{ background:linear-gradient(135deg,var(--view31393-accent-deep),var(--view31393-accent)); }
.view31393-bottomnav .view31393-bn-promo-2{ color:var(--view31393-accent-soft); }
.view31393-bottomnav .view31393-bn-promo-2 .view31393-bottomnav-icon svg{ stroke:var(--view31393-accent-soft); }

/* Visible focus for keyboard users */
:focus-visible{ outline:2px solid var(--view31393-accent); outline-offset:2px; border-radius:6px; }

/* ---------- Page H1 (kept byte-equal with <title>) ---------- */
.view31393-page-title{
  font-size:22px; line-height:1.3; font-weight:800;
  color:var(--view31393-text);
  margin-bottom:10px;
  letter-spacing:0.1px;
}
.view31393-intro-lead{
  font-size:14px; color:var(--view31393-muted); margin-bottom:10px;
}
.view31393-intro-lead strong{ color:var(--view31393-text); }

/* ---------- Marquee tip ---------- */
.view31393-marquee{
  margin:0 14px;
  background:rgba(82,199,168,0.10);
  border:1px solid rgba(82,199,168,0.30);
  border-radius:var(--view31393-radius-pill);
  padding:6px 12px;
  font-size:12px; color:var(--view31393-success);
  font-weight:600;
  display:flex; align-items:center; gap:6px;
  overflow:hidden; white-space:nowrap;
}
.view31393-marquee b{ color:#fff; font-weight:800; margin-right:4px; }

/* ---------- Responsive: 430px breakpoint ---------- */
/* The literal 430 below is the wide-phone breakpoint where the grid widens. */
@media (min-width:430px){
  body{ font-size:16px; }
  .view31393-grid{ grid-template-columns:repeat(5, minmax(0,1fr)); gap:10px; }
  .view31393-section-title{ font-size:20px; }
  .view31393-hero-slide{ min-height:212px; }
  .view31393-hero-title{ font-size:23px; }
  .view31393-card-name{ font-size:12px; }
}

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