/* ==========================================================================
   Spider-Verse Interactive Components Styles
   ========================================================================== */

/* Live Countdown Component */
.countdown-box {
  background: linear-gradient(135deg, var(--bg-surface-elevated), var(--bg-card));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.countdown-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-gwen-cyan);
  margin-bottom: 16px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.countdown-unit {
  background-color: rgba(10, 11, 16, 0.7);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 14px 6px;
}

.countdown-val {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-pure);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.countdown-target {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.countdown-target strong {
  color: var(--c-miles-yellow);
}

/* Filter Buttons / Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-dim);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  color: var(--text-pure);
  border-color: var(--border-bright);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--c-miles-red), var(--c-gwen-magenta));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(230, 0, 38, 0.3);
}

/* Character & Voice Cast Cards */
.character-card {
  display: flex;
  flex-direction: column;
}

.char-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.char-dimension {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background-color: rgba(0, 229, 255, 0.12);
  color: var(--c-gwen-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.char-faction {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.char-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.char-actor {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-miles-yellow);
  margin-bottom: 14px;
}

.char-status {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-dim);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Timeline Component */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-miles-red), var(--c-gwen-cyan), var(--c-prowler-purple));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--bg-void);
  border: 3px solid var(--c-miles-red);
}

.timeline-item:nth-child(2n) .timeline-dot {
  border-color: var(--c-gwen-cyan);
}

.timeline-item:nth-child(3n) .timeline-dot {
  border-color: var(--c-prowler-purple);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--c-miles-yellow);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Video Player Embed Container (Zero CLS) */
.video-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dim);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.video-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Verification Matrix */
.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-confirmed {
  background-color: rgba(0, 230, 118, 0.15);
  color: var(--c-prowler-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-reported {
  background-color: rgba(255, 230, 0, 0.15);
  color: var(--c-miles-yellow);
  border: 1px solid rgba(255, 230, 0, 0.3);
}

.badge-debunked {
  background-color: rgba(230, 0, 38, 0.15);
  color: var(--c-miles-red);
  border: 1px solid rgba(230, 0, 38, 0.3);
}
