/* ========================================================================
   1x bet (1x-bet.cyou) - Mobile-first gaming site base stylesheet
   Prefix: ve77- | Date: 2026
   Palette: #F5DEB3 wheat accent | #1A1A1A deep bg | #FDF5E6 cream | #FAFAFA paper
   ======================================================================== */

:root{
  --ve77-bg-deep:#1A1A1A;
  --ve77-bg-soft:#232323;
  --ve77-bg-card:#2b2b2b;
  --ve77-bg-line:#3a3a3a;
  --ve77-cream:#FDF5E6;
  --ve77-paper:#FAFAFA;
  --ve77-wheat:#F5DEB3;
  --ve77-wheat-deep:#e6c98a;
  --ve77-wheat-soft:#fbe9c0;
  --ve77-text:#FDF5E6;
  --ve77-text-mute:#b9b3a4;
  --ve77-text-dim:#8d887a;
  --ve77-gold:#d9b765;
  --ve77-danger:#e05a4b;
  --ve77-success:#5fbf6a;
  --ve77-shadow:0 8px 24px rgba(0,0,0,.45);
  --ve77-radius:14px;
  --ve77-radius-sm:10px;
  --ve77-radius-lg:20px;
  --ve77-header-h:60px;
  --ve77-bottom-h:64px;
  --ve77-max-w:480px;
  --ve77-font:"Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html,body{background:var(--ve77-bg-deep);}
html{scroll-behavior:smooth;}
body{
  font-family:var(--ve77-font);
  color:var(--ve77-text);
  line-height:1.65;
  font-size:15px;
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(245,222,179,.10), transparent 60%),
    linear-gradient(180deg,#1f1f1f 0%,#161616 100%);
}
img{display:block;max-width:100%;}
a{color:var(--ve77-wheat);text-decoration:none;}
a:focus-visible{outline:2px solid var(--ve77-wheat);outline-offset:2px;border-radius:4px;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
ul,ol{list-style:none;}
h1,h2,h3,h4{line-height:1.35;font-weight:700;color:var(--ve77-cream);letter-spacing:.2px;}
h1{font-size:1.55rem;margin:.4em 0 .35em;}
h2{font-size:1.22rem;margin:.3em 0 .35em;}
h3{font-size:1.04rem;margin:.25em 0 .3em;}
p{margin:.4em 0;}

/* ---------- Canvas frame: keep mobile 320-430 on wider screens ---------- */
.ve77-shell{
  width:100%;
  max-width:var(--ve77-max-w);
  margin:0 auto;
  position:relative;
  min-height:100vh;
  background:linear-gradient(180deg,#1c1c1c 0%,#141414 100%);
  box-shadow:0 0 60px rgba(0,0,0,.55);
}
.ve77-main{
  padding-top:calc(var(--ve77-header-h) + 6px);
  padding-bottom:calc(var(--ve77-bottom-h) + 24px);
}

/* ---------- Top brand bar (compact) ---------- */
.ve77-header{
  position:fixed;top:0;left:0;right:0;z-index:60;
  max-width:var(--ve77-max-w);margin:0 auto;
  height:var(--ve77-header-h);
  display:flex;align-items:center;gap:8px;
  padding:0 12px;
  background:linear-gradient(180deg,rgba(26,26,26,.98),rgba(26,26,26,.92));
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--ve77-bg-line);
}
.ve77-brand{display:flex;align-items:center;gap:8px;flex:1;min-width:0;}
.ve77-logo{
  width:34px;height:34px;border-radius:9px;object-fit:cover;
  border:1px solid var(--ve77-wheat);flex-shrink:0;
}
.ve77-brand-name{
  font-weight:800;color:var(--ve77-wheat);font-size:1.06rem;
  line-height:1.05;letter-spacing:.3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ve77-brand-name small{
  display:block;font-size:.62rem;color:var(--ve77-text-dim);
  font-weight:500;letter-spacing:.5px;
}
.ve77-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.ve77-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-height:38px;padding:0 14px;border-radius:999px;
  font-weight:700;font-size:.86rem;line-height:1;white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, background .15s;
}
.ve77-btn:active{transform:translateY(1px) scale(.98);}
.ve77-btn-login{
  background:transparent;color:var(--ve77-cream);
  border:1px solid var(--ve77-bg-line);
}
.ve77-btn-login:hover{border-color:var(--ve77-wheat);color:var(--ve77-wheat);}
.ve77-btn-register{
  background:linear-gradient(135deg,var(--ve77-wheat) 0%,var(--ve77-wheat-deep) 100%);
  color:#1A1A1A;font-weight:800;
  box-shadow:0 4px 14px rgba(245,222,179,.25);
}
.ve77-btn-register:hover{box-shadow:0 6px 20px rgba(245,222,179,.4);}
.ve77-icon-btn{
  width:38px;height:38px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  background:transparent;border:1px solid var(--ve77-bg-line);
  color:var(--ve77-cream);font-size:1.05rem;
}
.ve77-icon-btn:hover{border-color:var(--ve77-wheat);color:var(--ve77-wheat);}

/* ---------- Expandable nav drawer (slide-down) ---------- */
.ve77-menu-toggle{transition:transform .2s;}
.ve77-menu-toggle.ve77-active{transform:rotate(90deg);}
.ve77-nav{
  position:fixed;top:var(--ve77-header-h);left:0;right:0;z-index:59;
  max-width:var(--ve77-max-w);margin:0 auto;
  background:rgba(22,22,22,.985);
  border-bottom:1px solid var(--ve77-bg-line);
  max-height:0;overflow:hidden;
  transition:max-height .32s ease;
  box-shadow:var(--ve77-shadow);
}
.ve77-nav.ve77-open{max-height:560px;}
.ve77-nav-grid{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:6px;padding:12px;
}
.ve77-nav-item{
  display:flex;align-items:center;gap:9px;
  padding:11px 12px;border-radius:var(--ve77-radius-sm);
  color:var(--ve77-cream);font-weight:600;font-size:.92rem;
  background:#222;border:1px solid transparent;
  transition:background .15s,border .15s,padding-left .15s;
}
.ve77-nav-item .ve77-nav-ico{font-size:1.05rem;color:var(--ve77-wheat);width:22px;text-align:center;}
.ve77-nav-item:hover{background:#2c2c2c;border-color:var(--ve77-bg-line);padding-left:16px;}
.ve77-nav-item.ve77-current{
  background:linear-gradient(90deg,rgba(245,222,179,.18),transparent);
  border-color:var(--ve77-wheat);color:var(--ve77-wheat);
}

/* ---------- Section + container ---------- */
.ve77-section{padding:14px 12px 6px;}
.ve77-section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:10px;gap:8px;
}
.ve77-section-title{
  display:flex;align-items:center;gap:8px;
  font-size:1.08rem;font-weight:800;color:var(--ve77-cream);
}
.ve77-section-title .ve77-bar{
  width:4px;height:20px;border-radius:2px;
  background:linear-gradient(180deg,var(--ve77-wheat),var(--ve77-wheat-deep));
}
.ve77-section-more{font-size:.8rem;color:var(--ve77-wheat);}

/* ---------- Hero carousel ---------- */
.ve77-hero{padding:8px 12px 4px;}
.ve77-carousel{
  position:relative;border-radius:var(--ve77-radius-lg);
  overflow:hidden;background:#000;
  box-shadow:var(--ve77-shadow);
}
.ve77-carousel-track{
  display:flex;transition:transform .45s cubic-bezier(.22,.61,.36,1);
}
.ve77-slide{
  min-width:100%;position:relative;
  aspect-ratio:16/9;
}
.ve77-slide img{
  width:100%;height:100%;object-fit:cover;
}
.ve77-slide-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.35) 60%,rgba(0,0,0,.05) 100%);
  display:flex;flex-direction:column;justify-content:center;
  padding:18px 16px;gap:6px;
}
.ve77-slide-tag{
  display:inline-block;width:fit-content;
  font-size:.66rem;font-weight:700;letter-spacing:1px;
  color:#1A1A1A;background:var(--ve77-wheat);
  padding:3px 9px;border-radius:999px;text-transform:uppercase;
}
.ve77-slide-title{
  font-size:1.2rem;font-weight:800;color:#fff;
  line-height:1.25;max-width:80%;
  text-shadow:0 2px 8px rgba(0,0,0,.6);
}
.ve77-slide-text{
  font-size:.82rem;color:#f3ece0;max-width:78%;
  text-shadow:0 1px 4px rgba(0,0,0,.6);
}
.ve77-slide-cta{
  margin-top:6px;display:inline-flex;align-items:center;gap:6px;
  background:var(--ve77-wheat);color:#1A1A1A;
  padding:8px 16px;border-radius:999px;
  font-weight:800;font-size:.82rem;width:fit-content;
}
.ve77-carousel-dots{
  position:absolute;bottom:8px;left:0;right:0;
  display:flex;justify-content:center;gap:6px;z-index:3;
}
.ve77-dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.45);
  transition:width .25s,background .25s;
  cursor:pointer;border:none;padding:0;
}
.ve77-dot.ve77-active{
  width:20px;border-radius:6px;background:var(--ve77-wheat);
}

