/* ============================================================
 * 333bt.homes - style-0ea3.css
 * All custom classes use the prefix "v38c-" for isolation.
 * Palette: #FFD700 | #0E1621 | #FFBF00 | #FAF0E6 | #ECF0F1
 * Mobile-first. Root font-size 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --v38c-gold: #FFD700;
  --v38c-gold-deep: #FFBF00;
  --v38c-bg: #0E1621;
  --v38c-bg-2: #142031;
  --v38c-bg-3: #1c2a3e;
  --v38c-cream: #FAF0E6;
  --v38c-mist: #ECF0F1;
  --v38c-text: #FAF0E6;
  --v38c-muted: #9fb0c4;
  --v38c-border: rgba(255, 215, 0, 0.18);
  --v38c-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --v38c-radius: 14px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--v38c-bg);
  color: var(--v38c-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--v38c-gold); text-decoration: none; }
a:hover { color: var(--v38c-gold-deep); }

h1, h2, h3 { margin: 0 0 0.6rem; line-height: 1.3; font-weight: 700; }

/* ---------- Mobile container ---------- */
.v38c-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 191, 0, 0.12), transparent 60%),
    var(--v38c-bg);
}

/* ---------- Header ---------- */
.v38c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(14, 22, 33, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v38c-border);
  transition: box-shadow 0.25s ease;
}
.v38c-header.v38c-scrolled { box-shadow: var(--v38c-shadow); }

.v38c-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 2rem;
  color: var(--v38c-gold);
  letter-spacing: 0.5px;
}
.v38c-logo i { color: var(--v38c-gold-deep); }

.v38c-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.v38c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 36px;
}
.v38c-btn:active { transform: scale(0.96); }

.v38c-btn-login {
  background: transparent;
  color: var(--v38c-cream);
  border: 1px solid var(--v38c-gold);
}
.v38c-btn-reg {
  background: linear-gradient(135deg, var(--v38c-gold) 0%, var(--v38c-gold-deep) 100%);
  color: #0E1621;
  box-shadow: 0 4px 14px rgba(255, 191, 0, 0.35);
}

.v38c-menu-btn {
  background: transparent;
  border: 0;
  color: var(--v38c-cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
}

/* ---------- Mobile slide menu ---------- */
.v38c-menu-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.v38c-menu-mask.v38c-show { opacity: 1; visibility: visible; }

.v38c-mobile-menu {
  position: fixed;
  top: 0;
  right: -86%;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: linear-gradient(160deg, var(--v38c-bg-2), var(--v38c-bg));
  border-left: 1px solid var(--v38c-border);
  padding: 2rem 1.6rem;
  transform: translateX(0);
  transition: right 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}
.v38c-mobile-menu.v38c-open { right: 0; }
.v38c-mobile-menu h3 {
  color: var(--v38c-gold);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1.6rem;
}
.v38c-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--v38c-cream);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
}
.v38c-mobile-menu a:hover { background: rgba(255, 215, 0, 0.08); color: var(--v38c-gold); }
.v38c-close {
  background: transparent;
  border: 0;
  color: var(--v38c-cream);
  font-size: 2.2rem;
  float: right;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.v38c-hero {
  position: relative;
  padding: 2rem 1.4rem 2.4rem;
  text-align: center;
  overflow: hidden;
}
.v38c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 191, 0, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(255, 215, 0, 0.05), transparent);
  pointer-events: none;
}
.v38c-hero h1 {
  position: relative;
  font-size: 3.2rem;
  color: var(--v38c-gold);
  text-shadow: 0 3px 18px rgba(255, 191, 0, 0.4);
}
.v38c-hero p {
  position: relative;
  color: var(--v38c-mist);
  font-size: 1.5rem;
  margin: 0 auto 1.4rem;
  max-width: 360px;
}
.v38c-cta-row {
  position: relative;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.v38c-cta-row .v38c-btn { padding: 1rem 1.8rem; font-size: 1.4rem; }

/* ---------- Marquee strip ---------- */
.v38c-strip {
  background: linear-gradient(90deg, var(--v38c-gold-deep), var(--v38c-gold));
  color: #0E1621;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.6rem 1rem;
  overflow: hidden;
  white-space: nowrap;
}
.v38c-strip span { display: inline-block; padding-right: 3rem; }

/* ---------- Section ---------- */
.v38c-section { padding: 2rem 1.2rem; }
.v38c-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.v38c-section-head h2 {
  font-size: 2rem;
  color: var(--v38c-gold);
}
.v38c-section-head a { font-size: 1.3rem; color: var(--v38c-mist); }

/* ---------- Category chips ---------- */
.v38c-cats {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 1rem;
  scrollbar-width: none;
}
.v38c-cats::-webkit-scrollbar { display: none; }
.v38c-chip {
  flex: 0 0 auto;
  background: var(--v38c-bg-2);
  border: 1px solid var(--v38c-border);
  color: var(--v38c-cream);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.v38c-chip-active,
.v38c-chip:hover {
  background: linear-gradient(135deg, var(--v38c-gold), var(--v38c-gold-deep));
  color: #0E1621;
  border-color: transparent;
}

/* ---------- Game grid ---------- */
.v38c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v38c-card {
  background: var(--v38c-bg-2);
  border: 1px solid var(--v38c-border);
  border-radius: var(--v38c-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  display: block;
}
.v38c-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--v38c-shadow);
  border-color: var(--v38c-gold);
}
.v38c-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0a1118;
}
.v38c-card-name {
  padding: 0.5rem 0.6rem;
  font-size: 1.15rem;
  color: var(--v38c-cream);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature tiles ---------- */
.v38c-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v38c-feature {
  background: linear-gradient(150deg, var(--v38c-bg-2), var(--v38c-bg-3));
  border: 1px solid var(--v38c-border);
  border-radius: var(--v38c-radius);
  padding: 1.2rem;
  text-align: center;
}
.v38c-feature i { font-size: 2.6rem; color: var(--v38c-gold); }
.v38c-feature h3 { color: var(--v38c-cream); font-size: 1.4rem; margin-top: 0.4rem; }
.v38c-feature p { color: var(--v38c-muted); font-size: 1.2rem; margin: 0.3rem 0 0; }

/* ---------- Promo banner ---------- */
.v38c-promo {
  background: linear-gradient(135deg, #2a1e00 0%, var(--v38c-bg-3) 100%);
  border: 1px solid var(--v38c-gold);
  border-radius: var(--v38c-radius);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0;
}
.v38c-promo .v38c-promo-ico {
  width: 52px; height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v38c-gold), var(--v38c-gold-deep));
  color: #0E1621;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
}
.v38c-promo h3 { color: var(--v38c-gold); font-size: 1.6rem; }
.v38c-promo p { color: var(--v38c-mist); font-size: 1.25rem; margin: 0; }

