/*
  Nbajee Official Bangladesh - Master Stylesheet
  Domain: nbajee.cn.com
  Target: Bangladesh Market (English)
  CSS Prefix: nbj
  Palette: Emerald Green (#006A4E), Gold (#D97706), Deep Navy (#0F172A), Slate (#F8FAFC)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --nbj-bg: #F8FAFC;
  --nbj-surface: #FFFFFF;
  --nbj-surface-alt: #F1F5F9;
  --nbj-surface-dark: #0F172A;
  --nbj-ink: #0F172A;
  --nbj-ink-muted: #64748B;
  --nbj-ink-light: #94A3B8;
  --nbj-border: #E2E8F0;
  --nbj-border-dark: #CBD5E1;
  --nbj-primary: #006A4E;
  --nbj-primary-hover: #00533D;
  --nbj-primary-light: #E6F4EA;
  --nbj-gold: #D97706;
  --nbj-gold-hover: #B45309;
  --nbj-gold-light: #FEF3C7;
  --nbj-accent: #DC2626;
  --nbj-accent-hover: #B91C1C;
  --nbj-radius-sm: 6px;
  --nbj-radius: 10px;
  --nbj-radius-lg: 16px;
  --nbj-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --nbj-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --nbj-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --nbj-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nbj-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nbj-max-width: 1240px;
}

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

html {
  font-family: var(--nbj-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nbj-ink);
  background-color: var(--nbj-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px;
}

/* TOP COMPLIANCE BAR */
.nbj-top-bar {
  background-color: #0B1120;
  color: #94A3B8;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-bottom: 1px solid #1E293B;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nbj-top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nbj-badge-18 {
  background: #DC2626;
  color: #FFF;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
}

/* STICKY HEADER */
.nbj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0F172A;
  border-bottom: 2px solid var(--nbj-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nbj-header-inner {
  max-width: var(--nbj-max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nbj-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFF;
  font-family: var(--nbj-font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.nbj-brand-link img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.nbj-brand-text {
  display: flex;
  flex-direction: column;
}

.nbj-brand-title {
  color: #FFF;
  line-height: 1.1;
}

.nbj-brand-title span {
  color: var(--nbj-gold);
}

.nbj-brand-sub {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nbj-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nbj-nav a {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: var(--nbj-radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nbj-nav a:hover, .nbj-nav a.active {
  color: #FFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.nbj-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nbj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nbj-font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: var(--nbj-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.nbj-btn-login {
  background: transparent;
  color: #E2E8F0;
  border: 1px solid #475569;
}

.nbj-btn-login:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  border-color: #94A3B8;
}

.nbj-btn-register {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0F172A;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
}

.nbj-btn-register:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.5);
}

.nbj-btn-primary {
  background: var(--nbj-primary);
  color: #FFF;
}

.nbj-btn-primary:hover {
  background: var(--nbj-primary-hover);
  color: #FFF;
}

.nbj-btn-gold {
  background: var(--nbj-gold);
  color: #FFF;
}

.nbj-btn-gold:hover {
  background: var(--nbj-gold-hover);
}

/* CONTAINER */
.nbj-container {
  max-width: var(--nbj-max-width);
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
}

/* BREADCRUMBS */
.nbj-breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--nbj-ink-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nbj-breadcrumbs a {
  color: var(--nbj-primary);
  text-decoration: none;
  font-weight: 600;
}

.nbj-breadcrumbs a:hover {
  text-decoration: underline;
}

.nbj-breadcrumbs span.sep {
  color: var(--nbj-ink-light);
}

.nbj-breadcrumbs span.current {
  color: var(--nbj-ink-muted);
  font-weight: 500;
}

/* HERO SECTION */
.nbj-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFF;
  border-radius: var(--nbj-radius-lg);
  padding: 36px 32px;
  margin-bottom: 30px;
  box-shadow: var(--nbj-shadow);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.nbj-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.nbj-hero-content {
  position: relative;
  z-index: 2;
}

.nbj-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.nbj-hero h1 {
  font-family: var(--nbj-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #FFF;
}

.nbj-hero-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  margin-bottom: 24px;
  max-width: 650px;
}

.nbj-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.nbj-hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: var(--nbj-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nbj-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nbj-hero-image-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

.nbj-hero-image-wrap img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--nbj-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

/* QUICK LINKS BAR */
.nbj-quick-bar {
  background: var(--nbj-surface);
  border: 1px solid var(--nbj-border);
  border-radius: var(--nbj-radius);
  padding: 14px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  box-shadow: var(--nbj-shadow-sm);
}

.nbj-quick-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--nbj-ink-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nbj-quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.nbj-quick-links a {
  background: var(--nbj-surface-alt);
  color: var(--nbj-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--nbj-border);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nbj-quick-links a:hover {
  background: var(--nbj-primary);
  color: #FFF;
  border-color: var(--nbj-primary);
}

/* CONTENT LAYOUT */
.nbj-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.nbj-main-content {
  background: var(--nbj-surface);
  border: 1px solid var(--nbj-border);
  border-radius: var(--nbj-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--nbj-shadow-sm);
}

/* EXPERT INSIGHT CALLOUT */
.nbj-expert-callout {
  background: #F0FDF4;
  border-left: 4px solid var(--nbj-primary);
  border-radius: 0 var(--nbj-radius) var(--nbj-radius) 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: #166534;
}

.nbj-expert-callout strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: #14532D;
}

/* TLDR BOX */
.nbj-tldr {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--nbj-radius);
  padding: 20px;
  margin-bottom: 32px;
}

.nbj-tldr-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nbj-font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #92400E;
  margin-bottom: 8px;
}

.nbj-tldr p {
  font-size: 0.95rem;
  color: #78350F;
  line-height: 1.6;
}

/* SECTION FORMATTING */
.nbj-section {
  margin-bottom: 36px;
}

.nbj-section h2 {
  font-family: var(--nbj-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nbj-ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--nbj-surface-alt);
  padding-bottom: 8px;
}

.nbj-section h3 {
  font-family: var(--nbj-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nbj-ink);
  margin: 20px 0 10px 0;
}

.nbj-answer-capsule {
  background: #F8FAFC;
  border-left: 3px solid var(--nbj-gold);
  padding: 12px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 16px;
  border-radius: 0 var(--nbj-radius-sm) var(--nbj-radius-sm) 0;
}

.nbj-section p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
}

.nbj-section ul, .nbj-section ol {
  margin: 16px 0 20px 24px;
  color: #334155;
}

.nbj-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.nbj-section a {
  color: var(--nbj-primary);
  text-decoration: underline;
  font-weight: 600;
}

.nbj-section a:hover {
  color: var(--nbj-primary-hover);
}

/* DATA TABLES */
.nbj-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--nbj-border);
  border-radius: var(--nbj-radius);
  box-shadow: var(--nbj-shadow-sm);
}

