/*
 * smart-cta-pages-1440052.css — Task #1440052: Smart product CTAs for remaining page types
 * Pages: games, community, news/blog, guides, tools, categories, state pages, profiles
 * Design: emerald primary, ghost secondary, mobile-responsive, GA4 tracked
 */

/* ── Shared Banner Strip ─────────────────────────────────────────────── */
.scp-banner {
  background: #fff;
  border: 1.5px solid rgba(0, 179, 125, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
}

.scp-banner-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00B37D;
  background: rgba(0, 179, 125, 0.1);
  border: 1px solid rgba(0, 179, 125, 0.25);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
}

.scp-banner-text {
  flex: 1;
  min-width: 180px;
}

.scp-banner-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 0.15rem;
}

.scp-banner-text span {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
}

.scp-banner-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Primary CTA button ─────────────────────────────────────────────── */
.scp-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.55rem 1.1rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
  border: 2px solid transparent;
}

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

.scp-btn-ghost {
  background: transparent;
  color: #065f46;
  border-color: rgba(0, 179, 125, 0.4);
}
.scp-btn-ghost:hover, .scp-btn-ghost:focus-visible {
  background: #f0fdf4;
  border-color: #00B37D;
  color: #065f46;
  text-decoration: none;
}

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

/* ── Full-width section banner (dark emerald gradient) ─────────────── */
.scp-section {
  background: linear-gradient(135deg, #064e35 0%, #065f46 60%, #047857 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.scp-section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.scp-section-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.scp-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.scp-section p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}

.scp-section-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.scp-section-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #065f46;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: opacity 0.15s, transform 0.1s;
}
.scp-section-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #065f46;
  text-decoration: none;
}

.scp-section-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: border-color 0.15s;
}
.scp-section-secondary:hover {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  text-decoration: none;
}

.scp-section-fine {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 1rem 0 0;
}

/* ── Inline floating upgrade banner (profiles, community) ─────────── */
.scp-upgrade-banner {
  background: linear-gradient(135deg, #0f2444 0%, #0f2d1f 100%);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.scp-upgrade-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.scp-upgrade-text {
  flex: 1;
  min-width: 180px;
}

.scp-upgrade-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.scp-upgrade-text span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.scp-upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #00B37D;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.scp-upgrade-btn:hover {
  background: #009966;
  color: #fff;
  text-decoration: none;
}

/* ── Eligibility pack pill strip ────────────────────────────────────── */
.scp-pack-strip {
  background: #f0fdf4;
  border: 1.5px solid rgba(0, 179, 125, 0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.scp-pack-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #065f46;
  white-space: nowrap;
}

.scp-pack-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

.scp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.scp-pill-primary {
  background: #00B37D;
  color: #fff;
}
.scp-pill-primary:hover {
  background: #009966;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.scp-pill-ghost {
  background: #fff;
  color: #065f46;
  border: 1.5px solid rgba(0, 179, 125, 0.35);
}
.scp-pill-ghost:hover {
  border-color: #00B37D;
  background: #f0fdf4;
  color: #065f46;
  text-decoration: none;
}

.scp-pack-divider {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
}

/* ── Mobile: stack everything ───────────────────────────────────────── */
@media (max-width: 600px) {
  .scp-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .scp-banner-actions {
    width: 100%;
  }
  .scp-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0.6rem 0.9rem;
  }
  .scp-pack-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .scp-pack-pills {
    width: 100%;
  }
  .scp-pill {
    flex: 1;
    justify-content: center;
  }
  .scp-upgrade-banner {
    flex-direction: column;
  }
  .scp-upgrade-btn {
    width: 100%;
    justify-content: center;
  }
  .scp-section-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .scp-section-primary,
  .scp-section-secondary {
    justify-content: center;
  }
}
