.hm-platforms {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--hm-accent) 38%, rgba(255,255,255,.25));
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 12px 28px rgba(13,18,28,.16);
}

.hm-platforms__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hm-platforms__heading-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hm-accent) 32%, rgba(255,255,255,.08));
  color: #fff;
}

.hm-platforms__heading-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.hm-platforms__eyebrow,
.hm-platforms__title {
  display: block;
  color: #fff !important;
}

.hm-platforms__eyebrow {
  margin-bottom: 2px;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .13em;
  opacity: .68;
  text-transform: uppercase;
}

.hm-platforms__title {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.hm-platforms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.hm-platform-link {
  position: relative;
  display: flex !important;
  justify-content: center;
  min-width: 0;
  min-height: 66px !important;
  align-items: center;
  gap: 10px !important;
  padding: 11px 42px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 11px !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(8,12,20,.22), inset 0 1px 0 rgba(255,255,255,.18) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.hm-platform-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 38%, rgba(255,255,255,.04));
  pointer-events: none;
}

.hm-platform-link:hover {
  transform: translateY(-2px) !important;
  filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 15px 26px rgba(8,12,20,.30), inset 0 1px 0 rgba(255,255,255,.24) !important;
}

.hm-platform-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.hm-platform-link[data-platform="patreon"] { background: linear-gradient(135deg,#ff5864,#e83f4c) !important; }
.hm-platform-link[data-platform="boosty"] { background: linear-gradient(135deg,#ff7a35,#ed5425) !important; }
.hm-platform-link[data-platform="subscribestar"] { background: linear-gradient(135deg,#ffad25,#e9800f) !important; }
.hm-platform-link[data-platform="discord"] { background: linear-gradient(135deg,#6976f5,#4d59d9) !important; }
.hm-platform-link[data-platform="fansly"] { background: linear-gradient(135deg,#20b8f6,#1887e8) !important; }

.hm-platform-link .t1028__btn__img {
  position: relative;
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px;
  margin: 0 !important;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
}

.hm-platform-link .t1028__btn__img svg {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor;
}

.hm-platform-link .t1028__btn__img img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px;
  object-fit: contain;
}

.hm-platform-link .t1028__btn__text {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-align: center !important;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hm-platform-link .t1028__btn__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  place-items: center;
  opacity: .88;
  transform: translateY(-50%);
}

.hm-platform-link .t1028__btn__arrow svg {
  width: 8px !important;
  height: 15px !important;
}

.hm-platform-link:only-child,
.hm-platform-link:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.hm-platform-source-hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .hm-platforms__grid { grid-template-columns: 1fr; }
  .hm-platform-link:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 960px) {
  .hm-platforms { margin-top: 18px; padding: 16px; }
  .hm-platforms__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hm-platform-link:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hm-platforms__grid { grid-template-columns: 1fr; }
  .hm-platform-link:last-child:nth-child(odd) { grid-column: auto; }
  .hm-platform-link { min-height: 64px !important; }
}
