/* 35BD Bangladesh Official CSS - Mobile-First & Core Web Vitals Optimized */
:root {
  --bg-main: #0b0f19;
  --bg-card: #131b2e;
  --bg-card-hover: #1c2742;
  --bg-nav: rgba(11, 15, 25, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.25);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-accent: #fbbf24;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --emerald: #10b981;
  --emerald-hover: #059669;
  --red: #ef4444;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 25px rgba(245, 158, 11, 0.25);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a:hover {
  color: #fef08a;
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

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

.nav-menu {
  display: none;
  align-items: center;
  list-style: none;
  gap: 20px;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #0b0f19;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.55);
  transform: translateY(-1px);
  color: #0b0f19;
}

.btn-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 50%, #10b981 100%);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

/* Breadcrumbs */
.breadcrumbs {
  background: rgba(19, 27, 46, 0.6);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumbs li+li::before {
  content: "/";
  color: var(--text-muted);
  margin-right: 8px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

.breadcrumbs .current {
  color: #e2e8f0;
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 36px 0 28px;
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.12) 0%, rgba(11, 15, 25, 0) 70%);
  border-bottom: 1px solid var(--border-color);
}

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

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
}

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

.hero-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Callout Boxes */
.callout-expert {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(19, 27, 46, 0.9) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.callout-expert strong {
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.callout-tldr {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.94rem;
  color: #d1fae5;
  box-shadow: var(--shadow-sm);
}

.callout-tldr-title {
  color: #34d399;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.callout-tip {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid #3b82f6;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 0.9rem;
}

.callout-warning {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 0.9rem;
}

/* Answer Capsule (AEO/GEO Optimization) */
.answer-capsule {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 16px 0 24px;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  color: #f8fafc;
  line-height: 1.6;
}

.answer-capsule p:first-child {
  font-weight: 600;
  color: #fbbf24;
}

/* Main Content Layout */
.main-content {
  padding: 40px 0 60px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .content-grid {
    grid-template-columns: 2.7fr 1.1fr;
  }
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
  margin: 26px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: #cbd5e1;
}

.article-body ul, .article-body ol {
  margin: 16px 0 20px 24px;
  color: #cbd5e1;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

/* Responsive Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}

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

th {
  background: rgba(255, 255, 255, 0.05);
  color: #fbbf24;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

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

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Feature Cards & Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Step By Step List */
.step-list {
  list-style: none;
  margin: 24px 0;
  counter-reset: step-counter;
}

.step-item {
  position: relative;
  padding-left: 54px;
  margin-bottom: 22px;
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #0b0f19;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
}

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

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

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.sidebar-links li {
  margin-bottom: 10px;
}

.sidebar-links a {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.sidebar-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  text-decoration: none;
  padding-left: 14px;
}

.cta-box-sidebar {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-box-sidebar h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.cta-box-sidebar p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 18px;
}

/* Author Box (E-E-A-T) */
.author-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 600px) {
  .author-box {
    flex-direction: row;
    align-items: center;
  }
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.author-title {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-bio {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-section {
  margin: 40px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item[open] summary {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  color: var(--gold);
}

.faq-answer {
  padding: 16px 20px;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Responsible Gaming Seal */
.responsible-seal {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 36px 0;
  font-size: 0.88rem;
  color: #fca5a5;
}

.responsible-seal h4 {
  font-size: 1rem;
  color: #f87171;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
.footer {
  background: #070a12;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

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

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

.footer-links a {
  color: #94a3b8;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
  text-decoration: none;
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}

/* Sticky Bottom Mobile Bar */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  padding: 8px 16px;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
}

