/* ==========================================================================
   Design DNA Stylesheet: jita365bet.net
   Prefix: cjg5
   Palette: Light (Hue 71, Split harmony)
   Fonts: Josefin Sans (headings), Cabin (body)
   Layout Archetype: Bento-mosaic (mixed-size tiles)
   Card: Glass (14px radius, translucent, hairline border)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Josefin+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --cjg5-bg: #F9F9F8;
  --cjg5-surface: #FFFFFF;
  --cjg5-ink: #343B16;
  --cjg5-ink-light: #525C26;
  --cjg5-ink-muted: #6C7738;
  --cjg5-accent: #2F6AE9;
  --cjg5-accent-hover: #1A52CC;
  --cjg5-accent2: #EB1458;
  --cjg5-accent2-hover: #C70C46;
  --cjg5-on-accent: #FFFFFF;
  --cjg5-border: rgba(52, 59, 22, 0.12);
  --cjg5-border-light: rgba(52, 59, 22, 0.06);
  --cjg5-glass: rgba(255, 255, 255, 0.90);
  --cjg5-glass-card: rgba(255, 255, 255, 0.82);
  --cjg5-glass-border: rgba(52, 59, 22, 0.10);
  --cjg5-shadow: 0 4px 20px -2px rgba(52, 59, 22, 0.08);
  --cjg5-shadow-hover: 0 8px 30px -4px rgba(47, 106, 233, 0.18);
  
  --cjg5-radius: 14px;
  --cjg5-radius-sm: 8px;
  --cjg5-radius-pill: 9999px;
  
  --cjg5-font-head: 'Josefin Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --cjg5-font-body: 'Cabin', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --cjg5-base: 16px;
  --cjg5-scale: 1.333;
  --cjg5-max-width: 1240px;
}

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

body {
  background-color: var(--cjg5-bg);
  color: var(--cjg5-ink);
  font-family: var(--cjg5-font-body);
  font-size: var(--cjg5-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cjg5-font-head);
  font-weight: 700;
  color: var(--cjg5-ink);
  line-height: 1.25;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.369rem; }
h2 { font-size: 1.777rem; margin-top: 1.8rem; }
h3 { font-size: 1.333rem; margin-top: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.1rem;
  color: var(--cjg5-ink-light);
}

a {
  color: var(--cjg5-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cjg5-accent-hover);
}

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

/* ==========================================================================
   Navigation Bar (Sticky Header with Desktop + Mobile Drawer)
   ========================================================================== */
.cjg5-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #141A30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cjg5-header-container {
  max-width: var(--cjg5-max-width);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cjg5-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cjg5-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cjg5-logo-img {
  height: 42px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
}

