/* Smart Captain Photo gallery */

.smart-captains-page__count {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
}

.smart-captains-page__status {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
  text-align: center;
  color: var(--text-2);
}

.smart-captains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

.smart-captain-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: calc(var(--radius, 16px) + 2px);
  border: 1px solid var(--border-bright);
}

.smart-captain-card__photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #eef1f5;
  overflow: hidden;
}

.smart-captain-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.smart-captain-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.smart-captain-card__badge--approved {
  background: rgba(22, 163, 74, 0.92);
  color: #fff;
}

.smart-captain-card__badge--pending {
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
}

.smart-captain-card__badge--winner {
  background: #f59e0b;
  color: #111;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

/* ---------- Homepage winner band (hero ke neeche) ---------- */

.smart-captains-home-winner {
  position: relative;
  z-index: 1;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.25rem;
  background: #fff;
  border-bottom: 1px solid rgba(255, 204, 0, 0.16);
}

.smart-captains-home-winner__inner {
  max-width: 760px;
  margin: 0 auto;
}

.smart-captains-winner--home {
  margin-bottom: 0;
  padding: 0;
}

.smart-captains-home-winner__foot {
  margin: 1.35rem 0 0;
  text-align: center;
}

body.design-uber .smart-captains-home-winner {
  background: #fff;
  border-bottom-color: var(--cab-yellow-12, rgba(255, 204, 0, 0.12));
}

/* ---------- Winner showcase (gallery + home) ---------- */

.smart-captains-winner {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  padding: 0 1.25rem;
}

.smart-captains-winner__showcase {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius, 16px) + 6px);
  padding: clamp(1.35rem, 3.5vw, 2rem);
  background: #050505;
  border: 1px solid rgba(255, 204, 0, 0.38);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.smart-captains-winner__showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 204, 0, 0.06);
}

.smart-captains-winner__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.35rem;
}

.smart-captains-winner__trophy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.14);
  border: 1px solid rgba(255, 204, 0, 0.35);
  color: #ffcc00;
}

.smart-captains-winner__trophy svg {
  width: 1.35rem;
  height: 1.35rem;
}

.smart-captains-winner__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffcc00;
}

.smart-captains-winner__title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.smart-captains-winner__prize-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.smart-captains-prize {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08rem;
  padding: 0.42rem 1rem 0.5rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #111;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 6px 20px rgba(245, 158, 11, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.smart-captains-prize__currency {
  font-size: 1.2rem;
  font-weight: 800;
}

.smart-captains-prize__amount {
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  letter-spacing: -0.04em;
}

.smart-captains-winner__prize-label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
}

.smart-captains-winner__card-wrap {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 0 auto;
}

.smart-captain-card--winner {
  border: 2px solid rgba(255, 204, 0, 0.62);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 204, 0, 0.14);
}

.smart-captain-card--showcase {
  background: #fff;
}

.smart-captain-card--showcase .smart-captain-card__photo-wrap {
  aspect-ratio: 3 / 4;
}

.smart-captain-card--showcase .smart-captain-card__body {
  background: #fffbeb;
}

.smart-captain-card--showcase .smart-captain-card__name {
  font-size: 1.125rem;
}

.smart-captain-card__winner-note {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.35);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-2);
  font-weight: 600;
}

html[data-theme="light"] .smart-captains-winner__showcase {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow:
    0 20px 44px rgba(245, 158, 11, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .smart-captains-winner__title {
  color: #111;
}

html[data-theme="light"] .smart-captains-winner__prize-label {
  color: #44403c;
}

html[data-theme="light"] .smart-captains-winner__trophy {
  background: rgba(255, 204, 0, 0.22);
  border-color: rgba(245, 158, 11, 0.45);
  color: #b45309;
}

.smart-captain-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.smart-captain-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.smart-captain-card__vehicle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.smart-captains-page__cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 0 1.25rem 1rem;
}

.smart-captains-page__note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-3);
}

@media (min-width: 640px) {
  .smart-captains-winner__showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 1.5rem 2rem;
    align-items: center;
  }

  .smart-captains-winner__header {
    text-align: left;
    margin-bottom: 0;
  }

  .smart-captains-winner__prize-row {
    justify-content: flex-start;
  }

  .smart-captains-winner__card-wrap {
    margin: 0;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .smart-captains-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .smart-captain-card__name {
    font-size: 0.9375rem;
  }
}
