.auction-stats-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  color: var(--ase-hero-text, #ffffff);
  background: var(--ase-hero-bg, #1f2a35);
}

.auction-stats-hero__topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--ase-topbar-bg, #00c853);
  color: var(--ase-topbar-color, #ffffff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.auction-stats-hero__topbar-count {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.auction-stats-hero__topbar-value {
  font-weight: 700;
}

.auction-stats-hero__topbar a {
  color: var(--ase-topbar-link-color, #d8ffea);
  text-decoration: none;
  font-weight: 700;
}

.auction-stats-hero__hero {
  position: relative;
  padding: 64px 32px 56px;
  background-color: var(--ase-hero-bg, #1f2a35);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.auction-stats-hero__overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--ase-overlay-color, #0c131d);
  opacity: var(--ase-overlay-opacity, 0.55);
  pointer-events: none;
  z-index: 0;
}

.auction-stats-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.auction-stats-hero__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.auction-stats-hero__counter {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--ase-counter-bg, rgba(36, 46, 60, 0.95));
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.auction-stats-hero__value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--ase-digit-row-bg, rgba(18, 24, 33, 0.9));
  font-variant-numeric: tabular-nums;
  color: var(--ase-digit-color, #11161f);
}

.auction-stats-hero__value[data-display="number"] {
  padding: 0;
  background: transparent;
  color: var(--ase-digit-color, inherit);
  font-size: 20px;
  font-weight: 700;
}

.auction-stats-hero__digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 28px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--ase-digit-bg, #ffffff);
  color: var(--ase-digit-color, #11161f);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.auction-stats-hero__label {
  color: var(--ase-label-color, #ffffff);
  font-weight: 600;
  font-size: 14px;
}

.auction-stats-hero__year-select {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 6px 26px 6px 12px;
  background-color: var(--ase-year-bg, rgba(255, 255, 255, 0.12));
  color: var(--ase-year-color, #ffffff);
  font-weight: 700;
  font-size: 13px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.auction-stats-hero__tabs {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.auction-stats-hero__tab {
  background: var(--ase-tab-bg, rgba(47, 58, 74, 0.85));
  color: var(--ase-tab-color, #dfe7f2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.auction-stats-hero__title {
  margin: 0;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auction-stats-hero__subtitle {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.auction-stats-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auction-stats-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auction-stats-hero__button--primary {
  background: var(--ase-primary-bg, #1e66ff);
  color: var(--ase-primary-color, #ffffff);
  box-shadow: 0 12px 18px rgba(16, 75, 179, 0.3);
}

.auction-stats-hero__button--secondary {
  background: var(--ase-secondary-bg, rgba(255, 255, 255, 0.12));
  color: var(--ase-secondary-color, #ffffff);
}

.auction-stats-hero.is-loading .auction-stats-hero__value[data-display="number"] {
  color: transparent;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
  background-size: 200% 100%;
  border-radius: 6px;
  animation: ase-shimmer 1.2s infinite;
}

.auction-stats-hero.is-loading .auction-stats-hero__value[data-display="digits"] .auction-stats-hero__digit {
  color: transparent;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
  background-size: 200% 100%;
  animation: ase-shimmer 1.2s infinite;
}

@keyframes ase-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 960px) {
  .auction-stats-hero__hero {
    padding: 48px 24px 44px;
  }

  .auction-stats-hero__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .auction-stats-hero__tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .auction-stats-hero__topbar {
    padding: 6px 12px;
    font-size: 12px;
  }

  .auction-stats-hero__hero {
    padding: 36px 18px 36px;
  }

  .auction-stats-hero__inner {
    align-items: flex-start;
    text-align: left;
  }

  .auction-stats-hero__counter {
    width: 100%;
  }

  .auction-stats-hero__tabs {
    justify-content: flex-start;
  }

  .auction-stats-hero__title {
    font-size: clamp(28px, 9vw, 36px);
    letter-spacing: 0.03em;
  }

  .auction-stats-hero__actions {
    justify-content: flex-start;
  }
}
