/* Promoters — Figma fan overlap (same -5deg tilt + overlap as reviews) */

#promoters {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  min-height: 476px;
  padding: clamp(48px, 6vw, 88px) var(--container-px, clamp(24px, 8.33vw, 120px)) var(--section-py, 56px);
  overflow: visible;
  background: #000;
  box-sizing: border-box;
  clear: none;
}

#promoters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.65) 50%, transparent 100%);
}

.promoters-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  opacity: 0.92;
  pointer-events: none;
}

.promoters-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 42%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

#promoters::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.promoters-layout {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

#promoters .promoters-heading {
  margin: 0 0 56px;
  min-height: var(--section-title-h, 84px);
  font-family: var(--font-heading);
  font-size: var(--promo-title-size);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke-width: var(--promo-title-stroke);
  -webkit-text-stroke-color: #000;
  paint-order: stroke fill;
  text-shadow: var(--mb-section-title-shadow);
  letter-spacing: 0.02em;
}

.promoters-viewport {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  height: var(--promo-viewport-h);
  min-height: var(--promo-viewport-h);
  padding: 16px clamp(20px, 3vw, 48px) 8px;
  overflow: visible;
}

.promoters-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: max-content;
  max-width: none;
  height: 100%;
  min-height: var(--promo-card-h);
  margin: 0 auto;
  padding: 0 0 24px;
  transform: none !important;
  animation: none !important;
  will-change: auto;
  box-sizing: border-box;
}

.promoter-card {
  position: relative;
  flex: 0 0 var(--promo-card-w);
  width: var(--promo-card-w);
  height: var(--promo-card-h);
  margin: 0 0 0 var(--promo-card-overlap);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
}

.promoter-card:first-child {
  margin-left: 0;
}

.promoter-card:nth-child(1) { z-index: 1; }
.promoter-card:nth-child(2) { z-index: 2; }
.promoter-card:nth-child(3) { z-index: 3; }
.promoter-card:nth-child(4) { z-index: 4; }
.promoter-card:nth-child(5) { z-index: 5; }
.promoter-card:nth-child(n+6) { z-index: 6; }

.promoter-card-frame {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: var(--promo-card-pad);
  background: #000;
  border: 2px solid #fff;
  border-radius: var(--promo-card-radius);
  transform: rotate(5deg);
  transform-origin: center bottom;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.promoter-card:hover {
  z-index: 20;
}

.promoter-card:hover .promoter-card-frame,
.promoter-card--linked:focus-within .promoter-card-frame {
  transform: rotate(5deg) scale(1.04) !important;
  border-color: #fff;
  box-shadow:
    0 0 0 1px #000,
    0 22px 52px rgba(0, 0, 0, 0.72);
}

.promoter-card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transform: rotate(-5deg);
  transform-origin: center bottom;
  gap: 0;
}

.promoter-avatar {
  width: var(--promo-avatar-size);
  height: var(--promo-avatar-size);
  margin: 0 0 var(--promo-avatar-mb);
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}

.promoter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promoter-handle {
  margin: 0;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: var(--promo-handle-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.promoter-badge {
  display: inline-block;
  margin: var(--promo-badge-mt) 0 0;
  padding: var(--promo-badge-pad);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: var(--promo-badge-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  background: #000;
  border: 1px solid #fff;
  border-radius: 999px;
}

.promoter-count {
  margin-top: auto;
  padding-top: var(--promo-count-pt);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: var(--promo-count-size);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1280px) {
  .promoter-card {
    flex: 0 0 clamp(240px, 20vw, var(--promo-card-w));
    width: clamp(240px, 20vw, var(--promo-card-w));
    height: clamp(320px, 27vw, var(--promo-card-h));
    margin-left: clamp(-44px, -3.6vw, var(--promo-card-overlap));
  }

  .promoters-viewport {
    height: clamp(320px, 27vw, var(--promo-viewport-h));
    min-height: clamp(320px, 27vw, var(--promo-viewport-h));
  }

  .promoter-card-frame {
    padding: 28px 22px 24px;
  }
}

@media (max-width: 900px) {
  #promoters {
    padding-bottom: var(--section-py, 40px);
  }

  .promoters-viewport {
    height: auto;
    min-height: 300px;
    max-height: 340px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .promoters-viewport::-webkit-scrollbar {
    display: none;
  }

  .promoters-track {
    justify-content: flex-start;
    padding: 0 16px 24px;
    min-height: 300px;
  }

  .promoter-card {
    flex: 0 0 min(220px, 72vw);
    width: min(220px, 72vw);
    height: 300px;
    margin-left: -40px;
  }

  .promoter-card:first-child {
    margin-left: 0;
  }
}

@media (max-width: 639px) {
  #promoters {
    min-height: auto;
    padding-bottom: 32px;
  }

  #promoters .promoters-heading {
    margin-bottom: 40px;
    -webkit-text-stroke-width: var(--mb-section-title-stroke);
    text-shadow: var(--mb-section-title-shadow);
  }

  .promoters-viewport {
    min-height: 280px;
    max-height: none;
  }

  .promoter-card {
    flex: 0 0 min(210px, 78vw);
    width: min(210px, 78vw);
    height: 280px;
    margin-left: -38px;
  }

  .promoter-card-frame {
    border-radius: 12px;
    padding: 22px 16px 18px;
  }

  .promoter-avatar {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .promoter-handle {
    font-size: 14px;
  }

  .promoter-badge {
    margin-top: 10px;
    font-size: 10px;
    padding: 4px 12px;
  }

  .promoter-count {
    font-size: 12px;
    padding-top: 16px;
  }
}