/* ---------- Marquee notice ---------- */
.ve77-notice{
  margin:6px 12px 0;padding:8px 12px;border-radius:999px;
  background:#222;border:1px solid var(--ve77-bg-line);
  display:flex;align-items:center;gap:8px;font-size:.78rem;
  color:var(--ve77-text-mute);overflow:hidden;
}
.ve77-notice-tag{
  flex-shrink:0;background:var(--ve77-wheat);color:#1A1A1A;
  padding:2px 8px;border-radius:999px;font-weight:800;font-size:.66rem;
}
.ve77-notice-text{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  animation:ve77-ticker 18s linear infinite;
}
@keyframes ve77-ticker{
  0%{transform:translateX(20%);}
  100%{transform:translateX(-100%);}
}

/* ---------- Quick promo actions strip ---------- */
.ve77-quick{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  padding:10px 12px 2px;
}
.ve77-quick-item{
  background:#232323;border:1px solid var(--ve77-bg-line);
  border-radius:var(--ve77-radius);
  padding:10px 6px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  transition:transform .15s,border .15s;
}
.ve77-quick-item:active{transform:scale(.97);}
.ve77-quick-ico{
  width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(245,222,179,.18),rgba(245,222,179,.05));
  color:var(--ve77-wheat);font-size:1.1rem;
}
.ve77-quick-label{font-size:.7rem;color:var(--ve77-cream);font-weight:600;}

