/* ==========================================================================
   HeyBaji Bangladesh — Official Design System & Stylesheet (2026)
   Theme: Luxury Dark Casino with Vibrant Gold & Emerald Accents
   Mobile-First Architecture with Sticky App Bottom Navigation
   ========================================================================== */

:root {
  --bg-primary: #090c12;
  --bg-secondary: #111622;
  --bg-card: #161d2c;
  --bg-card-hover: #1d273a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 166, 35, 0.35);
  
  --color-gold: #f5a623;
  --color-gold-hover: #ffb834;
  --color-gold-glow: rgba(245, 166, 35, 0.25);
  --color-emerald: #10b981;
  --color-cyan: #06b6d4;
  --color-crimson: #ef4444;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-sub: #6b7280;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Noto Sans Bengali";
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(245, 166, 35, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Space for sticky bottom mobile nav */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-gold-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* ----------------- Layout Container ----------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .container {
    padding: 0 0.85rem;
  }
}

/* ----------------- Header & Navigation ----------------- */
.site-header {
  background: rgba(17, 22, 34, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: 100%;
  max-width: 100%;
  gap: 0.5rem;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-logo span.badge {
  background: linear-gradient(135deg, var(--color-gold), #e08805);
  color: #0b0e14;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-left: 4px;
}

.desktop-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--color-gold);
  text-decoration: none;
}

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

/* ----------------- Language Switcher Pill Toggle ----------------- */
.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  white-space: nowrap;
  font-family: inherit;
  user-select: none;
}

.lang-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--color-gold), #e08805);
  color: #0b0e14;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.35);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}

.lang-text {
  letter-spacing: 0.3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), #e08805);
  color: #0b0e14;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffb834, var(--color-gold));
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* ----------------- Breadcrumb Component ----------------- */
.breadcrumb-wrapper {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  color: var(--text-muted);
}

.breadcrumb-list li a {
  color: var(--text-muted);
}

.breadcrumb-list li a:hover {
  color: var(--color-gold);
}

.breadcrumb-list li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--text-sub);
}

.breadcrumb-list li:last-child {
  color: var(--color-gold);
  font-weight: 600;
}

.breadcrumb-list li:last-child::after {
  content: "";
  margin: 0;
}

/* ----------------- Hero Sections ----------------- */
.hero-banner {
  background: linear-gradient(180deg, #161d2c 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 850px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.12);
  color: var(--color-gold);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
}

.hero-title span.highlight {
  color: var(--color-gold);
  background: linear-gradient(135deg, #ffc857, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.trust-badges-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-badge-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

/* ----------------- E-E-A-T Components ----------------- */

/* Expert Insight Callout */
.expert-insight-card {
  background: linear-gradient(135deg, rgba(22, 29, 44, 0.95), rgba(17, 22, 34, 0.95));
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-card);
}

.expert-insight-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.expert-badge {
  background: rgba(245, 166, 35, 0.15);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
}

.expert-insight-text {
  font-size: 0.92rem;
  color: #e5e7eb;
  font-style: italic;
  line-height: 1.55;
}

/* TL;DR Box */
.tldr-box {
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.tldr-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.tldr-content {
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Answer Capsule */
.answer-capsule {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--color-emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
}

.answer-capsule-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-emerald);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.answer-capsule-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

/* ----------------- Content Typography & Articles ----------------- */
.content-wrapper {
  padding: 2rem 0 4rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
}

.content-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .content-grid {
    grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  }
}

.article-body {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.article-body h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-gold);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  color: #d1d5db;
  font-size: 1rem;
  margin-bottom: 1.15rem;
  line-height: 1.7;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #d1d5db;
}

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: block;
}

.table-responsive > table,
.table-responsive > .data-table {
  max-width: none;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 540px;
}

.data-table th {
  background: var(--bg-card);
  color: var(--color-gold);
  font-weight: 800;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-gold);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #e5e7eb;
}

.data-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.data-table tr:hover {
  background: rgba(245, 166, 35, 0.05);
}

/* ----------------- Step-by-Step Boxes ----------------- */
.step-guide {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.step-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-gold), #e08805);
  color: #0b0e14;
  font-weight: 900;
  font-size: 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ----------------- Topic & Guide Directory Cards ----------------- */
.guide-grid, .spoke-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.guide-card, .spoke-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card:hover, .spoke-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
}

.guide-card h4, .spoke-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.guide-card p, .spoke-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.guide-card .card-footer-meta, .spoke-card .card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold);
}

