/* ==========================================================================
   bkashcasinobd.com - Mobile-First Luxury Dark Casino Theme
   Optimized for Bangladesh Market (bKash & Nagad)
   ========================================================================== */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #121826;
  --bg-card: #182234;
  --bg-card-hover: #1f2c42;
  --border-color: #26354d;
  --border-focus: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;

  --bkash-pink: #e2136e;
  --bkash-pink-hover: #c40f5f;
  --nagad-orange: #f7941d;
  --nagad-orange-hover: #df7c0a;
  
  --gold-primary: #f59e0b;
  --gold-glow: #fbbf24;
  --emerald-green: #10b981;
  --emerald-glow: #34d399;
  --danger-red: #ef4444;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(226, 19, 110, 0.3);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for sticky mobile bar */
}

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

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-ticker {
  background: linear-gradient(90deg, #b80c55, #e2136e, #f7941d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  text-align: center;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.top-ticker span {
  display: inline-block;
  padding: 0 15px;
}

.site-header {
  background-color: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo .site-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.02);
}

.main-nav {
  display: none;
}

@media (min-width: 1080px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
  }
  
  .main-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }
  
  .main-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 158, 11, 0.25);
  }
  
  .main-nav .nav-item.active {
    background: rgba(226, 19, 110, 0.12);
    border-color: var(--bkash-pink);
  }
  
  .main-nav .nav-bn {
    font-size: 13.5px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
    white-space: nowrap;
    display: block;
  }
  
  .main-nav .nav-en {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1;
    margin-top: 3px;
    white-space: nowrap;
    display: block;
  }
  
  .main-nav .nav-item:hover .nav-bn,
  .main-nav .nav-item.active .nav-bn {
    color: var(--gold-primary);
  }
  
  .main-nav .nav-item:hover .nav-en {
    color: #cbd5e1;
  }
  
  .main-nav .nav-item.active .nav-en {
    color: var(--bkash-pink);
  }
}

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

.lang-badge {
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

@media (min-width: 1200px) {
  .lang-badge {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-bkash {
  background: var(--bkash-pink);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(226, 19, 110, 0.4);
}

.btn-bkash:hover {
  background: var(--bkash-pink-hover);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: block;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

@media (min-width: 1080px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: 20px;
  z-index: 99;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  list-style: none;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  transition: all 0.2s;
}

.mobile-nav-link .mobile-bn {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-nav-link .mobile-en-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-card);
  border-color: var(--bkash-pink);
}

.mobile-nav-link.active .mobile-bn {
  color: var(--bkash-pink);
}

.mobile-nav-links a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb-nav {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
}

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

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

.breadcrumb-separator {
  color: var(--border-color);
}

.breadcrumb-current {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

/* ==========================================================================
   Hero & Page Header
   ========================================================================== */

.page-hero {
  background: linear-gradient(180deg, rgba(24, 34, 52, 0.6) 0%, rgba(10, 14, 23, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(226, 19, 110, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-primary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-title-main {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  display: block;
  letter-spacing: -0.3px;
}

.hero-title-sub {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--gold-primary);
  display: block;
}

@media (min-width: 768px) {
  .hero-title-main {
    font-size: 32px;
  }
  .hero-title-sub {
    font-size: 21px;
  }
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 800px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.verified-badge {
  color: var(--emerald-green);
  font-weight: 600;
}

/* ==========================================================================
   Direct Answer Capsule (GEO / AEO Snippet Target)
   ========================================================================== */

.direct-answer-capsule {
  background: linear-gradient(135deg, rgba(24, 34, 52, 0.95), rgba(18, 24, 38, 0.95));
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.capsule-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.capsule-body {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ==========================================================================
   E-E-A-T Author Card
   ========================================================================== */

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 30px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bkash-pink), var(--gold-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Article Body & Typography
   ========================================================================== */

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

@media (min-width: 992px) {
  .content-layout {
    grid-template-columns: 1fr 340px;
  }
}

.article-body {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

@media (min-width: 768px) {
  .article-body {
    padding: 34px 30px;
  }
}

.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

@media (min-width: 768px) {
  .article-body h2 {
    font-size: 26px;
  }
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 16px;
}

.article-body ul, .article-body ol {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 8px;
}

/* Callouts */
.callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
  border-left: 4px solid;
}

.callout-tip {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-green);
  color: #a7f3d0;
}

.callout-warning {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--danger-red);
  color: #fca5a5;
}

.callout-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Custom Data Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.data-table th {
  background: var(--bg-card);
  color: var(--gold-primary);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.data-table tr:hover td {
  background: var(--bg-card-hover);
}

/* Numbered Walkthrough Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bkash-pink), var(--nagad-orange));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Accordion (PAA / AEO)
   ========================================================================== */

.faq-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--gold-primary);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */

.sidebar-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--bkash-pink);
  padding-bottom: 6px;
}

.fast-actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fast-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.fast-action-card:hover {
  background: var(--bg-card-hover);
  text-decoration: none;
  color: var(--gold-primary);
}

.silo-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.silo-nav-list a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.silo-nav-list a:hover {
  background: var(--bg-card);
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
   Related Articles Grid
   ========================================================================== */

.related-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: transform 0.2s, border-color 0.2s;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  text-decoration: none;
}

.related-card h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 700;
}

.related-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 20px 0;
  margin-top: 60px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 6px;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 30px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-disclaimer-box strong {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

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

.badge-18 {
  display: inline-block;
  background: var(--danger-red);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Sticky Mobile Bottom Bar
   ========================================================================== */

.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 24, 38, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  height: 60px;
  z-index: 100;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none !important;
  gap: 3px;
  padding: 4px;
}

.bar-item.active, .bar-item:hover {
  color: var(--gold-primary);
}

.bar-item svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Featured Media & Figure Styling
   ========================================================================== */

.featured-media {
  margin: 1.5rem 0 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.featured-media img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.featured-media:hover img {
  transform: scale(1.01);
}

.featured-media-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(10, 15, 29, 0.95);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