/* ---------- Game category strip (no tabs; section headings) ---------- */
.ve77-cat-head{
  display:flex;align-items:center;gap:10px;
  margin:18px 12px 8px;
}
.ve77-cat-pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 12px;border-radius:999px;
  background:linear-gradient(135deg,var(--ve77-wheat) 0%,var(--ve77-wheat-deep) 100%);
  color:#1A1A1A;font-weight:800;font-size:.82rem;
}
.ve77-cat-line{flex:1;height:1px;background:linear-gradient(90deg,var(--ve77-bg-line),transparent);}
.ve77-cat-count{font-size:.72rem;color:var(--ve77-text-dim);}

/* ---------- Game grid ---------- */
.ve77-games{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  padding:4px 12px;
}
@media (min-width:360px){.ve77-games{gap:9px;}}
@media (min-width:400px){.ve77-games{grid-template-columns:repeat(5,1fr);gap:10px;}}
.ve77-game{
  background:var(--ve77-bg-card);
  border:1px solid var(--ve77-bg-line);
  border-radius:var(--ve77-radius);
  overflow:hidden;
  display:flex;flex-direction:column;align-items:stretch;
  transition:transform .15s,border .15s,box-shadow .15s;
  cursor:pointer;
  position:relative;
}
.ve77-game:hover{
  transform:translateY(-2px);
  border-color:var(--ve77-wheat);
  box-shadow:0 6px 16px rgba(0,0,0,.4);
}
.ve77-game:active{transform:scale(.96);}
.ve77-game-img{
  width:100%;aspect-ratio:1/1;object-fit:cover;
  background:#000;border-bottom:1px solid var(--ve77-bg-line);
}
.ve77-game-body{padding:5px 6px 6px;text-align:center;}
.ve77-game-name{
  font-size:.66rem;color:var(--ve77-cream);font-weight:600;
  line-height:1.2;height:1.85em;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.ve77-game-tag{
  position:absolute;top:4px;left:4px;
  background:rgba(245,222,179,.92);color:#1A1A1A;
  font-size:.55rem;font-weight:800;letter-spacing:.4px;
  padding:1px 5px;border-radius:4px;text-transform:uppercase;
}
.ve77-game-hot{
  position:absolute;top:4px;right:4px;
  background:rgba(224,90,75,.92);color:#fff;
  font-size:.55rem;font-weight:800;
  padding:1px 5px;border-radius:4px;
}

/* ---------- Info / SEO text block ---------- */
.ve77-prose{
  padding:14px 14px 4px;
}
.ve77-prose p{color:var(--ve77-text-mute);font-size:.92rem;line-height:1.75;}
.ve77-prose a{color:var(--ve77-wheat);font-weight:600;border-bottom:1px dashed rgba(245,222,179,.4);}
.ve77-prose a:hover{color:var(--ve77-wheat-soft);border-bottom-style:solid;}
.ve77-prose h2{margin-top:.6em;}

/* ---------- FAQ list ---------- */
.ve77-faq{padding:6px 12px;}
.ve77-faq-item{
  background:#222;border:1px solid var(--ve77-bg-line);
  border-radius:var(--ve77-radius-sm);margin-bottom:8px;overflow:hidden;
}
.ve77-faq-q{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;font-weight:700;color:var(--ve77-cream);font-size:.92rem;
  width:100%;text-align:left;
}
.ve77-faq-q .ve77-faq-sign{color:var(--ve77-wheat);font-weight:800;transition:transform .2s;}
.ve77-faq-item.ve77-open .ve77-faq-sign{transform:rotate(45deg);}
.ve77-faq-a{
  max-height:0;overflow:hidden;
  transition:max-height .28s ease;
  padding:0 14px;color:var(--ve77-text-mute);font-size:.86rem;line-height:1.7;
}
.ve77-faq-item.ve77-open .ve77-faq-a{max-height:240px;padding:0 14px 12px;}

/* ---------- Feature grid ---------- */
.ve77-features{
  display:grid;grid-template-columns:repeat(2,1fr);gap:8px;
  padding:6px 12px;
}
.ve77-feature{
  background:#222;border:1px solid var(--ve77-bg-line);
  border-radius:var(--ve77-radius);padding:12px;
  display:flex;flex-direction:column;gap:6px;
}
.ve77-feature-ico{
  width:36px;height:36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(245,222,179,.2),rgba(245,222,179,.05));
  color:var(--ve77-wheat);font-size:1.15rem;
}
.ve77-feature h3{color:var(--ve77-cream);font-size:.95rem;margin:0;}
.ve77-feature p{color:var(--ve77-text-mute);font-size:.78rem;line-height:1.55;margin:0;}

