.ds-footer {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 78px;
  background: rgba(10, 16, 28, 0.35);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32), 0 0 18px rgba(255, 255, 255, 0.08);
  z-index: 50;
}

/* Light background pages */
.ds-page .ds-footer,
.ds-ai-page .ds-footer {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ds-page .ds-footer__item,
.ds-ai-page .ds-footer__item {
  color: #1a1a2e;
}

.ds-page .ds-footer__item.active,
.ds-ai-page .ds-footer__item.active {
  color: #00c896;
  background: rgba(0, 200, 150, 0.12);
  box-shadow: 0 0 16px rgba(128, 128, 128, 0.3);
}

.ds-footer__item {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  align-content: center;
  gap: 4px;
  text-align: center;
  border-radius: 14px;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.ds-footer__icon {
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.ds-footer__icon svg {
  width: 30px;
  height: 30px;
}

.ds-footer__icon:empty {
  display: none;
}

.ds-footer__item span {
  line-height: 1.1;
}

.ds-footer__item--cta {
  border-radius: 16px;
  font-weight: 600;
  margin: 0 4px;
}

.ds-footer__item.active {
  color: #fff;
  background: rgba(0, 200, 150, 0.18);
  box-shadow: 0 0 16px rgba(0, 200, 150, 0.3);
}

@media (min-width: 600px) {
  .ds-footer {
    max-width: 560px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: calc(100% - 24px);
  }
}

@media (min-width: 1024px) {
  .ds-footer {
    max-width: 720px;
  }
}
