/* ============================================================
   duelbetting.com theme
   Palette: graphite pitch-night + electric green odds board
   Type:    Barlow Condensed (display) / Barlow (body) / JetBrains Mono (odds)
   ============================================================ */

:root {
  --db-bg:        #14181d;
  --db-surface:   #1b2127;
  --db-surface-2: #222a32;
  --db-line:      #2c3640;
  --db-text:      #e9edf2;
  --db-muted:     #97a3af;
  --db-green:     #21e786;
  --db-green-dim: #16a463;
  --db-green-soft: rgba(33, 231, 134, .12);
  --db-live:      #ff4d5d;
  --db-font-body: "Barlow", system-ui, sans-serif;
  --db-font-disp: "Barlow Condensed", "Barlow", sans-serif;
  --db-font-mono: "JetBrains Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--db-bg);
  color: var(--db-text);
  font-family: var(--db-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4, .db-brand {
  font-family: var(--db-font-disp);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

a { color: var(--db-green); text-decoration: none; }
a:hover { color: #6df5b3; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--db-green); outline-offset: 2px;
}

.db-odd { font-family: var(--db-font-mono); color: var(--db-green); }

/* ---------------- navbar (standalone, no framework) ---------------- */
.db-navbar {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(20, 24, 29, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--db-line);
}
.db-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 62px; gap: 1rem;
}
.db-brand {
  font-size: 1.45rem; color: var(--db-text); text-decoration: none;
  white-space: nowrap;
}
.db-brand span { color: var(--db-green); }
.db-nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.db-nav-main { gap: .25rem; }
.db-nav-right { gap: .5rem; margin-left: auto; }
.db-nav-item { position: relative; }
.db-nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: none; cursor: pointer;
  color: var(--db-text); font-family: var(--db-font-body); font-weight: 600;
  font-size: 1rem; padding: .5rem .75rem; border-radius: 6px;
  text-decoration: none;
}
.db-nav-link:hover, .db-nav-link[aria-expanded="true"] { color: var(--db-green); }
.db-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .7; transition: transform .15s;
}
.db-drop-toggle[aria-expanded="true"] .db-caret { transform: rotate(180deg); }
.db-dropdown {
  list-style: none; margin: 0; padding: .35rem;
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--db-surface); border: 1px solid var(--db-line);
  border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 1040;
}
.db-dropdown-end { left: auto; right: 0; }
.db-has-drop:hover > .db-dropdown,
.db-has-drop > .db-dropdown.db-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.db-dropdown li { margin: 0; }
.db-dropdown a {
  display: block; padding: .5rem .7rem; border-radius: 5px;
  color: var(--db-text); text-decoration: none; font-size: .95rem;
}
.db-dropdown a:hover, .db-dropdown a.active {
  background: var(--db-green-soft); color: var(--db-green);
}
.db-nav-badge {
  font: 700 .6rem var(--db-font-mono);
  color: #fff; background: var(--db-live);
  border-radius: 3px; padding: 2px 5px;
  margin-left: 6px; vertical-align: 2px;
  animation: db-pulse 2s infinite;
}
.db-nav-toggler {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--db-line); border-radius: 6px;
  padding: 8px 9px; cursor: pointer;
}
.db-toggler-bar { display: block; width: 22px; height: 2px; background: var(--db-green); border-radius: 2px; }
.db-menu { display: flex; align-items: center; flex: 1 1 auto; }
.db-menu-header, .db-menu-close, .db-menu-backdrop { display: none; }

