/*
 * page-ctas-1440050.css — Task #1440050: Smart CTAs on remaining pages
 * Used on: games, community, news, blog, ask, wins, guides, tools, squad,
 *          category, state, profile pages.
 * Design: white card, emerald accent, mobile-first, Fortune 500 aesthetic.
 * Does NOT own: settlement-detail CTAs (see smart-cta.css, eligibility-widget-1439764.css).
 */

/* ── Banner strip (games after-play, community upgrade, news/blog end-of-article) ── */
.pcta-banner {
  background: #fff;
  border: 1.5px solid rgba(0, 179, 125, 0.28);
  border-left: 4px solid #00B37D;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pcta-banner__text {
  flex: 1;
  min-width: 0;
}

.pcta-banner__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00B37D;
  display: block;
  margin-bottom: 0.18rem;
}

.pcta-banner__headline {
  font-size: 0.97rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.15rem;
  line-height: 1.35;
}

.pcta-banner__sub {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.pcta-banner__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Buttons (reuse smart-cta.css shape but self-contained) ── */
.pcta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.48rem 1.1rem;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
}

.pcta-btn-primary {
  background: #00B37D;
  color: #fff;
  border: 2px solid #00B37D;
}
.pcta-btn-primary:hover,
.pcta-btn-primary:focus-visible {
  background: #009966;
  border-color: #009966;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 179, 125, 0.3);
}

.pcta-btn-ghost {
  background: transparent;
  color: #065f46;
  border: 2px solid rgba(0, 179, 125, 0.4);
}
.pcta-btn-ghost:hover,
.pcta-btn-ghost:focus-visible {
  background: #f0fdf4;
  border-color: #00B37D;
  color: #065f46;
}

.pcta-btn-price {
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255,255,255,0.22);
  border-radius: 100px;
  padding: 0.08rem 0.4rem;
  white-space: nowrap;
}
.pcta-btn-ghost .pcta-btn-price {
  background: rgba(0,179,125,0.12);
  color: #065f46;
}

/* ── Section CTA block (end-of-article, guides footer, tools sidebar) ── */
.pcta-block {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid rgba(0,179,125,0.22);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  text-align: center;
}

.pcta-block__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 0.4rem;
}

.pcta-block__headline {
  font-size: 1.2rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.pcta-block__body {
  font-size: 0.9rem;
  color: #374151;
  margin: 0 0 1.1rem;
  line-height: 1.5;
}

.pcta-block__actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ── Sidebar widget (tools, guides) ── */
.pcta-sidebar {
  background: #fff;
  border: 1.5px solid rgba(0,179,125,0.28);
  border-top: 3px solid #00B37D;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.pcta-sidebar__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #065f46;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pcta-sidebar__items {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pcta-sidebar__items li {
  font-size: 0.85rem;
  color: #374151;
  padding-left: 1.1rem;
  position: relative;
}
.pcta-sidebar__items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00B37D;
  font-weight: 700;
}

/* ── Toast-style CTA (post-game, after-action) ── */
.pcta-toast {
  background: #fff;
  border: 1.5px solid rgba(0,179,125,0.3);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
}

.pcta-toast__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.pcta-toast__body {
  flex: 1;
}

.pcta-toast__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.2rem;
}

.pcta-toast__desc {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .pcta-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .pcta-banner__actions {
    width: 100%;
  }
  .pcta-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.93rem;
    padding: 0.55rem 0.9rem;
  }
  .pcta-block {
    padding: 1.1rem 1rem;
  }
  .pcta-block__headline {
    font-size: 1.05rem;
  }
  .pcta-block__actions {
    flex-direction: column;
  }
  .pcta-block__actions .pcta-btn {
    width: 100%;
  }
  .pcta-toast {
    flex-direction: column;
    gap: 0.5rem;
  }
}