/* ---------- Promotion shortcuts (extended footer) ---------- */
.ve77-promo-strip{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
  padding:6px 12px;
}
.ve77-promo-card{
  background:linear-gradient(160deg,#2a2317,#1c1810);
  border:1px solid var(--ve77-wheat-deep);
  border-radius:var(--ve77-radius);
  padding:12px 10px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  transition:transform .15s;
}
.ve77-promo-card:active{transform:scale(.97);}
.ve77-promo-ico{
  width:38px;height:38px;border-radius:50%;
  background:var(--ve77-wheat);color:#1A1A1A;
  display:flex;align-items:center;justify-content:center;
  font-size:1.15rem;font-weight:800;
}
.ve77-promo-title{font-size:.8rem;font-weight:700;color:var(--ve77-cream);}
.ve77-promo-sub{font-size:.65rem;color:var(--ve77-text-dim);line-height:1.35;}

/* ---------- Page directory ---------- */
.ve77-directory{padding:6px 12px;}
.ve77-directory-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:6px;
}
.ve77-directory a{
  display:flex;align-items:center;gap:8px;
  padding:9px 11px;border-radius:10px;
  background:#222;border:1px solid var(--ve77-bg-line);
  font-size:.8rem;color:var(--ve77-cream);font-weight:600;
}
.ve77-directory a:hover{border-color:var(--ve77-wheat);color:var(--ve77-wheat);}
.ve77-directory a::before{content:"\203A";color:var(--ve77-wheat);font-weight:800;}