@media (max-width: 991px) {
  .db-nav-toggler { display: inline-flex; }
  .db-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
    background: var(--db-bg); border-left: 1px solid var(--db-line);
    padding: 1rem; overflow-y: auto; z-index: 1050;
    transform: translateX(100%); transition: transform .25s ease;
    display: flex; flex-direction: column;
  }
  .db-menu.db-menu-open { transform: translateX(0); }
  .db-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--db-line);
  }
  .db-menu-close {
    display: inline-block; background: none; border: none; color: var(--db-text);
    font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 .25rem;
  }
  .db-nav { flex-direction: column; align-items: stretch; width: 100%; }
  .db-nav-right { margin-left: 0; margin-top: .5rem; }
  .db-nav-item { width: 100%; }
  .db-nav-link { width: 100%; justify-content: space-between; }
  .db-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--db-surface-2); border: none;
    margin: .15rem 0 .35rem; padding: .15rem .25rem;
    max-height: 0; overflow: hidden; transition: max-height .2s ease;
  }
  .db-has-drop:hover > .db-dropdown { opacity: 1; } /* avoid hover-open on touch */
  .db-dropdown.db-open { max-height: 720px; }
  .db-nav-cta-wrap { margin-top: .75rem; }
  .db-nav-cta-wrap .db-btn-cta { display: block; text-align: center; }
  .db-menu-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 1045; opacity: 0; transition: opacity .25s;
  }
  .db-menu-backdrop:not([hidden]) { opacity: 1; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; border-radius: 6px;
  padding: .5rem 1rem; font-weight: 600; line-height: 1.5;
  vertical-align: middle; user-select: none;
}
.btn-lg { padding: .65rem 1.5rem; font-size: 1.06rem; }
.db-btn-cta {
  background: var(--db-green); color: #0c1410;
  font-family: var(--db-font-disp); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  border: none; border-radius: 6px; padding: .65rem 1.5rem;
  box-shadow: 0 0 0 0 rgba(33, 231, 134, .4);
  transition: transform .15s, box-shadow .15s;
}
.db-btn-cta:hover {
  background: #3cf09a; color: #0c1410;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(33, 231, 134, .25);
}

