/* CCS Hive Social + Sanctuary Blessing — under Hive Pong on home
   Stamp 1790236741. Magic-dark: gold/cream pills on midnight. Calm-safe. */

.ccs-hive-social-invoke {
  --hsi-cream: #fff8ee;
  --hsi-gold: #e8b84a;
  --hsi-gold-soft: #c5a059;
  --hsi-mid: #0a1128;
  --hsi-violet: rgba(120, 70, 180, 0.28);
  max-width: 560px;
  margin: 0.35rem auto 1.75rem;
  padding: 0.85rem 1.15rem 1.15rem;
  text-align: center;
  color: var(--hsi-cream);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--hsi-violet), transparent 70%),
    linear-gradient(180deg, rgba(18, 10, 28, 0.55) 0%, rgba(10, 17, 40, 0.35) 100%);
  border: 1px solid rgba(232, 184, 74, 0.28);
  border-radius: 16px;
  box-shadow:
    0 0 28px rgba(140, 100, 220, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 248, 238, 0.12);
}

.ccs-hive-social-invoke .ccs-hsi-heading {
  margin: 0 0 0.65rem;
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hsi-gold);
  -webkit-text-fill-color: var(--hsi-gold);
  text-shadow: 0 0 18px rgba(232, 184, 74, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .ccs-hive-social-invoke .ccs-hsi-heading.ccs-hsi-shimmer {
    background: linear-gradient(
      105deg,
      #c5a059 0%,
      #fff8ee 35%,
      #e8b84a 55%,
      #c5a059 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: ccs-hsi-shimmer 7.5s ease-in-out infinite;
  }
  @keyframes ccs-hsi-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccs-hive-social-invoke .ccs-hsi-heading.ccs-hsi-shimmer {
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--hsi-gold) !important;
    color: var(--hsi-gold) !important;
  }
}

.ccs-hive-social-invoke .ccs-hsi-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  align-items: center;
  margin: 0 0 1.05rem;
}

.ccs-hive-social-invoke a.ccs-hsi-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: Manrope, "Source Sans 3", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  color: #0a1128 !important;
  -webkit-text-fill-color: #0a1128 !important;
  background: linear-gradient(165deg, #fff8ee 0%, #e8c878 48%, #c5a059 100%);
  border: 1px solid rgba(255, 248, 238, 0.55);
  box-shadow:
    0 0 16px rgba(232, 184, 74, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ccs-hive-social-invoke a.ccs-hsi-pill:hover,
.ccs-hive-social-invoke a.ccs-hsi-pill:focus-visible {
  filter: brightness(1.06);
  box-shadow:
    0 0 22px rgba(232, 184, 74, 0.42),
    0 6px 16px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}

.ccs-hive-social-invoke a.ccs-hsi-pill:focus-visible {
  outline: 2px solid var(--hsi-gold);
  outline-offset: 3px;
}

.ccs-hive-social-invoke a.ccs-hsi-pill.ccs-hsi-soft {
  color: var(--hsi-cream) !important;
  -webkit-text-fill-color: var(--hsi-cream) !important;
  background: rgba(255, 248, 238, 0.08);
  border: 1px solid rgba(232, 184, 74, 0.42);
  box-shadow:
    0 0 14px rgba(140, 100, 220, 0.18),
    inset 0 1px 0 rgba(255, 248, 238, 0.18);
}

.ccs-hive-social-invoke a.ccs-hsi-pill.ccs-hsi-soft:hover,
.ccs-hive-social-invoke a.ccs-hsi-pill.ccs-hsi-soft:focus-visible {
  background: rgba(232, 184, 74, 0.16);
  border-color: rgba(232, 184, 74, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .ccs-hive-social-invoke a.ccs-hsi-pill {
    transition: none !important;
  }
}

.ccs-hive-social-invoke .ccs-hsi-blessing {
  margin: 0;
  padding: 0.85rem 0.5rem 0.15rem;
  border-top: 1px solid rgba(232, 184, 74, 0.22);
}

.ccs-hive-social-invoke .ccs-hsi-bless-label {
  margin: 0 0 0.45rem;
  font-family: Manrope, "Source Sans 3", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 184, 74, 0.78) !important;
  -webkit-text-fill-color: rgba(232, 184, 74, 0.78) !important;
}

.ccs-hive-social-invoke .ccs-hsi-bless-text {
  margin: 0;
  font-family: "Cormorant Garamond", "Cinzel", Georgia, serif;
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: #f3e8d4 !important;
  -webkit-text-fill-color: #f3e8d4 !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35), 0 0 20px rgba(232, 184, 74, 0.12);
}

.ccs-hive-social-invoke .ccs-hsi-bless-text span {
  display: block;
}

@media (max-width: 639px) {
  .ccs-hive-social-invoke {
    margin: 0.25rem 0.75rem 1.5rem;
    border-radius: 14px;
    padding: 0.75rem 0.9rem 1rem;
  }
  .ccs-hive-social-invoke a.ccs-hsi-pill {
    font-size: 0.8rem;
    padding: 0.42rem 0.85rem;
  }
}

/* Beat cream/dark-ink wash from global styles */
body.home .ccs-hive-social-invoke p,
body.page-id-62 .ccs-hive-social-invoke p,
body.home .wp-block-post-content .ccs-hive-social-invoke p,
body.page-id-62 .wp-block-post-content .ccs-hive-social-invoke p {
  color: inherit !important;
  -webkit-text-fill-color: unset;
}
body.home .ccs-hive-social-invoke .ccs-hsi-bless-text,
body.page-id-62 .ccs-hive-social-invoke .ccs-hsi-bless-text {
  color: #f3e8d4 !important;
  -webkit-text-fill-color: #f3e8d4 !important;
}
body.home .ccs-hive-social-invoke a.ccs-hsi-pill:not(.ccs-hsi-soft),
body.page-id-62 .ccs-hive-social-invoke a.ccs-hsi-pill:not(.ccs-hsi-soft) {
  color: #0a1128 !important;
  -webkit-text-fill-color: #0a1128 !important;
}
