/*
  platform-button: one full-width button per streaming service.
  Matches Figma "Button/M", ButtonType=WithIconLeft (Release A1 as built):
  logo in a fixed icon slot, label, content centred.
  Every button fills the list, so they all share the same width.
*/
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 100%;
  gap: var(--space-s);
  width: 100%;
}

.platform-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(var(--space-l) + var(--space-s));
  padding: 0 var(--space-m) 0 0;
  border-radius: var(--border-radius-button);
  background: var(--button-primary-bg-primary);
  /* Figma: drop shadow 0 2 0, bound to button/primary/action */
  box-shadow: 0 var(--border-width) 0 var(--button-primary-action);
  color: var(--button-primary-text);
  text-decoration: none;
  font-family: var(--text-style-button-text-m-font-family);
  font-weight: var(--text-style-button-text-m-font-weight);
  font-size: var(--text-style-button-text-m-font-size);
  line-height: var(--text-style-button-text-m-line-height);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}
.platform-button:hover {
  background: var(--button-primary-bg-hover);
  color: var(--button-primary-text-hover);
}
.platform-button:active {
  background: var(--button-primary-bg-active);
  color: var(--button-primary-text-hover);
  box-shadow: none;
  transform: translateY(var(--border-width));
}
.platform-button:focus-visible {
  outline: var(--border-width) solid var(--action-accent-interactive);
  outline-offset: var(--border-width);
}

/* Icon slot (48) with the logo (space-m) centred in it */
.platform-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: calc(var(--space-l) + var(--space-s));
  height: calc(var(--space-l) + var(--space-s));
  color: var(--button-primary-action);
}
.platform-button:hover .platform-button__icon,
.platform-button:active .platform-button__icon {
  color: var(--button-primary-text-hover);
}
.platform-button__icon svg {
  width: var(--space-m);
  height: var(--space-m);
}
