a.platform-button {
  --brand-edge: #ffffff65;
  --brand-glow: #ffffff35;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.8rem;
  max-width: 100%;
  padding: .55rem .85rem;
  border: 1px solid var(--brand-edge);
  border-radius: .65rem;
  background: var(--brand-background);
  color: #fff;
  font-size: .9rem;
  font-weight: 740;
  line-height: 1.25;
  text-decoration: none;
  text-shadow: 0 1px 2px #0007;
  box-shadow: inset 0 1px #fff4, 0 3px 0 #080516b3, 0 4px 12px var(--brand-glow);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
a.platform-youtube {
  --brand-background: linear-gradient(155deg, #d80020, #970014);
  --brand-edge: #ff8290;
  --brand-glow: #ff183c65;
}
a.platform-instagram {
  --brand-background: linear-gradient(128deg, #4e229a, #a51b69 52%, #a63a1b);
  --brand-edge: #f0a1c8;
  --brand-glow: #f25aa165;
}
a.platform-tiktok {
  --brand-background: linear-gradient(155deg, #23242b, #09090d);
  --brand-edge: #59e7dd;
  --brand-glow: #fa3b8f65;
}
a.platform-telegram {
  --brand-background: linear-gradient(155deg, #087bb6, #114a8d);
  --brand-edge: #79d4ff;
  --brand-glow: #32b6ff65;
}
a.platform-primary {
  min-height: 3.3rem;
  padding: .65rem 1rem;
  font-weight: 820;
  box-shadow: inset 0 1px #fff6, 0 4px 0 #600010, 0 5px 20px var(--brand-glow);
}
.platform-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 1.4rem;
}
.platform-icon img { display: block; }
.platform-primary .platform-icon img { width: 25px; height: 25px; }
.platform-tiktok .platform-icon img { filter: drop-shadow(-1px -1px #25f4ee) drop-shadow(1px 1px #fe2c55); }
a.platform-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (hover: hover) {
  a.platform-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.14);
    box-shadow: inset 0 1px #fff6, 0 5px 0 #080516b3, 0 7px 20px var(--brand-glow);
  }
}
a.platform-button:active { transform: translateY(1px); }
@media (max-width: 650px) {
  .platforms .platform-primary { grid-column: 1 / -1; }
  .platforms .platform-button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  a.platform-button { transition: none; }
  a.platform-button:hover, a.platform-button:active { transform: none; }
}
