.official-channel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 7px;
  min-width: 126px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: #17685c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.78),
    rgba(218, 255, 246, 0.58)
  );
  box-shadow:
    0 8px 22px rgba(24, 142, 124, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.official-channel-button:hover {
  color: #105e53;
  text-decoration: none;
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94),
    rgba(204, 255, 242, 0.76)
  );
  box-shadow:
    0 11px 26px rgba(24, 142, 124, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.official-channel-button:focus-visible {
  outline: 3px solid rgba(30, 202, 174, 0.28);
  outline-offset: 3px;
}

.official-channel-button__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: #20bfa6;
}

.official-channel-button[hidden] {
  display: none !important;
}

.official-channel-button[data-channel-location="desktop"] {
  position: absolute;
  z-index: 3;
  top: clamp(360px, 51.5vh, 500px);
  left: 50%;
  transform: translateX(-50%);
}

.official-channel-button[data-channel-location="desktop"]:hover {
  transform: translate(-50%, -2px);
}

.official-channel-button[data-channel-location="mobile"] {
  display: none;
}

@media (max-width: 767px) {
  .official-channel-button {
    min-width: 112px;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    box-shadow:
      0 6px 18px rgba(24, 142, 124, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .official-channel-button__icon {
    width: 16px;
    height: 16px;
  }

  .official-channel-button[data-channel-location="mobile"] {
    display: inline-flex;
    position: absolute;
    z-index: 3;
    top: 54.4vh;
    left: 50%;
    transform: translateX(-50%);
  }

  .official-channel-button[data-channel-location="mobile"]:hover {
    transform: translate(-50%, -2px);
  }

  .official-channel-button[data-channel-location="desktop"] {
    display: none;
  }
}
