.ccb-sticky-bottom {
  --ccb-dark: var(--navy-950, #08090d);
  --ccb-deep: var(--navy-900, #111827);
  --ccb-panel: var(--navy-800, #1a2035);
  --ccb-panel-soft: var(--navy-700, #232d44);
  --ccb-blue: var(--b500, #3b82f6);
  --ccb-blue-dark: var(--b600, #2563eb);
  --ccb-gold: var(--a500, #f59e0b);
  --ccb-gold-hover: var(--a400, #fbbf24);
  --ccb-text: var(--tx, #f1f5f9);
  --ccb-muted: var(--txm, #94a3b8);
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99990;
  font-family: var(--font-ui, "Plus Jakarta Sans", system-ui, sans-serif);
  color: var(--ccb-text);
  transform: translateY(0);
  transition: transform 180ms ease, opacity 180ms ease;
  animation: ccb-sticky-slide-in 520ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.ccb-sticky-bottom.is-hidden {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}

.ccb-sticky-bottom a,
.ccb-sticky-bottom a:hover,
.ccb-sticky-bottom a:focus {
  text-decoration: none !important;
}

.ccb-sticky-bottom__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto 12px;
  padding: 10px 12px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-top: 2px solid var(--ccb-blue);
  border-radius: 14px;
  background:
    radial-gradient(circle at 84% 22%, rgba(245, 158, 11, 0.13), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(59, 130, 246, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(26, 32, 53, 0.98) 100%),
    var(--ccb-dark);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ccb-sticky-bottom__inner::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -24%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(18deg) translateX(-160%);
  pointer-events: none;
}

.ccb-sticky-bottom__inner:hover {
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.ccb-sticky-bottom__inner:hover::after {
  animation: ccb-sticky-shine 900ms ease;
}

.ccb-sticky-bottom__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 312px;
  padding: 5px 8px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.ccb-sticky-bottom__brand .ccb-banner-image {
  flex: 0 0 auto;
  width: 152px;
  height: 152px;
  border-radius: 10px;
  object-fit: contain;
  padding: 5px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, filter 180ms ease;
}

.ccb-sticky-bottom__inner:hover .ccb-sticky-bottom__brand .ccb-banner-image {
  filter: saturate(1.08);
  transform: scale(1.03);
}

.ccb-sticky-bottom__brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ccb-sticky-bottom__label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ccb-gold-hover);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-sticky-bottom__label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ccb-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.ccb-sticky-bottom__brand strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.ccb-sticky-bottom__text {
  margin: 0;
  color: var(--ccb-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.ccb-sticky-bottom__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ccb-gold-hover) 0%, var(--ccb-gold) 100%);
  color: var(--ccb-dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.26);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ccb-sticky-bottom__cta:hover,
.ccb-sticky-bottom__cta:focus {
  background: linear-gradient(135deg, var(--ccb-gold-hover) 0%, var(--ccb-gold) 100%);
  color: var(--ccb-dark);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.34);
  transform: translateY(-2px);
}

.ccb-sticky-bottom__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ccb-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ccb-sticky-bottom__close:hover,
.ccb-sticky-bottom__close:focus {
  background: rgba(245, 158, 11, 0.16);
  color: var(--ccb-gold-hover);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  transform: rotate(90deg) scale(1.06);
  outline: 0;
}

@keyframes ccb-sticky-slide-in {
  from {
    opacity: 0;
    transform: translateY(112%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ccb-sticky-shine {
  from {
    transform: rotate(18deg) translateX(-160%);
  }

  to {
    transform: rotate(18deg) translateX(680%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccb-sticky-bottom {
    animation: none;
  }

  .ccb-sticky-bottom__inner,
  .ccb-sticky-bottom__inner::after,
  .ccb-sticky-bottom__brand .ccb-banner-image,
  .ccb-sticky-bottom__close {
    transition: none;
  }

  .ccb-sticky-bottom__inner:hover::after {
    animation: none;
  }
}

@media (max-width: 760px) {
  .ccb-sticky-bottom__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: calc(100% - 16px);
    margin-bottom: 8px;
    padding: 12px;
  }

  .ccb-sticky-bottom__brand,
  .ccb-sticky-bottom__text {
    grid-column: 1 / -1;
  }

  .ccb-sticky-bottom__brand {
    min-width: 0;
  }

  .ccb-sticky-bottom__brand .ccb-banner-image {
    width: 128px;
    height: 128px;
  }

  .ccb-sticky-bottom__brand strong {
    font-size: 19px;
  }

  .ccb-sticky-bottom__text {
    font-size: 14px;
  }

  .ccb-sticky-bottom__cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
}
