@import url('https://fonts.googleapis.com/css2?family=Exo:wght@600;700&display=swap');

#ag-stats-counter,
#ag-stats-counter * {
  box-sizing: border-box;
}

#ag-stats-counter {
  --ag-yellow: #EAAA04;
  --ag-white: #ffffff;
  --ag-divider: rgba(255,255,255,.12);

  width: 100%;
  padding: 44px 32px 54px;
  background: #000000;
}

#ag-stats-counter .ag-stats-counter__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#ag-stats-counter .ag-stat {
  position: relative;
  min-height: 286px;
  padding: 26px 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#ag-stats-counter .ag-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 1px;
  height: 250px;
  background: var(--ag-divider);
}

#ag-stats-counter .ag-stat__content {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ag-stats-counter .ag-stat__icon {
  width: 76px;
  height: 76px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ag-stats-counter .ag-stat__icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#ag-stats-counter .ag-stat__title {
  margin: 0 0 26px !important;
  padding: 0 !important;
  color: var(--ag-white) !important;
  font-family: "Exo", sans-serif !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
}

#ag-stats-counter .ag-odometer {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  color: var(--ag-yellow);
  font-family: "Exo", sans-serif;
  font-weight: 700;
}

#ag-stats-counter .ag-odometer__digit {
  position: relative;
  width: .68em;
  height: 64px;
  overflow: hidden;
  font-size: 52px;
  line-height: 64px;
}

#ag-stats-counter .ag-odometer__reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  will-change: transform;
}

#ag-stats-counter .ag-odometer__number {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ag-yellow);
  font-family: "Exo", sans-serif !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 64px !important;
}

#ag-stats-counter .ag-odometer__suffix {
  margin-right: 5px;
  color: var(--ag-yellow);
  font-family: "Exo", sans-serif !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 58px !important;
}

@media (max-width: 1024px) {
  #ag-stats-counter {
    padding: 38px 24px 46px;
  }

  #ag-stats-counter .ag-stat {
    min-height: 260px;
    padding: 22px 24px;
  }

  #ag-stats-counter .ag-stat:not(:last-child)::after {
    height: 224px;
  }

  #ag-stats-counter .ag-stat__title {
    font-size: 22px !important;
  }

  #ag-stats-counter .ag-odometer__digit,
  #ag-stats-counter .ag-odometer__number {
    height: 58px;
    font-size: 46px !important;
    line-height: 58px !important;
  }

  #ag-stats-counter .ag-odometer__suffix {
    font-size: 46px !important;
    line-height: 53px !important;
  }
}

@media (max-width: 767px) {
  #ag-stats-counter {
    padding: 26px 16px 34px;
  }

  #ag-stats-counter .ag-stats-counter__inner {
    grid-template-columns: 1fr;
  }

  #ag-stats-counter .ag-stat {
    min-height: auto;
    padding: 28px 18px 32px;
  }

  #ag-stats-counter .ag-stat:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 88%;
    height: 1px;
    transform: translateX(-50%);
  }

  #ag-stats-counter .ag-stat__icon {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
  }

  #ag-stats-counter .ag-stat__title {
    font-size: 22px !important;
    margin-bottom: 20px !important;
  }

  #ag-stats-counter .ag-odometer__digit,
  #ag-stats-counter .ag-odometer__number {
    height: 54px;
    font-size: 42px !important;
    line-height: 54px !important;
  }

  #ag-stats-counter .ag-odometer__suffix {
    font-size: 42px !important;
    line-height: 49px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ag-stats-counter .ag-odometer__reel {
    transition: none !important;
  }
}
