/* ═══════════════════════════════════════════════════════
   SAMPLE PAGE STYLES — append to contestant.css when
   serving sample-contestant-page.html.

   Or load as a separate stylesheet:
   <link rel="stylesheet" href="/assets/contestant-sample.css">
   ═══════════════════════════════════════════════════════ */

/* ─── Sticky sample banner ─── */
.sample-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, #f7d77a 0%, #fff 50%, #f7d77a 100%);
  color: #1a0a26;
  border-bottom: 2px solid #1a0a26;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  padding: 12px 0;
}

.sample-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sample-banner-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sample-banner-text strong {
  display: inline-block;
  padding: 4px 12px;
  background: #1a0a26;
  color: #f7d77a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 4px;
  border: 1px solid rgba(247,215,122,0.6);
}

.sample-banner-text span {
  font-size: 0.92rem;
  color: #1a0a26;
  font-weight: 500;
}

.sample-banner .btn {
  white-space: nowrap;
}

/* ─── STOCK PHOTO overlay on gallery items ─── */
.gallery-item--stock {
  position: relative;
}

.gallery-item--stock::before {
  content: "STOCK PHOTO";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(26,10,38,0.92);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247,215,122,0.65);
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Subtle dim on the image itself so the badge is unmistakable */
.gallery-item--stock img {
  filter: brightness(0.92);
}

/* ─── STOCK badge on headshot ─── */
.contestant-headshot-wrap--stock::after {
  content: "STOCK PHOTO";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(26,10,38,0.92);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(247,215,122,0.65);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── Vote tier "disabled in demo" styling ─── */
.vote-tier[data-sample="true"] {
  position: relative;
}

.vote-tier[data-sample="true"]:hover::after {
  content: "Demo only";
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a0a26;
  color: var(--gold);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(247,215,122,0.5);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

/* ─── Mobile ─── */
@media (max-width: 600px) {
  .sample-banner-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .sample-banner-text span {
    font-size: 0.85rem;
  }
  .sample-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
