/* ==========================================================================
   7P777 CASINO BANGLADESH - CORE RESPONSIVE STYLESHEET (2026)
   Theme: Luxury Gold & Cyber Navy | Mobile-First | Zero-Cumulative Layout Shift
   ========================================================================== */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #121929;
  --bg-card: #172237;
  --bg-card-hover: #1f2c47;
  --border-color: #263550;
  --border-highlight: #f5a623;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gold-primary: #f5a623;
  --gold-glow: #ffc247;
  --gold-gradient: linear-gradient(135deg, #ffd056 0%, #f5a623 50%, #d97706 100%);
  --accent-pink: #e2136e; /* bKash Brand */
  --accent-orange: #f7931e; /* Nagad Brand */
  --accent-green: #10b981;
  --accent-blue: #0284c7;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 25px rgba(245, 166, 35, 0.35);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------------- TOP TRUST TICKER BAR ---------------- */
.trust-ticker {
  background: linear-gradient(90deg, #1e112a 0%, #151d33 50%, #0d1e2e 100%);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 8px 16px;
  color: #e2e8f0;
}
.trust-ticker-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.trust-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-weight: 600;
}
.trust-ticker-methods {
  display: flex;
  gap: 12px;
  align-items: center;
}
.method-pill {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.pill-bkash { background: rgba(226, 19, 110, 0.2); color: #ff75ab; border: 1px solid #e2136e; }
.pill-nagad { background: rgba(247, 147, 30, 0.2); color: #ffbe76; border: 1px solid #f7931e; }
.pill-speed { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid #10b981; }

/* ---------------- SITE HEADER & NAVBAR ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}
.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text span {
  color: var(--gold-primary);
  text-shadow: 0 0 12px rgba(245, 166, 35, 0.6);
}
.main-nav {
  display: none;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
  }
}
.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
}
.nav-link:hover::after, .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-login {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-login:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  color: #ffffff;
}
.btn-cta-gold {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #0b0f19;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}
.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 166, 35, 0.6);
  filter: brightness(1.08);
}
.btn-cta-gold:active {
  transform: translateY(0);
}
.btn-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 1024px) {
  .btn-menu-toggle { display: none; }
}
.btn-menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------------- MOBILE DRAWER MENU ---------------- */
.mobile-nav-drawer {
  display: none;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px 24px;
}
.mobile-nav-drawer.open {
  display: block;
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-link:hover {
  color: var(--gold-primary);
}

/* ---------------- LAYOUT & CONTAINER ---------------- */
.site-main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* ---------------- BREADCRUMBS ---------------- */
.breadcrumb-container {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.breadcrumb-item a {
  color: var(--text-muted);
  transition: var(--transition);
}
.breadcrumb-item a:hover {
  color: var(--gold-primary);
}
.breadcrumb-separator {
  color: var(--text-dim);
}
.breadcrumb-item.active {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ---------------- HERO SECTION ---------------- */
.page-hero {
  background: linear-gradient(180deg, rgba(23, 34, 55, 0.8) 0%, rgba(18, 25, 41, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .page-hero {
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
    align-items: center;
  }
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--gold-primary);
}
.hero-badge.badge-bkash {
  background: rgba(226, 19, 110, 0.15);
  border-color: rgba(226, 19, 110, 0.4);
  color: #ff75ab;
}
.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.65rem;
  }
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .hero-visual {
    margin-top: 0;
  }
}
.hero-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* ---------------- SUMMARY BOX (GEO & QUICK ANSWER) ---------------- */
.quick-answer-card {
  background: rgba(23, 34, 55, 0.6);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-bottom: 36px;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.quick-answer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 10px;
}
.quick-answer-text {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.65;
}

/* ---------------- CONTENT GRIDS & CARDS ---------------- */
.content-section {
  margin-bottom: 44px;
}
.section-header {
  margin-bottom: 24px;
}
.section-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  background: var(--bg-card-hover);
}
.game-card-img-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 16 / 10;
  background: #0d1424;
}
.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-card-img {
  transform: scale(1.05);
}
.game-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.game-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.game-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.game-card-meta span strong {
  color: var(--gold-primary);
}
.game-card-btn {
  margin-top: auto;
  text-align: center;
  padding: 8px 14px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  transition: var(--transition);
}
.game-card-btn:hover {
  background: var(--gold-gradient);
  color: #000;
}

/* ---------------- SPECS & COMPARISON TABLES ---------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}
.data-table th {
  background: rgba(10, 14, 23, 0.7);
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ---------------- ARTICLE PROSE & CONTENT STYLING ---------------- */
.prose {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.75;
}
.prose h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.prose h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-glow);
  margin: 26px 0 12px;
}
.prose p {
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 16px 0 20px 24px;
}
.prose li {
  margin-bottom: 8px;
}
.prose strong {
  color: #ffffff;
}

/* ---------------- STEP BY STEP GUIDE ---------------- */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.step-item {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}
.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0f19;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.step-content h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 6px;
}
.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------------- FAQ ACCORDION ---------------- */
.faq-section {
  margin-top: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--gold-primary);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--gold-primary);
}
.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px;
}

/* ---------------- E-E-A-T AUTHOR BOX ---------------- */
.author-box {
  background: linear-gradient(135deg, #131b2c 0%, #172138 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 44px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 640px) {
  .author-box {
    flex-direction: row;
    align-items: center;
  }
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  background: #1f2c47;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.author-role {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.author-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------------- INTERNAL SILO LINKS CLUSTER ---------------- */
.silo-links-cluster {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 36px;
}
.silo-links-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.silo-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.silo-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.silo-link-item:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(245, 166, 35, 0.08);
}

/* ---------------- FLOATING MOBILE BOTTOM BAR ---------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 8px;
}
@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}
.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  flex: 1;
  height: 100%;
}
.mobile-bar-btn.active, .mobile-bar-btn:hover {
  color: var(--gold-primary);
}
.mobile-bar-btn svg {
  width: 22px;
  height: 22px;
}
.mobile-bar-btn.btn-play {
  background: var(--gold-gradient);
  color: #0b0f19;
  border-radius: 999px;
  margin: 6px 4px;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

/* ---------------- SITE FOOTER ---------------- */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-color);
  padding: 56px 20px 32px;
  color: var(--text-muted);
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr repeat(4, 1fr);
  }
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 14px 0 20px;
  color: var(--text-dim);
}
.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-pay-icon {
  height: 28px;
  width: auto;
  object-fit: contain;
  background: #121929;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}
.footer-compliance {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.badge-18plus {
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  gap: 12px;
}

