/* HHBD Bangladesh Official VIP Casino & Sportsbook Stylesheet */
:root {
  --bg-primary: #0b0e14;
  --bg-secondary: #121824;
  --bg-card: #171f2f;
  --bg-card-hover: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gold-500: #eab308;
  --gold-600: #ca8a04;
  --gold-glow: rgba(234, 179, 8, 0.25);
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --ruby-500: #ef4444;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(234, 179, 8, 0.35);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
}

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

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

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

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

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

/* Header & Nav */
.site-header {
  background: rgba(11, 14, 20, 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: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name .title {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-name .badge {
  font-size: 0.65rem;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
  color: #000;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 4px;
  transition: color 0.2s;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000 !important;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

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

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

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px var(--emerald-glow);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-1px);
}

.btn-large {
  padding: 12px 28px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

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

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

.breadcrumbs a:hover {
  color: var(--gold-500);
}

/* Layout Grid */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 48px;
}

.main-content {
  min-width: 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero Section */
.hero-box {
  background: linear-gradient(180deg, rgba(23, 31, 47, 0.8) 0%, rgba(18, 24, 36, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.hero-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Callout Boxes */
.callout-expert {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--emerald-500);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.callout-expert strong {
  color: var(--emerald-500);
}

.callout-tldr {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}

.callout-tldr-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--gold-500);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.callout-answer-capsule {
  background: #171f2f;
  border-left: 4px solid var(--gold-500);
  padding: 14px 18px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

.callout-warning {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid var(--ruby-500);
  padding: 14px 18px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
}

/* Featured Images */
.featured-img-wrap {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #0f172a;
  text-align: center;
}

.featured-img-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.img-caption {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
}

/* Content Typography */
.content-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.content-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 24px;
  margin-bottom: 10px;
}

.content-body p {
  margin-bottom: 16px;
  color: #cbd5e1;
}

.content-body ul,
.content-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.content-body li {
  margin-bottom: 8px;
  color: #cbd5e1;
}

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

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

th {
  background: #111827;
  color: var(--gold-500);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #e2e8f0;
}

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

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

/* FAQ Accordion */
.faq-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

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

.faq-question {
  padding: 14px 18px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--gold-500);
}

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

/* Author Box */
.author-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
}

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

.author-info .role {
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

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

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 22px;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

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

.widget-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  display: block;
}

.widget-links a:hover {
  color: var(--gold-500);
}

.bonus-widget-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(23, 31, 47, 0.95));
  border: 1px solid var(--gold-500);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.bonus-badge {
  background: var(--gold-500);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.bonus-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.bonus-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Footer */
.site-footer {
  background: #07090e;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

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

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

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

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

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

.footer-trust-seals {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.footer-trust-seals img {
  height: 36px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(20%);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(11, 14, 20, 0.98);
  border-top: 1px solid var(--border-gold);
  z-index: 999;
  padding: 8px 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.mobile-bar-promo {
  display: flex;
  flex-direction: column;
}

.mobile-bar-promo .tag {
  color: var(--gold-500);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-bar-promo .val {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.mobile-bar-actions {
  display: flex;
  gap: 8px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* simple mobile nav */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-sticky-bar {
    display: flex;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

