/* ============================================================
   CAMPANHAS PAGE — dark, modern, elegant
   ============================================================ */

.camp-page {
  min-height: 100vh;
  padding-top: 64px;
  background: #f6f7fb;
}

.camp-page__container {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

/* ── Header ── */

.camp-page__header {
  margin-bottom: 32px;
}

.camp-page__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.camp-page__subtitle {
  font-size: 13px;
  color: #aaa;
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Loading ── */

.camp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  color: #bbb;
  font-size: 14px;
}

.camp-spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid #eee;
  border-top-color: #ff2d78;
  border-radius: 50%;
  animation: camp-spin 0.7s linear infinite;
}

@keyframes camp-spin {
  to { transform: rotate(360deg); }
}

/* ── Empty ── */

.camp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 20px;
  color: #444;
  font-size: 14px;
  text-align: center;
}

/* ── List ── */

.camp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Item card ── */

.camp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #f0f0f4;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}

.camp-item--active:hover {
  box-shadow: 0 6px 24px rgba(255,45,120,0.1);
  transform: translateY(-1px);
}

.camp-item--done {
  opacity: 0.5;
}

/* ── Thumbnail ── */

.camp-item__thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f4;
}

.camp-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Body ── */

.camp-item__body {
  flex: 1;
  min-width: 0;
}

.camp-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.camp-item__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.camp-item__sub {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 10px;
  font-weight: 400;
}

/* ── Badge ── */

.camp-item__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.camp-item__badge--active {
  background: rgba(0, 200, 83, 0.12);
  color: #00a854;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.camp-item__badge--done {
  background: #f4f4f4;
  color: #aaa;
  border: 1px solid #e8e8e8;
}

/* pulse dot */
.camp-item__pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #00c853;
  border-radius: 50%;
  animation: camp-pulse 1.6s ease-in-out infinite;
}

@keyframes camp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Progress bar ── */

.camp-item__bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.camp-item__bar {
  flex: 1;
  height: 5px;
  background: #f0f0f4;
  border-radius: 999px;
  overflow: hidden;
}

.camp-item__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff2d78, #ff5fa0);
  border-radius: 999px;
  transition: width 0.5s ease;
}

.camp-item__bar-pct {
  font-size: 11px;
  color: #bbb;
  font-weight: 600;
  min-width: 30px;
  text-align: right;
}

/* ── CTA button ── */

.camp-item__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff2d78, #ff5fa0);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: filter 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(255, 45, 120, 0.35);
  white-space: nowrap;
}

.camp-item__btn:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

/* ── Responsive ── */

@media (max-width: 480px) {
  .camp-page__container {
    padding: 28px 16px 56px;
  }

  .camp-item__name {
    font-size: 13px;
  }

  .camp-item__thumb {
    width: 58px;
    height: 58px;
  }

  .camp-item__btn {
    padding: 9px 14px;
    font-size: 12px;
  }
}
