/* ============================================================
   vc-teaser-card
   Redacted placeholder cards for confidential content.
   Applied to any card/row with [data-vc-teaser] attribute.
   ============================================================ */

/* Base teaser state — applied to existing card layouts */
[data-vc-teaser] {
  --vc-teaser-bg: var(--vc-brand-surface, #1a1a2e);
  --vc-teaser-accent: var(--vc-brand-accent, #00a3ff);
  --vc-teaser-text: var(--vc-brand-text-muted, rgba(255, 255, 255, 0.4));
  --vc-teaser-glow: var(--vc-brand-accent, #00a3ff);
  position: relative;
  overflow: hidden;
}

/* Noise overlay on teaser cards */
[data-vc-teaser]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* Pulsing glow border */
[data-vc-teaser]::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--vc-teaser-glow);
  opacity: 0.3;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  animation: vc-teaser-pulse 3s ease-in-out infinite;
}

@keyframes vc-teaser-pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.4; }
}

/* Teaser photo placeholder — replaces real image */
.vc_teaser-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--vc-teaser-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vc_teaser-card__photo-icon {
  width: 48px;
  height: 48px;
  opacity: 0.2;
  color: var(--vc-teaser-text);
}

/* Scan line animation on photo placeholder */
.vc_teaser-card__photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--vc-teaser-glow),
    transparent
  );
  opacity: 0.5;
  animation: vc-teaser-scanline 4s ease-in-out infinite;
}

@keyframes vc-teaser-scanline {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* Teaser label — the "TBA" or custom text */
.vc_teaser-card__label {
  position: relative;
  z-index: 3;
  font-family: var(--vc-font-headline, inherit);
  font-weight: var(--vc-font-headline-weight, 700);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vc-teaser-text);
  text-align: center;
  padding: 0.75em 0;
  font-size: 0.85em;
}

/* Redacted text bars — for fields that should look "classified" */
.vc_teaser-card__redacted {
  display: inline-block;
  height: 0.75em;
  background: var(--vc-teaser-text);
  opacity: 0.15;
  border-radius: 2px;
  vertical-align: middle;
}

.vc_teaser-card__redacted--short {
  width: 60px;
}

.vc_teaser-card__redacted--medium {
  width: 120px;
}

.vc_teaser-card__redacted--long {
  width: 180px;
}

/* Lineup slot teaser — preserves time/stage layout, redacts identity */
.vc_teaser-card__slot-time {
  position: relative;
  z-index: 3;
  color: var(--vc-teaser-text);
  opacity: 0.6;
}

/* Sponsor logo teaser */
.vc_teaser-card__logo-placeholder {
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vc-teaser-bg);
  border-radius: var(--vc-brand-radius, 4px);
}

/* Hover interaction */
[data-vc-teaser]:hover {
  cursor: default;
}

[data-vc-teaser]:hover::after {
  opacity: 0.5;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-vc-teaser]::after {
    animation: none;
    opacity: 0.25;
  }

  .vc_teaser-card__photo::after {
    animation: none;
    top: 50%;
    opacity: 0.3;
  }

  @keyframes vc-teaser-pulse {
    0%, 100% { opacity: 0.25; }
  }
}

/* Print */
@media print {
  [data-vc-teaser]::before,
  [data-vc-teaser]::after,
  .vc_teaser-card__photo::after {
    display: none;
  }

  .vc_teaser-card__label {
    color: #999;
  }
}