/* ---------------- hero ---------------- */
.db-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(33, 231, 134, .14), transparent 60%),
    linear-gradient(180deg, #181e24 0%, var(--db-bg) 100%);
  border-bottom: 1px solid var(--db-line);
}
.db-hero-badge {
  display: inline-block; margin-bottom: 1rem;
  font: 700 .8rem var(--db-font-mono);
  color: var(--db-green); background: var(--db-green-soft);
  border: 1px solid rgba(33, 231, 134, .35);
  border-radius: 4px; padding: 4px 10px;
}
.db-lead { font-size: 1.15rem; color: var(--db-muted); max-width: 56ch; }
.db-hero-note { color: var(--db-muted); font-size: .9rem; }
.db-hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.db-hero-stat span { display: block; font-size: 1.6rem; font-weight: 700; }
.db-hero-stat small { color: var(--db-muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }

/* ---------------- sections ---------------- */
.db-section { padding: clamp(2.2rem, 5vw, 3.8rem) 0; }
.db-section + .db-section { border-top: 1px solid var(--db-line); }
.db-eyebrow {
  font: 700 .78rem var(--db-font-mono);
  color: var(--db-green); letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: .5rem;
}
.db-prose { max-width: 76ch; color: #cdd5dd; }
.db-prose p { margin-bottom: 1rem; }
.db-prose strong { color: var(--db-text); }
.db-prose ul { padding-left: 1.2rem; }
.db-prose li { margin-bottom: .4rem; }

/* ---------------- cards ---------------- */
.db-card {
  background: var(--db-surface);
  border: 1px solid var(--db-line);
  border-radius: 10px; padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.db-card:hover { border-color: rgba(33, 231, 134, .4); transform: translateY(-3px); }
.db-card-icon { margin-bottom: .9rem; }
.db-card-icon svg { width: 42px; height: 42px; }
.db-card-title { color: var(--db-text); }
.db-card p { color: var(--db-muted); margin-bottom: 0; font-size: .98rem; }

/* ---------------- tables ---------------- */
.db-table-wrap {
  background: var(--db-surface);
  border: 1px solid var(--db-line);
  border-radius: 10px;
}
.db-table { margin-bottom: 0; color: var(--db-text); }
.db-table thead th {
  font-family: var(--db-font-disp); text-transform: uppercase;
  letter-spacing: .05em; font-size: .85rem;
  color: var(--db-muted); border-bottom: 1px solid var(--db-line) !important;
  background: var(--db-surface-2); white-space: nowrap;
}
.db-table td { border-color: var(--db-line); color: #cdd5dd; }
.db-table td:first-child { color: var(--db-text); font-weight: 600; }
.db-table .db-odd { font-size: 1.02rem; }
.db-table-note { color: var(--db-muted); font-size: .85rem; margin-top: .6rem; }
.db-yes { color: var(--db-green); font-weight: 700; }
.db-no { color: var(--db-live); font-weight: 700; }

/* ---------------- infographic ---------------- */
.db-infographic {
  background: var(--db-surface);
  border: 1px solid var(--db-line);
  border-radius: 10px; padding: clamp(1rem, 3vw, 2rem);
}
.db-infographic svg { width: 100%; height: auto; display: block; }

/* ---------------- CTA band ---------------- */
.db-cta-band {
  background: linear-gradient(120deg, rgba(33, 231, 134, .16), rgba(33, 231, 134, .04));
  border-top: 1px solid rgba(33, 231, 134, .3);
  border-bottom: 1px solid rgba(33, 231, 134, .3);
  padding: 2.2rem 0;
}
.db-cta-title { margin-bottom: .4rem; }
.db-cta-band p { color: var(--db-muted); }

/* ---------------- accordion ---------------- */
.db-accordion { max-width: 860px; }
.db-accordion .accordion-item {
  background: var(--db-surface);
  border: 1px solid var(--db-line);
  color: var(--db-text);
}
.db-accordion .accordion-button {
  background: var(--db-surface); color: var(--db-text);
  font-weight: 600; box-shadow: none;
}
.db-accordion .accordion-button:not(.collapsed) {
  background: var(--db-surface-2); color: var(--db-green);
}
.db-accordion .accordion-button::after { filter: invert(1) hue-rotate(90deg); }
.db-accordion .accordion-body { color: var(--db-muted); }

/* ---------------- countdown / live strip ---------------- */
.db-countdown {
  background: var(--db-surface-2);
  border-bottom: 1px solid var(--db-line);
  padding: .8rem 0; font-family: var(--db-font-disp);
}
.db-live-dot {
  display: inline-block; width: 9px; height: 9px;
  background: var(--db-live); border-radius: 50%;
  margin-right: 8px; animation: db-pulse 1.6s infinite;
}
.db-count { font-family: var(--db-font-mono); }
.db-count span { font-size: 1.25rem; color: var(--db-green); font-weight: 700; }
.db-count small { color: var(--db-muted); margin: 0 .9rem 0 .25rem; text-transform: uppercase; font-size: .68rem; }
@keyframes db-pulse {
  0%, 100% { opacity: 1; } 50% { opacity: .35; }
}

/* ---------------- breadcrumbs ---------------- */
.db-breadcrumbs { padding-top: 1rem; }
.db-breadcrumbs .breadcrumb {
  display: flex; flex-wrap: wrap; list-style: none;
  margin: 0; padding: 0; gap: .25rem;
}
.db-breadcrumbs .breadcrumb-item, .db-breadcrumbs a { font-size: .85rem; }
.db-breadcrumbs a { color: var(--db-green); text-decoration: none; }
.db-breadcrumbs a:hover { text-decoration: underline; }
.db-breadcrumbs .breadcrumb-item.active { color: var(--db-muted); }
.db-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "/"; color: var(--db-line); margin-right: .25rem;
}

/* ---------------- footer ---------------- */
.db-footer {
  background: #10141a;
  border-top: 1px solid var(--db-line);
  padding: 3rem 0 2rem; margin-top: 3rem;
}
.db-footer h4 {
  font-size: .9rem; color: var(--db-muted);
  letter-spacing: .08em; margin-bottom: 1rem;
}
.db-footer ul { list-style: none; padding: 0; }
.db-footer li { margin-bottom: .45rem; }
.db-footer a { color: #cdd5dd; font-size: .95rem; }
.db-footer a:hover { color: var(--db-green); }
.db-footer-meta {
  border-top: 1px solid var(--db-line);
  margin-top: 2rem; padding-top: 1.5rem;
  color: var(--db-muted); font-size: .85rem;
}
.db-18 { font-weight: 700; color: var(--db-text); }

/* ---------------- mobile polish ---------------- */
@media (max-width: 575px) {
  .db-hero-stats { gap: 1.2rem; }
  .db-hero-stat span { font-size: 1.3rem; }
  .db-count small { margin-right: .5rem; }
  .db-cta-band .db-btn-cta { width: 100%; }
}

/* ============================================================
   STANDALONE GRID + UTILITIES (replaces Bootstrap)
   ============================================================ */
.container {
  width: 100%; max-width: 1140px;
  margin-inline: auto; padding-inline: 1rem;
}
.row {
  display: flex; flex-wrap: wrap;
  margin-inline: -.75rem;
}
.row > [class*="col-"], .row > .col-6 {
  padding-inline: .75rem; box-sizing: border-box;
}
/* gutters */
.g-3 { row-gap: 1rem; }
.g-4 { row-gap: 1.5rem; }
.g-3 > *, .g-4 > * { margin-top: 0; }
.g-3 { margin-top: -1rem; }
.g-3 > * { margin-top: 1rem; }
.g-4 { margin-top: -1.5rem; }
.g-4 > * { margin-top: 1.5rem; }
/* columns: 12-col flexbox */
.col-6  { flex: 0 0 50%;        max-width: 50%; }
.col-md-6, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-7, .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%;        max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.3333%;   max-width: 33.3333%; }
  .col-lg-5 { flex: 0 0 41.6667%;   max-width: 41.6667%; }
  .col-lg-7 { flex: 0 0 58.3333%;   max-width: 58.3333%; }
  .col-lg-8 { flex: 0 0 66.6667%;   max-width: 66.6667%; }
}
/* flex utilities */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-3 { gap: 1rem; }
.h-100 { height: 100%; }
.mx-auto { margin-inline: auto; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: .5rem; }
@media (min-width: 992px) {
  .text-lg-end { text-align: right; }
  .d-lg-block { display: block; }
  .d-none.d-lg-block { display: block; }
}
@media (max-width: 991px) {
  .d-none { display: none; }
}

/* ---------------- standalone table ---------------- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.db-table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 0; color: var(--db-text); vertical-align: middle;
}
.db-table th, .db-table td {
  padding: .75rem .9rem; vertical-align: middle;
  border-bottom: 1px solid var(--db-line); text-align: left;
}
.db-table tbody tr:last-child td { border-bottom: none; }

/* ---------------- standalone accordion (details/summary) ---------------- */
.db-accordion {
  background: var(--db-surface); border: 1px solid var(--db-line);
  border-radius: 10px; overflow: hidden;
}
.db-faq-item { border-bottom: 1px solid var(--db-line); }
.db-faq-item:last-child { border-bottom: none; }
.db-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.2rem; cursor: pointer; list-style: none;
  font-family: var(--db-font-disp); font-weight: 600; color: var(--db-text);
}
.db-faq-q::-webkit-details-marker { display: none; }
.db-faq-q h3 { margin: 0; font-size: 1.08rem; font-weight: 600; }
.db-faq-q:hover { color: var(--db-green); }
.db-faq-icon {
  position: relative; width: 14px; height: 14px; flex: 0 0 14px;
}
.db-faq-icon::before, .db-faq-icon::after {
  content: ""; position: absolute; background: var(--db-green);
  transition: transform .2s;
}
.db-faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.db-faq-icon::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.db-faq-item[open] .db-faq-icon::after { transform: scaleY(0); }
.db-faq-a {
  padding: 0 1.2rem 1.15rem; color: var(--db-muted); font-size: .98rem;
}
.db-faq-a p { margin: 0 0 .6rem; }
.db-faq-a p:last-child { margin-bottom: 0; }
