/* bv8.click theme - prefixed v461- */
:root {
  --v461-bg: #0A0A0A;
  --v461-surface: #141414;
  --v461-surface-2: #1d1d1d;
  --v461-text: #F8F8FF;
  --v461-muted: #EEEEEE;
  --v461-gold: #F5C518;
  --v461-red: #E63946;
  --v461-green: #2EC27E;
  --v461-border: rgba(238, 238, 238, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--v461-bg);
  color: var(--v461-text);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v461-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Mobile-first container capped at 430px ===== */
.v461-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
main { padding-bottom: 96px; }

/* ===== Header ===== */
.v461-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0d0d0d, #050505);
  border-bottom: 1px solid var(--v461-border);
}
.v461-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.v461-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--v461-text);
}
.v461-brand .v461-logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--v461-gold), var(--v461-red));
  display: grid; place-items: center;
  color: #0A0A0A; font-weight: 900; font-size: 18px;
}
.v461-brand .v461-tld { color: var(--v461-gold); }
.v461-head-actions { display: flex; align-items: center; gap: 8px; }
.v461-btn {
  border: none; cursor: pointer;
  font-family: inherit; font-weight: 700;
  border-radius: 999px; padding: 9px 16px;
  font-size: 14px; transition: transform .15s ease, box-shadow .15s ease;
}
.v461-btn:active { transform: scale(0.96); }
.v461-btn-login {
  background: transparent; color: var(--v461-text);
  border: 1px solid var(--v461-border);
}
.v461-btn-register {
  background: linear-gradient(135deg, var(--v461-gold), #ff8a00);
  color: #0A0A0A;
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
}
.v461-icon-btn {
  background: transparent; border: 1px solid var(--v461-border);
  color: var(--v461-text); width: 38px; height: 38px;
  border-radius: 10px; display: grid; place-items: center;
  cursor: pointer; font-size: 18px;
}

/* ===== Mobile slide menu ===== */
.v461-mobile-menu {
  position: fixed; inset: 0 0 0 auto;
  width: 84%; max-width: 360px;
  background: #0c0c0c;
  border-left: 1px solid var(--v461-border);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 9999;
  padding: 22px 18px;
  overflow-y: auto;
}
.v461-mobile-menu.v461-menu-open { transform: translateX(0); }
.v461-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  z-index: 9998;
}
.v461-mobile-menu.v461-menu-open ~ .v461-menu-backdrop {
  opacity: 1; pointer-events: auto;
}
.v461-menu-title {
  font-size: 18px; font-weight: 800; margin-bottom: 14px; color: var(--v461-gold);
}
.v461-menu-list { list-style: none; }
.v461-menu-list li { border-bottom: 1px solid var(--v461-border); }
.v461-menu-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 6px; color: var(--v461-text); font-weight: 600;
}
.v461-menu-list a:hover { color: var(--v461-gold); text-decoration: none; }

