/* F.R.A.U.D. — Custom Styles */

/* Hidden text gag: same color as background, revealed on hover */
.hidden-text {
  color: transparent;
  transition: color 0.3s ease;
}
.hidden-text:hover {
  color: #ef4444;
}

/* Counter animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Donate thermometer */
.thermometer-track {
  background: #e5e7eb;
  border-radius: 9999px;
  height: 2rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.thermometer-fill {
  background: linear-gradient(90deg, #16a34a, #22c55e);
  height: 100%;
  width: 2%;
  border-radius: 9999px;
  transition: width 1s ease;
}
.thermometer-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
}

/* Pie chart legend */
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

/* Partner logo marquee */
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 4rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-container {
  overflow: hidden;
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1e3a5f;
}
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1e3a5f;
  border: 3px solid #fff;
  position: absolute;
  left: 0;
  top: 4px;
  box-shadow: 0 0 0 2px #1e3a5f;
}
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
}

/* Trust badges */
.badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Stat card hover */
.stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

/* Redacted text effect */
.redacted {
  background: #111827;
  color: #111827;
  padding: 0 0.25rem;
  border-radius: 2px;
  user-select: none;
}

/* Expense table alternating rows */
.expense-row:nth-child(even) {
  background: #f9fafb;
}

/* Map pins */
.map-pin {
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  position: absolute;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  animation: pulse-pin 2s ease infinite;
}
@keyframes pulse-pin {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav toggle */
.nav-menu {
  transition: max-height 0.3s ease;
}

/* News card date */
.news-date {
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

/* Contact form submit button */
.submit-btn {
  transition: all 0.3s ease;
}
.submit-btn:hover {
  letter-spacing: 0.02em;
}
