/* ============================================================
   bdbje-visual-50c0.css
   bdbje.cyou | bn-BD | mobile-first canvas (320-430px)
   All custom classes use the `pg50-` prefix.
   Palette: #212F3D (bg) / #00CED1 (accent)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --pg50-bg: #0f1a24;
  --pg50-bg2: #212F3D;
  --pg50-panel: #1b2935;
  --pg50-panel2: #243648;
  --pg50-accent: #00CED1;
  --pg50-accent2: #18e0e3;
  --pg50-gold: #f2c14e;
  --pg50-text: #f3f7fa;
  --pg50-muted: #9fb2c0;
  --pg50-border: rgba(255, 255, 255, 0.08);
  --pg50-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --pg50-radius: 12px;
}

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

body {
  margin: 0;
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #243a4d 0%, var(--pg50-bg) 60%);
  color: var(--pg50-text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
  padding-bottom: 78px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pg50-accent2); text-decoration: none; }
a:hover, a:focus { color: #fff; }

/* Center the mobile canvas on wider screens */
.pg50-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(33, 47, 61, 0.6) 0%, rgba(15, 26, 36, 0.9) 60%);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   HEADER
   ============================================================ */
.pg50-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(135deg, #182533 0%, #21303f 100%);
  border-bottom: 1px solid rgba(0, 206, 209, 0.25);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
}

.pg50-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.pg50-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 206, 209, 0.5);
  box-shadow: 0 0 12px rgba(0, 206, 209, 0.35);
  background: #0f1a24;
  flex-shrink: 0;
}

.pg50-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.pg50-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
  white-space: nowrap;
}

.pg50-brand-name span { color: var(--pg50-accent); }

.pg50-brand-tag {
  font-size: 10px;
  color: var(--pg50-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg50-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pg50-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.pg50-btn:active { transform: scale(0.96); }

.pg50-btn-login {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.pg50-btn-login:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.pg50-btn-register {
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
  box-shadow: 0 6px 16px rgba(0, 206, 209, 0.45);
}
.pg50-btn-register:hover { color: #0f1a24; box-shadow: 0 8px 22px rgba(0, 206, 209, 0.6); }

.pg50-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--pg50-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  padding: 0;
  transition: background 0.15s;
}
.pg50-icon-btn:hover, .pg50-icon-btn.pg50-active { background: rgba(0, 206, 209, 0.18); }

/* ============================================================
   MOBILE DROPDOWN MENU
   ============================================================ */
.pg50-mobile-menu {
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  background: #182533;
  border-bottom: 1px solid rgba(0, 206, 209, 0.25);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  z-index: 55;
}
.pg50-mobile-menu.pg50-menu-open { max-height: 460px; box-shadow: var(--pg50-shadow); }
.pg50-menu-list { list-style: none; margin: 0; padding: 6px 0; }
.pg50-menu-list li a {
  display: block;
  padding: 11px 18px;
  color: #e6eef4;
  font-size: 14px;
  border-left: 3px solid transparent;
}
.pg50-menu-list li a:hover { background: rgba(0, 206, 209, 0.08); border-left-color: var(--pg50-accent); color: #fff; }
.pg50-menu-promo {
  margin: 8px 14px 12px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.18), rgba(0, 206, 209, 0.06));
  border: 1px solid rgba(0, 206, 209, 0.35);
  text-align: center;
}
.pg50-menu-promo p { margin: 0 0 8px; font-size: 12px; color: var(--pg50-muted); }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.pg50-hero {
  position: relative;
  margin: 12px 0 0;
  overflow: hidden;
  border-radius: 0;
}
.pg50-hero-track { position: relative; width: 100%; height: 200px; }
.pg50-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 16px 28px;
  color: #fff;
}
.pg50-hero-slide.pg50-active { opacity: 1; }
.pg50-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.pg50-hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 80%);
  margin: -16px -16px -28px;
  padding: 16px 16px 28px;
}
.pg50-hero-slide h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; }
.pg50-hero-slide p { margin: 0 0 10px; font-size: 12px; color: #d6e6ec; }
.pg50-hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
}
.pg50-hero-cta:hover { color: #0f1a24; }

.pg50-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pg50-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  padding: 0;
}
.pg50-hero-dot.pg50-active { background: var(--pg50-accent); width: 18px; border-radius: 4px; }

/* ============================================================
   GENERIC SECTION TITLES + CONTAINER
   ============================================================ */
.pg50-section {
  padding: 18px 14px 4px;
}
.pg50-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pg50-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.pg50-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--pg50-accent);
  border-radius: 3px;
}
.pg50-section-more {
  font-size: 12px;
  color: var(--pg50-accent2);
  font-weight: 600;
}