.nbj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.nbj-table th {
  background-color: #0F172A;
  color: #FFF;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--nbj-gold);
}

.nbj-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--nbj-border);
  color: #334155;
}

.nbj-table tr:nth-child(even) td {
  background-color: #F8FAFC;
}

.nbj-table tr:hover td {
  background-color: #F1F5F9;
}

/* RESPONSIBLE GAMING BOX */
.nbj-responsible-box {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-radius: var(--nbj-radius);
  padding: 24px;
  margin: 36px 0;
}

.nbj-responsible-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nbj-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #9F1239;
  margin-bottom: 12px;
}

.nbj-responsible-box p {
  color: #881337;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.nbj-responsible-box ul {
  margin: 10px 0 16px 20px;
  color: #881337;
}

/* FAQ SECTION */
.nbj-faq-item {
  border: 1px solid var(--nbj-border);
  border-radius: var(--nbj-radius);
  margin-bottom: 12px;
  background: #FFF;
  overflow: hidden;
}

.nbj-faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  background: var(--nbj-surface-alt);
  color: var(--nbj-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nbj-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nbj-primary);
  transition: transform 0.2s;
}

.nbj-faq-item[open] summary::after {
  content: '−';
  transform: rotate(0deg);
}

.nbj-faq-content {
  padding: 16px 20px;
  font-size: 0.95rem;
  color: #334155;
  background: #FFF;
  line-height: 1.65;
}

/* SIDEBAR */
.nbj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nbj-card {
  background: var(--nbj-surface);
  border: 1px solid var(--nbj-border);
  border-radius: var(--nbj-radius);
  padding: 24px;
  box-shadow: var(--nbj-shadow-sm);
}

.nbj-card-title {
  font-family: var(--nbj-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--nbj-ink);
  border-bottom: 2px solid var(--nbj-surface-alt);
  padding-bottom: 8px;
}

.nbj-bonus-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFF;
  border: 2px solid var(--nbj-gold);
  border-radius: var(--nbj-radius);
  padding: 24px;
  text-align: center;
}

.nbj-bonus-tag {
  background: var(--nbj-gold);
  color: #0F172A;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.nbj-bonus-value {
  font-family: var(--nbj-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FBBF24;
  margin-bottom: 6px;
}

.nbj-bonus-sub {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-bottom: 18px;
}

.nbj-sidebar-list {
  list-style: none;
}

.nbj-sidebar-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--nbj-border);
  padding-bottom: 8px;
}

.nbj-sidebar-list a {
  text-decoration: none;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nbj-sidebar-list a:hover {
  color: var(--nbj-primary);
}

/* FOOTER */
.nbj-footer {
  background-color: #0B1120;
  color: #94A3B8;
  border-top: 3px solid var(--nbj-gold);
  padding: 48px 20px 24px 20px;
  margin-top: auto;
}

.nbj-footer-inner {
  max-width: var(--nbj-max-width);
  margin: 0 auto;
}

.nbj-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.nbj-footer-col h4 {
  color: #FFF;
  font-family: var(--nbj-font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nbj-footer-col ul {
  list-style: none;
}

.nbj-footer-col li {
  margin-bottom: 8px;
}

.nbj-footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.nbj-footer-col a:hover {
  color: #FBBF24;
}

.nbj-footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.nbj-footer-seals {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nbj-footer-seals img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

/* MOBILE CONVERSION BAR */
.nbj-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F172A;
  border-top: 2px solid var(--nbj-gold);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.nbj-mobile-bar-inner {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.nbj-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 11px 14px;
  border-radius: var(--nbj-radius-sm);
  font-family: var(--nbj-font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .nbj-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nbj-hero-desc {
    margin: 0 auto 24px auto;
  }
  .nbj-hero-badges, .nbj-hero-cta {
    justify-content: center;
  }
  .nbj-hero-image-wrap {
    display: none;
  }
  .nbj-content-grid {
    grid-template-columns: 1fr;
  }
  .nbj-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nbj-nav {
    display: none;
  }
  .nbj-mobile-bar {
    display: block;
  }
  .nbj-hero h1 {
    font-size: 1.7rem;
  }
  .nbj-main-content {
    padding: 24px 18px;
  }
  .nbj-footer-grid {
    grid-template-columns: 1fr;
  }
}
