@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   melbetbkashbd.com - Official Mobile-First CSS Framework (2026)
   Distinctive Melbet Gold (#fdb913) & bKash Pink (#e2136e) Design DNA
   Optimized for Core Web Vitals, Lighthouse 100, and Zero CLS
   ========================================================================== */

:root {
  --bg-primary: #0a0f18;
  --bg-secondary: #101827;
  --bg-card: #152238;
  --bg-card-hover: #1c2e4d;
  --bg-accent-dark: #070b12;
  
  --melbet-gold: #fdb913;
  --melbet-gold-hover: #e5a400;
  --melbet-gold-glow: rgba(253, 185, 19, 0.35);
  
  --bkash-pink: #e2136e;
  --bkash-pink-hover: #c90e60;
  --bkash-pink-glow: rgba(226, 19, 110, 0.35);
  
  --nagad-orange: #f97316;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --accent-blue: #38bdf8;
  
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  --border-subtle: #1e3252;
  --border-bright: #fdb913;
  --border-card: rgba(253, 185, 19, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.55);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a:hover {
  color: #ffffff;
}

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

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.nha8-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 15, 24, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  width: 100%;
}

.nha8-header-container {
  max-width: 1340px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Logo */
.nha8-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nha8-logo-link {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
}

.nha8-brand-logo {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: transparent;
  display: block;
}

.nha8-brand-badge {
  background: linear-gradient(135deg, var(--bkash-pink), #ad0e54);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Desktop Navigation */
.nha8-main-navigation {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Elements exclusively for mobile drawer - STRICTLY HIDDEN ON DESKTOP */
.nha8-mobile-nav-header,
.nha8-mobile-quick-actions,
.nha8-mobile-promo-box,
.nha8-dropdown-toggle,
.nha8-nav-backdrop,
.nha8-menu-toggle {
  display: none !important;
}

.nha8-nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nha8-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
}

.nha8-nav-link {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nha8-dd-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nha8-nav-item:hover .nha8-nav-link {
  color: var(--melbet-gold);
  background-color: rgba(253, 185, 19, 0.08);
}

.nha8-nav-item:hover .nha8-dd-arrow {
  transform: rotate(180deg);
  color: var(--melbet-gold);
}

/* Desktop Dropdown Menus */
.nha8-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #10192a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 280px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  margin: 0;
}

.nha8-has-dropdown:hover .nha8-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nha8-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.88rem;
  transition: background 0.15s ease;
  text-decoration: none;
}

.nha8-dd-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nha8-dropdown-item strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
}

.nha8-dropdown-item span {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
}

.nha8-dropdown-item:hover {
  background-color: #17243c;
  color: var(--melbet-gold);
}

/* Right Header Actions */
.nha8-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.nha8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.nha8-btn-primary {
  background: linear-gradient(135deg, var(--melbet-gold), var(--melbet-gold-hover));
  color: #000;
  box-shadow: 0 4px 15px var(--melbet-gold-glow);
}

.nha8-btn-primary:hover {
  background: linear-gradient(135deg, #ffc73b, var(--melbet-gold));
  color: #000;
  transform: translateY(-1px);
}

.nha8-btn-bkash {
  background: linear-gradient(135deg, var(--bkash-pink), #ad0e54);
  color: #fff;
  box-shadow: 0 4px 15px var(--bkash-pink-glow);
}

.nha8-btn-bkash:hover {
  background: linear-gradient(135deg, #f0257e, var(--bkash-pink));
  color: #fff;
}

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

.nha8-btn-outline:hover {
  border-color: var(--melbet-gold);
  color: var(--melbet-gold);
}

.nha8-btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.nha8-btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.nha8-btn-full {
  width: 100%;
}

/* Breadcrumbs */
.nha8-breadcrumb-nav {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  font-size: 0.85rem;
}

.nha8-breadcrumb-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
}

.nha8-crumb-item a {
  color: var(--text-muted);
}

.nha8-crumb-item a:hover {
  color: var(--melbet-gold);
}

.nha8-crumb-item[aria-current="page"] {
  color: var(--melbet-gold);
  font-weight: 600;
}

.nha8-breadcrumb-separator {
  color: var(--text-dark);
}

/* Page Body Wrapper */
.nha8-page-wrapper {
  max-width: 1340px;
  margin: 0 auto;
  padding: 30px 20px;
  width: 100%;
}

/* Hero Section */
.nha8-hero-card {
  background: radial-gradient(circle at top right, rgba(253, 185, 19, 0.12), transparent 60%),
              radial-gradient(circle at bottom left, rgba(226, 19, 110, 0.1), transparent 60%),
              var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nha8-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.nha8-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 185, 19, 0.15);
  border: 1px solid rgba(253, 185, 19, 0.35);
  color: var(--melbet-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.nha8-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.nha8-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.nha8-trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.nha8-trust-badge-item {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nha8-hero-image-wrap img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  object-fit: cover;
}

/* Quick Specs Bar */
.nha8-specs-section {
  margin-bottom: 30px;
}

.nha8-specs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.nha8-spec-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease;
}

.nha8-spec-card:hover {
  border-color: var(--melbet-gold);
}

.nha8-spec-icon {
  font-size: 1.8rem;
}

.nha8-spec-meta {
  display: flex;
  flex-direction: column;
}

.nha8-spec-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nha8-spec-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

/* Content Layout (Article + Sidebar) */
.nha8-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.nha8-main-article {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* E-E-A-T Callout */
.nha8-eeat-callout {
  background: rgba(253, 185, 19, 0.08);
  border-left: 4px solid var(--melbet-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* TL;DR Box */
.nha8-tldr-box {
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.8), rgba(16, 24, 39, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
}

.nha8-tldr-header {
  font-weight: 700;
  font-size: 1rem;
  color: var(--melbet-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.nha8-tldr-content {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-light);
}

/* Article Sections */
.nha8-article-section {
  margin-bottom: 36px;
}

.nha8-article-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.nha8-quick-capsule {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-blue);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.nha8-section-content {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.75;
}

.nha8-section-content p {
  margin-bottom: 16px;
}

/* Content Figures (Images inside articles) */
.nha8-content-figure {
  margin: 24px 0;
  background: #111a2c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.nha8-content-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.nha8-content-figure figcaption {
  padding: 10px 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: #0d1524;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nha8-content-figure figcaption::before {
  content: '📸';
  font-size: 0.9rem;
}

/* Data Tables */
.nha8-table-responsive {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.nha8-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.nha8-data-table th {
  background-color: var(--bg-card);
  color: var(--melbet-gold);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-subtle);
}

.nha8-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-light);
}

.nha8-data-table tbody tr:hover {
  background-color: rgba(253, 185, 19, 0.03);
}

/* Steps List */
.nha8-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

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

.nha8-step-number {
  background: linear-gradient(135deg, var(--melbet-gold), var(--melbet-gold-hover));
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nha8-step-title {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}

.nha8-step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Alert Boxes */
.nha8-alert-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  border-left: 4px solid;
}

.nha8-alert-info {
  background-color: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-blue);
  color: var(--text-light);
}

.nha8-alert-warning {
  background-color: rgba(249, 115, 22, 0.1);
  border-color: var(--nagad-orange);
  color: var(--text-light);
}

.nha8-alert-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

/* Mid-Article CTA Banner */
.nha8-cta-banner {
  background: linear-gradient(135deg, #132238, #182845);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 32px 0;
  text-align: center;
}

.nha8-cta-banner-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--melbet-gold);
  margin-bottom: 10px;
}

.nha8-cta-banner-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsible Gaming Box */
.nha8-rg-box {
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  margin: 30px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.nha8-rg-icon {
  background-color: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.nha8-faq-section h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
}

.nha8-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nha8-faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.nha8-faq-card:hover {
  border-color: rgba(253, 185, 19, 0.3);
}

.nha8-faq-question {
  padding: 16px 20px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

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

.nha8-faq-arrow {
  color: var(--melbet-gold);
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}

details[open] .nha8-faq-arrow {
  transform: rotate(180deg);
}

.nha8-faq-answer {
  padding: 0 20px 18px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* Topic Silo Links Box */
.nha8-silo-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 36px;
}

.nha8-silo-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--melbet-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nha8-silo-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nha8-silo-chip {
  background-color: #1a2a44;
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.nha8-silo-chip:hover,
.nha8-active-silo-link {
  background-color: var(--melbet-gold);
  color: #000;
  border-color: var(--melbet-gold);
  font-weight: 700;
}

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

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

.nha8-widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--melbet-gold);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Sticky Bottom Mobile Bar */
.nha8-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 15, 24, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 999;
}

.nha8-mobile-bar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Footer */
.nha8-site-footer {
  background-color: #070b12;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 20px;
  margin-top: auto;
}

.nha8-footer-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.nha8-footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.nha8-footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

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

.nha8-footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.nha8-footer-links a:hover {
  color: var(--melbet-gold);
}

.nha8-payment-partners-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.nha8-payment-partner-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.nha8-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE DRAWER
   ========================================================================== */
@media (max-width: 1200px) {
  .nha8-brand-badge {
    display: none;
  }
  .nha8-nav-link {
    padding: 6px 7px;
    font-size: 0.84rem;
  }
  .nha8-nav-menu {
    gap: 2px;
  }
}

@media (max-width: 1024px) {
  .nha8-site-header {
    height: 60px;
  }
  
  .nha8-header-container {
    padding: 0 12px;
    gap: 8px;
  }

  .nha8-brand-logo {
    height: 26px;
    max-width: 110px;
  }

  .nha8-brand-badge {
    display: none !important; /* Hide badge on mobile to preserve header real estate */
  }

  .nha8-header-actions {
    gap: 6px;
  }

  .nha8-header-actions .nha8-login-btn {
    padding: 6px 9px;
    font-size: 0.8rem;
    border-radius: 4px;
  }

  .nha8-header-actions .nha8-register-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
  }

  /* Show Hamburger Button */
  .nha8-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(253, 185, 19, 0.35);
    border-radius: 6px;
    cursor: pointer;
    padding: 6px;
    margin-left: 2px;
  }

  .nha8-menu-toggle:hover {
    background: rgba(253, 185, 19, 0.15);
  }

  .nha8-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Hamburger Active Animation */
  .nha8-menu-toggle.active .nha8-hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nha8-menu-toggle.active .nha8-hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nha8-menu-toggle.active .nha8-hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile Off-Canvas Drawer */
  .nha8-main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 320px;
    height: 100vh;
    background: #0a0f18;
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    display: flex;
  }

  .nha8-main-navigation.open {
    right: 0;
  }

  /* Mobile Drawer Elements Display */
  .nha8-mobile-nav-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 16px;
  }

  .nha8-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nha8-mobile-brand img {
    height: 26px;
    width: auto;
  }

  .nha8-mobile-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
  }

  .nha8-mobile-quick-actions {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .nha8-nav-menu {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }

  .nha8-nav-item {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 0;
  }

  .nha8-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .nha8-dd-arrow {
    display: none; /* Hide desktop arrow on mobile */
  }

  .nha8-dropdown-toggle {
    display: flex !important;
    position: absolute;
    right: 8px;
    top: 6px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--melbet-gold);
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .nha8-has-dropdown.open .nha8-dropdown-toggle {
    transform: rotate(180deg);
  }

  .nha8-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(21, 34, 56, 0.5);
    border-radius: var(--radius-sm);
    padding: 6px;
    margin-top: 4px;
    margin-bottom: 8px;
    display: none;
  }

  .nha8-has-dropdown.open .nha8-dropdown-menu {
    display: flex;
  }

  .nha8-dropdown-item {
    padding: 8px 10px;
  }

  .nha8-mobile-promo-box {
    display: block !important;
    background: #152238;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 14px;
    margin-top: 24px;
    text-align: center;
  }

  .nha8-mobile-promo-label {
    font-size: 0.85rem;
    color: var(--melbet-gold);
    font-weight: 700;
    margin-bottom: 6px;
  }

  /* Full-Screen Backdrop Overlay */
  .nha8-nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9998;
  }

  .nha8-nav-backdrop.active {
    display: block !important;
  }

  /* Responsive Grids */
  .nha8-hero-grid {
    grid-template-columns: 1fr;
  }
  .nha8-content-grid {
    grid-template-columns: 1fr;
  }
  .nha8-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nha8-hero-title {
    font-size: 1.75rem;
  }
  .nha8-main-article {
    padding: 20px;
  }
  .nha8-hero-card {
    padding: 20px;
  }
  .nha8-mobile-sticky-bar {
    display: block;
  }
  .nha8-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nha8-brand-logo {
    height: 24px;
    max-width: 95px;
  }
  .nha8-header-actions .nha8-login-btn {
    padding: 5px 8px;
    font-size: 0.76rem;
  }
  .nha8-header-actions .nha8-register-btn {
    padding: 5px 10px;
    font-size: 0.76rem;
  }
}

@media (max-width: 360px) {
  .nha8-header-actions .nha8-login-btn {
    display: none;
  }
}

/* Semantic DOM enhancements */
.nha8-spec-meta { display: flex; flex-direction: column; margin: 0; }
.nha8-spec-title { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin: 0; }
.nha8-spec-value { font-size: 1.15rem; font-weight: 700; color: var(--text-white); margin: 0; }
.nha8-crumb-item { display: inline-flex; align-items: center; }
.nha8-breadcrumb-container { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