/* ============================================================
   QUICK STATS STRIP
   ============================================================ */
.pg50-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 14px;
}
.pg50-stat {
  background: var(--pg50-panel);
  border: 1px solid var(--pg50-border);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.pg50-stat-num { font-size: 17px; font-weight: 800; color: var(--pg50-accent); line-height: 1; }
.pg50-stat-label { font-size: 10px; color: var(--pg50-muted); margin-top: 4px; }

/* ============================================================
   CATEGORY TABS + SEARCH
   ============================================================ */
.pg50-toolbar {
  position: sticky;
  top: 58px;
  z-index: 40;
  background: rgba(15, 26, 36, 0.92);
  backdrop-filter: blur(6px);
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--pg50-border);
}
.pg50-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1b2935;
  border: 1px solid var(--pg50-border);
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 8px;
}
.pg50-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
}
.pg50-search input::placeholder { color: var(--pg50-muted); }

.pg50-cats {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.pg50-cats::-webkit-scrollbar { display: none; }
.pg50-cat-tab {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #1b2935;
  color: var(--pg50-muted);
  border: 1px solid var(--pg50-border);
  cursor: pointer;
  white-space: nowrap;
}
.pg50-cat-tab.pg50-active {
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
  border-color: transparent;
}

/* ============================================================
   GAME GRID + CARDS
   ============================================================ */
.pg50-game-groups { padding: 0 14px; }
.pg50-game-group { display: none; }
.pg50-game-group.pg50-active { display: block; }
.pg50-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .pg50-game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (min-width: 400px) {
  .pg50-game-grid { grid-template-columns: repeat(4, 1fr); }
}
.pg50-game-card {
  background: var(--pg50-panel);
  border: 1px solid var(--pg50-border);
  border-radius: var(--pg50-radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  display: block;
  color: #fff;
}
.pg50-game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 206, 209, 0.5);
  box-shadow: var(--pg50-shadow);
  color: #fff;
}
.pg50-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f1a24;
  overflow: hidden;
}
.pg50-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg50-game-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: linear-gradient(135deg, #ff5b5b, #d12b2b);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.pg50-game-badge.pg50-badge-gold { background: linear-gradient(135deg, var(--pg50-gold), #d59b1d); }
.pg50-game-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.18s;
  color: #fff;
  font-size: 22px;
}
.pg50-game-card:hover .pg50-game-play,
.pg50-game-card:focus .pg50-game-play { opacity: 1; }
.pg50-game-title {
  padding: 6px 7px 8px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: #e6eef4;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ============================================================
   PROMOTION CARDS
   ============================================================ */
.pg50-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 14px;
}
@media (min-width: 380px) {
  .pg50-promos { grid-template-columns: 1fr 1fr; }
}
.pg50-promo-card {
  background: linear-gradient(135deg, #243648 0%, #1a2734 100%);
  border: 1px solid rgba(0, 206, 209, 0.3);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.pg50-promo-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 206, 209, 0.25), transparent 70%);
}
.pg50-promo-card h3 { margin: 0 0 6px; font-size: 15px; color: #fff; }
.pg50-promo-card p { margin: 0 0 10px; font-size: 12px; color: var(--pg50-muted); }
.pg50-promo-card .pg50-btn {
  padding: 7px 14px;
  font-size: 12px;
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
}

/* ============================================================
   FEATURE / HIGHLIGHT BLOCKS
   ============================================================ */
.pg50-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px;
}
.pg50-feature {
  background: var(--pg50-panel);
  border: 1px solid var(--pg50-border);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.pg50-feature-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(0, 206, 209, 0.15);
  color: var(--pg50-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pg50-feature h4 { margin: 0 0 4px; font-size: 13px; color: #fff; }
.pg50-feature p { margin: 0; font-size: 11px; color: var(--pg50-muted); line-height: 1.4; }

/* ============================================================
   SEO CONTENT / ARTICLE
   ============================================================ */
.pg50-article {
  padding: 8px 14px 4px;
}
.pg50-article-card {
  background: var(--pg50-panel);
  border: 1px solid var(--pg50-border);
  border-radius: 14px;
  padding: 16px;
}
.pg50-article-card h2 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
}
.pg50-article-card h3 {
  font-size: 15px;
  color: var(--pg50-accent);
  margin: 16px 0 6px;
}
.pg50-article-card p {
  font-size: 13px;
  color: #c8d6e0;
  margin: 0 0 10px;
}
.pg50-article-card ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: #c8d6e0;
  font-size: 13px;
}
.pg50-article-card li { margin-bottom: 6px; }
.pg50-article-card a { color: var(--pg50-accent2); text-decoration: underline; }

/* FAQ */
.pg50-faq-item {
  border-bottom: 1px solid var(--pg50-border);
  padding: 10px 0;
}
.pg50-faq-item:last-child { border-bottom: none; }
.pg50-faq-q {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin: 0 0 4px;
}
.pg50-faq-a {
  font-size: 12px;
  color: var(--pg50-muted);
  margin: 0;
}

/* Internal-page link strip */
.pg50-links-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px;
}
.pg50-links-strip a {
  background: var(--pg50-panel);
  border: 1px solid var(--pg50-border);
  color: #e6eef4;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.pg50-links-strip a:hover {
  background: rgba(0, 206, 209, 0.15);
  border-color: rgba(0, 206, 209, 0.5);
  color: #fff;
}

