/* ================================================================
   Bet9ja Algeria — Affiliate Site Styles (Dark Theme)
   Colors: #00FF03 (accent), #363944, #B9C3CB
   Font: Inter (Google Fonts)
   ================================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1a1d24;
  color: #B9C3CB;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: #00FF03; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */
.header {
  background: #2a2f3a;
  border-bottom: 2px solid #00FF03;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img {
  height: auto;
  width: 120px;
}
.header-logo span {
  display: none;
}

/* ---- Navigation ---- */
.nav-main {
  display: flex;
  align-items: center;
}
.nav-main ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-main ul li a {
  display: block;
  padding: 8px 14px;
  color: #B9C3CB;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-main ul li a:hover,
.nav-main ul li a.active {
  background: rgba(0, 255, 3, .12);
  color: #00FF03;
}

/* ---- CTA Header Button ---- */
.cta-header {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #00FF03;
  color: #1a1d24;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,255,3,.3); opacity: 1; }
.btn-cta-outline {
  background: transparent;
  color: #00FF03;
  border: 1.5px solid #00FF03;
}
.btn-cta-outline:hover { background: rgba(0,255,3,.1); box-shadow: none; }

/* ---- Burger ---- */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #B9C3CB;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(145deg, #151820 0%, #1a1d24 40%, #222733 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,255,3,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,255,3,.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Page hero for internal pages */
.page-hero {
  background: linear-gradient(135deg, #151820 0%, #1e232e 100%);
  padding: 48px 0 40px;
  position: relative;
  border-bottom: 1px solid rgba(0,255,3,.08);
}
.page-hero .hero-btns {
  margin-top: 30px;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #00FF03, rgba(0,255,3,.2));
  opacity: .7;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
.page-hero h1 .hl-green {
  color: #00FF03;
}
.page-hero .page-hero-intro {
  font-size: 16px;
  color: #B9C3CB;
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}
@media (max-width: 768px) {
  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero .page-hero-intro { font-size: 14px; }
}
.hero-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00FF03, transparent);
  opacity: .6;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,255,3,.1);
  border: 1px solid rgba(0,255,3,.2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  color: #00FF03;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00FF03;
}
.hero-text h1 {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-text h1 span {
  color: #00FF03;
  text-shadow: 0 0 30px rgba(0,255,3,.3);
}
.hero-text p {
  font-size: 18px;
  color: #B9C3CB;
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-btns .btn-cta {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
}
.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;

}
.hero-image a:hover {
  transform: scale(1.03);

}
.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: #363944;
  display: block;
  border-radius: 50px;
  mix-blend-mode: darken;

}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #00FF03;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: #B9C3CB;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  background: #2a2f3a;
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumbs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #666;
}
.breadcrumbs-inner a { color: #00FF03; font-weight: 500; }
.breadcrumbs-inner .sep { margin: 0 8px; color: #555; }

/* ---- Content Section ---- */
.content-section {
  padding: 40px 0 20px;
}
.content-section h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.content-section h1 span { color: #00FF03; }
.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #00FF03;
  line-height: 1.3;
}
.content-section h3 {
  font-size: 19px;
  font-weight: 600;
  color: #00FF03;
  margin: 32px 0 12px;
  line-height: 1.3;
}
.content-section p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #B9C3CB;
  max-width: 800px;
}
.content-section p + p { margin-top: -4px; }

/* ---- Intro paragraph (between H1 and first H2) ---- */
.intro-text {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
}

/* ---- Lists ---- */
.content-section ul,
.content-section ol {
  margin: 12px 0 20px;
  padding-left: 24px;
  max-width: 800px;
}
.content-section li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #B9C3CB;
  line-height: 1.6;
}
.content-section li::marker { color: #00FF03; }

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 28px;
  border-radius: 8px;
  border: 1px solid #363944;
}
.content-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}
.content-section caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: #00FF03;
  padding: 10px 14px;
  font-size: 15px;
  background: #2a2f3a;
  border-bottom: 1px solid #363944;
}
.content-section th {
  background: #363944;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}
.content-section td {
  padding: 10px 14px;
  border-top: 1px solid #363944;
  color: #B9C3CB;
}
.content-section tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.content-section tr:hover td { background: rgba(0,255,3,.04); }

/* ---- TOC Block ---- */
.toc-block {
  background: #2a2f3a;
  border: 1px solid #363944;
  border-radius: 8px;
  margin: 20px 0 28px;
}
.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: #fff;
  font-size: 15px;
}
.toc-header:hover { background: rgba(0,255,3,.05); }
.toc-toggle {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  transition: transform .25s;
  font-size: 14px;
  color: #00FF03;
}
.toc-block.open .toc-toggle { transform: rotate(90deg); }
.toc-body {
  display: none;
  padding: 0 16px 14px;
}
.toc-block.open .toc-body { display: block; }
.toc-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-body ul li {
  margin-bottom: 6px;
}
.toc-body ul li a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #B9C3CB;
  border-bottom: 1px solid transparent;
}
.toc-body ul li a::before {
  content: '— ';
  color: #00FF03;
  font-weight: 400;
}
.toc-body ul li a:hover { color: #00FF03; }

/* ---- Cards Grid (for pages like mobile, bonuses) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.card {
  background: #2a2f3a;
  border: 1px solid #363944;
  border-radius: 10px;
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  border-color: #00FF03;
  transform: translateY(-2px);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  border: none;
}
.card p {
  font-size: 14px;
  color: #B9C3CB;
  margin-bottom: 0;
}
.card .card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

/* ---- Sticky Mobile CTA ---- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #1a1d24;
  border-top: 1.5px solid #00FF03;
  padding: 8px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.5);
}
.sticky-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}
.sticky-cta .btn-cta {
  flex: 1;
  justify-content: center;
  padding: 8px 16px;
  font-size: 14px;
}

/* ---- Author Block ---- */
.author-block {
  background: #2a2f3a;
  border: 1px solid #363944;
  border-radius: 10px;
  padding: 24px;
  margin: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 800px;
}
.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #363944;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 24px;
  color: #00FF03;
  font-weight: 700;
}
.author-info h3 {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
  border: none;
  margin-top: 0;
}
.author-info .author-role {
  font-size: 13px;
  color: #00FF03;
  margin-bottom: 8px;
}
.author-info p {
  font-size: 14px;
  color: #B9C3CB;
  margin-bottom: 0;
}

