/* Home scope: only the official X/GitHub action pair. */
.cta-group.social-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.1rem);
  width: min(100%, 38rem);
  margin-top: clamp(1.2rem, 2.5vh, 2rem);
}

.cta-group.social-actions .social-cta {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  align-items: center;
  gap: .85rem;
  min-height: clamp(3rem, 7vh, 4.4rem);
  padding: .8rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 90, .34);
  border-radius: .9rem;
  color: #f7f6ef;
  background:
    linear-gradient(135deg, rgba(255, 216, 90, .1), rgba(7, 13, 22, .88) 44%),
    rgba(3, 6, 11, .84);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 1rem 3rem rgba(0, 0, 0, .24);
  font-size: clamp(.9rem, 1.4vw, 1.08rem);
  font-weight: 760;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.cta-group.social-actions .social-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(255, 216, 90, .2), transparent 40%);
  opacity: 0;
  transition: opacity .25s ease;
}

.cta-group.social-actions .social-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 216, 90, .7);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 1.25rem 3.5rem rgba(0, 0, 0, .35), 0 0 2rem rgba(255, 216, 90, .08);
}

.cta-group.social-actions .social-cta:hover::before { opacity: 1; }

.cta-group.social-actions .social-cta:focus-visible {
  outline: 2px solid #ffd85a;
  outline-offset: 4px;
}

.social-cta__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 216, 90, .3);
  border-radius: 50%;
  color: #ffd85a;
  background: rgba(255, 216, 90, .08);
}

.social-cta__icon svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.social-cta__label { position: relative; z-index: 1; }
.social-cta__arrow { color: #ffd85a; font-size: 1.15em; }

@media (max-width: 560px) {
  .cta-group.social-actions { grid-template-columns: 1fr; width: 100%; gap: .65rem; }
  .cta-group.social-actions .social-cta { min-height: 3.4rem; padding: .55rem .75rem; }
  .social-cta__icon { width: 2.45rem; height: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-group.social-actions .social-cta { transition: none; }
}
