/* 888bet shared navigation and footer */

.site-navbar {
  --chrome-bg: rgba(13, 28, 49, .9);
  --chrome-card: #18304f;
  --chrome-border: rgba(125, 211, 252, .2);
  --chrome-muted: rgba(248, 250, 252, .66);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: .62rem 0;
  background:
    linear-gradient(100deg, rgba(16, 33, 58, .97), rgba(24, 48, 79, .92)),
    var(--chrome-bg);
  border-bottom: 1px solid var(--chrome-border);
  box-shadow: 0 12px 30px rgba(2, 12, 27, .28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, .78), rgba(125, 211, 252, .5), transparent);
  pointer-events: none;
}

.site-navbar > .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-brand img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 168px;
  object-fit: contain;
}

.site-navbar .navbar-collapse {
  align-items: center;
  gap: 1rem;
}

.site-nav-links {
  align-items: center;
  justify-content: flex-end;
  gap: .18rem;
  flex-wrap: nowrap;
}

.site-nav-links .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .48rem .72rem !important;
  color: rgba(248, 250, 252, .78) !important;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.site-nav-links .nav-link::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-blue));
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .25s ease, transform .25s ease;
}

.site-nav-links .nav-link:hover,
.site-nav-links .nav-link.active,
.site-nav-links .nav-link[aria-current="page"] {
  color: var(--clr-white) !important;
  background: linear-gradient(135deg, rgba(250, 204, 21, .14), rgba(125, 211, 252, .1));
  border-color: rgba(125, 211, 252, .18);
  transform: translateY(-1px);
}

.site-nav-links .nav-link:hover::after,
.site-nav-links .nav-link.active::after,
.site-nav-links .nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  margin-left: .25rem;
  white-space: nowrap;
}

.site-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .5rem .95rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.site-nav-action:hover {
  transform: translateY(-2px);
}

.site-nav-action-primary {
  color: #10213a;
  background: linear-gradient(135deg, #fde047, var(--clr-gold));
  box-shadow: 0 8px 18px rgba(250, 204, 21, .16);
}

.site-nav-action-primary:hover {
  color: #10213a;
  box-shadow: 0 12px 24px rgba(250, 204, 21, .28);
}

.site-nav-action-secondary {
  color: var(--clr-blue);
  border: 1px solid rgba(125, 211, 252, .42);
  background: rgba(125, 211, 252, .06);
}

.site-nav-action-secondary:hover {
  color: #10213a;
  background: var(--clr-blue);
  border-color: var(--clr-blue);
}

.news-breadcrumb-bar {
  padding: .95rem 0;
  background: rgba(16, 33, 58, .96);
  border-bottom: 1px solid rgba(125, 211, 252, .13);
}

.news-breadcrumb-bar .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

.news-breadcrumb-bar .breadcrumb-item {
  color: rgba(248, 250, 252, .62);
  font-size: .95rem;
}

.news-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(248, 250, 252, .38);
}

.news-breadcrumb-bar a {
  color: var(--clr-blue);
}

.news-breadcrumb-bar .breadcrumb-item.active {
  color: rgba(248, 250, 252, .72);
}

/* Keep the homepage comparison table inside the site's dark-blue palette. */
.compare-table .table {
  --bs-table-bg: transparent;
  --bs-table-color: rgba(248, 250, 252, .76);
  --bs-table-border-color: rgba(125, 211, 252, .1);
  margin-bottom: 0;
}

.compare-table .table > :not(caption) > * > * {
  color: rgba(248, 250, 252, .76) !important;
  background-color: transparent !important;
  border-bottom-color: rgba(125, 211, 252, .1) !important;
  box-shadow: none !important;
}

.compare-table .table thead > tr > * {
  color: var(--clr-gold) !important;
  background-color: rgba(125, 211, 252, .14) !important;
  font-weight: 700;
}

.compare-table .table tbody tr:nth-child(even) > * {
  background-color: rgba(125, 211, 252, .045) !important;
}

.site-navbar .navbar-toggler {
  padding: .5rem .65rem;
  border: 1px solid rgba(250, 204, 21, .42);
  border-radius: 12px;
  box-shadow: none;
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(250, 204, 21, .16);
}

/* Reference-inspired information footer, adapted to the 888bet dark palette. */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(3.2rem, 6vw, 5rem) 0 1.5rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(125, 211, 252, .1), transparent 32%),
    linear-gradient(180deg, #18304f 0%, #0e1d34 100%);
  border-top: 1px solid rgba(125, 211, 252, .22);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, .65), rgba(125, 211, 252, .65), transparent);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(3, minmax(140px, .8fr)) minmax(210px, 1fr);
  gap: 2.2rem 2rem;
  align-items: start;
}

.site-footer .footer-brand {
  margin-bottom: 1rem;
}

.site-footer .footer-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 168px;
}

.site-footer .footer-desc {
  max-width: 340px;
  margin: 0 0 1.15rem;
  color: var(--chrome-muted);
  font-size: .92rem;
  line-height: 1.8;
}

.site-footer .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.site-footer .footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 .78rem;
  color: var(--clr-gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(250, 204, 21, .22);
  border-radius: 999px;
  background: rgba(250, 204, 21, .08);
}

.site-footer .footer-link-group,
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.site-footer .footer-title {
  margin-bottom: .35rem;
  color: var(--clr-gold);
  font-size: .98rem;
  font-weight: 750;
  letter-spacing: .02em;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: .58rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact a {
  width: fit-content;
  color: rgba(248, 250, 252, .68);
  font-size: .9rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
  color: var(--clr-blue);
  transform: translateX(3px);
}

.site-footer .footer-contact p {
  max-width: 250px;
  margin: 0;
  color: rgba(248, 250, 252, .56);
  font-size: .88rem;
  line-height: 1.7;
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.25rem;
  color: rgba(248, 250, 252, .46);
  font-size: .82rem;
  border-top: 1px solid rgba(125, 211, 252, .13);
}

@media (min-width: 1200px) {
  .site-navbar > .container {
    max-width: 1600px;
  }
}

@media (max-width: 1399.98px) {
  .site-nav-links .nav-link {
    padding-left: .55rem !important;
    padding-right: .55rem !important;
    font-size: .78rem;
  }

  .site-nav-action {
    padding-left: .78rem;
    padding-right: .78rem;
    font-size: .78rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(130px, .8fr)) minmax(190px, 1fr);
    gap: 1.6rem;
  }
}

@media (max-width: 1199.98px) {
  .site-navbar .navbar-collapse {
    margin-top: .8rem;
    padding: .8rem;
    background: rgba(24, 48, 79, .98);
    border: 1px solid rgba(125, 211, 252, .16);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(2, 12, 27, .24);
  }

  .site-nav-links {
    align-items: stretch;
    gap: .25rem;
  }

  .site-nav-links .nav-link {
    width: 100%;
    min-height: 42px;
  }

  .site-nav-actions {
    margin: .55rem 0 0;
    padding-top: .75rem;
    border-top: 1px solid rgba(125, 211, 252, .12);
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .site-navbar {
    padding: .5rem 0;
  }

  .site-brand img {
    height: 38px;
    max-width: 150px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

  .site-footer .footer-brand-column,
  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-brand-column,
  .site-footer .footer-contact {
    grid-column: auto;
  }
}