/* ---------- SEO article ---------- */
.v38c-article {
  background: var(--v38c-bg-2);
  border: 1px solid var(--v38c-border);
  border-radius: var(--v38c-radius);
  padding: 1.6rem;
  color: var(--v38c-mist);
  font-size: 1.4rem;
  line-height: 1.7;
}
.v38c-article h2 { color: var(--v38c-gold); font-size: 1.9rem; margin-top: 1.4rem; }
.v38c-article h3 { color: var(--v38c-gold-deep); font-size: 1.55rem; margin-top: 1.2rem; }
.v38c-article p { margin: 0 0 1rem; }
.v38c-article a { font-weight: 700; }

/* ---------- Inline text promo link ---------- */
.v38c-tlink {
  color: var(--v38c-gold);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.v38c-footer {
  background: #0a1118;
  border-top: 1px solid var(--v38c-border);
  padding: 2rem 1.4rem 9rem;
  color: var(--v38c-muted);
  font-size: 1.25rem;
  line-height: 1.7;
}
.v38c-footer h3 { color: var(--v38c-gold); font-size: 1.5rem; margin-bottom: 0.6rem; }
.v38c-footer a { color: var(--v38c-mist); display: inline-block; margin-right: 0.8rem; }
.v38c-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.v38c-foot-bottom {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  text-align: center;
  font-size: 1.15rem;
}

/* ---------- Bottom nav ---------- */
.v38c-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 17, 24, 0.97);
  border-top: 1px solid var(--v38c-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  backdrop-filter: blur(10px);
}
.v38c-bottomnav {
  margin: 0 auto;
  max-width: 430px;
}
.v38c-navbtn {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--v38c-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}
.v38c-navbtn i { font-size: 2.2rem; }
.v38c-navbtn:hover, .v38c-navbtn-active { color: var(--v38c-gold); }
.v38c-navbtn-active { transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.v38c-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.v38c-reveal.v38c-in { opacity: 1; transform: none; }

/* ---------- Desktop: hide bottom nav & center container ---------- */
@media (min-width: 769px) {
  .v38c-bottomnav { display: none; }
  .v38c-footer { padding-bottom: 2rem; }
}

/* ---------- Mobile bottom padding for nav clearance ---------- */
@media (max-width: 768px) {
  .v38c-wrap { padding-bottom: 80px; }
}