/* ---------- Brand intro ---------- */
.ve77-brand-block{
  margin:8px 12px;padding:14px;border-radius:var(--ve77-radius);
  background:linear-gradient(160deg,#231f17,#171510);
  border:1px solid var(--ve77-bg-line);
}
.ve77-brand-block h2{color:var(--ve77-wheat);}
.ve77-brand-block p{color:var(--ve77-text-mute);font-size:.85rem;line-height:1.7;margin-top:4px;}

/* ---------- Disclaimer ---------- */
.ve77-disclaimer{
  margin:10px 12px;padding:10px 12px;
  background:rgba(224,90,75,.07);
  border:1px solid rgba(224,90,75,.3);
  border-radius:var(--ve77-radius-sm);
  font-size:.7rem;color:var(--ve77-text-dim);line-height:1.55;
}
.ve77-disclaimer strong{color:#e57263;}

/* ---------- Footer ---------- */
.ve77-footer{
  padding:18px 14px 6px;margin-top:10px;
  border-top:1px solid var(--ve77-bg-line);
  background:#131313;
}
.ve77-foot-brand{
  display:flex;align-items:center;gap:8px;margin-bottom:8px;
}
.ve77-foot-brand img{width:28px;height:28px;border-radius:7px;}
.ve77-foot-brand b{color:var(--ve77-wheat);font-size:.95rem;}
.ve77-foot-links{
  display:flex;flex-wrap:wrap;gap:6px 12px;
  font-size:.74rem;color:var(--ve77-text-dim);margin-bottom:8px;
}
.ve77-foot-links a{color:var(--ve77-text-mute);}
.ve77-foot-links a:hover{color:var(--ve77-wheat);}
.ve77-copy{
  font-size:.68rem;color:var(--ve77-text-dim);text-align:center;
  padding-top:8px;border-top:1px solid var(--ve77-bg-line);
}

/* ---------- Bottom dock nav (floating) ---------- */
.ve77-bottom{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  max-width:var(--ve77-max-w);margin:0 auto;
  height:var(--ve77-bottom-h);
  background:rgba(20,20,20,.985);
  backdrop-filter:blur(10px);
  border-top:1px solid var(--ve77-bg-line);
  display:grid;grid-template-columns:repeat(5,1fr);
  align-items:center;
  box-shadow:0 -6px 20px rgba(0,0,0,.4);
}
.ve77-bottom-item{
  position:relative;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;color:var(--ve77-text-dim);font-size:.62rem;font-weight:600;
  padding:4px 2px;
  transition:color .18s;
}
.ve77-bottom-item .ve77-bottom-ico{
  width:26px;height:26px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;color:inherit;
  transition:transform .18s,color .18s;
}
.ve77-bottom-item .ve77-bottom-ico svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.ve77-bottom-item.ve77-active{color:var(--ve77-wheat);}
.ve77-bottom-item.ve77-active .ve77-bottom-ico{
  background:linear-gradient(135deg,rgba(245,222,179,.2),rgba(245,222,179,.04));
  transform:translateY(-2px);
}
/* top indicator line */
.ve77-bottom-item::before{
  content:"";position:absolute;top:0;left:50%;transform:translateX(-50%) scaleX(0);
  width:24px;height:3px;border-radius:0 0 4px 4px;
  background:var(--ve77-wheat);
  transition:transform .22s cubic-bezier(.22,.61,.36,1);
}
.ve77-bottom-item.ve77-active::before{transform:translateX(-50%) scaleX(1);}
.ve77-bottom-item.ve77-promo .ve77-bottom-ico{
  background:linear-gradient(135deg,var(--ve77-wheat),var(--ve77-wheat-deep));
  color:#1A1A1A;
}
.ve77-bottom-item.ve77-promo{color:var(--ve77-wheat);}
.ve77-bottom-item:active .ve77-bottom-ico{transform:scale(.9);}

/* ---------- Utility ---------- */
.ve77-hide{display:none !important;}
.ve77-text-center{text-align:center;}
.ve77-mt-1{margin-top:.5rem;}
.ve77-divider{
  height:1px;background:var(--ve77-bg-line);margin:12px 12px;border:none;
}

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