/* ===== Hero ===== */
.v461-hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(245,197,24,.18), transparent 60%),
    radial-gradient(120% 80% at 0% 100%, rgba(230,57,70,.18), transparent 60%),
    #0a0a0a;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--v461-border);
}
.v461-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(46, 194, 126, 0.14); color: var(--v461-green);
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.v461-hero h1 {
  font-size: 30px; line-height: 1.2; margin: 12px 0 8px; font-weight: 900;
}
.v461-hero h1 span { color: var(--v461-gold); }
.v461-hero p { color: var(--v461-muted); font-size: 15px; }
.v461-cta-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.v461-cta-primary {
  background: linear-gradient(135deg, var(--v461-red), #b11226);
  color: #fff; padding: 13px 22px; border-radius: 999px;
  font-weight: 800; font-size: 15px; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(230,57,70,.4);
}
.v461-cta-ghost {
  background: rgba(255,255,255,.06); color: var(--v461-text);
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid var(--v461-border); cursor: pointer;
}

/* ===== Marquee ===== */
.v461-marquee {
  background: linear-gradient(90deg, #1a1a1a, #0d0d0d);
  border-bottom: 1px solid var(--v461-border);
  overflow: hidden; white-space: nowrap;
  padding: 9px 0; font-size: 13px; color: var(--v461-muted);
}
.v461-marquee span { color: var(--v461-gold); font-weight: 700; }

/* ===== Section ===== */
.v461-section { padding: 22px 0; }
.v461-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.v461-section-head h2 { font-size: 19px; font-weight: 800; }
.v461-section-head h2 i { color: var(--v461-gold); margin-right: 6px; }
.v461-link-more { font-size: 13px; color: var(--v461-gold); }

/* ===== Category tabs ===== */
.v461-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none;
}
.v461-tabs::-webkit-scrollbar { display: none; }
.v461-tab {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px;
  background: var(--v461-surface); color: var(--v461-muted);
  border: 1px solid var(--v461-border); font-size: 13px; font-weight: 700;
  cursor: pointer;
}
.v461-tab.v461-tab-active {
  background: linear-gradient(135deg, var(--v461-gold), #ff8a00);
  color: #0A0A0A; border-color: transparent;
}

/* ===== Game grid ===== */
.v461-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.v461-card {
  background: var(--v461-surface);
  border: 1px solid var(--v461-border);
  border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.v461-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.v461-card-img {
  aspect-ratio: 1 / 1; background: #000;
}
.v461-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v461-card-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--v461-red); color: #fff;
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px;
}
.v461-card-name {
  padding: 8px 8px 10px; font-size: 12px; font-weight: 600;
  text-align: center; color: var(--v461-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Promo banner ===== */
.v461-banner {
  background: linear-gradient(135deg, #2a0d1f, #0a0a0a 70%);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 16px; padding: 18px;
  display: flex; gap: 14px; align-items: center;
}
.v461-banner-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg, var(--v461-gold), var(--v461-red));
  display: grid; place-items: center; font-size: 26px; color: #0A0A0A; flex: 0 0 auto;
}
.v461-banner h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.v461-banner p { font-size: 13px; color: var(--v461-muted); }

/* ===== SEO article ===== */
.v461-article {
  background: var(--v461-surface); border: 1px solid var(--v461-border);
  border-radius: 14px; padding: 18px;
}
.v461-article h2 { font-size: 18px; font-weight: 800; margin: 16px 0 8px; color: var(--v461-gold); }
.v461-article h2:first-child { margin-top: 0; }
.v461-article h3 { font-size: 15px; font-weight: 700; margin: 12px 0 6px; color: var(--v461-text); }
.v461-article p { font-size: 14px; color: var(--v461-muted); margin-bottom: 10px; }
.v461-article a { color: var(--v461-gold); }

/* ===== Reveal animation ===== */
.v461-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.v461-revealed { opacity: 1; transform: none; }

/* ===== Footer ===== */
.v461-footer {
  background: #050505; border-top: 1px solid var(--v461-border);
  padding: 26px 0 20px;
}
.v461-foot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.v461-foot-col h4 {
  font-size: 13px; color: var(--v461-gold); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.v461-foot-col ul { list-style: none; }
.v461-foot-col li { margin-bottom: 7px; }
.v461-foot-col a { color: var(--v461-muted); font-size: 13px; }
.v461-foot-bottom {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--v461-border);
  font-size: 12px; color: #777; text-align: center;
}
.v461-foot-notice {
  margin-top: 12px; font-size: 11px; color: #999; line-height: 1.5;
}

/* ===== Mobile bottom nav ===== */
.v461-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 62px; z-index: 1000;
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--v461-border);
  display: flex; justify-content: space-around; align-items: center;
}
.v461-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v461-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; cursor: pointer; font-family: inherit;
  font-size: 10px; font-weight: 600;
  transition: color .15s ease;
}
.v461-nav-btn .v461-nav-ic { font-size: 22px; line-height: 1; }
.v461-nav-btn:hover { color: var(--v461-text); }
.v461-nav-btn.v461-nav-active { color: var(--v461-gold); }
.v461-nav-btn.v461-nav-promo {
  position: relative; transform: translateY(-14px);
  background: linear-gradient(135deg, var(--v461-red), #b11226);
  color: #fff; width: 54px; height: 54px; border-radius: 50%;
  flex: 0 0 auto; box-shadow: 0 6px 16px rgba(230,57,70,.5);
  border: 3px solid #0a0a0a;
}
.v461-nav-btn.v461-nav-promo .v461-nav-ic { font-size: 24px; }

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  .v461-bottom-nav { display: none; }
  main { padding-bottom: 40px; }
  .v461-wrap { max-width: 960px; padding: 0 24px; }
  .v461-grid { grid-template-columns: repeat(5, 1fr); }
  .v461-foot-grid { grid-template-columns: repeat(4, 1fr); }
  .v461-desktop-hide { display: none; }
}
@media (min-width: 432px) and (max-width: 768px) {
  /* keep the 430px mobile cap visible but allow slight give */
  .v461-wrap { max-width: 430px; }
}
