/* Staged awards section matching sh-new-nu.vercel.app */
.awards-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(248, 245, 239, 0.98) 55%, #f4eee3 100%);
  padding: clamp(72px, 8vw, 118px) 0;
  border-top: 1px solid var(--sh-line);
  border-bottom: 1px solid var(--sh-line);
}

.awards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(31, 52, 63, 0.04) 100%),
    radial-gradient(circle at 20% 20%, rgba(227, 195, 126, 0.22), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(31, 52, 63, 0.08), transparent 28%);
  pointer-events: none;
}

.awards-stage {
  position: relative;
  z-index: 1;
}

.awards-cluster {
  position: relative;
  margin: 0 auto;
  max-width: 1420px;
  transition: transform 0.3s ease-out;
}

.awards-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.awards-row+.awards-row {
  margin-top: -11rem;
}

.awards-row--back {
  z-index: 1;
}

.awards-row--mid {
  z-index: 2;
}

.awards-row--front {
  z-index: 3;
}

.awards-slot {
  flex: 0 0 auto;
  position: relative;
}

.awards-slot+.awards-slot {
  margin-left: -2.8rem;
}

.awards-slot--xs {
  width: 84px;
  height: 120px;
}

.awards-slot--sm {
  width: 110px;
  height: 160px;
}

.awards-slot--md {
  width: 136px;
  height: 220px;
}

.awards-slot--lg {
  width: 170px;
  height: 280px;
}

.awards-slot--xl {
  width: 200px;
  height: 330px;
}

.award-card {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate3d(0, 100px, 0) rotate(var(--award-rotate, 0deg));
  transform-origin: center bottom;
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  transition-delay: var(--award-delay, 0s);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  filter: drop-shadow(0 15px 30px rgba(31, 52, 63, 0.12));
}

.awards-stage.is-visible .award-card {
  transform: translate3d(0, 0, 0) rotate(var(--award-rotate, 0deg));
  opacity: 1;
}

.award-card:hover {
  transform: translate3d(0, -12px, 0) scale(1.05) rotate(var(--award-rotate, 0deg)) !important;
  z-index: 10;
  filter: drop-shadow(0 25px 45px rgba(31, 52, 63, 0.22));
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.award-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.award-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive scaling for the awards cluster to maintain overlap */
@media (max-width: 1400px) {
  .awards-cluster {
    transform: scale(0.9);
    transform-origin: center top;
    margin-bottom: -80px;
  }
}

@media (max-width: 1200px) {
  .awards-cluster {
    transform: scale(0.78);
    transform-origin: center top;
    margin-bottom: -150px;
  }
}

@media (max-width: 992px) {
  .awards-cluster {
    transform: scale(0.62);
    transform-origin: center top;
    margin-bottom: -220px;
  }
}

@media (max-width: 768px) {
  .awards-cluster {
    transform: scale(0.48);
    transform-origin: center top;
    margin-bottom: -320px;
  }
}

@media (max-width: 576px) {
  .awards-cluster {
    transform: scale(0.38);
    transform-origin: center top;
    margin-bottom: -400px;
  }
}

@media (max-width: 420px) {
  .awards-cluster {
    transform: scale(0.3);
    transform-origin: center top;
    margin-bottom: -460px;
  }
}
