/* =====================================================================
   Google and Meta Ads page only (google-meta-ads.php):
   platform logo pills in the hero, under the intro sentence.
   ===================================================================== */
.gma-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.gma-platform {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.7);
  animation: ab-float 6s ease-in-out infinite;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.gma-platform:nth-child(2) {
  animation-delay: -3s; /* opposite phase: the pills bob in turn */
}
.gma-platform:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}
.gma-logo {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(232, 49, 138, 0.6);
  transition: transform 500ms var(--header-ease);
}
.gma-platform:hover .gma-logo {
  transform: rotate(-10deg) scale(1.08);
}
.gma-logo svg {
  width: 24px;
  height: 24px;
  display: block;
}
.gma-platform-name {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .gma-platforms {
    gap: 10px;
    margin-top: 22px;
  }
  .gma-platform {
    gap: 10px;
    padding-right: 16px;
  }
  .gma-logo {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .gma-logo svg {
    width: 20px;
    height: 20px;
  }
  .gma-platform-name {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gma-platform {
    animation: none;
  }
}