/* ---- Footer ---- */
.footer {
  background: #111216;
  border-top: 2px solid #00FF03;
  padding: 40px 0 20px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: #888;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #00FF03; }

.content-section img {
  width: 100%;
}

/* ---- Footer Logos (trust badges, payment methods) ---- */
.footer-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-logo img {
  height: auto;
  width: 140px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  padding: 4px 8px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,255,3,.08);
  color: #00FF03;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid #363944;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 12px;
  color: #555;
}
.age-restriction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 13px;
  font-weight: 700;
}
.age-restriction svg { fill: #888; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid #363944;
  max-width: 800px;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  gap: 12px;
}
.faq-question:hover { color: #00FF03; }
.faq-toggle {
  font-size: 18px;
  color: #00FF03;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 16px;
  font-size: 15px;
  color: #B9C3CB;
  line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 42px; }
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 24px; }
  .hero-btns { justify-content: center; }

  .hero { padding: 60px 0 20px; }

  .hero-image img {
    max-width: 260px;
    border-radius: 40px;
  }
}

@media (max-width: 1151px) {
  body {
    padding-bottom: 58px;
  }
  .burger { display: flex; }
  .nav-main {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #2a2f3a;
    border-bottom: 2px solid #00FF03;
    padding: 16px;
    display: none;
    z-index: 99;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
  }
  .nav-main.open { display: block; }
  .nav-main ul {
    flex-direction: column;
    gap: 0;
  }
  .nav-main ul li a {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
  }
  .nav-main ul li:last-child a { border-bottom: none; }
  .cta-header {
    display: none;
  }
  /* .cta-header.mobile-show {
    display: flex;
    margin-top: 12px;
  } */
  .sticky-cta { display: block; }
  .content-section h1 { font-size: 28px; }
  .content-section h2 { font-size: 21px; }
  .content-section h2 { margin-top: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .author-block { flex-direction: column; align-items: center; text-align: center; }
  .content-section p { font-size: 15px; }
  .content-section li { font-size: 15px; }

  .header-logo img {
    width: 100px;
  }
}

@media (max-width:639.98px) {
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns a {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 28px; }
  .hero { padding: 50px 0 20px; }
  .header-logo span { display: none; }
  .btn-cta { padding: 10px 16px; font-size: 13px; }
  .content-section { padding: 24px 0 12px; }
}

/* ---- Button like link in content ---- */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #00FF03;
  color: #1a1d24;
  font-weight: 600;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .15s, box-shadow .2s;
}
.btn-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,255,3,.3);
  opacity: 1;
}

/* ---- Highlight box ---- */
.highlight-box {
  background: #2a2f3a;
  border-left: 3px solid #00FF03;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  max-width: 800px;
}
.highlight-box p { margin-bottom: 0; }

.payments-wrap h4 {
  color: #fff;
  margin: 0 0 18px;
}
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
  justify-content: space-between;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 70px;
  max-height: 30px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}
@media (max-width:800px) {
  .payments-grid {
    gap: 16px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}