/* ============================================================
   APP DOWNLOAD BLOCK
   ============================================================ */
.pg50-app-block {
  margin: 0 14px;
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.18), rgba(15, 26, 36, 0.7));
  border: 1px solid rgba(0, 206, 209, 0.4);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pg50-app-block .pg50-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(0, 206, 209, 0.5);
  flex-shrink: 0;
}
.pg50-app-block h3 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.pg50-app-block p { margin: 0 0 10px; font-size: 12px; color: var(--pg50-muted); }
.pg50-app-block .pg50-btn {
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
  padding: 8px 16px;
  font-size: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pg50-footer {
  margin-top: 18px;
  background: #0c141d;
  border-top: 1px solid rgba(0, 206, 209, 0.2);
  padding: 18px 14px 24px;
}
.pg50-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pg50-footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.pg50-footer-brand b { color: #fff; font-size: 16px; }
.pg50-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.pg50-footer-col h5 {
  font-size: 12px;
  color: var(--pg50-accent);
  margin: 0 0 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.pg50-footer-col ul { list-style: none; padding: 0; margin: 0; }
.pg50-footer-col li { margin-bottom: 5px; }
.pg50-footer-col a { font-size: 12px; color: var(--pg50-muted); }
.pg50-footer-col a:hover { color: #fff; }
.pg50-footer-desc {
  font-size: 11px;
  color: var(--pg50-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.pg50-footer-disclaimer {
  font-size: 10px;
  color: #6f8090;
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid var(--pg50-border);
}
.pg50-copyright {
  font-size: 11px;
  color: #6f8090;
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION (5 buttons)
   ============================================================ */
.pg50-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: linear-gradient(180deg, #1a2734 0%, #0c141d 100%);
  border-top: 1px solid rgba(0, 206, 209, 0.3);
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.5);
}
.pg50-bottom-nav-inner {
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}
.pg50-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 2px 8px;
  color: var(--pg50-muted);
  font-size: 10px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: color 0.15s;
}
.pg50-nav-item:hover { color: #fff; }
.pg50-nav-item.pg50-active { color: var(--pg50-accent); }
.pg50-nav-item.pg50-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--pg50-accent);
}
.pg50-nav-item svg { width: 22px; height: 22px; display: block; }
.pg50-nav-label { line-height: 1; }
.pg50-nav-item-promo {
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin-bottom: -4px;
  padding: 0;
  position: relative;
  top: -10px;
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.5);
}
.pg50-nav-item-promo svg { width: 24px; height: 24px; }
.pg50-nav-item-promo .pg50-nav-label {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--pg50-accent);
  font-size: 9px;
  font-weight: 700;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.pg50-totop {
  position: fixed;
  right: 12px;
  bottom: 88px;
  z-index: 65;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg50-accent) 0%, #109ca0 100%);
  color: #0f1a24;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  cursor: pointer;
  box-shadow: var(--pg50-shadow);
}
.pg50-totop.pg50-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============================================================
   MARQUEE NOTICE
   ============================================================ */
.pg50-notice {
  background: rgba(0, 206, 209, 0.08);
  border-top: 1px solid rgba(0, 206, 209, 0.15);
  border-bottom: 1px solid rgba(0, 206, 209, 0.15);
  padding: 7px 14px;
  font-size: 12px;
  color: var(--pg50-accent2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg50-notice b { color: #fff; }
.pg50-notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pg50-accent);
  flex-shrink: 0;
  animation: pg50pulse 1.6s ease-in-out infinite;
}
@keyframes pg50pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.pg50-hide { display: none !important; }
.pg50-clear { clear: both; }