/* ----------------- Dual CTA Banners ----------------- */
.cta-banner-card {
  background: linear-gradient(135deg, #1c1507 0%, #2b1f09 50%, #161d2c 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-banner-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.cta-banner-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 1.25rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------- Responsible Gaming Section ----------------- */
.responsible-gaming-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.rg-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rg-age-badge {
  background: #ef4444;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.rg-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.rg-text {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}

/* ----------------- FAQ Component ----------------- */
.faq-section {
  margin: 2.5rem 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-gold);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----------------- Sidebar Sticky Widget ----------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-links-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  color: #d1d5db;
  font-size: 0.88rem;
  font-weight: 600;
}

.sidebar-links-list li a:hover {
  background: rgba(245, 166, 35, 0.1);
  color: var(--color-gold);
  text-decoration: none;
}

/* ----------------- Site Footer ----------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  gap: 0.6rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.footer-age-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

/* ----------------- Official Payment External Links & Badges ----------------- */
.official-payment-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(11, 14, 20, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid #10b981;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.official-payment-header {
  margin-bottom: 0.65rem;
}

.official-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.official-payment-body p {
  font-size: 0.92rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.btn-official-ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-official-ext:hover {
  background: var(--color-gold);
  color: #0b0e14;
  border-color: var(--color-gold);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

/* Footer Official Payment Gateways Bar */
.footer-payment-methods {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-payment-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-payment-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-payment-list a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 166, 35, 0.22);
  border-radius: var(--radius-full);
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-payment-list a:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
  text-decoration: none;
  transform: translateY(-1px);
}

.footer-payment-sep {
  display: none;
}

/* Responsive Footer Layout */
@media (max-width: 899px) {
  .site-footer {
    padding: 2.5rem 0 calc(68px + 2rem);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
    margin-bottom: 2rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  .footer-col ul li a {
    display: inline-block;
    padding: 3px 0;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-payment-list a {
    font-size: 0.76rem;
    padding: 5px 10px;
  }
}

/* ----------------- Sticky Mobile Bottom Navigation ----------------- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 62px;
  background: rgba(14, 18, 28, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  padding: 0 0.25rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .mobile-bottom-nav {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  gap: 3px;
  flex: 1;
  height: 100%;
}

.mobile-nav-item svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  max-width: 20px;
  fill: currentColor;
  display: block;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--color-gold);
  text-decoration: none;
}

.mobile-nav-item.highlight-deposit {
  position: relative;
  top: -8px;
}

.mobile-nav-item.highlight-deposit .icon-circle {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-gold), #e08805);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.5);
  color: #0b0e14;
}

.mobile-nav-item.highlight-deposit .icon-circle svg {
  width: 22px !important;
  height: 22px !important;
}

/* ==========================================================================
   Mobile-First Responsiveness & Touch Optimization
   ========================================================================== */

/* Universal Word Wrapping & Fluid Typography */
h1, h2, h3, h4, p, li, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }
  .article-body h2 {
    font-size: clamp(1.25rem, 4.2vw, 1.6rem);
    margin: 1.8rem 0 0.85rem;
  }
  .article-body h3 {
    font-size: 1.15rem;
  }
  .article-body p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .container {
    padding: 0 1rem;
  }
  .guide-grid, .spoke-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-banner {
    padding: 1.75rem 0 1.5rem;
  }
  .expert-insight-card {
    padding: 1rem 1.15rem;
  }
  .tldr-box {
    padding: 1rem 1.15rem;
  }
  .answer-capsule {
    padding: 0.85rem 1rem;
  }
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
  }
  .table-responsive::-webkit-scrollbar {
    height: 5px;
  }
  .table-responsive::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
  }
  .data-table th, .data-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }
  .step-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .cta-banner-card {
    padding: 1.5rem 1rem;
    margin: 1.75rem 0;
  }
  .cta-banner-title {
    font-size: 1.2rem;
  }
  .cta-banner-subtitle {
    font-size: 0.92rem;
  }
  .faq-question {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    min-height: 48px; /* Touch target */
  }
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.88rem;
  }
  .mobile-bottom-nav {
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile Header & Responsive Optimization (< 600px) */
@media (max-width: 600px) {
  .header-actions .btn-secondary {
    display: none !important; /* Conceal secondary login in header on mobile to give ample breathing room to logo and language switch */
  }
  .brand-logo {
    font-size: 1.12rem;
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .brand-logo img {
    width: 30px !important;
    height: 30px !important;
  }
  .brand-logo span.badge {
    display: none !important;
  }
  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .header-actions .btn-primary {
    font-size: 0.76rem;
    padding: 0.38rem 0.7rem;
    white-space: nowrap;
  }
  .lang-switch-wrap {
    padding: 2px;
    gap: 2px;
  }
  .lang-btn {
    padding: 3px 7px;
    font-size: 0.72rem;
    gap: 3px;
  }
  .lang-flag {
    font-size: 0.82rem;
  }
}

/* Extra Small Mobile Screens (< 480px: Galaxy, Xiaomi, iPhone SE) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  .header-inner {
    height: 56px;
  }
  .brand-logo {
    font-size: 1.02rem;
  }
  .brand-logo img {
    width: 28px !important;
    height: 28px !important;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .header-actions .btn-primary {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
  }
  .lang-btn {
    padding: 2.5px 6px;
    font-size: 0.7rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }
  .cta-banner-card .btn {
    width: 100%;
  }
  .breadcrumb-list {
    font-size: 0.75rem;
    gap: 0.25rem;
  }
}

/* Micro Mobile Screens (< 360px) */
@media (max-width: 360px) {
  .brand-logo {
    font-size: 0.95rem;
  }
  .lang-btn {
    padding: 2px 4px;
    font-size: 0.65rem;
  }
  .header-actions .btn-primary {
    font-size: 0.68rem;
    padding: 0.3rem 0.5rem;
  }
}

/* ----------------- Bilingual Content Switching ----------------- */
html[lang="en"] .lang-bn {
  display: none !important;
}
html[lang="en"] .lang-en {
  display: block !important;
}
html[lang="en"] span.lang-en,
html[lang="en"] a.lang-en {
  display: inline !important;
}
html[lang="en"] span.lang-bn,
html[lang="en"] a.lang-bn {
  display: none !important;
}

html:not([lang="en"]) .lang-en {
  display: none !important;
}
html:not([lang="en"]) .lang-bn {
  display: block !important;
}
html:not([lang="en"]) span.lang-bn,
html:not([lang="en"]) a.lang-bn {
  display: inline !important;
}
html:not([lang="en"]) span.lang-en,
html:not([lang="en"]) a.lang-en {
  display: none !important;
}