.cjg5-brand-tag {
  font-family: var(--cjg5-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  background: #2F6AE9;
  color: #FFFFFF;
  padding: 0.2rem 0.55rem;
  border-radius: var(--cjg5-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cjg5-desktop-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.cjg5-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cjg5-nav-link {
  font-family: var(--cjg5-font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.cjg5-nav-link:hover {
  color: #72FFAC;
  text-decoration: none;
}

.cjg5-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cjg5-btn-header-login {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--cjg5-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cjg5-btn-header-login:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
}

.cjg5-btn-header-signup {
  background: #EB1458;
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: var(--cjg5-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(235, 20, 88, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cjg5-btn-header-signup:hover {
  background: #C70C46;
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(235, 20, 88, 0.45);
}

.cjg5-hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  transition: background 0.2s;
}

.cjg5-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cjg5-hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* Mobile Drawer */
.cjg5-mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(12, 16, 32, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  overflow-y: auto;
  padding: 1.5rem;
}

.cjg5-mobile-drawer.cjg5-drawer-active {
  display: block;
}

.cjg5-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cjg5-drawer-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
}

.cjg5-mobile-links {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cjg5-mobile-links a {
  color: #E2E8F0;
  font-family: var(--cjg5-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  display: block;
  transition: background 0.2s, color 0.2s;
}

.cjg5-mobile-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #72FFAC;
}

.cjg5-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Notice Bar (Responsible Gaming 18+ & Fast bKash)
   ========================================================================== */
.cjg5-top-bar {
  background: #0E1324;
  color: #C8D1E6;
  font-size: 0.82rem;
  padding: 0.45rem 1.25rem;
  text-align: center;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cjg5-top-bar-container {
  max-width: var(--cjg5-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cjg5-live-dot {
  color: #10B981;
  animation: cjg5Pulse 2s infinite;
}

.cjg5-top-divider {
  opacity: 0.3;
}

.cjg5-top-bar a {
  color: #72FFAC;
  font-weight: 600;
  text-decoration: none;
}

.cjg5-top-bar a:hover {
  text-decoration: underline;
}

@keyframes cjg5Pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* ==========================================================================
   Hero Section (Full-bleed gradient banner)
   ========================================================================== */
.cjg5-hero {
  background: linear-gradient(135deg, #1C2442 0%, #2A3B7A 50%, #15224D 100%);
  color: #FFFFFF;
  padding: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--cjg5-accent);
}

.cjg5-hero-container {
  max-width: var(--cjg5-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.cjg5-hero h1 {
  color: #FFFFFF;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.cjg5-hero p {
  color: #D3DCFF;
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
  line-height: 1.6;
}

.cjg5-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.cjg5-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--cjg5-radius-pill);
}

.cjg5-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cjg5-hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--cjg5-radius);
  padding: 1.8rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cjg5-hero-metric {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.cjg5-hero-metric:last-child {
  border-bottom: none;
}

.cjg5-hero-metric-val {
  font-weight: 700;
  color: #72FFAC;
  font-family: var(--cjg5-font-head);
}

/* ==========================================================================
   Layout Archetype: Bento-Mosaic Grid
   ========================================================================== */
.cjg5-container {
  max-width: var(--cjg5-max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.cjg5-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin: 1.8rem 0;
}

.cjg5-bento-span-12 { grid-column: span 12; }
.cjg5-bento-span-8  { grid-column: span 8; }
.cjg5-bento-span-6  { grid-column: span 6; }
.cjg5-bento-span-4  { grid-column: span 4; }
.cjg5-bento-span-3  { grid-column: span 3; }

/* ==========================================================================
   Card Style: Glass (14px radius, translucent, hairline)
   ========================================================================== */
.cjg5-card {
  background: var(--cjg5-glass-card);
  border: 1px solid var(--cjg5-glass-border);
  border-radius: var(--cjg5-radius);
  padding: 1.5rem;
  box-shadow: var(--cjg5-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cjg5-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cjg5-shadow-hover);
  border-color: rgba(47, 106, 233, 0.25);
}

.cjg5-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.cjg5-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.cjg5-card-img {
  width: 100%;
  border-radius: var(--cjg5-radius-sm);
  margin-bottom: 1rem;
  object-fit: cover;
}

/* ==========================================================================
   Data-First Analyst Elements (Tables, Answer Capsules, TL;DR)
   ========================================================================== */
.cjg5-expert-insight {
  background: #F3F5FA;
  border-left: 4px solid var(--cjg5-accent);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--cjg5-radius-sm) var(--cjg5-radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.96rem;
}

.cjg5-expert-insight strong {
  color: var(--cjg5-accent);
}

.cjg5-tldr-box {
  background: #EFF5FF;
  border: 1px solid #C4D9FF;
  border-radius: var(--cjg5-radius);
  padding: 1.4rem;
  margin: 1.6rem 0;
  box-shadow: 0 4px 16px rgba(47, 106, 233, 0.08);
}

.cjg5-tldr-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cjg5-accent);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cjg5-answer-capsule {
  background: #FCFDF9;
  border-left: 3px solid #7FA436;
  padding: 0.9rem 1.2rem;
  border-radius: 0 var(--cjg5-radius-sm) var(--cjg5-radius-sm) 0;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  color: var(--cjg5-ink);
  font-weight: 500;
}

/* Data Tables */
.cjg5-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.6rem 0;
  border: 1px solid var(--cjg5-border);
  border-radius: var(--cjg5-radius);
  background: var(--cjg5-surface);
  box-shadow: var(--cjg5-shadow);
}

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

.cjg5-table th {
  background: #F0F2EB;
  color: var(--cjg5-ink);
  padding: 0.85rem 1.1rem;
  font-family: var(--cjg5-font-head);
  font-weight: 700;
  border-bottom: 2px solid var(--cjg5-border);
  white-space: nowrap;
}

.cjg5-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--cjg5-border-light);
  color: var(--cjg5-ink-light);
}

.cjg5-table tr:last-child td {
  border-bottom: none;
}

.cjg5-table tr:hover td {
  background: #FAFBF7;
}

/* Steps list */
.cjg5-steps {
  list-style: none;
  counter-reset: cjg5-counter;
  margin: 1.4rem 0;
}

.cjg5-step-item {
  counter-increment: cjg5-counter;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.cjg5-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--cjg5-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cjg5-font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.cjg5-step-body {
  flex: 1;
}

.cjg5-step-title {
  font-weight: 700;
  color: var(--cjg5-ink);
  margin-bottom: 0.2rem;
}

/* FAQ Accordion / Cards */
.cjg5-faq-item {
  background: var(--cjg5-surface);
  border: 1px solid var(--cjg5-border);
  border-radius: var(--cjg5-radius);
  padding: 1.25rem;
  margin-bottom: 0.9rem;
}

.cjg5-faq-q {
  font-family: var(--cjg5-font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--cjg5-ink);
  margin-bottom: 0.5rem;
}

.cjg5-faq-a {
  color: var(--cjg5-ink-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Breadcrumbs */
.cjg5-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--cjg5-ink-muted);
}

.cjg5-breadcrumbs a {
  color: var(--cjg5-ink-muted);
  text-decoration: none;
}

.cjg5-breadcrumbs a:hover {
  color: var(--cjg5-accent);
  text-decoration: underline;
}

.cjg5-breadcrumb-sep {
  opacity: 0.6;
}

/* Article Content Wrapper */
.cjg5-article-layout {
  display: grid;
  grid-template-columns: 2.7fr 1fr;
  gap: 2.2rem;
}

.cjg5-article-main {
  background: var(--cjg5-surface);
  border: 1px solid var(--cjg5-border);
  border-radius: var(--cjg5-radius);
  padding: 2.4rem;
  box-shadow: var(--cjg5-shadow);
}

.cjg5-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Author Box */
.cjg5-author-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #F4F6F0;
  border: 1px solid var(--cjg5-border);
  border-radius: var(--cjg5-radius);
  padding: 1.25rem;
  margin: 2rem 0;
}

.cjg5-author-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cjg5-accent);
}

.cjg5-author-meta h4 {
  margin-bottom: 0.2rem;
}

.cjg5-author-title {
  font-size: 0.84rem;
  color: var(--cjg5-ink-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Footer (Four-column sitemap)
   ========================================================================== */
.cjg5-footer {
  background: #181D0A;
  color: #D3DAC0;
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--cjg5-accent);
}

.cjg5-footer-container {
  max-width: var(--cjg5-max-width);
  margin: 0 auto;
}

.cjg5-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cjg5-footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.4rem;
}

.cjg5-footer-links {
  list-style: none;
}

.cjg5-footer-links li {
  margin-bottom: 0.5rem;
}

.cjg5-footer-links a {
  color: #B5C19E;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.cjg5-footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.cjg5-footer-compliance {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 0;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: #9AA780;
  line-height: 1.6;
}

.cjg5-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

body.cjg5-drawer-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1080px) {
  .cjg5-desktop-nav {
    display: none;
  }
  .cjg5-hamburger-btn {
    display: flex;
  }
}

@media (max-width: 992px) {
  .cjg5-hero-container {
    grid-template-columns: 1fr;
  }
  .cjg5-article-layout {
    grid-template-columns: 1fr;
  }
  .cjg5-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cjg5-bento-span-8, .cjg5-bento-span-6, .cjg5-bento-span-4, .cjg5-bento-span-3 {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .cjg5-header-container {
    padding: 0.45rem 0.75rem;
    gap: 0.5rem;
  }
  .cjg5-brand-tag {
    display: none;
  }
  .cjg5-logo-img {
    height: 32px;
    max-width: 115px;
  }
  .cjg5-header-actions {
    gap: 0.4rem;
  }
  .cjg5-btn-header-login {
    padding: 0.38rem 0.65rem;
    font-size: 0.8rem;
  }
  .cjg5-btn-header-signup {
    padding: 0.38rem 0.85rem;
    font-size: 0.8rem;
  }
  .cjg5-top-bar {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }
  .cjg5-top-bar-container {
    gap: 0.4rem;
    font-size: 0.75rem;
  }
  .cjg5-top-divider {
    display: none;
  }
  .cjg5-footer-grid {
    grid-template-columns: 1fr;
  }
  .cjg5-hero h1 {
    font-size: 1.85rem;
  }
}
